Skip to content

PanedWindow

Bases: TTKWrapperBase, WidgetCapabilitiesMixin, TtkStateMixin, PanedWindow

bootstack wrapper for ttk.Panedwindow with bootstyle support.

__init__

__init__(
    master: Master = None,
    **kwargs: Unpack[PanedWindowKwargs],
) -> None

Create a themed bootstack Panedwindow.

Parameters:

Name Type Description Default
master Master

Parent widget. If None, uses the default root window.

None

Other Parameters:

Name Type Description
orient str

Orientation of panes ('horizontal' or 'vertical').

padding int | tuple

Extra internal padding.

width int

Requested width in pixels.

height int

Requested height in pixels.

style str

Explicit ttk style name (overrides accent/variant).

accent str

Accent token for styling, e.g. 'primary', 'secondary'.

variant str

Style variant (if applicable).

bootstyle str

DEPRECATED - Use accent and variant instead. Combined style tokens.

surface str

Optional surface token; otherwise inherited.

style_options dict

Optional dict forwarded to the style builder.