/**
@class wxTreebookEvent
@wxheader{treebook.h}
-
+
This class represents the events generated by a treebook control: currently,
there are four of them. The PAGE_CHANGING and PAGE_CHANGED - have exactly the
same
behaviour as wxNotebookEvent.
-
+
The other two NODE_COLLAPSED and NODE_EXPANDED are triggered when page node in
the tree control
is collapsed/expanded. The page index could be retreived by calling
wxTreebookEvent::GetSelection.
-
-
+
+
@library{wxcore}
@category{events}
-
+
@seealso
wxNotebookEvent, wxTreebook
*/
/**
@class wxTreebook
@wxheader{treebook.h}
-
+
This class is an extension of the Notebook class that allows a tree structured
set of pages to be shown in a control.
A classic example is a netscape preferences dialog that shows a tree
of preference sections on the left and select section page on the right.
-
+
To use the class simply create it and populate with pages using
wxTreebook::InsertPage,
wxTreebook::InsertSubPage,
wxTreebook::AddPage,
wxTreebook::AddSubPage.
-
+
If your tree is no more than 1 level in depth then you could
- simply use wxTreebook::AddPage and
+ simply use wxTreebook::AddPage and
wxTreebook::AddSubPage to sequentially populate your tree
by adding at every step a page or a subpage to the end of the tree.
-
+
@library{wxcore}
@category{miscwnd}
-
+
@seealso
wxNotebook, wxTreebookEvent, wxImageList, @ref overview_samplenotebook
"notebook sample"
/**
Creates an empty TreeBook control.
- @param parent
+ @param parent
The parent window. Must be non-@NULL.
- @param id
+ @param id
The window identifier.
- @param pos
+ @param pos
The window position.
- @param size
+ @param size
The window size.
- @param style
+ @param style
The window style. See wxNotebook.
- @param name
+ @param name
The name of the control (used only under Motif).
*/
wxTreebook();
- wxTreebook(wxWindow* parent, wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = wxTBK_DEFAULT,
- const wxString& name = wxEmptyString);
+ wxTreebook(wxWindow* parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTBK_DEFAULT,
+ const wxString& name = wxEmptyString);
//@}
/**