Allows the tab control to be split by dragging a tab.
| | Allows a tab to be moved horizontally by dragging.
| | Allows a tab to be moved to another tab control.
| | With this style, all tabs have the same width.
| | With this style, left and right scroll buttons are displayed.
| | With this style, a drop-down list of windows is available.
| | With this style, a close button is available on the tab bar.
| | With this style, the close button is visible on the active tab.
| | With this style, the close button is visible on all tabs.
| | Defined as: wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_CLOSE_ON_ACTIVE_TAB .
| |
wxAuiNotebook is a notebook control which implements many features common in applications with dockable panes. Specifically, wxAuiNotebook implements functionality which allows the user to rearrange tab order via drag-and-drop, split the tab window into many different splitter configurations, and toggle through different themes to customize the control's look and feel (not fully implemented in wxEuphoria v0.12)
An effort has been made to try to maintain an API as similar to that of wxNotebook.
Returns the currently selected page.
Adds a page. If the select parameter is true, calling this will generate a page change event.
Deletes a page at the given index. Calling this method will generate a page change event.
Returns the associated art provider.
Returns the page specified by the given index.
Returns the tab bitmap for the page.
Returns the number of pages in the notebook.
Returns the page index for the specified window. If the window is not found in the notebook, wxNOT_FOUND is returned.
Similar to aui_notebook_add_page, but allows the ability to specify the insert location. If the select parameter is true, calling this will generate a page change event.
Removes a page, without deleting the window pointer.
Sets the art provider to be used by the notebook.
Sets the bitmap for the page. To remove a bitmap from the tab caption, pass wxNullBitmap.
Sets the tab label for the page.
Sets the page selection. Calling this method will generate a page change event.
Sets the tab height. By default, the tab control height is calculated by measuring the text height and bitmap sizes on the tab captions. Calling this method will override that calculation and set the tab control to the specified height parameter. A call to this method will override any call to aui_notebook_set_uniform_bitmap_size. Specifying -1 as the height will return the control to its default auto-sizing behaviour.
Ensures that all tabs will have the same height, even if some tabs don't have bitmaps. Passing wxDefaultSize to this function will instruct the control to use dynamic tab height, which is the default behaviour. Under the default behaviour, when a tab with a large bitmap is added, the tab control's height will automatically increase to accommodate the larger bitmap.
Split performs a split operation programmatically. The argument page indicates the page that will be split off. This page will also become the active page after the split. The direction argument specifies where the pane should go, it should be one of the following: wxTOP, wxBOTTOM, wxLEFT, or wxRIGHT.