Open generic function
Allocates space within a layout for its children.
allocate-space pane width height => ()
<sheet>.
<integer>.
<integer>.
None.
duim-layouts
duim-layouts
Allocates space within a layout for its children. During the space allocation pass, a composite pane arranges its children within the available space and allocates space to them according to their space requirements and its own composition rules by calling allocate-space on each of the child panes. For example, <column-layout> arranges all its children in a vertical column. The width and height arguments are the width and height of pane in device units, that is, pixels. These arguments give the amount of space into which all children must fit.
This function actually calls do-allocate-space to perform the calculations. Client code may specialize do-allocate-space, but not call it. Call allocate-space instead.