get_baseline


Description:

[ Version ( since = "4.12" ) ]
public int get_baseline ()

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()` function, and when allocating child widgets in `GtkWidgetClass.size_allocate()`.

Parameters:

this

the widget to query

Returns:

the baseline of the this, or -1 if none