]>
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 | ||
35 | \func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}} | |
36 | ||
37 | Constructor. Takes a wxProcessObject or window id, and a process id. | |
38 | ||
39 | \membersection{wxProcessEvent::m\_pid} | |
40 | ||
41 | \member{int}{m\_pid} | |
42 | ||
43 | Contains the process id. | |
44 | ||
45 | \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid} | |
46 | ||
47 | \constfunc{int}{GetPid}{\void} | |
48 | ||
49 | Returns the process id. | |
50 | ||
51 | \membersection{wxProcessEvent::SetPid}\label{wxprocesseventsetpid} | |
52 | ||
53 | \func{void}{SetPid}{\param{int}{ pid}} | |
54 | ||
55 | Sets the process id. | |
56 |