size_allocate


Description:

[ NoWrapper ]
public virtual void size_allocate (int width, int height, int baseline)

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].

Parameters:

this

a widget

baseline

the baseline of the child, or -1

allocation

position and size to be allocated to this