Added wxToolbook class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-01-30 15:35:04 +00:00
parent 233387bdcb
commit 3c55b3652b
5 changed files with 606 additions and 2 deletions

View File

@@ -346,6 +346,7 @@
\input tipwin.tex
\input tglbtn.tex
\input toolbar.tex
\input toolbook.tex
\input tooltip.tex
\input tlw.tex
\input treebook.tex

View File

@@ -11,17 +11,20 @@
\section{wxBookCtrl overview}\label{wxbookctrloverview}
Classes: \helpref{wxNotebook}{wxnotebook}, \helpref{wxListbook}{wxlistbook}, \helpref{wxChoicebook}{wxchoicebook}
Classes: \helpref{wxNotebook}{wxnotebook}, \helpref{wxListbook}{wxlistbook}, \helpref{wxChoicebook}{wxchoicebook},
\helpref{wxTreebook}{wxtreebook}, \helpref{wxToolbook}{wxtoolbook}
\subsection{Introduction}\label{wxbookctrlintro}
A book control is a convenient way of displaying multiple pages of information,
displayed one page at a time. wxWidgets has three variants of this control:
displayed one page at a time. wxWidgets has five variants of this control:
\begin{itemize}\itemsep=0pt
\item \helpref{wxNotebook}{wxnotebook}: uses a row of tabs
\item \helpref{wxListbook}{wxlistbook}: controlled by a \helpref{wxListCtrl}{wxlistctrl}
\item \helpref{wxChoicebook}{wxchoicebook}: controlled by a \helpref{wxChoice}{wxchoice}
\item \helpref{wxTreebook}{wxtreebook}: controlled by a \helpref{wxTreeCtrl}{wxtreectrl}
\item \helpref{wxToolbook}{wxtoolbook}: controlled by a \helpref{wxToolBar}{wxtoolbar}
\end{itemize}
\subsection{Best book}\label{wxbestbookctrl}

View File

@@ -0,0 +1,48 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: toolbook.tex
%% Purpose: wxToolbook documentation
%% Author: Julian Smart
%% Modified by:
%% Created: 2006-01-30
%% RCS-ID: $Id$
%% Copyright: (c) 2006 Julian Smart
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxToolbook}}\label{wxtoolbook}
wxToolbook is a class similar to \helpref{wxNotebook}{wxnotebook} but which
uses a \helpref{wxToolBar}{wxtoolbar} to show the labels instead of the
tabs.
There is no documentation for this class yet but its usage is
identical to wxNotebook (except for the features clearly related to tabs
only), so please refer to that class documentation for now. You can also
use the \helpref{notebook sample}{samplenotebook} to see wxToolbook in action.
\wxheading{Derived from}
wxBookCtrlBase\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/toolbook.h>
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxLB\_DEFAULT}}{Choose the default location for the
labels depending on the current platform (currently always the top).}
\end{twocollist}
\wxheading{See also}
\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}