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. |
A simple-looking implementation of a tab art.
Draws a button on the tab or on the tab area, depending on the button identifier.
Parameters: |
---|
Convenience method to draw tab buttons.
Parameters: |
|
---|
Draws a single tab.
Parameters: |
|
---|
Returns the tab art flags.
See also
SetAGWFlags for a list of possible return values.
Returns the best tab control size.
Parameters: |
|
---|
Returns the tab size for the given caption, bitmap and button state.
Parameters: |
|
---|
Sets the tab art flags.
Parameters: | agwFlags – a combination of the following values:
|
---|
Sets a custom bitmap for the close, left, right and window list buttons.
Parameters: |
|
---|
Sets the font for calculating text measurements.
Parameters: | font – a wx.Font object. |
---|
Sets the normal font for drawing tab labels.
Parameters: | font – a wx.Font object. |
---|
Sets the selected tab font for drawing tab labels.
Parameters: | font – a wx.Font object. |
---|
Sets the tab sizing information.
Parameters: |
|
---|