]>
git.saurik.com Git - wxWidgets.git/blob - interface/choicebk.h
68e312a21cd78fdcf869d4e2ca5d487e2657fbbe
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: documentation for wxChoicebook class
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
13 wxChoicebook is a class similar to wxNotebook but which
14 uses a wxChoice to show the labels instead of the
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 wxChoicebook in
23 wxChoicebook allows the use of wxBookCtrl::GetControlSizer, allowing a program
24 to add other controls next to the choice control. This is particularly useful
25 when screen space is restricted, as it often is when wxChoicebook is being
29 @style{wxCHB_DEFAULT}:
30 Choose the default location for the labels depending on the current
31 platform (left everywhere except Mac where it is top).
33 Place labels above the page area.
35 Place labels on the left side.
37 Place labels on the right side.
39 Place labels below the page area.
46 wxBookCtrl, wxNotebook, @ref overview_samplenotebook "notebook sample"
48 class wxChoicebook
: public wxBookCtrl overview
53 Constructs a choicebook control.
56 wxChoicebook(wxWindow
* parent
, wxWindowID id
,
57 const wxPoint
& pos
= wxDefaultPosition
,
58 const wxSize
& size
= wxDefaultSize
,
60 const wxString
& name
= wxEmptyStr
);