A simple-looking implementation of a tab art.
__init__ |
Default class constructor. |
Clone |
Clones the art object. |
DrawBackground |
Draws the tab area background. |
DrawButton |
Draws a button on the tab or on the tab area, depending on the button identifier. |
DrawButtons |
Convenience method to draw tab buttons. |
DrawTab |
Draws a single tab. |
GetAGWFlags |
Returns the tab art flags. |
GetBestTabCtrlSize |
Returns the best tab control size. |
GetIndentSize |
Returns the tabs indent size. |
GetMeasuringFont |
Returns the font for calculating text measurements. |
GetNormalFont |
Returns the normal font for drawing tab labels. |
GetSelectedFont |
Returns the selected tab font for drawing tab labels. |
GetTabSize |
Returns the tab size for the given caption, bitmap and button state. |
SetAGWFlags |
Sets the tab art flags. |
SetCustomButton |
Sets a custom bitmap for the close, left, right and window list buttons. |
SetMeasuringFont |
Sets the font for calculating text measurements. |
SetNormalFont |
Sets the normal font for drawing tab labels. |
SetSelectedFont |
Sets the selected tab font for drawing tab labels. |
SetSizingInfo |
Sets the tab sizing information. |
ShowDropDown |
Shows the drop-down window menu on the tab area. |
AuiSimpleTabArt
(object)¶A simple-looking implementation of a tab art.
__init__
(self)¶Default class constructor.
Clone
(self)¶Clones the art object.
DrawBackground
(self, dc, wnd, rect)¶Draws the tab area background.
Parameters: |
---|
DrawButton
(self, dc, wnd, in_rect, button, orientation)¶Draws a button on the tab or on the tab area, depending on the button identifier.
Parameters: |
---|
DrawButtons
(self, dc, _rect, bmp, bkcolour, button_state)¶Convenience method to draw tab buttons.
Parameters: |
---|
DrawTab
(self, dc, wnd, page, in_rect, close_button_state, paint_control=False)¶Draws a single tab.
Parameters: |
|
---|
GetAGWFlags
(self)¶Returns the tab art flags.
See also
SetAGWFlags
for a list of possible return values.
GetBestTabCtrlSize
(self, wnd, pages, required_bmp_size)¶Returns the best tab control size.
Parameters: |
---|
GetIndentSize
(self)¶Returns the tabs indent size.
GetMeasuringFont
(self)¶Returns the font for calculating text measurements.
GetNormalFont
(self)¶Returns the normal font for drawing tab labels.
GetSelectedFont
(self)¶Returns the selected tab font for drawing tab labels.
GetTabSize
(self, dc, wnd, caption, bitmap, active, close_button_state, control=None)¶Returns the tab size for the given caption, bitmap and button state.
Parameters: |
|
---|
SetAGWFlags
(self, agwFlags)¶Sets the tab art flags.
Parameters: | agwFlags (integer) – a combination of the following values:
|
---|
SetCustomButton
(self, bitmap_id, button_state, bmp)¶Sets a custom bitmap for the close, left, right and window list buttons.
Parameters: |
|
---|
SetMeasuringFont
(self, font)¶Sets the font for calculating text measurements.
Parameters: | font (wx.Font) – the new font to use to measure tab labels text extents. |
---|
SetNormalFont
(self, font)¶Sets the normal font for drawing tab labels.
Parameters: | font (wx.Font) – the new font to use to draw tab labels in their normal, un-selected state. |
---|
SetSelectedFont
(self, font)¶Sets the selected tab font for drawing tab labels.
Parameters: | font (wx.Font) – the new font to use to draw tab labels in their selected state. |
---|
SetSizingInfo
(self, tab_ctrl_size, tab_count, minMaxTabWidth)¶Sets the tab sizing information.
Parameters: |
|
---|