Tab art provider defines all the drawing functions used by wx.aui.AuiNotebook.
This allows the wx.aui.AuiNotebook to have a pluggable look-and-feel.
By default, a wx.aui.AuiNotebook uses an instance of this class called wx.aui.AuiDefaultTabArt which provides bitmap art and a colour scheme that is adapted to the major platforms’ look. You can either derive from that class to alter its behaviour or write a completely new tab art class.
Another example of creating a new wx.aui.AuiNotebook tab bar is wx.aui.AuiSimpleTabArt.
Call wx.aui.AuiNotebook.SetArtProvider
to make use of this new tab art.
wx.aui.AuiDefaultTabArt, wx.aui.AuiSimpleTabArt
Constructor. |
|
Clones the art object. |
|
Draws a background on the given area. |
|
Draws a button. |
|
Draws a tab. |
|
Returns the tab control size. |
|
Returns the indent size. |
|
Returns the tab size for the given caption, bitmap and state. |
|
Sets the colour of the selected tab. |
|
Sets the colour of the inactive tabs. |
|
Sets flags. |
|
Sets the font used for calculating measurements. |
|
Sets the normal font for drawing labels. |
|
Sets the font for drawing text for selected UI elements. |
|
Sets sizing information. |
See |
Possible constructors:
AuiTabArt()
Tab art provider defines all the drawing functions used by AuiNotebook.
Constructor.
Clones the art object.
Draws a background on the given area.
Draws a button.
Draws a tab.
Returns the indent size.
int
Returns the tab size for the given caption, bitmap and state.
Sets the colour of the selected tab.
colour (wx.Colour) –
New in version 2.9.2.
Sets the colour of the inactive tabs.
colour (wx.Colour) –
New in version 2.9.2.
Sets flags.
flags (int) –
Sets the font used for calculating measurements.
font (wx.Font) –
Sets the font for drawing text for selected UI elements.
font (wx.Font) –
Sets sizing information.
tab_ctrl_size (wx.Size) –
tab_count (int) –
See GetIndentSize