wxNotebook

wxNotebook
This class represents a notebook control, which manages multiple windows with associated tabs.

To use the class, create a wxNotebook object and call add_page, passing a window to be used as the page.

Creation Parameters
Note that sometimes you can reduce flicker by passing the wxCLIP_CHILDREN window style.
Functions/Procedures
Supertopics

wxNotebook

[proc]
advance_selection
( atom book, integer forward )

Category: wxNotebook

Cycles through the tabs.


wxNotebook

[proc]
delete_page
( atom book, integer page )

Category: wxNotebook

Deletes the specified page, and the associated window.


wxNotebook

[func]
get_page_text
( atom book, atom page )

Category: wxNotebook

Returns the string for the given page.


wxNotebook

[func]
notebook_event_selection
( atom event )

Category: wxNotebook

Returns the currently selected page for event, or -1 if none was selected.


wxNotebook

[proc]
set_padding
( atom book, sequence size )

Category: wxNotebook

Sequence is divided into X and Y amounts. X is the amount to add to to the wideness of the wxNotebook's tab's and Y is the amount that the text on the tabs will move down. If the values are negative, then X will subtract from the wideness of the tabs, and Y will make the text move up.


wxNotebook

[proc]
set_tab_size
( atom book, sequence size )

Category: wxNotebook

This works much like set_padding. However instead of increasing or decreasing the size, the tabs are set to have the width specified by the first value in size, and the length of the second value in size. However, unlike set_padding, a negative value is not to be used.