Layout.Box

Classes

Layout.Box

This layout can put an arbitrary number of components in a sequence. If its orientation property is Gtk.Orientation.HORIZONTAL, the components are placed next to each other. If the orientation property is Gtk.Orientation.VERTICAL, the components are placed one below the other.

Properties

orientation

The orientation of the orientable

Type
GtkOrientation
Default value
0

halign

How to position in extra horizontal space

Type
GtkAlign
Default value
0

valign

How to position in extra vertical space

Type
GtkAlign
Default value
0

hexpand

Whether widget wants more horizontal space

Type
Boolean
Default value
False

vexpand

Whether widget wants more vertical space

Type
Boolean
Default value
False

expand

Whether widget wants to expand in both directions

Type
Boolean
Default value
False

homogeneous

When this property is set to TRUE and the orientation is set to Gtk.Orientation.HORIZONTAL, all cells will have the same width. When this property is set to TRUE and the orientation is set to Gtk.Orientation.VERTICAL, all cells will have the same height.

Default: FALSE

Type
Boolean
Default value
False

Slots

contents

Required
yes
Array
yes

The results of the search are