Table of Contents

wxNotebook

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:

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


    Table of Contents

    [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



    Table of Contents

    [proc]
    notebook_imagelist
    ( atom book, atom ilist )

    Category: wxNotebook

    See Also: add_page, set_page_text, show_page



    Table of Contents

    [proc]
    set_page_text
    ( atom book, integer page, sequence text )

    Category: wxNotebook

    See Also: add_page, notebook_imagelist, show_page



    Table of Contents

    [proc]
    show_page
    ( atom book, integer page )

    Category: wxNotebook

    See Also: add_page, notebook_imagelist, set_page_text