allocate

open fun allocate(width: Int, height: Int, baseline: Int, transform: <Error class: unknown class>? = null)

This function is only used by GtkWidget subclasses, to assign a size, position and (optionally) baseline to their child widgets.

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.

For a version that does not take a transform, see method@Gtk.Widget.size_allocate.

Parameters

width

New width of @widget

height

New height of @widget

baseline

New baseline of @widget, or -1

transform

Transformation to be applied to @widget