class wxPyTipProvider : public wxTipProvider {
public:
wxPyTipProvider(size_t currentTip);
+
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyTipProvider)"
};
//----------------------------------------------------------------------
-enum {
- /* event type */
- wxEVT_END_PROCESS
-};
-
-
enum wxKillError
{
wxKILL_OK, // no error
wxKILL_ERROR // another, unspecified error
};
+enum wxSignal
+{
+ wxSIGNONE = 0, // verify if the process exists under Unix
+ wxSIGHUP,
+ wxSIGINT,
+ wxSIGQUIT,
+ wxSIGILL,
+ wxSIGTRAP,
+ wxSIGABRT,
+ wxSIGIOT = wxSIGABRT, // another name
+ wxSIGEMT,
+ wxSIGFPE,
+ wxSIGKILL,
+ wxSIGBUS,
+ wxSIGSEGV,
+ wxSIGSYS,
+ wxSIGPIPE,
+ wxSIGALRM,
+ wxSIGTERM
+
+ // further signals are different in meaning between different Unix systems
+};
+
+
+
+enum {
+ /* event type */
+ wxEVT_END_PROCESS
+};
+
+
class wxProcessEvent : public wxEvent {
public:
// on error NULL is returned, in any case the process object will be
// deleted automatically when the process terminates and should *not* be
// deleted by the caller
- static wxPyProcess *Open(const wxString& cmd);
+ static wxPyProcess *Open(const wxString& cmd, int flags = wxEXEC_ASYNC);