]>
Commit | Line | Data |
---|---|---|
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{Event table macros} | |
11 | ||
12 | To process a wxProcessEvent, use these event handler macros to direct input to a member | |
13 | function that takes a wxProcessEvent argument. | |
14 | ||
15 | \twocolwidtha{7cm} | |
16 | \begin{twocollist}\itemsep=0pt | |
17 | \twocolitem{{\bf EVT\_END\_PROCESS(id, func)}}{Process a wxEVT\_END\_PROCESS event. | |
18 | {\it id} is the identifier of the process object (the id passed to the wxProcess constructor) | |
19 | or a window to receive the event.} | |
20 | \end{twocollist}% | |
21 | ||
22 | \wxheading{See also} | |
23 | ||
24 | \helpref{wxProcess}{wxprocess},\rtfsp | |
25 | \helpref{Event handling overview}{eventhandlingoverview} | |
26 | ||
27 | \latexignore{\rtfignore{\wxheading{Members}}} | |
28 | ||
29 | \membersection{wxProcessEvent::wxProcessEvent} | |
30 | ||
31 | \func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}} | |
32 | ||
33 | Constructor. Takes a wxProcessObject or window id, and a process id. | |
34 | ||
35 | \membersection{wxProcessEvent::m\_pid} | |
36 | ||
37 | \member{int}{m\_pid} | |
38 | ||
39 | Contains the process id. | |
40 | ||
41 | \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid} | |
42 | ||
43 | \constfunc{int}{GetPid}{\void} | |
44 | ||
45 | Returns the process id. | |
46 | ||
47 | \membersection{wxProcessEvent::SetPid}\label{wxprocesseventsetpid} | |
48 | ||
49 | \func{void}{SetPid}{\param{int}{ pid}} | |
50 | ||
51 | Sets the process id. | |
52 |