wx.ProcessEvent¶
A process event is sent to the wx.EvtHandler specified to wx.Process when a process is terminated.
Events Emitted by this Class¶
Handlers bound for the following event types will receive a wx.ProcessEvent parameter.
EVT_END_PROCESS: Process a
wxEVT_END_PROCESS
event.id
is the identifier of the process object (the id passed to the wx.Process constructor) or a window to receive the event.
See also
Class Hierarchy¶
Methods Summary¶
Constructor. |
|
Returns the exist status. |
|
Returns the process id. |
Properties Summary¶
See |
|
See |
Class API¶
- class wx.ProcessEvent(Event)¶
Possible constructors:
ProcessEvent(id=0, pid=0, exitcode=0) -> None
A process event is sent to the EvtHandler specified to Process when a process is terminated.
Methods¶
- __init__(self, id=0, pid=0, exitcode=0)¶
Constructor.
Takes a ProcessObject or window id, a process id and an exit status.
- Parameters:
id (int)
pid (int)
exitcode (int)
- Return type:
None
- GetExitCode(self)¶
Returns the exist status.
- Return type:
int
- GetPid(self)¶
Returns the process id.
- Return type:
int
Properties¶
- ExitCode¶
See
GetExitCode