X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fotk_wrap.cc;h=8b072b3082aaa08da50dc0e89c70fad2f8491ca1;hb=c33ccf60cba94249b4a4d1e1832aa0ea0e28a22c;hp=a16eb87516dc5d2a1e73242ab2a3a39f9c4b4083;hpb=e32610e7b1a18cd9bd411073ae1b927691e4bcd9;p=chaz%2Fopenbox diff --git a/otk/otk_wrap.cc b/otk/otk_wrap.cc index a16eb875..8b072b30 100644 --- a/otk/otk_wrap.cc +++ b/otk/otk_wrap.cc @@ -684,53 +684,54 @@ SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) { #define SWIGTYPE_p_otk__BGCCacheContext swig_types[36] #define SWIGTYPE_p_XCreateWindowEvent swig_types[37] #define SWIGTYPE_p_XDestroyWindowEvent swig_types[38] -#define SWIGTYPE_p_XCirculateEvent swig_types[39] -#define SWIGTYPE_p_XConfigureEvent swig_types[40] -#define SWIGTYPE_p_otk__OBProperty swig_types[41] +#define SWIGTYPE_p_Time swig_types[39] +#define SWIGTYPE_p_XCirculateEvent swig_types[40] +#define SWIGTYPE_p_XConfigureEvent swig_types[41] #define SWIGTYPE_p_long swig_types[42] -#define SWIGTYPE_p_XTextProperty swig_types[43] -#define SWIGTYPE_p_otk__OtkEventHandler swig_types[44] -#define SWIGTYPE_p_XCirculateRequestEvent swig_types[45] -#define SWIGTYPE_p_XConfigureRequestEvent swig_types[46] -#define SWIGTYPE_p_XMapRequestEvent swig_types[47] -#define SWIGTYPE_p_XResizeRequestEvent swig_types[48] -#define SWIGTYPE_p_XSelectionRequestEvent swig_types[49] -#define SWIGTYPE_otk__OBTimeoutHandler swig_types[50] -#define SWIGTYPE_p_XftDraw swig_types[51] -#define SWIGTYPE_p_otk__ScreenInfo swig_types[52] -#define SWIGTYPE_p_otk__OtkFocusLabel swig_types[53] -#define SWIGTYPE_p_otk__BTexture swig_types[54] -#define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[55] -#define SWIGTYPE_p_otk__BFont swig_types[56] -#define SWIGTYPE_p_otk__Point swig_types[57] -#define SWIGTYPE_p_p_char swig_types[58] -#define SWIGTYPE_p_XMotionEvent swig_types[59] -#define SWIGTYPE_p_XButtonEvent swig_types[60] -#define SWIGTYPE_p_XSelectionEvent swig_types[61] -#define SWIGTYPE_p_Pixmap swig_types[62] -#define SWIGTYPE_p_GC swig_types[63] -#define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[64] -#define SWIGTYPE_p_otk__OtkAppWidget swig_types[65] -#define SWIGTYPE_p_XKeyEvent swig_types[66] -#define SWIGTYPE_p_unsigned_long swig_types[67] -#define SWIGTYPE_p_XEvent swig_types[68] -#define SWIGTYPE_p_p_unsigned_long swig_types[69] -#define SWIGTYPE_p_std__string swig_types[70] -#define SWIGTYPE_p_XCrossingEvent swig_types[71] -#define SWIGTYPE_p_XMappingEvent swig_types[72] -#define SWIGTYPE_p_otk__BGCCacheItem swig_types[73] -#define SWIGTYPE_p_p_unsigned_int swig_types[74] -#define SWIGTYPE_p_unsigned_int swig_types[75] -#define SWIGTYPE_p_p_unsigned_char swig_types[76] -#define SWIGTYPE_p_XClientMessageEvent swig_types[77] -#define SWIGTYPE_p_XGraphicsExposeEvent swig_types[78] +#define SWIGTYPE_p_otk__OBProperty swig_types[43] +#define SWIGTYPE_p_XTextProperty swig_types[44] +#define SWIGTYPE_p_otk__OtkEventHandler swig_types[45] +#define SWIGTYPE_p_XSelectionRequestEvent swig_types[46] +#define SWIGTYPE_p_XCirculateRequestEvent swig_types[47] +#define SWIGTYPE_p_XConfigureRequestEvent swig_types[48] +#define SWIGTYPE_p_XMapRequestEvent swig_types[49] +#define SWIGTYPE_p_XResizeRequestEvent swig_types[50] +#define SWIGTYPE_otk__OBTimeoutHandler swig_types[51] +#define SWIGTYPE_p_XftDraw swig_types[52] +#define SWIGTYPE_p_otk__ScreenInfo swig_types[53] +#define SWIGTYPE_p_otk__OtkFocusLabel swig_types[54] +#define SWIGTYPE_p_otk__BTexture swig_types[55] +#define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[56] +#define SWIGTYPE_p_otk__BFont swig_types[57] +#define SWIGTYPE_p_otk__Point swig_types[58] +#define SWIGTYPE_p_p_char swig_types[59] +#define SWIGTYPE_p_XMotionEvent swig_types[60] +#define SWIGTYPE_p_XButtonEvent swig_types[61] +#define SWIGTYPE_p_XSelectionEvent swig_types[62] +#define SWIGTYPE_p_Pixmap swig_types[63] +#define SWIGTYPE_p_GC swig_types[64] +#define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[65] +#define SWIGTYPE_p_otk__OtkAppWidget swig_types[66] +#define SWIGTYPE_p_XKeyEvent swig_types[67] +#define SWIGTYPE_p_unsigned_long swig_types[68] +#define SWIGTYPE_p_XEvent swig_types[69] +#define SWIGTYPE_p_p_unsigned_long swig_types[70] +#define SWIGTYPE_p_std__string swig_types[71] +#define SWIGTYPE_p_XCrossingEvent swig_types[72] +#define SWIGTYPE_p_XMappingEvent swig_types[73] +#define SWIGTYPE_p_otk__BGCCacheItem swig_types[74] +#define SWIGTYPE_p_p_unsigned_int swig_types[75] +#define SWIGTYPE_p_unsigned_int swig_types[76] +#define SWIGTYPE_p_p_unsigned_char swig_types[77] +#define SWIGTYPE_p_XClientMessageEvent swig_types[78] #define SWIGTYPE_p_XExposeEvent swig_types[79] #define SWIGTYPE_p_XFocusChangeEvent swig_types[80] -#define SWIGTYPE_p_XNoExposeEvent swig_types[81] -#define SWIGTYPE_p_XMapEvent swig_types[82] -#define SWIGTYPE_p_XUnmapEvent swig_types[83] -#define SWIGTYPE_p_XColormapEvent swig_types[84] -static swig_type_info *swig_types[86]; +#define SWIGTYPE_p_XGraphicsExposeEvent swig_types[81] +#define SWIGTYPE_p_XNoExposeEvent swig_types[82] +#define SWIGTYPE_p_XMapEvent swig_types[83] +#define SWIGTYPE_p_XUnmapEvent swig_types[84] +#define SWIGTYPE_p_XColormapEvent swig_types[85] +static swig_type_info *swig_types[87]; /* -------- TYPES TABLE (END) -------- */ @@ -1059,6 +1060,27 @@ static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject * } +static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) { + PyObject *resultobj; + otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ; + Time result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + result = ((otk::OtkEventDispatcher const *)arg1)->lastTime(); + + { + Time * resultptr; + resultptr = new Time((Time &) result); + resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Time, 1); + } + return resultobj; + fail: + return NULL; +} + + static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -1840,20 +1862,26 @@ static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) { int arg3 = (int) otk::OtkWidget::Horizontal ; Cursor arg4 = (Cursor) 0 ; int arg5 = (int) 1 ; + unsigned long arg6 = (unsigned long) 0 ; otk::OtkWidget *result; Cursor *argp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj3 = 0 ; + PyObject * obj5 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|iOi:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; if (obj3) { if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; arg4 = *argp4; } - result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5); + if (obj5) { + arg6 = (unsigned long) PyInt_AsLong(obj5); + if (PyErr_Occurred()) SWIG_fail; + } + result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6); resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1); return resultobj; @@ -1864,11 +1892,11 @@ static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) { static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) { int argc; - PyObject *argv[6]; + PyObject *argv[7]; int ii; argc = PyObject_Length(args); - for (ii = 0; (ii < argc) && (ii < 5); ii++) { + for (ii = 0; (ii < argc) && (ii < 6); ii++) { argv[ii] = PyTuple_GetItem(args,ii); } if ((argc >= 1) && (argc <= 2)) { @@ -1894,7 +1922,7 @@ static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) { } } } - if ((argc >= 2) && (argc <= 5)) { + if ((argc >= 2) && (argc <= 6)) { int _v; { void *ptr; @@ -1943,7 +1971,15 @@ static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) { _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0; } if (_v) { - return _wrap_new_OtkWidget__SWIG_1(self,args); + if (argc <= 5) { + return _wrap_new_OtkWidget__SWIG_1(self,args); + } + { + _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0; + } + if (_v) { + return _wrap_new_OtkWidget__SWIG_1(self,args); + } } } } @@ -3205,22 +3241,6 @@ static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *ar } -static PyObject *_wrap_OtkWidget_unmanaged(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unmanaged",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->unmanaged(); - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -5621,6 +5641,68 @@ static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) { } +static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) { + PyObject *resultobj; + unsigned int arg1 ; + unsigned int arg2 ; + Window arg3 ; + bool arg4 ; + int arg5 ; + int arg6 ; + bool arg7 ; + Window *argp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj6 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail; + arg1 = (unsigned int) PyInt_AsLong(obj0); + if (PyErr_Occurred()) SWIG_fail; + arg2 = (unsigned int) PyInt_AsLong(obj1); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; + arg3 = *argp3; + arg4 = (bool) PyInt_AsLong(obj3); + if (PyErr_Occurred()) SWIG_fail; + arg7 = (bool) PyInt_AsLong(obj6); + if (PyErr_Occurred()) SWIG_fail; + otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) { + PyObject *resultobj; + unsigned int arg1 ; + unsigned int arg2 ; + Window arg3 ; + Window *argp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail; + arg1 = (unsigned int) PyInt_AsLong(obj0); + if (PyErr_Occurred()) SWIG_fail; + arg2 = (unsigned int) PyInt_AsLong(obj1); + if (PyErr_Occurred()) SWIG_fail; + if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; + arg3 = *argp3; + otk::OBDisplay::ungrabKey(arg1,arg2,arg3); + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) { PyObject *resultobj; otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ; @@ -10049,42 +10131,6 @@ static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) { } -static PyObject *_wrap_Style_b_pressed_set(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Style *arg1 = (otk::Style *) 0 ; - otk::BTexture *arg2 = (otk::BTexture *) 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_set",&obj0,&obj1)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - if (arg1) (arg1)->b_pressed = *arg2; - - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_Style_b_pressed_get(PyObject *self, PyObject *args) { - PyObject *resultobj; - otk::Style *arg1 = (otk::Style *) 0 ; - otk::BTexture *result; - PyObject * obj0 = 0 ; - - if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_get",&obj0)) goto fail; - if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (otk::BTexture *)& ((arg1)->b_pressed); - - resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0); - return resultobj; - fail: - return NULL; -} - - static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) { PyObject *resultobj; otk::Style *arg1 = (otk::Style *) 0 ; @@ -10979,6 +11025,74 @@ static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) { } +static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + otk::Style *arg1 = (otk::Style *) 0 ; + otk::PixmapMask *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + result = (otk::PixmapMask *)(arg1)->getCloseButtonMask(); + + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + otk::Style *arg1 = (otk::Style *) 0 ; + otk::PixmapMask *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask(); + + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + otk::Style *arg1 = (otk::Style *) 0 ; + otk::PixmapMask *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask(); + + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + otk::Style *arg1 = (otk::Style *) 0 ; + otk::PixmapMask *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail; + if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; + result = (otk::PixmapMask *)(arg1)->getStickyButtonMask(); + + resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) { PyObject *resultobj; otk::Style *arg1 = (otk::Style *) 0 ; @@ -12722,7 +12836,7 @@ static PyObject *_wrap_basename(PyObject *self, PyObject *args) { SWIG_exception(SWIG_TypeError, "string expected"); } } - result = basename((std::string const &)*arg1); + result = otk::basename((std::string const &)*arg1); { resultobj = PyString_FromString((&result)->c_str()); @@ -12745,6 +12859,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS }, { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS }, { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS }, + { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS }, { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS }, { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS }, { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS }, @@ -12832,7 +12947,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS }, { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS }, { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS }, - { (char *)"OtkWidget_unmanaged", _wrap_OtkWidget_unmanaged, METH_VARARGS }, { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS }, { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS }, { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS }, @@ -12931,6 +13045,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS }, { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS }, { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS }, + { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS }, + { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS }, { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS }, { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS }, { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS }, @@ -13089,8 +13205,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS }, { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS }, { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS }, - { (char *)"Style_b_pressed_set", _wrap_Style_b_pressed_set, METH_VARARGS }, - { (char *)"Style_b_pressed_get", _wrap_Style_b_pressed_get, METH_VARARGS }, { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS }, { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS }, { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS }, @@ -13132,6 +13246,10 @@ static PyMethodDef SwigMethods[] = { { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS }, { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS }, { (char *)"Style_load", _wrap_Style_load, METH_VARARGS }, + { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS }, + { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS }, + { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS }, + { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS }, { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS }, { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS }, { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS }, @@ -13299,17 +13417,18 @@ static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}}; static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}}; static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}}; +static swig_type_info _swigt__p_Time[] = {{"_p_Time", 0, "Time *", 0},{"_p_Time"},{0}}; static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}}; static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{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_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{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_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}}; static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_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},{0}}; +static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}}; static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}}; static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}}; static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}}; static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}}; -static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}}; static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}}; static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}}; static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}}; @@ -13338,9 +13457,9 @@ static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "un static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}}; static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}}; static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}}; -static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}}; static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}}; static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}}; +static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}}; static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}}; static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}}; static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}}; @@ -13386,17 +13505,18 @@ _swigt__p_Window, _swigt__p_otk__BGCCacheContext, _swigt__p_XCreateWindowEvent, _swigt__p_XDestroyWindowEvent, +_swigt__p_Time, _swigt__p_XCirculateEvent, _swigt__p_XConfigureEvent, -_swigt__p_otk__OBProperty, _swigt__p_long, +_swigt__p_otk__OBProperty, _swigt__p_XTextProperty, _swigt__p_otk__OtkEventHandler, +_swigt__p_XSelectionRequestEvent, _swigt__p_XCirculateRequestEvent, _swigt__p_XConfigureRequestEvent, _swigt__p_XMapRequestEvent, _swigt__p_XResizeRequestEvent, -_swigt__p_XSelectionRequestEvent, _swigt__otk__OBTimeoutHandler, _swigt__p_XftDraw, _swigt__p_otk__ScreenInfo, @@ -13425,9 +13545,9 @@ _swigt__p_p_unsigned_int, _swigt__p_unsigned_int, _swigt__p_p_unsigned_char, _swigt__p_XClientMessageEvent, -_swigt__p_XGraphicsExposeEvent, _swigt__p_XExposeEvent, _swigt__p_XFocusChangeEvent, +_swigt__p_XGraphicsExposeEvent, _swigt__p_XNoExposeEvent, _swigt__p_XMapEvent, _swigt__p_XUnmapEvent, @@ -13518,6 +13638,7 @@ static swig_const_info swig_const_table[] = { { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0}, @@ -13525,7 +13646,8 @@ static swig_const_info swig_const_table[] = { { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0}, -{ SWIG_PY_INT, (char *)"OBProperty_net_wm_state_floating", (long) otk::OBProperty::net_wm_state_floating, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_system_tray_window_for", (long) otk::OBProperty::kde_net_wm_system_tray_window_for, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},