#include <wx/process.h>

A process event is sent to the wxEvtHandler specified to wxProcess when a process is terminated.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
wxEVT_END_PROCESS event. id is the identifier of the process object (the id passed to the wxProcess constructor) or a window to receive the event. Public Member Functions | |
| wxProcessEvent (int id=0, int pid=0, int exitcode=0) | |
| Constructor. | |
| int | GetExitCode () |
| Returns the exist status. | |
| int | GetPid () |
| Returns the process id. | |
| wxProcessEvent::wxProcessEvent | ( | int | id = 0, |
|
| int | pid = 0, |
|||
| int | exitcode = 0 | |||
| ) |
Constructor.
Takes a wxProcessObject or window id, a process id and an exit status.
| int wxProcessEvent::GetExitCode | ( | ) |
Returns the exist status.
| int wxProcessEvent::GetPid | ( | ) |
Returns the process id.
|
[ top ] |