Table Of Contents

Previous topic

Process

Next topic

ProgressDialog

This Page

phoenix_title ProcessEvent

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

events Events Emitted by this Class

Handlers bound for the following event types will receive a ProcessEvent parameter.

  • EVT_END_PROCESS: Process a wxEVT_END_PROCESS event. id is the identifier of the process object (the id passed to the Process constructor) or a window to receive the event.

class_hierarchy Inheritance Diagram

Inheritance diagram for class ProcessEvent

Inheritance diagram of 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 ProcessEvent(Event)

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

Possible constructors:

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

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