]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/procevt.tex
Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
[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{Library}
15
16 \helpref{wxBase}{librarieslist}
17
18 \wxheading{Event table macros}
19
20 To process a wxProcessEvent, use these event handler macros to direct input to a member
21 function that takes a wxProcessEvent argument.
22
23 \twocolwidtha{7cm}
24 \begin{twocollist}\itemsep=0pt
25 \twocolitem{{\bf EVT\_END\_PROCESS(id, func)}}{Process a wxEVT\_END\_PROCESS event.
26 {\it id} is the identifier of the process object (the id passed to the wxProcess constructor)
27 or a window to receive the event.}
28 \end{twocollist}%
29
30 \wxheading{See also}
31
32 \helpref{wxProcess}{wxprocess},\rtfsp
33 \helpref{Event handling overview}{eventhandlingoverview}
34
35 \latexignore{\rtfignore{\wxheading{Members}}}
36
37 \membersection{wxProcessEvent::wxProcessEvent}\label{wxprocesseventctor}
38
39 \func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}, \param{int }{exitcode = 0}}
40
41 Constructor. Takes a wxProcessObject or window id, a process id and an
42 exit status.
43
44 %\membersection{wxProcessEvent::m\_pid}
45 %
46 %\member{int}{m\_pid}
47 %
48 %Contains the process id.
49 %
50 \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid}
51
52 \constfunc{int}{GetPid}{\void}
53
54 Returns the process id.
55
56 \membersection{wxProcessEvent::GetExitCode}\label{wxprocesseventgetexitcode}
57
58 \func{int}{GetExitCode}{\void}
59
60 Returns the exist status.
61