]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/process.tex
more files I forgot to commit (wxFile/wxTempFile/wxTextFile docs)
[wxWidgets.git] / docs / latex / wx / process.tex
1 \section{\class{wxProcess}}\label{wxprocess}
2
3 This class contains a method which is invoked when a process finishes.
4 It can raise a \helpref{wxProcessEvent}{wxprocessevent} if wxProcess::OnTerminate
5 isn't overriden.
6
7 \wxheading{Derived from}
8
9 \helpref{wxEvtHandler}{wxevthandler}
10
11 \latexignore{\rtfignore{\wxheading{Members}}}
12
13 \membersection{wxProcess::wxProcess}\label{wxprocessconstr}
14
15 \func{}{wxProcess}{\param{wxEvtHandler *}{ parent = NULL}, \param{int}{ id = -1}}
16
17 Constructs a process object. {\it id} is only used in the case you want to
18 use wxWindows events. It identifies this object, or another window that will
19 receive the event.
20
21 \wxheading{Parameters}
22
23 \docparam{parent}{The event handler parent.}
24
25 \docparam{id}{id of an event.}
26
27 \membersection{wxProcess::\destruct{wxProcess}}
28
29 \func{}{\destruct{wxProcess}}{\void}
30
31 Destroys the wxProcess object.
32
33 \membersection{wxProcess::OnTerminate}\label{wxprocessonterminate}
34
35 \constfunc{void}{OnTerminate}{\param{int}{ pid}}
36
37 It is called when the process with the pid {\it pid} finishes.
38 It raises a wxWindows event when it isn't overriden.
39
40 \docparam{pid}{The pid of the process which ends.}
41