2000-07-15 19:51:35 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Name: wizevt.tex
|
|
|
|
%% Purpose: wxWizardEvent class documentation
|
|
|
|
%% Author: Vadim Zeitlin
|
|
|
|
%% Modified by:
|
|
|
|
%% Created: 02.04.00
|
|
|
|
%% RCS-ID: $Id$
|
|
|
|
%% Copyright: (c) Vadim Zeitlin
|
2005-02-22 15:09:56 +00:00
|
|
|
%% License: wxWindows license
|
2000-07-15 19:51:35 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
|
|
\section{\class{wxWizardEvent}}\label{wxwizardevent}
|
|
|
|
|
|
|
|
wxWizardEvent class represents an event generated by the
|
|
|
|
\helpref{wizard}{wxwizard}: this event is first sent to the page itself and,
|
|
|
|
if not processed there, goes up the window hierarchy as usual.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxNotifyEvent}{wxnotifyevent}\\
|
|
|
|
\helpref{wxCommandEvent}{wxcommandevent}\\
|
|
|
|
\helpref{wxEvent}{wxevent}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/wizard.h>
|
|
|
|
|
|
|
|
\wxheading{Event table macros}
|
|
|
|
|
|
|
|
To process input from a wizard dialog, use these event handler macros to
|
|
|
|
direct input to member functions that take a wxWizardEvent argument.
|
|
|
|
|
|
|
|
\twocolwidtha{7cm}
|
|
|
|
\begin{twocollist}\itemsep=2pt
|
|
|
|
\twocolitem{{\bf EVT\_WIZARD\_PAGE\_CHANGED(id, func)}}{The page has been just
|
|
|
|
changed (this event can not be vetoed).}
|
|
|
|
\twocolitem{{\bf EVT\_WIZARD\_PAGE\_CHANGING(id, func)}}{The page is being
|
|
|
|
changed (this event can be vetoed).}
|
|
|
|
\twocolitem{{\bf EVT\_WIZARD\_CANCEL(id, func)}}{The user attempted to cancel
|
|
|
|
the wizard (this event may also be vetoed).}
|
2001-11-02 17:29:38 +00:00
|
|
|
\twocolitem{{\bf EVT\_WIZARD\_HELP(id, func)}}{The wizard help button was pressed.}
|
2002-12-09 09:46:16 +00:00
|
|
|
\twocolitem{{\bf EVT\_WIZARD\_FINISHED(id, func)}}{The wizard finished button was pressed.}
|
2004-02-22 01:16:32 +00:00
|
|
|
\end{twocollist}
|
2000-07-15 19:51:35 +00:00
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxWizard}{wxwizard}, \helpref{wxWizard sample}{samplewizard}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxWizardEvent::wxWizardEvent}\label{wxwizardeventwxwizardevent}
|
|
|
|
|
2003-01-18 00:16:34 +00:00
|
|
|
\func{}{wxWizardEvent}{\param{wxEventType }{type = wxEVT\_NULL}, \param{int }{id = -1}, \param{bool }{direction = true}}
|
2000-07-15 19:51:35 +00:00
|
|
|
|
|
|
|
Constructor. It is not normally used by the user code as the objects of this
|
|
|
|
type are constructed by wxWizard.
|
|
|
|
|
|
|
|
\membersection{wxWizardEvent::GetDirection}\label{wxwizardeventgetdirection}
|
|
|
|
|
|
|
|
\constfunc{bool}{GetDirection}{\void}
|
|
|
|
|
|
|
|
Return the direction in which the page is changing: for {\tt
|
2003-01-18 00:16:34 +00:00
|
|
|
EVT\_WIZARD\_PAGE\_CHANGING}, return {\tt true} if we're going forward or
|
|
|
|
false otherwise and for {\tt EVT\_WIZARD\_PAGE\_CHANGED} return {\tt true} if
|
|
|
|
we came from the previous page and {\tt false} if we returned from the next
|
2000-07-15 19:51:35 +00:00
|
|
|
one.
|
|
|
|
|
2001-11-02 17:29:38 +00:00
|
|
|
\membersection{wxWizardEvent::GetPage}\label{wxwizardeventgetpage}
|
|
|
|
|
2002-07-09 08:33:57 +00:00
|
|
|
\constfunc{wxWizardPage*}{GetPage}{\void}
|
2001-11-02 17:29:38 +00:00
|
|
|
|
|
|
|
Returns the \helpref{wxWizardPage}{wxwizardpage} which was active when this
|
|
|
|
event was generated.
|
|
|
|
|