]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/process.tex
more wxConfig and xwLog docs (sorry for the delay)
[wxWidgets.git] / docs / latex / wx / process.tex
CommitLineData
eafc087e
GL
1\section{\class{wxProcess}}\label{wxprocess}
2
3This class contains a method which is invoked when a process finishes.
4It can raise a \helpref{wxProcessEvent}{wxprocessevent} if wxProcess::OnTerminate
5isn'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
17Constructs a process object. {\it id} is only used in the case you want to
3972fb49
JS
18use wxWindows events. It identifies this object, or another window that will
19receive the event.
eafc087e
GL
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
31Destroys the wxProcess object.
32
33\membersection{wxProcess::OnTerminate}\label{wxprocessonterminate}
34
35\constfunc{void}{OnTerminate}{\param{int}{ pid}}
36
37It is called when the process with the pid {\it pid} finishes.
38It raises a wxWindows event when it isn't overriden.
39
40\docparam{pid}{The pid of the process which ends.}
3972fb49 41