CenterBox#

class ignis.widgets.Widget.CenterBox(*args: Any, **kwargs: Any)#

Bases: Gtk.CenterBox

A box widget that contains three widgets, which are placed at the start, center, and end of the container.

Widget.CenterBox(
    vertical=False,
    start_widget=Widget.Label(label='start'),
    center_widget=Widget.Label(label='center'),
    end_widget=Widget.Label(label='end'),
)
property vertical: bool#
  • optional, read-write

Whether the box arranges children vertically.

Default: False.