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
Gets the value set by gtk_box_layout_set_baseline_child().
Gets the value set by gtk_box_layout_set_baseline_position().
Returns whether the layout is set to be homogeneous.
Retrieves a GtkLayoutChild
instance for the GtkLayoutManager
, creating one if necessary.
Retrieves the orientation of the @orientable.
Retrieves the request mode of @manager.
Returns the space that @box_layout puts between children.
Queues a resize on the GtkWidget
using @manager, if any.
Sets the index of the child that determines the baseline in vertical layout.
Sets the baseline position of a box layout.
Sets whether the box layout will allocate the same size to all children.
Sets the orientation of the @orientable.
Sets how much spacing to put between children.