#include <wx/listbook.h>
The underlying wxListCtrl displays page labels in a one-column report view by default. Calling wxBookCtrl::SetImageList will implicitly switch the control to use an icon view.
For usage documentation of this class, please refer to the base abstract class wxBookCtrl. You can also use the Notebook Sample to see wxListbook in action.
This class supports the following styles:
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
event. wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
event. This event can be vetoed.
![]() | ![]() | ![]() |
wxMSW appearance | wxGTK appearance | wxMac appearance |
Public Member Functions | |
wxListbook () | |
Default ctor. | |
wxListbook (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxEmptyString) | |
Constructs a listbook control. | |
wxListView * | GetListView () const |
Returns the wxListView associated with the control. |
wxListbook::wxListbook | ( | ) |
Default ctor.
wxListbook::wxListbook | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
long | style = 0 , |
|||
const wxString & | name = wxEmptyString | |||
) |
Constructs a listbook control.
wxListView* wxListbook::GetListView | ( | ) | const |
Returns the wxListView associated with the control.
![]() |
[ top ] |