Method

GtkWidgetget_allocated_baseline

since: 3.10

Declaration [src]

int
gtk_widget_get_allocated_baseline (
  GtkWidget* widget
)

Description [src]

Returns the baseline that has currently been allocated to widget. This function is intended to be used when implementing handlers for the GtkWidget::draw function, and when allocating child widgets in GtkWidget::size_allocate.

Available since: 3.10

Return value

Type: int

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