Added mini docs for wxChoicebook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-04-25 08:40:42 +00:00
parent f13a38a5fa
commit 23714996e9
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
\wxheading{Event handling}
To process input from a listbook control, use the following event handler macros to direct input to member
functions that take a wxChoicebookEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CHOICEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
wxEVT\_COMMAND\_LISTBOOK\_PAGE\_CHANGED event.}
\twocolitem{{\bf EVT\_CHOICEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
Processes a wxEVT\_COMMAND\_CHOICEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
\end{twocollist}

View File

@ -51,7 +51,27 @@ it is top).}
\end{twocollist}
\input choicebevt.inc
\wxheading{See also}
\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxChoicebook::wxChoicebook}\label{wxchoicebookctor}
\func{}{wxChoicebook}{\void}
Default constructor.
\func{}{wxChoicebook}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = 0}, \param{const wxString\& }{name = wxEmptyStr}}
Constructs a choicebook control.
\membersection{wxChoicebook::GetChoiceCtrl}\label{wxchoicebookgetchoicectrl}
\constfunc{wxChoice *}{GetChoiceCtrl}{\void}
Returns the \helpref{wxChoice}{wxchoice} associated with the control.