reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-24 01:55:29 +00:00
parent 55f834ca0e
commit 6b449b1967
9 changed files with 48 additions and 48 deletions

View File

@@ -4015,14 +4015,13 @@ class Event(Object):
""" """
Skip(self, bool skip=True) Skip(self, bool skip=True)
Called by an event handler, it controls whether additional event This method can be used inside an event handler to control whether
handlers bound to this event will be called after the current event further event handlers bound to this event will be called after the
handler returns. Skip(false) (the default setting) will prevent current one returns. Without Skip() (or equivalently if Skip(False) is
additional event handlers from being called and control will be used), the event will not be processed any more. If Skip(True) is
returned to the sender of the event immediately after the current called, the event processing system continues searching for a further
handler has finished. Skip(True) will cause the event processing handler function for this event, even though it has been processed
system to continue searching for a handler function for this event. already in the current handler.
""" """
return _core_.Event_Skip(*args, **kwargs) return _core_.Event_Skip(*args, **kwargs)

View File

@@ -2900,16 +2900,17 @@ class ProgressDialog(Frame):
""" """
return _windows_.ProgressDialog_Update(*args, **kwargs) return _windows_.ProgressDialog_Update(*args, **kwargs)
def UpdatePulse(*args, **kwargs): def Pulse(*args, **kwargs):
""" """
UpdatePulse(self, String newmsg) --> (continue, skip) Pulse(self, String newmsg) --> (continue, skip)
Just like `Update` but switches the dialog to use a gauge in Just like `Update` but switches the dialog to use a gauge in
interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of
progress. progress.
""" """
return _windows_.ProgressDialog_UpdatePulse(*args, **kwargs) return _windows_.ProgressDialog_Pulse(*args, **kwargs)
UpdatePulse = Pulse
def Resume(*args, **kwargs): def Resume(*args, **kwargs):
""" """
Resume(self) Resume(self)

View File

