]>
git.saurik.com Git - wxWidgets.git/blob - interface/choicebk.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxChoicebook
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.
45 @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample"
47 class wxChoicebook
: public wxBookCtrl overview
52 Constructs a choicebook control.
55 wxChoicebook(wxWindow
* parent
, wxWindowID id
,
56 const wxPoint
& pos
= wxDefaultPosition
,
57 const wxSize
& size
= wxDefaultSize
,
59 const wxString
& name
= wxEmptyStr
);