Package: gtk

Class gtk:box-layout

Superclasses

gtk:layout-manager, gtk:orientable, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

baseline-child
The baseline-child property of type :int (Read / Write)
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 does not, then the bottom edge of the child is used. Since 4.12
Default value: -1
baseline-position
The baseline-position property of type gtk:baseline-position (Read / Write)
The position of the allocated baseline within the extra space allocated to each child of the widget using a box layout manager. This property is only relevant for horizontal layouts containing at least one child with a baseline alignment.
Default value: :center
homogeneous
The homogeneous property of type :boolean (Read / Write)
Whether the box layout should distribute the available space homogeneously among the children of the widget using it as a layout manager.
Default value: false
spacing
The spacing property of type :int (Read / Write)
The space between each child of the widget using the box layout as its layout manager.
Allowed values: >= 0
Default value: 0

Details

The gtk:box-layout class is a layout manager that arranges the children of any widget using it into a single row or column. Whether it is a row or column depends on the value of its orientation property. Within the other dimension all children all allocated the same size. The gtk:box-layout object will respect the halign and valign properties of each child widget.

If you want all children to be assigned the same size, you can use the homogeneous property.

If you want to specify the amount of space placed between each child, you can use the spacing property.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-4-19