]>
Commit | Line | Data |
---|---|---|
3972fb49 JS |
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 | ||
954b8ae6 JS |
10 | \wxheading{Include files} |
11 | ||
12 | <wx/process.h> | |
13 | ||
3972fb49 JS |
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} | |
34 | ||
9722642d | 35 | \func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}, \param{int }{exitcode = 0}} |
3972fb49 | 36 | |
9722642d MB |
37 | Constructor. Takes a wxProcessObject or window id, a process id and an |
38 | exit status. | |
3972fb49 | 39 | |
9722642d MB |
40 | %\membersection{wxProcessEvent::m\_pid} |
41 | % | |
42 | %\member{int}{m\_pid} | |
43 | % | |
44 | %Contains the process id. | |
45 | % | |
3972fb49 JS |
46 | \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid} |
47 | ||
48 | \constfunc{int}{GetPid}{\void} | |
49 | ||
50 | Returns the process id. | |
51 | ||
9722642d | 52 | \membersection{wxProcessEvent::GetExitCode}\label{wxprocesseventgetexitcode} |
3972fb49 | 53 | |
9722642d | 54 | \func{int}{GetExitCode}{\void} |
3972fb49 | 55 | |
9722642d | 56 | Returns the exist status. |
ba637f22 | 57 |