Widget.sizeAllocateWithBaseline
void sizeAllocateWithBaseline(gtk.types.Allocation allocation, int baseline)This function is only used by #GtkContainer subclasses, to assign a size, position and (optionally) baseline to their child widgets.
In this function, the allocation and baseline may be adjusted. It will be forced to a 1x1 minimum size, and the adjust_size_allocation virtual and adjust_baseline_allocation methods on the child will be used to adjust the allocation and baseline. Standard adjustments include removing the widget's margins, and applying the widget’s #GtkWidget:halign and #GtkWidget:valign properties.
If the child widget does not have a valign of [gtk.types.Align.Baseline] the baseline argument is ignored and -1 is used instead.
Parameters
allocation | position and size to be allocated to widget |
baseline | The baseline of the child, or -1 |