]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/procevt.tex
declare variable used in source code example (bug 1093638)
[wxWidgets.git] / docs / latex / wx / procevt.tex
1 \section{\class{wxProcessEvent}}\label{wxprocessevent}
2
3 A process event is sent when a process is terminated.
4
5 \wxheading{Derived from}
6
7 \helpref{wxEvent}{wxevent}\\
8 \helpref{wxObject}{wxobject}
9
10 \wxheading{Include files}
11
12 <wx/process.h>
13
14 \wxheading{Event table macros}
15
16 To process a wxProcessEvent, use these event handler macros to direct input to a member
17 function that takes a wxProcessEvent argument.
18
19 \twocolwidtha{7cm}
20 \begin{twocollist}\itemsep=0pt
21 \twocolitem{{\bf EVT\_END\_PROCESS(id, func)}}{Process a wxEVT\_END\_PROCESS event.
22 {\it id} is the identifier of the process object (the id passed to the wxProcess constructor)
23 or a window to receive the event.}
24 \end{twocollist}%
25
26 \wxheading{See also}
27
28 \helpref{wxProcess}{wxprocess},\rtfsp
29 \helpref{Event handling overview}{eventhandlingoverview}
30
31 \latexignore{\rtfignore{\wxheading{Members}}}
32
33 \membersection{wxProcessEvent::wxProcessEvent}\label{wxprocesseventctor}
34
35 \func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}, \param{int }{exitcode = 0}}
36
37 Constructor. Takes a wxProcessObject or window id, a process id and an
38 exit status.
39
40 %\membersection{wxProcessEvent::m\_pid}
41 %
42 %\member{int}{m\_pid}
43 %
44 %Contains the process id.
45 %
46 \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid}
47
48 \constfunc{int}{GetPid}{\void}
49
50 Returns the process id.
51
52 \membersection{wxProcessEvent::GetExitCode}\label{wxprocesseventgetexitcode}
53
54 \func{int}{GetExitCode}{\void}
55
56 Returns the exist status.
57