theme¶
Class containing various tanmatsu.Styles.
Instances of this class be passed to tanmatsu.widgets.Widget (and descendants of that class)
in order to control the tanmatsu.Styles used when drawing the widget.
Theme¶
- class tanmatsu.theme.Theme¶
Abstract base class.
- abstract property default: Style¶
The default style to be used, unless overridden by one of the succeeding styles.
- abstract property active: Style¶
Style used for the currently active tab (e.g., in the TabBox widget).
- abstract property inactive: Style¶
Style used for the currently inactive tab (e.g., in the TabBox widget).
- __weakref__¶
list of weak references to the object (if defined)
DefaultTheme¶
- class tanmatsu.theme.DefaultTheme¶
Default theme provided by tanmatsu.