Package: gtk

Function gtk:widget-baseline

Lambda List

gtk:widget-baseline (widget)

Arguments

widget -- a gtk:widget object

Return Value

The integer with the baseline of widget, or -1 if none.

Details

Returns the baseline that has currently been allocated to the widget. This function is intended to be used when implementing handlers for the GtkWidgetClass.snapshot() virtual function, and when allocating child widgets in the GtkWidgetClass.size_allocate() virtual function.

Since 4.12
 

See also

2025-2-15