tabart.FF2TabArt
Inheritance diagram for FF2TabArt:
Description
A class to draw tabs using the Firefox 2 (FF2) style.
Class API
Methods
-
class FF2TabArt
Bases: tabart.AuiDefaultTabArt
A class to draw tabs using the Firefox 2 (FF2) style.
-
__init__()
- Default class constructor.
-
Clone()
- Clones the art object.
-
DrawTab(dc, wnd, page, in_rect, close_button_state)
Draws a single tab.
Parameters: |
- dc – a wx.DC device context;
- wnd – a wx.Window instance object;
- page – the tab control page associated with the tab;
- in_rect – rectangle the tab should be confined to;
- close_button_state – the state of the close button on the tab.
|
-
GetTabSize(dc, wnd, caption, bitmap, active, close_button_state)
Returns the tab size for the given caption, bitmap and button state.
Parameters: |
- dc – a wx.DC device context;
- wnd – a wx.Window instance object;
- caption – the tab text caption;
- bitmap – the bitmap displayed on the tab;
- active – whether the tab is selected or not;
- close_button_state – the state of the close button on the tab.
|