]>
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 | @wxheader{listbook.h} | |
12 | ||
13 | wxListbook is a class similar to wxNotebook but which | |
14 | uses a wxListCtrl to show the labels instead of the | |
15 | tabs. | |
16 | ||
17 | There is no documentation for this class yet but its usage is | |
18 | identical to wxNotebook (except for the features clearly related to tabs | |
19 | only), so please refer to that class documentation for now. You can also | |
20 | use the @ref overview_samplenotebook "notebook sample" to see wxListbook in | |
21 | action. | |
22 | ||
23 | @beginStyleTable | |
24 | @style{wxLB_DEFAULT}: | |
25 | Choose the default location for the labels depending on the current | |
26 | platform (left everywhere except Mac where it is top). | |
27 | @style{wxLB_TOP}: | |
28 | Place labels above the page area. | |
29 | @style{wxLB_LEFT}: | |
30 | Place labels on the left side. | |
31 | @style{wxLB_RIGHT}: | |
32 | Place labels on the right side. | |
33 | @style{wxLB_BOTTOM}: | |
34 | Place labels below the page area. | |
35 | @endStyleTable | |
36 | ||
37 | @library{wxcore} | |
38 | @category{miscwnd} | |
39 | ||
40 | @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample" | |
41 | */ | |
42 | class wxListbook : public wxBookCtrl overview | |
43 | { | |
44 | public: | |
45 | //@{ | |
46 | /** | |
47 | Constructs a listbook control. | |
48 | */ | |
49 | wxListbook(); | |
50 | wxListbook(wxWindow* parent, wxWindowID id, | |
51 | const wxPoint& pos = wxDefaultPosition, | |
52 | const wxSize& size = wxDefaultSize, | |
53 | long style = 0, | |
54 | const wxString& name = wxEmptyStr); | |
55 | //@} | |
56 | }; | |
57 |