]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/toolbook.tex
rename wxBK_BUTTONBAR to wxTBK_BUTTONBAR as it's wxToolBook-specific and documented it
[wxWidgets.git] / docs / latex / wx / toolbook.tex
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %% Name: toolbook.tex
3 %% Purpose: wxToolbook documentation
4 %% Author: Julian Smart
5 %% Modified by:
6 %% Created: 2006-01-30
7 %% RCS-ID: $Id$
8 %% Copyright: (c) 2006 Julian Smart
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 \section{\class{wxToolbook}}\label{wxtoolbook}
13
14 wxToolbook is a class similar to \helpref{wxNotebook}{wxnotebook} but which
15 uses a \helpref{wxToolBar}{wxtoolbar} 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 wxToolbook in action.
22
23 \wxheading{Derived from}
24
25 wxBookCtrlBase (see \helpref{wxBookCtrl overview}{wxbookctrloverview})\\
26 \helpref{wxControl}{wxcontrol}\\
27 \helpref{wxControl}{wxcontrol}\\
28 \helpref{wxWindow}{wxwindow}\\
29 \helpref{wxEvtHandler}{wxevthandler}\\
30 \helpref{wxObject}{wxobject}
31
32 \wxheading{Include files}
33
34 <wx/toolbook.h>
35
36 \wxheading{Library}
37
38 \helpref{wxCore}{librarieslist}
39
40 \wxheading{Window styles}
41
42 \twocolwidtha{5cm}
43 \begin{twocollist}\itemsep=0pt
44 \twocolitem{\windowstyle{wxTBK\_BUTTONBAR}}{Use wxButtonToolBar-based
45 implementation under Mac OS (ignored under other platforms.)}
46 \twocolitem{\windowstyle{wxTBK\_HORZ\_LAYOUT}}{Shows the text and the icons
47 alongside, not vertically stacked (only implement under Windows and GTK 2
48 platforms as it relies on \texttt{wxTB\_HORZ\_LAYOUT} flag support).}
49 \end{twocollist}
50
51 The common wxBookCtrl styles described in this control
52 \helpref{overview}{wxbookctrloverview} are also supported.
53
54 \wxheading{See also}
55
56 \helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
57