]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: listbook.h | |
3 | // Purpose: interface of wxListbook | |
4 | // Author: wxWidgets team | |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | @class wxListbook | |
11 | ||
12 | wxListbook is a class similar to wxNotebook but which | |
13 | uses a wxListCtrl to show the labels instead of the | |
14 | tabs. | |
15 | ||
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. | |
19 | ||
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 | |
24 | action. | |
25 | ||
26 | @beginStyleTable | |
27 | @style{wxLB_DEFAULT} | |
28 | Choose the default location for the labels depending on the current | |
29 | platform (left everywhere except Mac where it is top). | |
30 | @style{wxLB_TOP} | |
31 | Place labels above the page area. | |
32 | @style{wxLB_LEFT} | |
33 | Place labels on the left side. | |
34 | @style{wxLB_RIGHT} | |
35 | Place labels on the right side. | |
36 | @style{wxLB_BOTTOM} | |
37 | Place labels below the page area. | |
38 | @endStyleTable | |
39 | ||
40 | @library{wxcore} | |
41 | @category{miscwnd} | |
42 | ||
43 | @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample" | |
44 | */ | |
45 | class wxListbook : public wxBookCtrl overview | |
46 | { | |
47 | public: | |
48 | //@{ | |
49 | /** | |
50 | Constructs a listbook control. | |
51 | */ | |
52 | wxListbook(); | |
53 | wxListbook(wxWindow* parent, wxWindowID id, | |
54 | const wxPoint& pos = wxDefaultPosition, | |
55 | const wxSize& size = wxDefaultSize, | |
56 | long style = 0, | |
57 | const wxString& name = wxEmptyStr); | |
58 | //@} | |
59 | }; | |
60 |