Inheritance diagram for AuiSimpleTabArt:
A simple-looking implementation of a tab art.
Bases: object
A simple-looking implementation of a tab art.
Draws the tab area background.
Parameters: |
|
---|
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 best tab control size.
Parameters: |
|
---|
Returns the tab art flags.
See L{SetFlags} for a list of possible return values.
Returns the tab size for the given caption, bitmap and button state.
Parameters: |
|
---|
Sets a custom bitmap for the close, left, right and window list buttons.
Parameters: |
|
---|
Sets the tab art flags.
Parameter: | flags – a combination of the following values: |
---|
Flag name | Description |
---|---|
AUI_NB_TOP | With this style, tabs are drawn along the top of the notebook |
AUI_NB_LEFT | With this style, tabs are drawn along the left of the notebook. Not implemented yet. |
AUI_NB_RIGHT | With this style, tabs are drawn along the right of the notebook. Not implemented yet. |
AUI_NB_BOTTOM | With this style, tabs are drawn along the bottom of the notebook. Not implemented for the Chrome tab art. |
AUI_NB_TAB_SPLIT | Allows the tab control to be split by dragging a tab |
AUI_NB_TAB_MOVE | Allows a tab to be moved horizontally by dragging |
AUI_NB_TAB_EXTERNAL_MOVE | Allows a tab to be moved to another tab control |
AUI_NB_TAB_FIXED_WIDTH | With this style, all tabs have the same width |
AUI_NB_SCROLL_BUTTONS | With this style, left and right scroll buttons are displayed |
AUI_NB_WINDOWLIST_BUTTON | With this style, a drop-down list of windows is available |
AUI_NB_CLOSE_BUTTON | With this style, a close button is available on the tab bar |
AUI_NB_CLOSE_ON_ACTIVE_TAB | With this style, a close button is available on the active tab |
AUI_NB_CLOSE_ON_ALL_TABS | With this style, a close button is available on all tabs |
AUI_NB_MIDDLE_CLICK_CLOSE | Allows to close AuiNotebook tabs by mouse middle button click |
AUI_NB_SUB_NOTEBOOK | This style is used by AuiManager to create automatic AuiNotebooks |
AUI_NB_HIDE_ON_SINGLE_TAB | Hides the tab window if only one tab is present |
AUI_NB_SMART_TABS | Use Smart Tabbing, like Alt+Tab on Windows |
AUI_NB_USE_IMAGES_DROPDOWN | Uses images on dropdown window list menu instead of check items |
Sets the font for calculating text measurements.
Parameter: | font – a wx.Font object. |
---|
Sets the normal font for drawing tab labels.
Parameter: | font – a wx.Font object. |
---|
Sets the selected tab font for drawing tab labels.
Parameter: | font – a wx.Font object. |
---|
Sets the tab sizing information.
Parameters: |
|
---|
Shows the drop-down window menu on the tab area.
Parameters: |
|
---|