[ HasEmitter ]
public virtual signal void size_allocate (Rectangle allocation)
Allocates widget with a transformation that translates the origin to the position in allocation.
The given allocation must be large enough for the widget's minimum size, as well as at least 0×0 in size. See [method@Gtk.Widget.measure ] for querying a minimum size.
This function is only used by widget implementations to allocate a size for their direct children.
This is a simple form of [method@Gtk.Widget.allocate].
| allocation |
position and size to be allocated to this |
| baseline |
the baseline of the child, or -1 |
| widget |
a widget |