@@ -19590,7 +19590,7 @@ fail:
} }
SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0; PyObject *resultobj = 0;
wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ; wxString const &arg2_defvalue = wxPyEmptyString ;
@@ -19609,10 +19609,10 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
}; };
arg3 = &temp3; arg3 = &temp3;
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 ); res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) { if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'"); SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
} }
arg1 = reinterpret_cast< wxProgressDialog * >(argp1); arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
if (obj1) { if (obj1) {
@@ -19624,7 +19624,7 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
} }
{ {
PyThreadState* __tstate = wxPyBeginAllowThreads(); PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3); result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate); wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail; if (PyErr_Occurred()) SWIG_fail;
} }
@@ -31361,7 +31361,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL}, { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
{ (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL}, { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
{ (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
{ (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},

View File

@@ -4015,14 +4015,13 @@ class Event(Object):
""" """
Skip(self, bool skip=True) Skip(self, bool skip=True)
Called by an event handler, it controls whether additional event This method can be used inside an event handler to control whether
handlers bound to this event will be called after the current event further event handlers bound to this event will be called after the
handler returns. Skip(false) (the default setting) will prevent current one returns. Without Skip() (or equivalently if Skip(False) is
additional event handlers from being called and control will be used), the event will not be processed any more. If Skip(True) is
returned to the sender of the event immediately after the current called, the event processing system continues searching for a further
handler has finished. Skip(True) will cause the event processing handler function for this event, even though it has been processed
system to continue searching for a handler function for this event. already in the current handler.
""" """
return _core_.Event_Skip(*args, **kwargs) return _core_.Event_Skip(*args, **kwargs)

View File

@@ -2880,16 +2880,17 @@ class ProgressDialog(Frame):
""" """
return _windows_.ProgressDialog_Update(*args, **kwargs) return _windows_.ProgressDialog_Update(*args, **kwargs)
def UpdatePulse(*args, **kwargs): def Pulse(*args, **kwargs):
""" """
UpdatePulse(self, String newmsg) --> (continue, skip) Pulse(self, String newmsg) --> (continue, skip)
Just like `Update` but switches the dialog to use a gauge in Just like `Update` but switches the dialog to use a gauge in
interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of
progress. progress.
""" """
return _windows_.ProgressDialog_UpdatePulse(*args, **kwargs) return _windows_.ProgressDialog_Pulse(*args, **kwargs)
UpdatePulse = Pulse
def Resume(*args, **kwargs): def Resume(*args, **kwargs):
""" """
Resume(self) Resume(self)

View File

@@ -19454,7 +19454,7 @@ fail:
} }
SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0; PyObject *resultobj = 0;
wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ; wxString const &arg2_defvalue = wxPyEmptyString ;
@@ -19473,10 +19473,10 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
}; };
arg3 = &temp3; arg3 = &temp3;
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 ); res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) { if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'"); SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
} }
arg1 = reinterpret_cast< wxProgressDialog * >(argp1); arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
if (obj1) { if (obj1) {
@@ -19488,7 +19488,7 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
} }
{ {
PyThreadState* __tstate = wxPyBeginAllowThreads(); PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3); result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate); wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail; if (PyErr_Occurred()) SWIG_fail;
} }
@@ -31222,7 +31222,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL}, { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
{ (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL}, { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
{ (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
{ (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},

View File

@@ -4015,14 +4015,13 @@ class Event(Object):
""" """
Skip(self, bool skip=True) Skip(self, bool skip=True)
Called by an event handler, it controls whether additional event This method can be used inside an event handler to control whether
handlers bound to this event will be called after the current event further event handlers bound to this event will be called after the
handler returns. Skip(false) (the default setting) will prevent current one returns. Without Skip() (or equivalently if Skip(False) is
additional event handlers from being called and control will be used), the event will not be processed any more. If Skip(True) is
returned to the sender of the event immediately after the current called, the event processing system continues searching for a further
handler has finished. Skip(True) will cause the event processing handler function for this event, even though it has been processed
system to continue searching for a handler function for this event. already in the current handler.
""" """
return _core_.Event_Skip(*args, **kwargs) return _core_.Event_Skip(*args, **kwargs)

View File

@@ -2908,16 +2908,17 @@ class ProgressDialog(Frame):
""" """
return _windows_.ProgressDialog_Update(*args, **kwargs) return _windows_.ProgressDialog_Update(*args, **kwargs)
def UpdatePulse(*args, **kwargs): def Pulse(*args, **kwargs):
""" """
UpdatePulse(self, String newmsg) --> (continue, skip) Pulse(self, String newmsg) --> (continue, skip)
Just like `Update` but switches the dialog to use a gauge in Just like `Update` but switches the dialog to use a gauge in
interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of
progress. progress.
""" """
return _windows_.ProgressDialog_UpdatePulse(*args, **kwargs) return _windows_.ProgressDialog_Pulse(*args, **kwargs)
UpdatePulse = Pulse
def Resume(*args, **kwargs): def Resume(*args, **kwargs):
""" """
Resume(self) Resume(self)

View File

@@ -19653,7 +19653,7 @@ fail:
} }
SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0; PyObject *resultobj = 0;
wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ; wxString const &arg2_defvalue = wxPyEmptyString ;
@@ -19672,10 +19672,10 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
}; };
arg3 = &temp3; arg3 = &temp3;
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 ); res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
if (!SWIG_IsOK(res1)) { if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'"); SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
} }
arg1 = reinterpret_cast< wxProgressDialog * >(argp1); arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
if (obj1) { if (obj1) {
@@ -19687,7 +19687,7 @@ SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(s
} }
{ {
PyThreadState* __tstate = wxPyBeginAllowThreads(); PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3); result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
wxPyEndAllowThreads(__tstate); wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail; if (PyErr_Occurred()) SWIG_fail;
} }
@@ -31494,7 +31494,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL}, { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
{ (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL}, { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
{ (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
{ (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL}, { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},