include file: 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:
- parent
- id
- x [=-1]
- y [=-1]
- cx [=-1]
- cy [=-1]
- style [=0]
- wxNB_FIXEDWIDTH (Windows only)All tabs will have same width.
- wxNB_LEFT Place tabs on the left side.
- wxNB_RIGHT Place tabs on the right side.
- wxNB_BOTTOM Place tabs under instead of above the notebook pages.
Note that sometimes you can reduce flicker by passing the wxCLIP_CHILDREN window style.
proc add_page( atom book, atom page, sequence text, integer select, atom image )
proc notebook_imagelist( atom book, atom ilist )
proc set_page_text( atom book, integer page, sequence text )
proc show_page( atom book, integer page )
Parent Topics:
Classes
Controls
Subtopics:
wxNotebookSizer
[proc]
add_page ( atom book, atom page, sequence text, integer select, atom image )
Category: wxNotebook
Adds the wxWindow page to the notebook, with text on the its tab. select
indicates whether the page should be selected, and image is the image index into
an imagelist.
See Also:
notebook_imagelist,
set_page_text,
show_page
Category: wxNotebook
See Also:
add_page,
set_page_text,
show_page
[proc]
set_page_text ( atom book, integer page, sequence text )
Category: wxNotebook
See Also:
add_page,
notebook_imagelist,
show_page
Category: wxNotebook
See Also:
add_page,
notebook_imagelist,
set_page_text