Added mini docs to wxListbook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-04-25 08:33:19 +00:00
parent 1be9182df8
commit f13a38a5fa
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 wxListbookEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_LISTBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
wxEVT\_COMMAND\_LISTBOOK\_PAGE\_CHANGED event.}
\twocolitem{{\bf EVT\_LISTBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
Processes a wxEVT\_COMMAND\_LISTBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
\end{twocollist}

View File

@ -47,7 +47,27 @@ it is top).}
\end{twocollist}
\input listbevt.inc
\wxheading{See also}
\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxListbook::wxListbook}\label{wxlistbookctor}
\func{}{wxListbook}{\void}
Default constructor.
\func{}{wxListbook}{\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 listbook control.
\membersection{wxListbook::GetListView}\label{wxlistbookgetlistview}
\constfunc{wxListView *}{GetListView}{\void}
Returns the \helpref{wxListView}{wxlistview} associated with the control.