Sets our main struct and passes it to the parent class.
Creates a new GtkBoxLayout.
Gets the value set by gtk_box_layout_set_baseline_position().
Get the main Gtk struct
Returns whether the layout is set to be homogeneous.
Returns the space that @box_layout puts between children.
the main Gtk struct as a void*
Sets the baseline position of a box layout.
Sets whether the box layout will allocate the same size to all children.
Sets how much spacing to put between children.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
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 request mode of @manager.
Retrieves the GtkWidget using the given GtkLayoutManager.
Queues a resize on the GtkWidget using @manager, if any.
Measures the size of the @widget using @manager, for the given @orientation and size.
Get the main Gtk struct
the main Gtk struct as a void*
Retrieves the orientation of the @orientable.
Sets the orientation of the @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.