]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/listbook.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxListbook
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
12 wxListbook is a class similar to wxNotebook but which
13 uses a wxListCtrl to show the labels instead of the
16 The underlying wxListCtrl displays page labels in a one-column report view
17 by default. Calling wxListbook::SetImageList will implicitly switch the
18 control to use an icon view.
20 There is no documentation for this class yet but its usage is
21 identical to wxNotebook (except for the features clearly related to tabs
22 only), so please refer to that class documentation for now. You can also
23 use the @ref overview_samplenotebook "notebook sample" to see wxListbook in
28 Choose the default location for the labels depending on the current
29 platform (left everywhere except Mac where it is top).
31 Place labels above the page area.
33 Place labels on the left side.
35 Place labels on the right side.
37 Place labels below the page area.
43 @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample"
45 class wxListbook
: public wxBookCtrl overview
50 Constructs a listbook control.
53 wxListbook(wxWindow
* parent
, wxWindowID id
,
54 const wxPoint
& pos
= wxDefaultPosition
,
55 const wxSize
& size
= wxDefaultSize
,
57 const wxString
& name
= wxEmptyStr
);