Sets the widget’s allocation. This should not be used
directly, but from within a widget’s size_allocate method.
The allocation set should be the “adjusted” or actual
allocation. If you’re implementing a gtk.Container, you want to use
Widget.sizeAllocate instead of Widget.setAllocation.
The GtkWidgetClass::adjust_size_allocation virtual method adjusts the
allocation inside Widget.sizeAllocate to create an adjusted
allocation.
Sets the widget’s allocation. This should not be used directly, but from within a widget’s size_allocate method.
The allocation set should be the “adjusted” or actual allocation. If you’re implementing a gtk.Container, you want to use Widget.sizeAllocate instead of Widget.setAllocation. The GtkWidgetClass::adjust_size_allocation virtual method adjusts the allocation inside Widget.sizeAllocate to create an adjusted allocation.