moved wxNotebook events docs into a separate file included by both noteevt.tex and notebook.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,18 +33,7 @@ managed by wxNotebook.
|
|||||||
|
|
||||||
See also \helpref{window styles overview}{windowstyles}.
|
See also \helpref{window styles overview}{windowstyles}.
|
||||||
|
|
||||||
|
\input noteevt.inc
|
||||||
\wxheading{Event handling}
|
|
||||||
|
|
||||||
To process input from a notebook control, use the following event handler macros to direct input to member
|
|
||||||
functions that take a \helpref{wxNotebookEvent}{wxnotebookevent} argument.
|
|
||||||
|
|
||||||
\twocolwidtha{7cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed.}
|
|
||||||
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
|
|
||||||
This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.}
|
|
||||||
\end{twocollist}%
|
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
13
docs/latex/wx/noteevt.inc
Normal file
13
docs/latex/wx/noteevt.inc
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
\wxheading{Event handling}
|
||||||
|
|
||||||
|
To process input from a notebook control, use the following event handler macros to direct input to member
|
||||||
|
functions that take a \helpref{wxNotebookEvent}{wxnotebookevent} argument.
|
||||||
|
|
||||||
|
\twocolwidtha{7cm}
|
||||||
|
\begin{twocollist}\itemsep=0pt
|
||||||
|
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
|
||||||
|
wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGED event.}
|
||||||
|
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
|
||||||
|
Processes a wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
|
||||||
|
\end{twocollist}%
|
||||||
|
|
@@ -32,18 +32,7 @@ which is going to be selected if the handler doesn't call Veto().
|
|||||||
|
|
||||||
<wx/notebook.h>
|
<wx/notebook.h>
|
||||||
|
|
||||||
\wxheading{Event table macros}
|
\input noteevt.inc
|
||||||
|
|
||||||
To process a notebook event, use these event handler macros to direct input to member
|
|
||||||
functions that take a wxNotebookEvent argument.
|
|
||||||
|
|
||||||
\twocolwidtha{7cm}
|
|
||||||
\begin{twocollist}\itemsep=0pt
|
|
||||||
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a
|
|
||||||
wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGED event.}
|
|
||||||
\twocolitem{{\bf EVT\_NOTEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed.
|
|
||||||
Processes a wxEVT\_COMMAND\_NOTEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.}
|
|
||||||
\end{twocollist}%
|
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user