This is the default art provider for wx.aui.AuiManager.
Dock art can be customized by creating a class derived from this one, or replacing this class entirely.
Create a copy of this wx.aui.AuiDockArt instance. |
|
Draws a background. |
|
Draws a border. |
|
Draws a caption. |
|
Draws a gripper. |
|
Draws a button in the pane’s title bar. |
|
Draws a sash between two windows. |
|
Get the colour of a certain setting. |
|
Get a font setting. |
|
Get the value of a certain setting. |
|
Set a certain setting with the value colour. |
|
Set a font setting. |
|
Set a certain setting with the value new_val. |
wx.aui.
AuiDefaultDockArt
(AuiDockArt)¶Possible constructors:
AuiDefaultDockArt() -> None
This is the default art provider for AuiManager.
__init__
(self)¶None
Clone
(self)¶Create a copy of this wx.aui.AuiDockArt instance.
DrawBackground
(self, dc : DC, window : Window, orientation : int, rect : Rect)¶Draws a background.
DrawBorder
(self, dc : DC, window : Window, rect : Rect, pane : AuiPaneInfo)¶Draws a border.
dc (wx.DC) –
window (wx.Window) –
rect (wx.Rect) –
pane (wx.aui.AuiPaneInfo) –
None
DrawCaption
(self, dc : DC, window : Window, text : str, rect : Rect, pane : AuiPaneInfo)¶Draws a caption.
dc (wx.DC) –
window (wx.Window) –
text (string) –
rect (wx.Rect) –
pane (wx.aui.AuiPaneInfo) –
None
DrawGripper
(self, dc : DC, window : Window, rect : Rect, pane : AuiPaneInfo)¶Draws a gripper.
dc (wx.DC) –
window (wx.Window) –
rect (wx.Rect) –
pane (wx.aui.AuiPaneInfo) –
None
DrawIcon
(self, dc : DC, rect : Rect, pane : AuiPaneInfo)¶dc (wx.DC) –
rect (wx.Rect) –
pane (wx.aui.AuiPaneInfo) –
None
Deprecated
Not intended for the public API.
DrawPaneButton
(self, dc : DC, window : Window, button : int, button_state : int, rect : Rect, pane : AuiPaneInfo)¶Draws a button in the pane’s title bar.
button can be one of the values of AuiButtonId. button_state can be one of the values of AuiPaneButtonState.
dc (wx.DC) –
window (wx.Window) –
button (int) –
button_state (int) –
rect (wx.Rect) –
pane (wx.aui.AuiPaneInfo) –
None
DrawSash
(self, dc : DC, window : Window, orientation : int, rect : Rect)¶Draws a sash between two windows.
GetColour
(self, id : int)¶Get the colour of a certain setting.
id can be one of the colour values of AuiPaneDockArtSetting.
id (int) –
Colour
GetFont
(self, id : int)¶Get a font setting.
id (int) –
Font
GetMetric
(self, id : int)¶Get the value of a certain setting.
id can be one of the size values of AuiPaneDockArtSetting.
id (int) –
int
SetColour
(self, id : int, colour : Colour)¶Set a certain setting with the value colour.
id can be one of the colour values of AuiPaneDockArtSetting.
id (int) –
colour (wx.Colour) –
None
SetFont
(self, id : int, font : Font)¶Set a font setting.
id (int) –
font (wx.Font) –
None
SetMetric
(self, id : int, new_val : int)¶Set a certain setting with the value new_val.
id can be one of the size values of AuiPaneDockArtSetting.
id (int) –
new_val (int) –
None