]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/choicebk.tex
corrected ancient event type constant in an example
[wxWidgets.git] / docs / latex / wx / choicebk.tex
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% Name: choicebk.tex
3 %% Purpose: wxChoicebook documentation
4 %% Author: Vadim Zeitlin
5 %% Modified by: Wlodzimierz ABX Skiba from listbook.tex
6 %% Created: 15.09.04
7 %% RCS-ID: $Id$
8 %% Copyright: (c) Vadim Zeitlin, Wlodzimierz Skiba
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 \section{\class{wxChoicebook}}\label{wxchoicebook}
13
14 wxChoicebook is a class similar to \helpref{wxNotebook}{wxnotebook} but which
15 uses a \helpref{wxChoice}{wxchoice} to show the labels instead of the
16 tabs.
17
18 There is no documentation for this class yet but its usage is
19 identical to wxNotebook (except for the features clearly related to tabs
20 only), so please refer to that class documentation for now. You can also
21 use the \helpref{notebook sample}{samplenotebook} to see wxChoicebook in action.
22
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 employed.
26
27 \wxheading{Derived from}
28
29 wxBookCtrlBase\\
30 \helpref{wxControl}{wxcontrol}\\
31 \helpref{wxWindow}{wxwindow}\\
32 \helpref{wxEvtHandler}{wxevthandler}\\
33 \helpref{wxObject}{wxobject}
34
35 \wxheading{Include files}
36
37 <wx/choicebk.h>
38
39 \wxheading{Window styles}
40
41 \twocolwidtha{5cm}
42 \begin{twocollist}\itemsep=0pt
43
44 \twocolitem{\windowstyle{wxCHB\_DEFAULT}}{Choose the default location for the
45 labels depending on the current platform (left everywhere except Mac where
46 it is top).}
47 \twocolitem{\windowstyle{wxCHB\_TOP}}{Place labels above the page area.}
48 \twocolitem{\windowstyle{wxCHB\_LEFT}}{Place labels on the left side.}
49 \twocolitem{\windowstyle{wxCHB\_RIGHT}}{Place labels on the right side.}
50 \twocolitem{\windowstyle{wxCHB\_BOTTOM}}{Place labels below the page area.}
51
52 \end{twocollist}
53
54 \wxheading{See also}
55
56 \helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
57