#include <wx/toolbook.h>
There is no documentation for this class yet but its usage is identical to wxNotebook (except for the features clearly related to tabs only), so please refer to that class documentation for now. You can also use the Notebook Sample to see wxToolbook in action.
This class supports the following styles:
wxTB_HORZ_LAYOUT
flag support).
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
event. wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
event. This event can be vetoed (using wxNotifyEvent::Veto()).
Public Member Functions | |
wxToolBarBase * | GetToolBar () const |
Returns the wxToolBarBase associated with the control. | |
wxToolbook () | |
Constructs a choicebook control. | |
wxToolbook (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxEmptyStr) | |
Constructs a choicebook control. |
wxToolbook::wxToolbook | ( | ) |
Constructs a choicebook control.
wxToolbook::wxToolbook | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
long | style = 0 , |
|||
const wxString & | name = wxEmptyStr | |||
) |
Constructs a choicebook control.
wxToolBarBase* wxToolbook::GetToolBar | ( | ) | const |
Returns the wxToolBarBase associated with the control.
![]() |
[ top ] |