]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/listbook.h
Fix -- in comment.
[wxWidgets.git] / interface / wx / listbook.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: listbook.h
e54c96f1 3// Purpose: interface of wxListbook
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxListbook
7c913512 11
23324ae1
FM
12 wxListbook is a class similar to wxNotebook but which
13 uses a wxListCtrl to show the labels instead of the
14 tabs.
7c913512 15
c1718122
VZ
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
23324ae1
FM
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.
7c913512 25
23324ae1 26 @beginStyleTable
8c6791e4 27 @style{wxLB_DEFAULT}
23324ae1
FM
28 Choose the default location for the labels depending on the current
29 platform (left everywhere except Mac where it is top).
8c6791e4 30 @style{wxLB_TOP}
23324ae1 31 Place labels above the page area.
8c6791e4 32 @style{wxLB_LEFT}
23324ae1 33 Place labels on the left side.
8c6791e4 34 @style{wxLB_RIGHT}
23324ae1 35 Place labels on the right side.
8c6791e4 36 @style{wxLB_BOTTOM}
23324ae1
FM
37 Place labels below the page area.
38 @endStyleTable
7c913512 39
23324ae1
FM
40 @library{wxcore}
41 @category{miscwnd}
7c913512 42
e54c96f1 43 @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample"
23324ae1
FM
44*/
45class wxListbook : public wxBookCtrl overview
46{
47public:
48 //@{
49 /**
50 Constructs a listbook control.
51 */
52 wxListbook();
7c913512
FM
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);
23324ae1
FM
58 //@}
59};
e54c96f1 60