Phoenix Logo

phoenix_title wx.ProcessEvent

A process event is sent to the wx.EvtHandler specified to wx.Process when a process is terminated.

events 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.

class_hierarchy Class Hierarchy

Inheritance diagram for class ProcessEvent:


method_summary Methods Summary

__init__ Constructor.
GetExitCode Returns the exist status.
GetPid Returns the process id.

property_summary Properties Summary

ExitCode See GetExitCode
Pid See GetPid

api Class API



class wx.ProcessEvent(Event)

Possible constructors:

ProcessEvent(id=0, pid=0, exitcode=0)

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) –


GetExitCode(self)

Returns the exist status.

Return type:int


GetPid(self)

Returns the process id.

Return type:int

Properties



ExitCode

See GetExitCode



Pid

See GetPid