wx.lib.agw.aui.dockart.ModernDockArt¶
ModernDockArt is a custom AuiDockArt class, that implements a look similar to Firefox and other recents applications.
Is uses the winxptheme module and XP themes whenever possible, so it should look good even if the user has a custom theme.
Note
This dock art is Windows only and will only work if you have installed Mark Hammond’s pywin32 module (https://sourceforge.net/projects/pywin32/).
Class Hierarchy¶
Known Superclasses¶
wx.lib.agw.aui.dockart.AuiDefaultDockArt
Methods Summary¶
Default class constructor. |
|
Draws the text in the pane caption. |
|
Draws the text caption background in the pane. |
|
Draws a pane button in the pane caption area. |
|
Initializes the dock art. |
|
Requests the user attention by intermittently highlighting the pane caption. |
Class API¶
- class ModernDockArt(AuiDefaultDockArt)¶
ModernDockArt is a custom AuiDockArt class, that implements a look similar to Firefox and other recents applications.
Is uses the winxptheme module and XP themes whenever possible, so it should look good even if the user has a custom theme.
Note
This dock art is Windows only and will only work if you have installed Mark Hammond’s pywin32 module (https://sourceforge.net/projects/pywin32/).
Methods¶
- __init__(self, win)¶
Default class constructor.
- Parameters:
win (wx.Window) – the window managed by
AuiManager
.
- DrawCaption(self, dc, window, text, rect, pane)¶
Draws the text in the pane caption.
- DrawCaptionBackground(self, dc, rect, pane)¶
Draws the text caption background in the pane.
- DrawPaneButton(self, dc, window, button, button_state, rect, pane)¶
Draws a pane button in the pane caption area.
- Init(self)¶
Initializes the dock art.
- RequestUserAttention(self, dc, window, text, rect, pane)¶
Requests the user attention by intermittently highlighting the pane caption.