Skip to content

Box

class Box (spacing: int = 0, orientation: Literal['v', 'vertical', 'h', 'horizontal'] | Orientation = Gtk.Orientation.HORIZONTAL, children: Widget | Iterable[Widget] | None = None, name: str | None = None, visible: bool = True, all_visible: bool = False, style: str | None = None, style_classes: Iterable[str] | str | None = None, tooltip_text: str | None = None, tooltip_markup: str | None = None, h_align: Literal['fill', 'start', 'end', 'center', 'baseline'] | Align | None = None, v_align: Literal['fill', 'start', 'end', 'center', 'baseline'] | Align | None = None, h_expand: bool = False, v_expand: bool = False, size: Iterable[int] | int | None = None, **kwargs)

Bases: Box, Container

a box able to hold widgets as a container