wxListbook Class Reference
[Miscellaneous Windows]

#include <wx/listbook.h>

Inheritance diagram for wxListbook:

wxBookCtrlBase wxControl wxWindow wxEvtHandler wxObject

List of all members.


Detailed Description

wxListbook is a class similar to wxNotebook but which uses a wxListCtrl to show the labels instead of the tabs.

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.

Styles:

Events:

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxBookCtrlEvent& event)
Event macros:
Library:  wxCore

Category:  Miscellaneous Windows

Appearance:
wxMSW appearancewxGTK appearancewxMac appearance
wxMSW appearancewxGTK appearancewxMac appearance

See also:
wxBookCtrl, wxNotebook, Notebook Sample

Public Member Functions

 wxListbook ()
 wxListbook (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxEmptyString)
wxListViewGetListView () const

Constructor & Destructor Documentation

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.


Member Function Documentation

wxListView* wxListbook::GetListView (  )  const

Returns the wxListView associated with the control.



wxWidgets logo

[ top ]