allocate
Description:
Assigns size, position, (optionally) a baseline and transform to a child widget.
In this function, the allocation and baseline may be adjusted. The given allocation will be forced to be bigger than the widget's minimum size, as well as at least 0×0 in size.
This function is only used by widget implementations.
For a version that does not take a transform, see [method@Gtk.Widget.size_allocate].
Parameters:
this |
a widget |
width |
new width |
height |
new height |
baseline |
new baseline, or -1 |
transform |
transformation to be applied |