wxRuby Documentation Home

Wx::ProcessEvent

A process event is sent when a process is terminated.

Derived from

Event

Object

Event table macros

To process a ProcessEvent, use these event handler macros to direct input to a member
function that takes a ProcessEvent argument.

evt_end_process(id) { | event | … } Process a EVT_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.

See also

Process, Event handling overview

Methods

ProcessEvent.new

ProcessEvent.new(%(arg-type)Integer% id = 0, Integer pid = 0, Integer exitcode = 0)

Constructor. Takes a ProcessObject or window id, a process id and an
exit status.

ProcessEvent#get_pid

Integer get_pid()

Returns the process id.

ProcessEvent#get_exit_code

Integer get_exit_code()

Returns the exist status.

[This page automatically generated from the Textile source at 2023-06-09 00:45:35 +0000]