Containers
Layout and grouping widgets for organizing UI elements.
Generic container for grouping child widgets. Supports layout assignment.
- layout: enum
- spacing: int
- padding: int
Visual frame with border and optional title. Groups related widgets.
- title: string
- frameWidth: int
Container with raised border and title. Visual grouping for form sections.
- title: string
- checkable: bool
Scrollable container with content clipping. vscroll/hscroll attach real ScrollBar children on the right/bottom edge. Content scrolls via mouse wheel (step 40 px), pointer drag, or the bars.
- vscroll: bool
- hscroll: bool
- content_width: int
- content_height: int
Top-level window with title bar and close button. Full-screen or dialog mode.
- title: string
- width: int
- height: int
- flags: enum
Stylized page container with header. Used in TabView and StackView.
- title: string
- headerVisible: bool
Resizable split container with draggable divider. Two panes, horizontal or vertical.
- orientation: enum
- position: float
Sliding side panel. Edges in from left or right on trigger.
- edge: enum
- open: bool
- width: int
Stylized container with subtle background. Generic grouping element.
- background: color
- padding: int
Horizontal bar for action buttons. Top or bottom placement.
- orientation: enum
- buttons: list
Floating framed container with a title bar, close button and real child widgets. show(x, y) opens it; the close X and the Escape key close it. Children stay interactive. Emits Closed.
- title: string
- visible: bool (default False)
- show(x, y)
- hide()
Vertical or horizontal scrollbar with draggable thumb. Emits ValueChanged.
- value: float
- min_value: float
- max_value: float
- page_size: float
- orientation: vertical|horizontal