Package: gtk

Function gtk:widget-height

Lambda List

gtk:widget-height (widget)

Arguments

widget -- a gtk:widget object

Return Value

The integer for the height of widget.

Details

Returns the content width of the widget, as passed to its size allocate implementation. This is the size you should be using in the GtkWidgetClass.snapshot() virtual function. For pointer events, see the gtk:widget-contains function. See the gtk:snapshot-append-color documentation for an example.
 

See also

2025-08-23