wx.aui.AuiGenericTabArt¶An art provider for wx.aui.AuiNotebook implementing “glossy” look.
This art provider is used as fallback art provider for AuiNativeTabArt if there is no native tab art provider, but may also be used directly.
See also
Class Hierarchy¶
Inheritance diagram for class AuiGenericTabArt:
Methods Summary¶Clones the art object. |
|
Draws a background on the given area. |
|
Draws a button. |
|
Draws a tab. |
|
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. |
Properties Summary¶See |
Class API¶Possible constructors:
AuiGenericTabArt() -> None
An art provider for AuiNotebook implementing “glossy” look.
None
Clones the art object.
Draws a background on the given area.
Draws a button.
Draws a tab.
This function used to be pure virtual and so had to be overridden in the derived classes in the previous versions of wxWidgets, however since version 3.3.0 it doesn’t have to be overridden if DrawPageTab is overridden and, moreover, it is recommended to override DrawPageTab instead of this function in the new code.
Returns the indent size.
int
Returns the tab size for the given caption, bitmap and state.
This function used to be pure virtual and so had to be overridden in the derived classes in the previous versions of wxWidgets, however since version 3.3.0 it doesn’t have to be overridden if GetPageTabSize is overridden and it is recommended to override GetPageTabSize instead of this function in the new code.
dc (wx.ReadOnlyDC)
wnd (wx.Window)
caption (string)
bitmap (wx.BitmapBundle)
active (bool)
close_button_state (int)
x_extent (int)
Size
Sets the colour of the selected tab.
colour (wx.Colour)
None
Added in version 2.9.2.
Sets the colour of the inactive tabs.
colour (wx.Colour)
None
Added in version 2.9.2.
Sets flags.
flags (int)
None
Sets the font used for calculating measurements.
font (wx.Font)
None
Sets the normal font for drawing labels.
font (wx.Font)
None
See also
Sets the font for drawing text for selected UI elements.
font (wx.Font)
None
See also
Sets sizing information.
The wnd argument is only present in wxWidgets 3.1.6 and newer and is required, it only has nullptr default value for compatibility reasons.
See GetIndentSize