Separator
Bases: TTKWrapperBase, WidgetCapabilitiesMixin, TtkStateMixin, Separator
bootstack wrapper for ttk.Separator with bootstyle support.
__init__
__init__(
master: Master = None, **kwargs: Unpack[SeparatorKwargs]
) -> None
Create a themed bootstack Separator.
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 the separator ('horizontal' or 'vertical'). |
style |
str
|
Explicit ttk style name (overrides accent/variant). |
accent |
str
|
Accent token for styling, e.g. 'primary', 'secondary' otherwise derived from inherited surface. |
bootstyle |
str
|
DEPRECATED - Use |
surface |
str
|
Optional surface token; otherwise inherited. |
thickness |
int
|
Thickness of the separator. |
length |
int
|
Fixed length of the separator in pixels. If None, stretches to fill available space. |
style_options |
dict
|
Optional dict forwarded to the style builder. |