wx.aui.AuiFlatTabArt¶
An art provider for wx.aui.AuiNotebook implementing “flat” look.
This art provider is currently used as the default art provider.
Added in version 4.3/wxWidgets-3.3.0.
Class Hierarchy¶
Methods Summary¶
Default constructor. |
|
Clones the art object. |
|
Draws a background on the given area. |
|
Draws a button. |
|
Returns the indent size. |
|
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¶
- class wx.aui.AuiFlatTabArt(AuiTabArt)¶
Possible constructors:
AuiFlatTabArt() -> None
An art provider for AuiNotebook implementing “flat” look.
Methods¶
- __init__(self)¶
Default constructor.
- Return type:
None
- Clone(self)¶
Clones the art object.
- Return type:
- DrawBackground(self, dc, wnd, rect)¶
Draws a background on the given area.
- DrawButton(self, dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect)¶
Draws a button.
- GetIndentSize(self)¶
Returns the indent size.
- Return type:
int
- SetActiveColour(self, colour)¶
Sets the colour of the selected tab.
- Parameters:
colour (wx.Colour)
- Return type:
None
Added in version 2.9.2.
- SetColour(self, colour)¶
Sets the colour of the inactive tabs.
- Parameters:
colour (wx.Colour)
- Return type:
None
Added in version 2.9.2.
- SetFlags(self, flags)¶
Sets flags.
- Parameters:
flags (int)
- Return type:
None
- SetMeasuringFont(self, font)¶
Sets the font used for calculating measurements.
- Parameters:
font (wx.Font)
- Return type:
None
- SetNormalFont(self, font)¶
Sets the normal font for drawing labels.
- Parameters:
font (wx.Font)
- Return type:
None
See also
- SetSelectedFont(self, font)¶
Sets the font for drawing text for selected UI elements.
- Parameters:
font (wx.Font)
- Return type:
None
See also
- SetSizingInfo(self, tab_ctrl_size, tab_count, wnd=None)¶
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.
Properties¶
- IndentSize¶
See
GetIndentSize