A class to draw tabs using the Google Chrome browser style. It uses custom bitmap to render the tabs, so that the look and feel is as close as possible to the Chrome style.
__init__ |
Default class constructor. |
Clone |
Clones the art object. |
DrawTab |
Draws a single tab. |
GetTabSize |
Returns the tab size for the given caption, bitmap and button state. |
SetAGWFlags |
Sets the tab art flags. |
SetBitmaps |
Assigns the tab custom bitmaps |
SetSizingInfo |
Sets the tab sizing information. |
ChromeTabArt
(AuiDefaultTabArt)¶A class to draw tabs using the Google Chrome browser style. It uses custom bitmap to render the tabs, so that the look and feel is as close as possible to the Chrome style.
__init__
(self)¶Default class constructor.
Clone
(self)¶Clones the art object.
DrawTab
(self, dc, wnd, page, in_rect, close_button_state, paint_control=False)¶Draws a single tab.
Parameters: |
|
---|
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:
|
---|
Note
Overridden from AuiDefaultTabArt
.
SetBitmaps
(self, mirror)¶Assigns the tab custom bitmaps
Parameters: | mirror (bool) – whether to vertically mirror the bitmap or not. |
---|
SetSizingInfo
(self, tab_ctrl_size, tab_count, minMaxTabWidth)¶Sets the tab sizing information.
Parameters: |
|
---|