traitsui.dock_window_theme module

Defines the theme style information for a DockWindow and its components.

class traitsui.dock_window_theme.DockWindowTheme[source]

Bases: traits.has_traits.HasPrivateTraits

Defines the theme style information for a DockWindow and its components.

horizontal_drag = ATheme

Horizontal drag bar theme:

horizontal_splitter = ATheme

Horizontal splitter bar theme:

tab = ATheme

Tab theme:

tab_active = ATheme

Active tab theme:

tab_background = ATheme

Tab background theme:

tab_hover = ATheme

Tab hover theme (used for inactive tabs):

tab_hover_edge = Image

Optional image to use for right edge of rightmost hover tab:

tab_hover_edge_bitmap = Property(observe="tab_hover_edge")

The bitmap for the ‘tab_hover_edge’ image:

tab_inactive = ATheme

Inactive tab theme:

tab_inactive_edge = Image

Optional image to use for right edge of rightmost inactive tab:

tab_inactive_edge_bitmap = Property(observe="tab_inactive_edge")

The bitmap for the ‘tab_inactive_edge’ image:

tabs_at_top = Bool(True)

Draw notebook tabs at the top (True) or the bottom (False)?

use_theme_color = Bool(True)

Use the theme background color as the DockWindow background color?

vertical_drag = ATheme

Vertical drag bar theme:

vertical_splitter = ATheme

Vertical splitter bar theme:

traitsui.dock_window_theme.dock_window_theme(theme=None)[source]

Get or set the default DockWindow theme.