(declare (ignore widget))
unspecific)
-(define (set-fix-widget-size! widget width height)
- (guarantee-fix-widget widget 'set-fix-widget-size!)
- (guarantee-non-negative-fixnum width 'set-fix-widget-size!)
- (guarantee-non-negative-fixnum height 'set-fix-widget-size!)
- (C-call "gtk_widget_set_size_request" (gobject-alien widget) width height))
-
(define (fix-widget-realized? widget)
(not (alien-null? (fix-widget-window widget))))
(C-> alien "GtkWidget allocation height"))))
(define (gtk-widget-set-size-request widget width height)
+ (guarantee-gtk-widget widget 'gtk-widget-set-size-request)
+ (guarantee-non-negative-fixnum width 'gtk-widget-set-size-request)
+ (guarantee-non-negative-fixnum height 'gtk-widget-set-size-request)
(C-call "gtk_widget_set_size_request" (gobject-alien widget) width height))
(define (set-gtk-widget-size-allocate-callback! widget callback)
(export (gtk)
fix-widget?
fix-widget-new-geometry-callback fix-widget-realize-callback
- set-fix-widget-size!
set-fix-widget-pointer-shape!
set-fix-widget-expose-handler!
set-fix-widget-map-handler!