From: Robert Roebling Date: Wed, 25 Apr 2007 08:33:19 +0000 (+0000) Subject: Added mini docs to wxListbook X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f13a38a5fae79b1416c97e9ffde8b51016924512?ds=sidebyside Added mini docs to wxListbook git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/listbevt.inc b/docs/latex/wx/listbevt.inc new file mode 100644 index 0000000000..49b00d3f96 --- /dev/null +++ b/docs/latex/wx/listbevt.inc @@ -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} + diff --git a/docs/latex/wx/listbook.tex b/docs/latex/wx/listbook.tex index de86b2cee1..cf2fac23c0 100644 --- a/docs/latex/wx/listbook.tex +++ b/docs/latex/wx/listbook.tex @@ -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.