BoxLayout


Object Hierarchy:

Gtk.BoxLayout Gtk.BoxLayout Gtk.BoxLayout Gtk.LayoutManager Gtk.LayoutManager Gtk.LayoutManager->Gtk.BoxLayout GLib.Object GLib.Object GLib.Object->Gtk.LayoutManager Gtk.Orientable Gtk.Orientable Gtk.Orientable->Gtk.BoxLayout

Description:

[ CCode ( type_id = "gtk_box_layout_get_type ()" ) ]
public 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 [[email protected]:orientation] property. Within the other dimension all children all allocated the same size. The `GtkBoxLayout` will respect the [[email protected]:halign] and [[email protected]:valign] properties of each child widget.

If you want all children to be assigned the same size, you can use the [[email protected]:homogeneous] property.

If you want to specify the amount of space placed between each child, you can use the [[email protected]:spacing] property.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Orientable



2022 vala-language.org