X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox_wrap.cc;h=d240800f900007ddfdb0e2d5ab45528f51febc05;hb=678bb52123bde0b71037393827c03f6b17904a60;hp=24bf3d36c2321281a919cdacc4ec409410b9f4cf;hpb=b67f5e702e3cc12e4217dd31e2c522dde1ee19b0;p=chaz%2Fopenbox diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index 24bf3d36..d240800f 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -656,28 +656,27 @@ SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) { #define SWIGTYPE_p_ob__OBClient swig_types[8] #define SWIGTYPE_p_ob__Openbox swig_types[9] #define SWIGTYPE_p_otk__Strut swig_types[10] -#define SWIGTYPE_p_XRectangle swig_types[11] -#define SWIGTYPE_p_ob__KeyData swig_types[12] -#define SWIGTYPE_p_XMapRequestEvent swig_types[13] -#define SWIGTYPE_p_XConfigureRequestEvent swig_types[14] -#define SWIGTYPE_p_otk__Point swig_types[15] -#define SWIGTYPE_p_otk__OtkEventHandler swig_types[16] -#define SWIGTYPE_p_std__string swig_types[17] -#define SWIGTYPE_p_otk__Rect swig_types[18] -#define SWIGTYPE_p_ob__OBWidget swig_types[19] -#define SWIGTYPE_p_XClientMessageEvent swig_types[20] -#define SWIGTYPE_p_XFocusChangeEvent swig_types[21] -#define SWIGTYPE_p_otk__OBProperty swig_types[22] -#define SWIGTYPE_p_ob__EventData swig_types[23] -#define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[24] -#define SWIGTYPE_p_XPropertyEvent swig_types[25] -#define SWIGTYPE_p_XDestroyWindowEvent swig_types[26] -#define SWIGTYPE_p_otk__BImageControl swig_types[27] -#define SWIGTYPE_p_PyObject swig_types[28] -#define SWIGTYPE_p_ob__OBBindings swig_types[29] -#define SWIGTYPE_p_ob__MwmHints swig_types[30] -#define SWIGTYPE_p_XUnmapEvent swig_types[31] -static swig_type_info *swig_types[33]; +#define SWIGTYPE_p_ob__KeyData swig_types[11] +#define SWIGTYPE_p_XMapRequestEvent swig_types[12] +#define SWIGTYPE_p_XConfigureRequestEvent swig_types[13] +#define SWIGTYPE_p_otk__Point swig_types[14] +#define SWIGTYPE_p_otk__OtkEventHandler swig_types[15] +#define SWIGTYPE_p_std__string swig_types[16] +#define SWIGTYPE_p_otk__Rect swig_types[17] +#define SWIGTYPE_p_ob__OBWidget swig_types[18] +#define SWIGTYPE_p_XClientMessageEvent swig_types[19] +#define SWIGTYPE_p_XFocusChangeEvent swig_types[20] +#define SWIGTYPE_p_otk__OBProperty swig_types[21] +#define SWIGTYPE_p_ob__EventData swig_types[22] +#define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[23] +#define SWIGTYPE_p_XPropertyEvent swig_types[24] +#define SWIGTYPE_p_XDestroyWindowEvent swig_types[25] +#define SWIGTYPE_p_otk__BImageControl swig_types[26] +#define SWIGTYPE_p_PyObject swig_types[27] +#define SWIGTYPE_p_ob__OBBindings swig_types[28] +#define SWIGTYPE_p_ob__MwmHints swig_types[29] +#define SWIGTYPE_p_XUnmapEvent swig_types[30] +static swig_type_info *swig_types[32]; /* -------- TYPES TABLE (END) -------- */ @@ -699,7 +698,7 @@ static swig_type_info *swig_types[33]; #include "bindings.hh" #include "actions.hh" #include "python.hh" -#include "otk/display.hh" +#include "otk/otk.hh" #define SWIG_MemoryError 1 @@ -879,1441 +878,6 @@ static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) { } -static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *result; - - if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail; - result = (otk::Point *)new otk::Point(); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - int arg1 ; - int arg2 ; - otk::Point *result; - - if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail; - result = (otk::Point *)new otk::Point(arg1,arg2); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[3]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 2); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 0) { - return _wrap_new_Point__SWIG_0(self,args); - } - if (argc == 2) { - int _v; - { - _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - return _wrap_new_Point__SWIG_1(self,args); - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'"); - return NULL; -} - - -static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = (otk::Point *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setX(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = (otk::Point *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Point const *)arg1)->x(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = (otk::Point *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setY(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = (otk::Point *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Point const *)arg1)->y(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = (otk::Point *) 0 ; - int arg2 ; - int arg3 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setPoint(arg2,arg3); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject * Point_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *result; - - if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail; - result = (otk::Rect *)new otk::Rect(); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - int arg1 ; - int arg2 ; - int arg3 ; - int arg4 ; - otk::Rect *result; - - if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail; - result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Point *arg1 = 0 ; - otk::Point *arg2 = 0 ; - otk::Rect *result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = 0 ; - otk::Rect *result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) { - PyObject *resultobj; - XRectangle *arg1 = 0 ; - otk::Rect *result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[5]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 4); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 0) { - return _wrap_new_Rect__SWIG_0(self,args); - } - if (argc == 1) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_new_Rect__SWIG_3(self,args); - } - } - if (argc == 1) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_new_Rect__SWIG_4(self,args); - } - } - if (argc == 2) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_new_Rect__SWIG_2(self,args); - } - } - } - if (argc == 4) { - int _v; - { - _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0; - } - if (_v) { - return _wrap_new_Rect__SWIG_1(self,args); - } - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'"); - return NULL; -} - - -static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->left(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->top(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->right(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->bottom(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->x(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->y(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = ((otk::Rect const *)arg1)->location(); - - { - otk::Point * resultptr; - resultptr = new otk::Point((otk::Point &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setX(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setY(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - int arg3 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setPos(arg2,arg3); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - (arg1)->setPos((otk::Point const &)*arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 2) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_setPos__SWIG_1(self,args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - return _wrap_Rect_setPos__SWIG_0(self,args); - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'"); - return NULL; -} - - -static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->width(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (int)((otk::Rect const *)arg1)->height(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = ((otk::Rect const *)arg1)->size(); - - { - otk::Point * resultptr; - resultptr = new otk::Point((otk::Point &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setWidth(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setHeight(arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - int arg3 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setSize(arg2,arg3); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - (arg1)->setSize((otk::Point const &)*arg2); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 2) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_setSize__SWIG_1(self,args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - return _wrap_Rect_setSize__SWIG_0(self,args); - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'"); - return NULL; -} - - -static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setRect(arg2,arg3,arg4,arg5); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point *arg2 = 0 ; - otk::Point *arg3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 3) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_setRect__SWIG_1(self,args); - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0; - } - if (_v) { - return _wrap_Rect_setRect__SWIG_0(self,args); - } - } - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'"); - return NULL; -} - - -static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->setCoords(arg2,arg3,arg4,arg5); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point *arg2 = 0 ; - otk::Point *arg3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg3 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[6]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 3) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_setCoords__SWIG_1(self,args); - } - } - } - } - if (argc == 5) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0; - } - if (_v) { - return _wrap_Rect_setCoords__SWIG_0(self,args); - } - } - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'"); - return NULL; -} - - -static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - bool result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - bool result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - otk::Rect result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2); - - { - otk::Rect * resultptr; - resultptr = new otk::Rect((otk::Rect &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - otk::Rect result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2); - - { - otk::Rect * resultptr; - resultptr = new otk::Rect((otk::Rect &) result); - resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - otk::Rect *result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2); - result = (otk::Rect *) &_result_ref; - } - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - otk::Rect *result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - { - otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2); - result = (otk::Rect *) &_result_ref; - } - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - bool result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (bool)((otk::Rect const *)arg1)->valid(); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - bool result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - int arg2 ; - int arg3 ; - bool result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Point *arg2 = 0 ; - bool result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Rect *arg1 = (otk::Rect *) 0 ; - otk::Rect *arg2 = 0 ; - bool result; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg2 == NULL) { - PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; - } - result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2); - - resultobj = PyInt_FromLong((long)result); - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) { - int argc; - PyObject *argv[4]; - int ii; - - argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 3); ii++) { - argv[ii] = PyTuple_GetItem(args,ii); - } - if (argc == 2) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_contains__SWIG_1(self,args); - } - } - } - if (argc == 2) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - void *ptr; - if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - return _wrap_Rect_contains__SWIG_2(self,args); - } - } - } - if (argc == 3) { - int _v; - { - void *ptr; - if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) { - _v = 0; - PyErr_Clear(); - }else { - _v = 1; - } - } - if (_v) { - { - _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; - } - if (_v) { - { - _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; - } - if (_v) { - return _wrap_Rect_contains__SWIG_0(self,args); - } - } - } - } - - PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'"); - return NULL; -} - - -static PyObject * Rect_swigregister(PyObject *self, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) { PyObject *resultobj; ob::Cursors *arg1 = (ob::Cursors *) 0 ; @@ -5457,42 +4021,6 @@ static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) { static PyMethodDef SwigMethods[] = { { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS }, - { (char *)"new_Point", _wrap_new_Point, METH_VARARGS }, - { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS }, - { (char *)"Point_x", _wrap_Point_x, METH_VARARGS }, - { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS }, - { (char *)"Point_y", _wrap_Point_y, METH_VARARGS }, - { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS }, - { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS }, - { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS }, - { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS }, - { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS }, - { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS }, - { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS }, - { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS }, - { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS }, - { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS }, - { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS }, - { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS }, - { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS }, - { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS }, - { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS }, - { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS }, - { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS }, - { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS }, - { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS }, - { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS }, - { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS }, - { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS }, - { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS }, - { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS }, - { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS }, - { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS }, - { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS }, - { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS }, - { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS }, - { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS }, - { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS }, { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS }, { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS }, { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS }, @@ -5661,24 +4189,42 @@ static PyMethodDef SwigMethods[] = { /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) { - return (void *)((ob::OBWidget *) ((ob::OBScreen *) x)); -} -static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) { - return (void *)((ob::OBWidget *) ((ob::OBClient *) x)); -} static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) { return (void *)((otk::OtkEventHandler *) ((ob::OBActions *) x)); } +static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) { + return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x)); +} +static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) { + return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x)); +} static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) { return (void *)((otk::OtkEventHandler *) ((ob::Openbox *) x)); } static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) { return (void *)((otk::OtkEventHandler *) ((ob::OBScreen *) x)); } +static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) { + return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x)); +} +static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) { + return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x)); +} +static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) { + return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x)); +} static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) { return (void *)((otk::OtkEventHandler *) ((ob::OBClient *) x)); } +static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) { + return (void *)((ob::OBWidget *) ((ob::OBScreen *) x)); +} +static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) { + return (void *)((ob::OBWidget *) ((ob::OBClient *) x)); +} +static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) { + return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x)); +} static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) { return (void *)((otk::OtkEventDispatcher *) ((ob::Openbox *) x)); } @@ -5693,12 +4239,11 @@ static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob:: static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}}; static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}}; static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}}; -static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}}; static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}}; static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}}; static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}}; static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}}; -static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler},{"_p_otk__OtkEventHandler"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}}; +static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}}; static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}}; static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}}; static swig_type_info _swigt__p_ob__OBWidget[] = {{"_p_ob__OBWidget", 0, "ob::OBWidget *", 0},{"_p_ob__OBWidget"},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_ob__OBWidget},{"_p_ob__OBClient", _p_ob__OBClientTo_p_ob__OBWidget},{0}}; @@ -5706,7 +4251,7 @@ static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEven static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}}; static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}}; static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}}; -static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}}; +static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}}; static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}}; static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}}; static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}}; @@ -5727,7 +4272,6 @@ _swigt__p_ob__MouseData, _swigt__p_ob__OBClient, _swigt__p_ob__Openbox, _swigt__p_otk__Strut, -_swigt__p_XRectangle, _swigt__p_ob__KeyData, _swigt__p_XMapRequestEvent, _swigt__p_XConfigureRequestEvent, @@ -5841,349 +4385,6 @@ static swig_const_info swig_const_table[] = { { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0}, { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0}, { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0}, {0}}; #ifdef __cplusplus