]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/process.tex
Some doc corrections; removed wxDocument arg from wxView constructor;
[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
954b8ae6
JS
11\wxheading{Include files}
12
13<wx/process.h>
14
eafc087e
GL
15\latexignore{\rtfignore{\wxheading{Members}}}
16
17\membersection{wxProcess::wxProcess}\label{wxprocessconstr}
18
19\func{}{wxProcess}{\param{wxEvtHandler *}{ parent = NULL}, \param{int}{ id = -1}}
20
21Constructs a process object. {\it id} is only used in the case you want to
3972fb49
JS
22use wxWindows events. It identifies this object, or another window that will
23receive the event.
eafc087e
GL
24
25\wxheading{Parameters}
26
27\docparam{parent}{The event handler parent.}
28
29\docparam{id}{id of an event.}
30
31\membersection{wxProcess::\destruct{wxProcess}}
32
33\func{}{\destruct{wxProcess}}{\void}
34
35Destroys the wxProcess object.
36
37\membersection{wxProcess::OnTerminate}\label{wxprocessonterminate}
38
39\constfunc{void}{OnTerminate}{\param{int}{ pid}}
40
41It is called when the process with the pid {\it pid} finishes.
42It raises a wxWindows event when it isn't overriden.
43
44\docparam{pid}{The pid of the process which ends.}
3972fb49 45