BoxLayout
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.
Constructors
Properties
The child that determines the baseline of the box in vertical layout.
The position of the allocated baseline within the extra space allocated to each child.
Whether the box layout should distribute the available space equally among the children.
The orientation of the orientable.
Functions
Assigns the given @width, @height, and @baseline to a @widget, and computes the position and sizes of the children of the @widget using the layout management policy of @manager.
Retrieves a GtkLayoutChild
instance for the GtkLayoutManager
, creating one if necessary.
Retrieves the orientation of the @orientable.
Retrieves the request mode of @manager.
Queues a resize on the GtkWidget
using @manager, if any.
Sets the orientation of the @orientable.