It derives from <GtkLayoutManager>.
Arranges children in a single row or column.
Whether it is a row or column depends on the value of its
orientable:orientation
property. Within the other dimension all children all allocated the
same size. The <GtkBoxLayout> will respect the
widget:halign and widget:valign properties of each child widget.
If you want all children to be assigned the same size, you can use the
box-layout:homogeneous
property.
If you want to specify the amount of space placed between each child,
you can use the box-layout:spacing property.
The child that determines the baseline of the box in vertical layout.
If the child does baseline positioning, then its baseline is lined up with the baseline of the box. If it doesn’t, then the bottom edge of the child is used.
Its value is a 32-bit integer.
Set it with (set! (box-layout:baseline-child self) value).
The position of the allocated baseline within the extra space allocated to each child.
This property is only relevant for horizontal layouts containing at least one child with a baseline alignment.
Its value is a <GtkBaselinePosition> (or,
to set it, one of its symbols).
Set it with (set! (box-layout:baseline-position self) value).
Whether the box layout should distribute the available space equally among the children.
Its value is a boolean.
Set it with (set! (box-layout:homogeneous self) value).
The space to put between the children.
Its value is a 32-bit integer.
Set it with (set! (box-layout:spacing self) value).
Gets the value set by box-layout:set-baseline-child.
Passed: a <GtkBoxLayout>.
Returned: a 32-bit integer.
the index of the child that determines the baseline in vertical layout, or -1
Gets the value set by box-layout:set-baseline-position.
Passed: a <GtkBoxLayout>.
Returned: a <GtkBaselinePosition>.
the baseline position
Returns whether the layout is set to be homogeneous.
Passed: a <GtkBoxLayout>.
Returned: a boolean.
#t if the layout is homogeneous
Returns the space that self puts between children.
Passed: a <GtkBoxLayout>.
Returned: an unsigned 32-bit integer.
the spacing of the layout
Creates a new <GtkBoxLayout>.
Passed: a <GtkOrientation>, or one of its
symbols.
the orientation for the new layout
Returned: a <GtkLayoutManager>.
a new box layout
Sets the index of the child that determines the baseline in vertical layout.
Passed: a <GtkBoxLayout>.
Passed: a 32-bit integer.
the child position, or -1
Sets the baseline position of a box layout.
The baseline position affects only horizontal boxes with at least one baseline aligned child. If there is more vertical space available than requested, and the baseline is not allocated by the parent then the given position is used to allocate the baseline within the extra space available.
Passed: a <GtkBoxLayout>.
Passed: a <GtkBaselinePosition>, or one
of its symbols.
Sets whether the box layout will allocate the same size to all children.
Passed: a <GtkBoxLayout>.
Passed: a boolean.
#t to set the box layout as homogeneous
Sets how much spacing to put between children.
Passed: a <GtkBoxLayout>.
Passed: an unsigned 32-bit integer.
the spacing to apply between children