Object Hierarchy:

Object hierarchy for BoxLayout


[ CCode ( type_id = "gtk_box_layout_get_type ()" ) ]
public class BoxLayout : LayoutManager, Orientable

A GtkBoxLayout is a layout manager that arranges the children of any widget using it into a single row or column, depending on the value of its orientation property.

Within the other dimension all children all allocated the same size. The GtkBoxLayout 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.

Namespace: Gtk
Package: gtk4



Creation methods:


Inherited Members:

All known members inherited from interface Gtk.Orientable