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 (http://sourceforge.net/projects/pywin32/).
__init__ |
Default class constructor. |
DrawCaption |
Draws the text in the pane caption. |
DrawCaptionBackground |
Draws the text caption background in the pane. |
DrawPaneButton |
Draws a pane button in the pane caption area. |
Init |
Initializes the dock art. |
RequestUserAttention |
Requests the user attention by intermittently highlighting the pane caption. |
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 (http://sourceforge.net/projects/pywin32/).
__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.
Parameters: |
---|
DrawCaptionBackground
(self, dc, rect, pane)¶Draws the text caption background in the pane.
Parameters: |
---|
DrawPaneButton
(self, dc, window, button, button_state, rect, pane)¶Draws a pane button in the pane caption area.
Parameters: |
---|
Init
(self)¶Initializes the dock art.
RequestUserAttention
(self, dc, window, text, rect, pane)¶Requests the user attention by intermittently highlighting the pane caption.
Parameters: |
---|