Widget.getBaseline

int getBaseline()

Returns the baseline that has currently been allocated to widget.

This function is intended to be used when implementing handlers for the gtk.widget.WidgetClass.snapshot() function, and when allocating child widgets in gtk.widget.WidgetClass.size_allocate().

Returns

the baseline of the widget, or -1 if none