X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fotk_wrap.cc;h=dc49a85b4a7cbea92169ced8fe27c41cbc7b6dc3;hb=1f8b8425ae82c2c086f6648b7608b37685997634;hp=8b072b3082aaa08da50dc0e89c70fad2f8491ca1;hpb=c33ccf60cba94249b4a4d1e1832aa0ea0e28a22c;p=chaz%2Fopenbox diff --git a/otk/otk_wrap.cc b/otk/otk_wrap.cc index 8b072b30..dc49a85b 100644 --- a/otk/otk_wrap.cc +++ b/otk/otk_wrap.cc @@ -1862,7 +1862,7 @@ 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 ; + bool arg6 = (bool) false ; otk::OtkWidget *result; Cursor *argp4 ; PyObject * obj0 = 0 ; @@ -1878,7 +1878,7 @@ static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) { arg4 = *argp4; } if (obj5) { - arg6 = (unsigned long) PyInt_AsLong(obj5); + arg6 = (bool) PyInt_AsLong(obj5); if (PyErr_Occurred()) SWIG_fail; } result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6); @@ -5539,6 +5539,34 @@ static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) { } +static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + unsigned int result; + + if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail; + result = (unsigned int)otk::OBDisplay::numLockMask(); + + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) { + PyObject *resultobj; + unsigned int result; + + if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail; + result = (unsigned int)otk::OBDisplay::scrollLockMask(); + + resultobj = PyInt_FromLong((long)result); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) { PyObject *resultobj; @@ -13041,6 +13069,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS }, { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS }, { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS }, + { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS }, + { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS }, { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS }, { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS }, { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS }, @@ -13577,6 +13607,7 @@ static swig_const_info swig_const_table[] = { { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0}, { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},