Widget.sizeAllocate
void sizeAllocate(gtk.types.Allocation allocation)This function is only used by #GtkContainer subclasses, to assign a size and position to their child widgets.
In this function, the allocation may be adjusted. It will be forced to a 1x1 minimum size, and the adjust_size_allocation virtual method on the child will be used to adjust the allocation. Standard adjustments include removing the widget’s margins, and applying the widget’s #GtkWidget:halign and #GtkWidget:valign properties.
For baseline support in containers you need to use [gtk.widget.Widget.sizeAllocateWithBaseline] instead.
Parameters
allocation | position and size to be allocated to widget |