]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/choicebk.tex
Added periods
[wxWidgets.git] / docs / latex / wx / choicebk.tex
CommitLineData
f5e0b4bc
WS
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
8795498c 9%% License: wxWindows license
f5e0b4bc
WS
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxChoicebook}}\label{wxchoicebook}
13
14wxChoicebook is a class similar to \helpref{wxNotebook}{wxnotebook} but which
15uses a \helpref{wxChoice}{wxchoice} to show the labels instead of the
16tabs.
17
18There is no documentation for this class yet but its usage is
19identical to wxNotebook (except for the features clearly related to tabs
20only), so please refer to that class documentation for now. You can also
21use the \helpref{notebook sample}{samplenotebook} to see wxChoicebook in action.
22
87cf52d8
JS
23wxChoicebook allows the use of wxBookCtrl::GetControlSizer, allowing a program
24to add other controls next to the choice control. This is particularly useful
25when screen space is restricted, as it often is when wxChoicebook is being employed.
26
f5e0b4bc
WS
27\wxheading{Derived from}
28
2d9152d5 29wxBookCtrlBase (see \helpref{wxBookCtrl overview}{wxbookctrloverview})\\
f5e0b4bc
WS
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
a7af285d
VZ
39\wxheading{Library}
40
41\helpref{wxCore}{librarieslist}
42
f5e0b4bc
WS
43\wxheading{Window styles}
44
45\twocolwidtha{5cm}
46\begin{twocollist}\itemsep=0pt
47
48\twocolitem{\windowstyle{wxCHB\_DEFAULT}}{Choose the default location for the
49labels depending on the current platform (left everywhere except Mac where
50it is top).}
51\twocolitem{\windowstyle{wxCHB\_TOP}}{Place labels above the page area.}
52\twocolitem{\windowstyle{wxCHB\_LEFT}}{Place labels on the left side.}
53\twocolitem{\windowstyle{wxCHB\_RIGHT}}{Place labels on the right side.}
54\twocolitem{\windowstyle{wxCHB\_BOTTOM}}{Place labels below the page area.}
55
56\end{twocollist}
57
23714996
RR
58\input choicebevt.inc
59
f5e0b4bc
WS
60\wxheading{See also}
61
b742a43b 62\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
f5e0b4bc 63
23714996
RR
64\latexignore{\rtfignore{\wxheading{Members}}}
65
66\membersection{wxChoicebook::wxChoicebook}\label{wxchoicebookctor}
67
68\func{}{wxChoicebook}{\void}
69
70Default constructor.
71
72\func{}{wxChoicebook}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
73 \param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = 0}, \param{const wxString\& }{name = wxEmptyStr}}
74
75Constructs a choicebook control.
76
77\membersection{wxChoicebook::GetChoiceCtrl}\label{wxchoicebookgetchoicectrl}
78
79\constfunc{wxChoice *}{GetChoiceCtrl}{\void}
80
81Returns the \helpref{wxChoice}{wxchoice} associated with the control.