BoxLayout
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_box_layout_get_type ()" ) ]
public sealed class BoxLayout : LayoutManager, Orientable
public sealed class BoxLayout : LayoutManager, Orientable
`GtkBoxLayout` is a layout manager that arranges children in a single row or column.
Whether it is a row or column depends on the value of its [property@Gtk.Orientable:orientation] property. Within the other dimension all children all allocated the same size. The `GtkBoxLayout` will respect the [property@Gtk.Widget:halign] and [property@Gtk.Widget:valign] properties of each child widget.
If you want all children to be assigned the same size, you can use the [property@Gtk.BoxLayout:homogeneous] property.
If you want to specify the amount of space placed between each child, you can use the [property@Gtk.BoxLayout:spacing] property.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Gtk.LayoutManager
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Orientable