For usage documentation of this class, please refer to the base abstract class wxBookCtrl. You can also use the page_samples_notebook to see
Styles
This class supports the following styles:
See:
This class is derived (and can use functions) from:
wxWidgets docs:
Event types emitted from this class:
Constructs a choicebook control.
Adds a new page.
The page must have the book control itself as the parent and must not have been added to this control previously.
The call to this function will generate the page changing and page changed events if
Return: true if successful, false otherwise.
Remark: Do not delete the page, it will be deleted by the book control.
See:
Cycles through the tabs.
The call to this function generates the page changing events.
Sets the image list for the page control and takes ownership of the list.
See:
Create the choicebook control that has already been constructed with the default constructor.
Deletes all pages.
Returns the currently selected page or NULL.
Returns the associated image list, may be NULL.
See:
Returns the window at the given page position.
Returns the number of pages in the control.
Returns the image index for the given page.
Returns the string for the given page.
Returns the currently selected page, or
Note that this method may return either the previously or newly selected page when called from the
Returns the index of the tab at the specified position or
If
Return: Returns the zero-based tab index or
Inserts a new page at the specified position.
Return: true if successful, false otherwise.
Remark: Do not delete the page, it will be deleted by the book control.
See:
Sets the image list to use.
It does not take ownership of the image list, you must delete it yourself.
See:
Sets the width and height of the pages.
Note: This method is currently not implemented for wxGTK.
Sets the image index for the given page.
Sets the text for the given page.
Sets the selection to the given page, returning the previous selection.
Notice that the call to this function generates the page changing events, use the
See:
Changes the selection to the given page, returning the previous selection.
This function behaves as
See overview_events_prog for more information.
Destroys the object.