1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021226-0459
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T> class SwigValueWrapper {
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt) delete tt; }
19 inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
20 inline operator T&() const { return *tt; }
21 inline T *operator&() { return tt; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
81 typedef struct swig_type_info {
83 swig_converter_func converter;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
93 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
94 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
96 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
97 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
102 static swig_type_info *swig_type_list = 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
112 if (strcmp(tc->name, ti->name) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc->clientdata) ti->clientdata = tc->clientdata;
125 ti->prev = swig_type_list;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
151 if (strcmp(s->name,c) == 0) {
152 if (s == ty->next) return s;
153 /* Move s to the top of the linked list */
154 s->prev->next = s->next;
156 s->next->prev = s->prev;
158 /* Insert s as second element in the list */
160 if (ty->next) ty->next->prev = s;
165 } while (s && (s != ty->next));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info *)
192 SWIG_TypeQuery(const char *name) {
193 swig_type_info *ty = swig_type_list;
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
202 /* Set the clientdata field for a type */
204 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
205 swig_type_info *tc, *equiv;
206 if (ti->clientdata == clientdata) return;
207 ti->clientdata = clientdata;
210 if (!equiv->converter) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info {
265 swig_type_info **ptype;
268 #ifdef SWIG_NOINCLUDE
270 SWIGEXPORT(PyObject *) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
276 SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
277 SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
285 typedef struct swig_globalvar {
286 char *name; /* Name of global variable */
287 PyObject *(*get_attr)(void); /* Return the current value */
288 int (*set_attr)(PyObject *); /* Set the value */
289 struct swig_globalvar *next;
292 typedef struct swig_varlinkobject {
294 swig_globalvar *vars;
295 } swig_varlinkobject;
298 swig_varlink_repr(swig_varlinkobject *v) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
307 fprintf(fp,"Global variables { ");
308 for (var = v->vars; var; var=var->next) {
309 fprintf(fp,"%s", var->name);
310 if (var->next) fprintf(fp,", ");
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject *)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject *result = 0;
363 result = PyMem_NEW(swig_varlinkobject,1);
364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
365 result->ob_type = &varlinktype;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
377 v= (swig_varlinkobject *) p;
378 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
379 gv->name = (char *) malloc(strlen(name)+1);
380 strcpy(gv->name,name);
381 gv->get_attr = get_attr;
382 gv->set_attr = set_attr;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
407 unsigned char *u = (unsigned char *) ptr;
409 for (i = 0; i < sz; i++, u++) {
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
416 if ((d >= '0') && (d <= '9'))
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
430 static PyObject *SWIG_this = 0;
435 if (obj == Py_None) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
442 SWIG_this = PyString_FromString("this");
444 obj = PyObject_GetAttr(obj,SWIG_this);
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
457 if (!(PyString_Check(obj))) {
459 SWIG_this = PyString_FromString("this");
461 obj = PyObject_GetAttr(obj,SWIG_this);
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
477 if (newref) { Py_DECREF(obj); }
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
504 if (flags & SWIG_POINTER_EXCEPTION) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
523 if ((!obj) || (!PyString_Check(obj))) goto type_error;
524 c = PyString_AsString(obj);
525 /* Pointer values must start with leading underscore */
526 if (*c != '_') goto type_error;
528 c = SWIG_UnpackData(c,ptr,sz);
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
608 obj = PyInt_FromLong(constants[i].lvalue);
611 obj = PyFloat_FromDouble(constants[i].dvalue);
614 obj = PyString_FromString((char *) constants[i].pvalue);
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
627 PyDict_SetItemString(d,constants[i].name,obj);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[0]
649 #define SWIGTYPE_p_ob__OBActions swig_types[1]
650 #define SWIGTYPE_p_ob__Cursors swig_types[2]
651 #define SWIGTYPE_p_ob__OBScreen swig_types[3]
652 #define SWIGTYPE_p_otk__Style swig_types[4]
653 #define SWIGTYPE_p_ob__OBFrame swig_types[5]
654 #define SWIGTYPE_p_XReparentEvent swig_types[6]
655 #define SWIGTYPE_p_ob__MotionData swig_types[7]
656 #define SWIGTYPE_p_ob__OBClient swig_types[8]
657 #define SWIGTYPE_p_ob__Openbox swig_types[9]
658 #define SWIGTYPE_p_otk__Strut swig_types[10]
659 #define SWIGTYPE_p_ob__KeyData swig_types[11]
660 #define SWIGTYPE_p_XMapRequestEvent swig_types[12]
661 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[13]
662 #define SWIGTYPE_p_otk__Point swig_types[14]
663 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[15]
664 #define SWIGTYPE_p_std__string swig_types[16]
665 #define SWIGTYPE_p_otk__Rect swig_types[17]
666 #define SWIGTYPE_p_ob__OBWidget swig_types[18]
667 #define SWIGTYPE_p_XClientMessageEvent swig_types[19]
668 #define SWIGTYPE_p_XFocusChangeEvent swig_types[20]
669 #define SWIGTYPE_p_otk__OBProperty swig_types[21]
670 #define SWIGTYPE_p_ob__EventData swig_types[22]
671 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[23]
672 #define SWIGTYPE_p_XPropertyEvent swig_types[24]
673 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[25]
674 #define SWIGTYPE_p_otk__BImageControl swig_types[26]
675 #define SWIGTYPE_p_PyObject swig_types[27]
676 #define SWIGTYPE_p_ob__OBBindings swig_types[28]
677 #define SWIGTYPE_p_ob__MwmHints swig_types[29]
678 #define SWIGTYPE_p_XUnmapEvent swig_types[30]
679 #define SWIGTYPE_p_ob__ButtonData swig_types[31]
680 static swig_type_info *swig_types[33];
682 /* -------- TYPES TABLE (END) -------- */
685 /*-----------------------------------------------
686 @(target):= _openbox.so
687 ------------------------------------------------*/
688 #define SWIG_init init_openbox
690 #define SWIG_name "_openbox"
693 # include "../config.h"
696 #include "openbox.hh"
699 #include "bindings.hh"
700 #include "actions.hh"
702 #include "otk/display.hh"
705 #define SWIG_MemoryError 1
706 #define SWIG_IOError 2
707 #define SWIG_RuntimeError 3
708 #define SWIG_IndexError 4
709 #define SWIG_TypeError 5
710 #define SWIG_DivisionByZero 6
711 #define SWIG_OverflowError 7
712 #define SWIG_SyntaxError 8
713 #define SWIG_ValueError 9
714 #define SWIG_SystemError 10
715 #define SWIG_UnknownError 99
718 static void _SWIG_exception(int code, const char *msg) {
720 case SWIG_MemoryError:
721 PyErr_SetString(PyExc_MemoryError,msg);
724 PyErr_SetString(PyExc_IOError,msg);
726 case SWIG_RuntimeError:
727 PyErr_SetString(PyExc_RuntimeError,msg);
729 case SWIG_IndexError:
730 PyErr_SetString(PyExc_IndexError,msg);
733 PyErr_SetString(PyExc_TypeError,msg);
735 case SWIG_DivisionByZero:
736 PyErr_SetString(PyExc_ZeroDivisionError,msg);
738 case SWIG_OverflowError:
739 PyErr_SetString(PyExc_OverflowError,msg);
741 case SWIG_SyntaxError:
742 PyErr_SetString(PyExc_SyntaxError,msg);
744 case SWIG_ValueError:
745 PyErr_SetString(PyExc_ValueError,msg);
747 case SWIG_SystemError:
748 PyErr_SetString(PyExc_SystemError,msg);
751 PyErr_SetString(PyExc_RuntimeError,msg);
756 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
764 static PyObject* SwigInt_FromBool(bool b) {
765 return PyInt_FromLong(b ? 1L : 0L);
767 static double SwigNumber_Check(PyObject* o) {
768 return PyFloat_Check(o) || PyInt_Check(o);
770 static double SwigNumber_AsDouble(PyObject* o) {
771 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
773 static PyObject* SwigString_FromString(const std::string& s) {
774 return PyString_FromString(s.c_str());
776 static std::string SwigString_AsString(PyObject* o) {
777 return std::string(PyString_AsString(o));
786 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
790 void python_callback(PyObject *func, MotionData *data)
795 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
796 SWIGTYPE_p_ob__MotionData,
800 result = PyEval_CallObject(func, arglist);
801 if (!result || PyErr_Occurred()) {
802 // an exception occured in the script, display it
810 void python_callback(PyObject *func, ButtonData *data)
815 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
816 SWIGTYPE_p_ob__ButtonData,
820 result = PyEval_CallObject(func, arglist);
821 if (!result || PyErr_Occurred()) {
822 // an exception occured in the script, display it
830 void python_callback(PyObject *func, EventData *data)
835 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
836 SWIGTYPE_p_ob__EventData,
840 result = PyEval_CallObject(func, arglist);
841 if (!result || PyErr_Occurred()) {
842 // an exception occured in the script, display it
850 void python_callback(PyObject *func, KeyData *data)
855 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
856 SWIGTYPE_p_ob__KeyData,
860 result = PyEval_CallObject(func, arglist);
861 if (!result || PyErr_Occurred()) {
862 // an exception occured in the script, display it
875 ob::OBClient *ob_OBScreen_client(ob::OBScreen *self,int i){
876 if (i >= (int)self->clients.size())
878 ob::OBClient::List::iterator it = self->clients.begin();
882 int ob_OBScreen_clientCount(ob::OBScreen const *self){
883 return (int) self->clients.size();
888 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
892 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
893 result = (ob::Openbox *)Openbox_instance();
895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
902 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
904 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
906 PyObject * obj0 = 0 ;
907 PyObject * obj1 = 0 ;
909 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
911 arg2 = (Cursor) PyInt_AsLong(obj1);
912 if (PyErr_Occurred()) SWIG_fail;
913 if (arg1) (arg1)->session = arg2;
915 Py_INCREF(Py_None); resultobj = Py_None;
922 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
924 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
926 PyObject * obj0 = 0 ;
928 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
930 result = (Cursor) ((arg1)->session);
932 resultobj = PyInt_FromLong((long)result);
939 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
941 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
943 PyObject * obj0 = 0 ;
944 PyObject * obj1 = 0 ;
946 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
948 arg2 = (Cursor) PyInt_AsLong(obj1);
949 if (PyErr_Occurred()) SWIG_fail;
950 if (arg1) (arg1)->move = arg2;
952 Py_INCREF(Py_None); resultobj = Py_None;
959 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
961 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
963 PyObject * obj0 = 0 ;
965 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
967 result = (Cursor) ((arg1)->move);
969 resultobj = PyInt_FromLong((long)result);
976 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
978 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
980 PyObject * obj0 = 0 ;
981 PyObject * obj1 = 0 ;
983 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
985 arg2 = (Cursor) PyInt_AsLong(obj1);
986 if (PyErr_Occurred()) SWIG_fail;
987 if (arg1) (arg1)->ll_angle = arg2;
989 Py_INCREF(Py_None); resultobj = Py_None;
996 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
998 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1000 PyObject * obj0 = 0 ;
1002 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
1003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1004 result = (Cursor) ((arg1)->ll_angle);
1006 resultobj = PyInt_FromLong((long)result);
1013 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
1014 PyObject *resultobj;
1015 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1017 PyObject * obj0 = 0 ;
1018 PyObject * obj1 = 0 ;
1020 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
1021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1022 arg2 = (Cursor) PyInt_AsLong(obj1);
1023 if (PyErr_Occurred()) SWIG_fail;
1024 if (arg1) (arg1)->lr_angle = arg2;
1026 Py_INCREF(Py_None); resultobj = Py_None;
1033 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
1034 PyObject *resultobj;
1035 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1037 PyObject * obj0 = 0 ;
1039 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
1040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1041 result = (Cursor) ((arg1)->lr_angle);
1043 resultobj = PyInt_FromLong((long)result);
1050 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
1051 PyObject *resultobj;
1052 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1054 PyObject * obj0 = 0 ;
1055 PyObject * obj1 = 0 ;
1057 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1059 arg2 = (Cursor) PyInt_AsLong(obj1);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 if (arg1) (arg1)->ul_angle = arg2;
1063 Py_INCREF(Py_None); resultobj = Py_None;
1070 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
1071 PyObject *resultobj;
1072 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1074 PyObject * obj0 = 0 ;
1076 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
1077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1078 result = (Cursor) ((arg1)->ul_angle);
1080 resultobj = PyInt_FromLong((long)result);
1087 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
1088 PyObject *resultobj;
1089 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1091 PyObject * obj0 = 0 ;
1092 PyObject * obj1 = 0 ;
1094 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
1095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1096 arg2 = (Cursor) PyInt_AsLong(obj1);
1097 if (PyErr_Occurred()) SWIG_fail;
1098 if (arg1) (arg1)->ur_angle = arg2;
1100 Py_INCREF(Py_None); resultobj = Py_None;
1107 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
1108 PyObject *resultobj;
1109 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1111 PyObject * obj0 = 0 ;
1113 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
1114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1115 result = (Cursor) ((arg1)->ur_angle);
1117 resultobj = PyInt_FromLong((long)result);
1124 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
1126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1127 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
1129 return Py_BuildValue((char *)"");
1131 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
1132 PyObject *resultobj;
1133 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1135 PyObject * obj0 = 0 ;
1137 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
1138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1139 result = (int)((ob::Openbox const *)arg1)->state();
1141 resultobj = PyInt_FromLong((long)result);
1148 static PyObject *_wrap_Openbox_timerManager(PyObject *self, PyObject *args) {
1149 PyObject *resultobj;
1150 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1151 otk::OBTimerQueueManager *result;
1152 PyObject * obj0 = 0 ;
1154 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_timerManager",&obj0)) goto fail;
1155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1156 result = (otk::OBTimerQueueManager *)(arg1)->timerManager();
1158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 0);
1165 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
1166 PyObject *resultobj;
1167 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1168 otk::OBProperty *result;
1169 PyObject * obj0 = 0 ;
1171 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
1172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1173 result = (otk::OBProperty *)((ob::Openbox const *)arg1)->property();
1175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 0);
1182 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
1183 PyObject *resultobj;
1184 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1185 ob::OBActions *result;
1186 PyObject * obj0 = 0 ;
1188 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
1189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1190 result = (ob::OBActions *)((ob::Openbox const *)arg1)->actions();
1192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBActions, 0);
1199 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
1200 PyObject *resultobj;
1201 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1202 ob::OBBindings *result;
1203 PyObject * obj0 = 0 ;
1205 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
1206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 result = (ob::OBBindings *)((ob::Openbox const *)arg1)->bindings();
1209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBBindings, 0);
1216 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
1217 PyObject *resultobj;
1218 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1220 ob::OBScreen *result;
1221 PyObject * obj0 = 0 ;
1223 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
1224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1225 result = (ob::OBScreen *)(arg1)->screen(arg2);
1227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
1234 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
1235 PyObject *resultobj;
1236 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1238 PyObject * obj0 = 0 ;
1240 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
1241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1242 result = (int)((ob::Openbox const *)arg1)->screenCount();
1244 resultobj = PyInt_FromLong((long)result);
1251 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
1252 PyObject *resultobj;
1253 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1254 ob::Cursors *result;
1255 PyObject * obj0 = 0 ;
1257 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
1258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1260 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
1261 result = (ob::Cursors *) &_result_ref;
1264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
1271 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
1272 PyObject *resultobj;
1273 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1275 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
1276 PyObject * obj0 = 0 ;
1277 PyObject * obj1 = 0 ;
1278 PyObject * obj2 = 0 ;
1280 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 arg2 = (Window) PyInt_AsLong(obj1);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1285 (arg1)->addClient(arg2,arg3);
1287 Py_INCREF(Py_None); resultobj = Py_None;
1294 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
1295 PyObject *resultobj;
1296 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1298 PyObject * obj0 = 0 ;
1299 PyObject * obj1 = 0 ;
1301 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 arg2 = (Window) PyInt_AsLong(obj1);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 (arg1)->removeClient(arg2);
1307 Py_INCREF(Py_None); resultobj = Py_None;
1314 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
1315 PyObject *resultobj;
1316 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1318 ob::OBClient *result;
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1322 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
1323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1324 arg2 = (Window) PyInt_AsLong(obj1);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 result = (ob::OBClient *)(arg1)->findClient(arg2);
1328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1335 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
1336 PyObject *resultobj;
1337 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1338 ob::OBClient *result;
1339 PyObject * obj0 = 0 ;
1341 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
1342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1343 result = (ob::OBClient *)(arg1)->focusedClient();
1345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1352 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
1353 PyObject *resultobj;
1354 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1355 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
1356 PyObject * obj0 = 0 ;
1357 PyObject * obj1 = 0 ;
1359 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
1360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1362 (arg1)->setFocusedClient(arg2);
1364 Py_INCREF(Py_None); resultobj = Py_None;
1371 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
1372 PyObject *resultobj;
1373 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1374 ob::OBScreen *result;
1375 PyObject * obj0 = 0 ;
1377 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
1378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1379 result = (ob::OBScreen *)(arg1)->focusedScreen();
1381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
1388 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
1389 PyObject *resultobj;
1390 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1391 PyObject * obj0 = 0 ;
1393 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
1394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1397 Py_INCREF(Py_None); resultobj = Py_None;
1404 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
1405 PyObject *resultobj;
1406 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1407 std::string const &arg2_defvalue = "" ;
1408 std::string *arg2 = (std::string *) &arg2_defvalue ;
1410 PyObject * obj0 = 0 ;
1411 PyObject * obj1 = 0 ;
1413 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 if (PyString_Check(obj1)) {
1418 temp2 = std::string(PyString_AsString(obj1));
1421 SWIG_exception(SWIG_TypeError, "string expected");
1425 (arg1)->restart((std::string const &)*arg2);
1427 Py_INCREF(Py_None); resultobj = Py_None;
1434 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
1435 PyObject *resultobj;
1436 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1438 std::string *arg3 = 0 ;
1440 PyObject * obj0 = 0 ;
1441 PyObject * obj2 = 0 ;
1443 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 if (PyString_Check(obj2)) {
1447 temp3 = std::string(PyString_AsString(obj2));
1450 SWIG_exception(SWIG_TypeError, "string expected");
1453 (arg1)->execute(arg2,(std::string const &)*arg3);
1455 Py_INCREF(Py_None); resultobj = Py_None;
1462 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
1464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1465 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
1467 return Py_BuildValue((char *)"");
1469 static PyObject *_wrap_OBScreen_client(PyObject *self, PyObject *args) {
1470 PyObject *resultobj;
1471 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1473 ob::OBClient *result;
1474 PyObject * obj0 = 0 ;
1476 if(!PyArg_ParseTuple(args,(char *)"Oi:OBScreen_client",&obj0,&arg2)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 result = (ob::OBClient *)ob_OBScreen_client(arg1,arg2);
1480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1487 static PyObject *_wrap_OBScreen_clientCount(PyObject *self, PyObject *args) {
1488 PyObject *resultobj;
1489 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1491 PyObject * obj0 = 0 ;
1493 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_clientCount",&obj0)) goto fail;
1494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1495 result = (int)ob_OBScreen_clientCount((ob::OBScreen const *)arg1);
1497 resultobj = PyInt_FromLong((long)result);
1504 static PyObject *_wrap_OBScreen_number(PyObject *self, PyObject *args) {
1505 PyObject *resultobj;
1506 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1508 PyObject * obj0 = 0 ;
1510 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_number",&obj0)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 result = (int)((ob::OBScreen const *)arg1)->number();
1514 resultobj = PyInt_FromLong((long)result);
1521 static PyObject *_wrap_OBScreen_managed(PyObject *self, PyObject *args) {
1522 PyObject *resultobj;
1523 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1525 PyObject * obj0 = 0 ;
1527 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_managed",&obj0)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1529 result = (bool)((ob::OBScreen const *)arg1)->managed();
1531 resultobj = PyInt_FromLong((long)result);
1538 static PyObject *_wrap_OBScreen_imageControl(PyObject *self, PyObject *args) {
1539 PyObject *resultobj;
1540 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1541 otk::BImageControl *result;
1542 PyObject * obj0 = 0 ;
1544 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_imageControl",&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 result = (otk::BImageControl *)(arg1)->imageControl();
1548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
1555 static PyObject *_wrap_OBScreen_area(PyObject *self, PyObject *args) {
1556 PyObject *resultobj;
1557 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1559 PyObject * obj0 = 0 ;
1561 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_area",&obj0)) goto fail;
1562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 otk::Rect const &_result_ref = ((ob::OBScreen const *)arg1)->area();
1565 result = (otk::Rect *) &_result_ref;
1568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
1575 static PyObject *_wrap_OBScreen_style(PyObject *self, PyObject *args) {
1576 PyObject *resultobj;
1577 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1579 PyObject * obj0 = 0 ;
1581 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_style",&obj0)) goto fail;
1582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1583 result = (otk::Style *)((ob::OBScreen const *)arg1)->style();
1585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
1592 static PyObject *_wrap_OBScreen_focuswindow(PyObject *self, PyObject *args) {
1593 PyObject *resultobj;
1594 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1596 PyObject * obj0 = 0 ;
1598 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_focuswindow",&obj0)) goto fail;
1599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 result = (Window)((ob::OBScreen const *)arg1)->focuswindow();
1602 resultobj = PyInt_FromLong((long)result);
1609 static PyObject *_wrap_OBScreen_desktop(PyObject *self, PyObject *args) {
1610 PyObject *resultobj;
1611 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1613 PyObject * obj0 = 0 ;
1615 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_desktop",&obj0)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 result = (long)((ob::OBScreen const *)arg1)->desktop();
1619 resultobj = PyInt_FromLong((long)result);
1626 static PyObject *_wrap_OBScreen_numDesktops(PyObject *self, PyObject *args) {
1627 PyObject *resultobj;
1628 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1630 PyObject * obj0 = 0 ;
1632 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_numDesktops",&obj0)) goto fail;
1633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 result = (long)((ob::OBScreen const *)arg1)->numDesktops();
1636 resultobj = PyInt_FromLong((long)result);
1643 static PyObject *_wrap_OBScreen_updateStrut(PyObject *self, PyObject *args) {
1644 PyObject *resultobj;
1645 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1646 PyObject * obj0 = 0 ;
1648 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_updateStrut",&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650 (arg1)->updateStrut();
1652 Py_INCREF(Py_None); resultobj = Py_None;
1659 static PyObject *_wrap_OBScreen_manageExisting(PyObject *self, PyObject *args) {
1660 PyObject *resultobj;
1661 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1662 PyObject * obj0 = 0 ;
1664 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_manageExisting",&obj0)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 (arg1)->manageExisting();
1668 Py_INCREF(Py_None); resultobj = Py_None;
1675 static PyObject *_wrap_OBScreen_manageWindow(PyObject *self, PyObject *args) {
1676 PyObject *resultobj;
1677 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1679 PyObject * obj0 = 0 ;
1680 PyObject * obj1 = 0 ;
1682 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_manageWindow",&obj0,&obj1)) goto fail;
1683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1684 arg2 = (Window) PyInt_AsLong(obj1);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 (arg1)->manageWindow(arg2);
1688 Py_INCREF(Py_None); resultobj = Py_None;
1695 static PyObject *_wrap_OBScreen_unmanageWindow(PyObject *self, PyObject *args) {
1696 PyObject *resultobj;
1697 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1698 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
1699 PyObject * obj0 = 0 ;
1700 PyObject * obj1 = 0 ;
1702 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_unmanageWindow",&obj0,&obj1)) goto fail;
1703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1705 (arg1)->unmanageWindow(arg2);
1707 Py_INCREF(Py_None); resultobj = Py_None;
1714 static PyObject *_wrap_OBScreen_restack(PyObject *self, PyObject *args) {
1715 PyObject *resultobj;
1716 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1718 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721 PyObject * obj2 = 0 ;
1723 if(!PyArg_ParseTuple(args,(char *)"OOO:OBScreen_restack",&obj0,&obj1,&obj2)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 arg2 = (bool) PyInt_AsLong(obj1);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 (arg1)->restack(arg2,arg3);
1730 Py_INCREF(Py_None); resultobj = Py_None;
1737 static PyObject *_wrap_OBScreen_setDesktopName(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1741 std::string *arg3 = 0 ;
1743 PyObject * obj0 = 0 ;
1744 PyObject * obj2 = 0 ;
1746 if(!PyArg_ParseTuple(args,(char *)"OlO:OBScreen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
1747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1749 if (PyString_Check(obj2)) {
1750 temp3 = std::string(PyString_AsString(obj2));
1753 SWIG_exception(SWIG_TypeError, "string expected");
1756 (arg1)->setDesktopName(arg2,(std::string const &)*arg3);
1758 Py_INCREF(Py_None); resultobj = Py_None;
1765 static PyObject *_wrap_OBScreen_propertyHandler(PyObject *self, PyObject *args) {
1766 PyObject *resultobj;
1767 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1768 XPropertyEvent *arg2 = 0 ;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1772 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_propertyHandler",&obj0,&obj1)) goto fail;
1773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1778 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1780 Py_INCREF(Py_None); resultobj = Py_None;
1787 static PyObject *_wrap_OBScreen_clientMessageHandler(PyObject *self, PyObject *args) {
1788 PyObject *resultobj;
1789 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1790 XClientMessageEvent *arg2 = 0 ;
1791 PyObject * obj0 = 0 ;
1792 PyObject * obj1 = 0 ;
1794 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_clientMessageHandler",&obj0,&obj1)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1800 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1802 Py_INCREF(Py_None); resultobj = Py_None;
1809 static PyObject *_wrap_OBScreen_mapRequestHandler(PyObject *self, PyObject *args) {
1810 PyObject *resultobj;
1811 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1812 XMapRequestEvent *arg2 = 0 ;
1813 PyObject * obj0 = 0 ;
1814 PyObject * obj1 = 0 ;
1816 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_mapRequestHandler",&obj0,&obj1)) goto fail;
1817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1822 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1824 Py_INCREF(Py_None); resultobj = Py_None;
1831 static PyObject * OBScreen_swigregister(PyObject *self, PyObject *args) {
1833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1834 SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen, obj);
1836 return Py_BuildValue((char *)"");
1838 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
1839 PyObject *resultobj;
1840 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1841 unsigned long arg2 ;
1842 PyObject * obj0 = 0 ;
1843 PyObject * obj1 = 0 ;
1845 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
1846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1847 arg2 = (unsigned long) PyInt_AsLong(obj1);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 if (arg1) (arg1)->flags = arg2;
1851 Py_INCREF(Py_None); resultobj = Py_None;
1858 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
1859 PyObject *resultobj;
1860 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1861 unsigned long result;
1862 PyObject * obj0 = 0 ;
1864 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
1865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1866 result = (unsigned long) ((arg1)->flags);
1868 resultobj = PyInt_FromLong((long)result);
1875 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
1876 PyObject *resultobj;
1877 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1878 unsigned long arg2 ;
1879 PyObject * obj0 = 0 ;
1880 PyObject * obj1 = 0 ;
1882 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 arg2 = (unsigned long) PyInt_AsLong(obj1);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 if (arg1) (arg1)->functions = arg2;
1888 Py_INCREF(Py_None); resultobj = Py_None;
1895 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
1896 PyObject *resultobj;
1897 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1898 unsigned long result;
1899 PyObject * obj0 = 0 ;
1901 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 result = (unsigned long) ((arg1)->functions);
1905 resultobj = PyInt_FromLong((long)result);
1912 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
1913 PyObject *resultobj;
1914 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1915 unsigned long arg2 ;
1916 PyObject * obj0 = 0 ;
1917 PyObject * obj1 = 0 ;
1919 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
1920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1921 arg2 = (unsigned long) PyInt_AsLong(obj1);
1922 if (PyErr_Occurred()) SWIG_fail;
1923 if (arg1) (arg1)->decorations = arg2;
1925 Py_INCREF(Py_None); resultobj = Py_None;
1932 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
1933 PyObject *resultobj;
1934 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1935 unsigned long result;
1936 PyObject * obj0 = 0 ;
1938 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1940 result = (unsigned long) ((arg1)->decorations);
1942 resultobj = PyInt_FromLong((long)result);
1949 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
1951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1952 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
1954 return Py_BuildValue((char *)"");
1956 static PyObject *_wrap_OBClient_frame_set(PyObject *self, PyObject *args) {
1957 PyObject *resultobj;
1958 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1959 ob::OBFrame *arg2 = (ob::OBFrame *) 0 ;
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
1963 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_frame_set",&obj0,&obj1)) goto fail;
1964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBFrame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
1966 if (arg1) (arg1)->frame = arg2;
1968 Py_INCREF(Py_None); resultobj = Py_None;
1975 static PyObject *_wrap_OBClient_frame_get(PyObject *self, PyObject *args) {
1976 PyObject *resultobj;
1977 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1978 ob::OBFrame *result;
1979 PyObject * obj0 = 0 ;
1981 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_frame_get",&obj0)) goto fail;
1982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1983 result = (ob::OBFrame *) ((arg1)->frame);
1985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBFrame, 0);
1992 static PyObject *_wrap_OBClient_ignore_unmaps_set(PyObject *self, PyObject *args) {
1993 PyObject *resultobj;
1994 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1996 PyObject * obj0 = 0 ;
1998 if(!PyArg_ParseTuple(args,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0,&arg2)) goto fail;
1999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 if (arg1) (arg1)->ignore_unmaps = arg2;
2002 Py_INCREF(Py_None); resultobj = Py_None;
2009 static PyObject *_wrap_OBClient_ignore_unmaps_get(PyObject *self, PyObject *args) {
2010 PyObject *resultobj;
2011 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2013 PyObject * obj0 = 0 ;
2015 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_ignore_unmaps_get",&obj0)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2017 result = (int) ((arg1)->ignore_unmaps);
2019 resultobj = PyInt_FromLong((long)result);
2026 static PyObject *_wrap_OBClient_screen(PyObject *self, PyObject *args) {
2027 PyObject *resultobj;
2028 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2030 PyObject * obj0 = 0 ;
2032 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_screen",&obj0)) goto fail;
2033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2034 result = (int)((ob::OBClient const *)arg1)->screen();
2036 resultobj = PyInt_FromLong((long)result);
2043 static PyObject *_wrap_OBClient_window(PyObject *self, PyObject *args) {
2044 PyObject *resultobj;
2045 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2047 PyObject * obj0 = 0 ;
2049 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_window",&obj0)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2051 result = (Window)((ob::OBClient const *)arg1)->window();
2053 resultobj = PyInt_FromLong((long)result);
2060 static PyObject *_wrap_OBClient_type(PyObject *self, PyObject *args) {
2061 PyObject *resultobj;
2062 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2064 PyObject * obj0 = 0 ;
2066 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_type",&obj0)) goto fail;
2067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2068 result = (int)((ob::OBClient const *)arg1)->type();
2070 resultobj = PyInt_FromLong((long)result);
2077 static PyObject *_wrap_OBClient_normal(PyObject *self, PyObject *args) {
2078 PyObject *resultobj;
2079 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2081 PyObject * obj0 = 0 ;
2083 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_normal",&obj0)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 result = (bool)((ob::OBClient const *)arg1)->normal();
2087 resultobj = PyInt_FromLong((long)result);
2094 static PyObject *_wrap_OBClient_desktop(PyObject *self, PyObject *args) {
2095 PyObject *resultobj;
2096 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2098 PyObject * obj0 = 0 ;
2100 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_desktop",&obj0)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2102 result = (long)((ob::OBClient const *)arg1)->desktop();
2104 resultobj = PyInt_FromLong((long)result);
2111 static PyObject *_wrap_OBClient_title(PyObject *self, PyObject *args) {
2112 PyObject *resultobj;
2113 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2114 std::string *result;
2115 PyObject * obj0 = 0 ;
2117 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_title",&obj0)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2120 std::string const &_result_ref = ((ob::OBClient const *)arg1)->title();
2121 result = (std::string *) &_result_ref;
2125 resultobj = PyString_FromString(result->c_str());
2133 static PyObject *_wrap_OBClient_iconTitle(PyObject *self, PyObject *args) {
2134 PyObject *resultobj;
2135 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2136 std::string *result;
2137 PyObject * obj0 = 0 ;
2139 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconTitle",&obj0)) goto fail;
2140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 std::string const &_result_ref = ((ob::OBClient const *)arg1)->iconTitle();
2143 result = (std::string *) &_result_ref;
2147 resultobj = PyString_FromString(result->c_str());
2155 static PyObject *_wrap_OBClient_appName(PyObject *self, PyObject *args) {
2156 PyObject *resultobj;
2157 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2158 std::string *result;
2159 PyObject * obj0 = 0 ;
2161 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appName",&obj0)) goto fail;
2162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2164 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appName();
2165 result = (std::string *) &_result_ref;
2169 resultobj = PyString_FromString(result->c_str());
2177 static PyObject *_wrap_OBClient_appClass(PyObject *self, PyObject *args) {
2178 PyObject *resultobj;
2179 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2180 std::string *result;
2181 PyObject * obj0 = 0 ;
2183 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appClass",&obj0)) goto fail;
2184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2186 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appClass();
2187 result = (std::string *) &_result_ref;
2191 resultobj = PyString_FromString(result->c_str());
2199 static PyObject *_wrap_OBClient_role(PyObject *self, PyObject *args) {
2200 PyObject *resultobj;
2201 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2202 std::string *result;
2203 PyObject * obj0 = 0 ;
2205 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_role",&obj0)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2208 std::string const &_result_ref = ((ob::OBClient const *)arg1)->role();
2209 result = (std::string *) &_result_ref;
2213 resultobj = PyString_FromString(result->c_str());
2221 static PyObject *_wrap_OBClient_canFocus(PyObject *self, PyObject *args) {
2222 PyObject *resultobj;
2223 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2225 PyObject * obj0 = 0 ;
2227 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_canFocus",&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2229 result = (bool)((ob::OBClient const *)arg1)->canFocus();
2231 resultobj = PyInt_FromLong((long)result);
2238 static PyObject *_wrap_OBClient_urgent(PyObject *self, PyObject *args) {
2239 PyObject *resultobj;
2240 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2242 PyObject * obj0 = 0 ;
2244 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_urgent",&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 result = (bool)((ob::OBClient const *)arg1)->urgent();
2248 resultobj = PyInt_FromLong((long)result);
2255 static PyObject *_wrap_OBClient_focusNotify(PyObject *self, PyObject *args) {
2256 PyObject *resultobj;
2257 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2259 PyObject * obj0 = 0 ;
2261 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focusNotify",&obj0)) goto fail;
2262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2263 result = (bool)((ob::OBClient const *)arg1)->focusNotify();
2265 resultobj = PyInt_FromLong((long)result);
2272 static PyObject *_wrap_OBClient_shaped(PyObject *self, PyObject *args) {
2273 PyObject *resultobj;
2274 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2276 PyObject * obj0 = 0 ;
2278 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaped",&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 result = (bool)((ob::OBClient const *)arg1)->shaped();
2282 resultobj = PyInt_FromLong((long)result);
2289 static PyObject *_wrap_OBClient_gravity(PyObject *self, PyObject *args) {
2290 PyObject *resultobj;
2291 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2293 PyObject * obj0 = 0 ;
2295 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_gravity",&obj0)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 result = (int)((ob::OBClient const *)arg1)->gravity();
2299 resultobj = PyInt_FromLong((long)result);
2306 static PyObject *_wrap_OBClient_positionRequested(PyObject *self, PyObject *args) {
2307 PyObject *resultobj;
2308 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2310 PyObject * obj0 = 0 ;
2312 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_positionRequested",&obj0)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 result = (bool)((ob::OBClient const *)arg1)->positionRequested();
2316 resultobj = PyInt_FromLong((long)result);
2323 static PyObject *_wrap_OBClient_decorations(PyObject *self, PyObject *args) {
2324 PyObject *resultobj;
2325 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2326 ob::OBClient::DecorationFlags result;
2327 PyObject * obj0 = 0 ;
2329 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_decorations",&obj0)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 result = (ob::OBClient::DecorationFlags)((ob::OBClient const *)arg1)->decorations();
2333 resultobj = PyInt_FromLong((long)result);
2340 static PyObject *_wrap_OBClient_funtions(PyObject *self, PyObject *args) {
2341 PyObject *resultobj;
2342 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2343 ob::OBClient::FunctionFlags result;
2344 PyObject * obj0 = 0 ;
2346 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_funtions",&obj0)) goto fail;
2347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2348 result = (ob::OBClient::FunctionFlags)((ob::OBClient const *)arg1)->funtions();
2350 resultobj = PyInt_FromLong((long)result);
2357 static PyObject *_wrap_OBClient_transientFor(PyObject *self, PyObject *args) {
2358 PyObject *resultobj;
2359 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2360 ob::OBClient *result;
2361 PyObject * obj0 = 0 ;
2363 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_transientFor",&obj0)) goto fail;
2364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2365 result = (ob::OBClient *)((ob::OBClient const *)arg1)->transientFor();
2367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
2374 static PyObject *_wrap_OBClient_modal(PyObject *self, PyObject *args) {
2375 PyObject *resultobj;
2376 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2378 PyObject * obj0 = 0 ;
2380 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_modal",&obj0)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2382 result = (bool)((ob::OBClient const *)arg1)->modal();
2384 resultobj = PyInt_FromLong((long)result);
2391 static PyObject *_wrap_OBClient_shaded(PyObject *self, PyObject *args) {
2392 PyObject *resultobj;
2393 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2395 PyObject * obj0 = 0 ;
2397 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaded",&obj0)) goto fail;
2398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2399 result = (bool)((ob::OBClient const *)arg1)->shaded();
2401 resultobj = PyInt_FromLong((long)result);
2408 static PyObject *_wrap_OBClient_iconic(PyObject *self, PyObject *args) {
2409 PyObject *resultobj;
2410 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2412 PyObject * obj0 = 0 ;
2414 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconic",&obj0)) goto fail;
2415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2416 result = (bool)((ob::OBClient const *)arg1)->iconic();
2418 resultobj = PyInt_FromLong((long)result);
2425 static PyObject *_wrap_OBClient_maxVert(PyObject *self, PyObject *args) {
2426 PyObject *resultobj;
2427 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2429 PyObject * obj0 = 0 ;
2431 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxVert",&obj0)) goto fail;
2432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2433 result = (bool)((ob::OBClient const *)arg1)->maxVert();
2435 resultobj = PyInt_FromLong((long)result);
2442 static PyObject *_wrap_OBClient_maxHorz(PyObject *self, PyObject *args) {
2443 PyObject *resultobj;
2444 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2446 PyObject * obj0 = 0 ;
2448 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxHorz",&obj0)) goto fail;
2449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2450 result = (bool)((ob::OBClient const *)arg1)->maxHorz();
2452 resultobj = PyInt_FromLong((long)result);
2459 static PyObject *_wrap_OBClient_layer(PyObject *self, PyObject *args) {
2460 PyObject *resultobj;
2461 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2463 PyObject * obj0 = 0 ;
2465 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_layer",&obj0)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 result = (int)((ob::OBClient const *)arg1)->layer();
2469 resultobj = PyInt_FromLong((long)result);
2476 static PyObject *_wrap_OBClient_toggleClientBorder(PyObject *self, PyObject *args) {
2477 PyObject *resultobj;
2478 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2480 PyObject * obj0 = 0 ;
2481 PyObject * obj1 = 0 ;
2483 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_toggleClientBorder",&obj0,&obj1)) goto fail;
2484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2485 arg2 = (bool) PyInt_AsLong(obj1);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 (arg1)->toggleClientBorder(arg2);
2489 Py_INCREF(Py_None); resultobj = Py_None;
2496 static PyObject *_wrap_OBClient_area(PyObject *self, PyObject *args) {
2497 PyObject *resultobj;
2498 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2500 PyObject * obj0 = 0 ;
2502 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_area",&obj0)) goto fail;
2503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2505 otk::Rect const &_result_ref = ((ob::OBClient const *)arg1)->area();
2506 result = (otk::Rect *) &_result_ref;
2509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2516 static PyObject *_wrap_OBClient_strut(PyObject *self, PyObject *args) {
2517 PyObject *resultobj;
2518 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2520 PyObject * obj0 = 0 ;
2522 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_strut",&obj0)) goto fail;
2523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2525 otk::Strut const &_result_ref = ((ob::OBClient const *)arg1)->strut();
2526 result = (otk::Strut *) &_result_ref;
2529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
2536 static PyObject *_wrap_OBClient_move(PyObject *self, PyObject *args) {
2537 PyObject *resultobj;
2538 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2541 PyObject * obj0 = 0 ;
2543 if(!PyArg_ParseTuple(args,(char *)"Oii:OBClient_move",&obj0,&arg2,&arg3)) goto fail;
2544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 (arg1)->move(arg2,arg3);
2547 Py_INCREF(Py_None); resultobj = Py_None;
2554 static PyObject *_wrap_OBClient_resize(PyObject *self, PyObject *args) {
2555 PyObject *resultobj;
2556 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2560 int arg5 = (int) INT_MIN ;
2561 int arg6 = (int) INT_MIN ;
2562 PyObject * obj0 = 0 ;
2564 if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:OBClient_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
2565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2566 (arg1)->resize((ob::OBClient::Corner )arg2,arg3,arg4,arg5,arg6);
2568 Py_INCREF(Py_None); resultobj = Py_None;
2575 static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
2576 PyObject *resultobj;
2577 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2579 PyObject * obj0 = 0 ;
2581 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
2582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2583 result = (bool)((ob::OBClient const *)arg1)->focus();
2585 resultobj = PyInt_FromLong((long)result);
2592 static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
2593 PyObject *resultobj;
2594 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2595 PyObject * obj0 = 0 ;
2597 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
2598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599 ((ob::OBClient const *)arg1)->unfocus();
2601 Py_INCREF(Py_None); resultobj = Py_None;
2608 static PyObject *_wrap_OBClient_focusHandler(PyObject *self, PyObject *args) {
2609 PyObject *resultobj;
2610 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2611 XFocusChangeEvent *arg2 = 0 ;
2612 PyObject * obj0 = 0 ;
2613 PyObject * obj1 = 0 ;
2615 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_focusHandler",&obj0,&obj1)) goto fail;
2616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2621 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
2623 Py_INCREF(Py_None); resultobj = Py_None;
2630 static PyObject *_wrap_OBClient_unfocusHandler(PyObject *self, PyObject *args) {
2631 PyObject *resultobj;
2632 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2633 XFocusChangeEvent *arg2 = 0 ;
2634 PyObject * obj0 = 0 ;
2635 PyObject * obj1 = 0 ;
2637 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unfocusHandler",&obj0,&obj1)) goto fail;
2638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2643 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
2645 Py_INCREF(Py_None); resultobj = Py_None;
2652 static PyObject *_wrap_OBClient_propertyHandler(PyObject *self, PyObject *args) {
2653 PyObject *resultobj;
2654 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2655 XPropertyEvent *arg2 = 0 ;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
2659 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_propertyHandler",&obj0,&obj1)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2665 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
2667 Py_INCREF(Py_None); resultobj = Py_None;
2674 static PyObject *_wrap_OBClient_clientMessageHandler(PyObject *self, PyObject *args) {
2675 PyObject *resultobj;
2676 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2677 XClientMessageEvent *arg2 = 0 ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2681 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_clientMessageHandler",&obj0,&obj1)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2687 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
2689 Py_INCREF(Py_None); resultobj = Py_None;
2696 static PyObject *_wrap_OBClient_configureRequestHandler(PyObject *self, PyObject *args) {
2697 PyObject *resultobj;
2698 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2699 XConfigureRequestEvent *arg2 = 0 ;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2703 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_configureRequestHandler",&obj0,&obj1)) goto fail;
2704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2709 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
2711 Py_INCREF(Py_None); resultobj = Py_None;
2718 static PyObject *_wrap_OBClient_unmapHandler(PyObject *self, PyObject *args) {
2719 PyObject *resultobj;
2720 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2721 XUnmapEvent *arg2 = 0 ;
2722 PyObject * obj0 = 0 ;
2723 PyObject * obj1 = 0 ;
2725 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unmapHandler",&obj0,&obj1)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2731 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
2733 Py_INCREF(Py_None); resultobj = Py_None;
2740 static PyObject *_wrap_OBClient_destroyHandler(PyObject *self, PyObject *args) {
2741 PyObject *resultobj;
2742 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2743 XDestroyWindowEvent *arg2 = 0 ;
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2747 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_destroyHandler",&obj0,&obj1)) goto fail;
2748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2753 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
2755 Py_INCREF(Py_None); resultobj = Py_None;
2762 static PyObject *_wrap_OBClient_reparentHandler(PyObject *self, PyObject *args) {
2763 PyObject *resultobj;
2764 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2765 XReparentEvent *arg2 = 0 ;
2766 PyObject * obj0 = 0 ;
2767 PyObject * obj1 = 0 ;
2769 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_reparentHandler",&obj0,&obj1)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2775 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
2777 Py_INCREF(Py_None); resultobj = Py_None;
2784 static PyObject * OBClient_swigregister(PyObject *self, PyObject *args) {
2786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2787 SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient, obj);
2789 return Py_BuildValue((char *)"");
2791 static PyObject *_wrap_MotionData_screen_set(PyObject *self, PyObject *args) {
2792 PyObject *resultobj;
2793 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2795 PyObject * obj0 = 0 ;
2797 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_screen_set",&obj0,&arg2)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2799 if (arg1) (arg1)->screen = arg2;
2801 Py_INCREF(Py_None); resultobj = Py_None;
2808 static PyObject *_wrap_MotionData_screen_get(PyObject *self, PyObject *args) {
2809 PyObject *resultobj;
2810 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2812 PyObject * obj0 = 0 ;
2814 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_screen_get",&obj0)) goto fail;
2815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 result = (int) ((arg1)->screen);
2818 resultobj = PyInt_FromLong((long)result);
2825 static PyObject *_wrap_MotionData_client_set(PyObject *self, PyObject *args) {
2826 PyObject *resultobj;
2827 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2828 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj1 = 0 ;
2832 if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_client_set",&obj0,&obj1)) goto fail;
2833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
2835 if (arg1) (arg1)->client = arg2;
2837 Py_INCREF(Py_None); resultobj = Py_None;
2844 static PyObject *_wrap_MotionData_client_get(PyObject *self, PyObject *args) {
2845 PyObject *resultobj;
2846 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2847 ob::OBClient *result;
2848 PyObject * obj0 = 0 ;
2850 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_client_get",&obj0)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 result = (ob::OBClient *) ((arg1)->client);
2854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
2861 static PyObject *_wrap_MotionData_time_set(PyObject *self, PyObject *args) {
2862 PyObject *resultobj;
2863 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2865 PyObject * obj0 = 0 ;
2866 PyObject * obj1 = 0 ;
2868 if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_time_set",&obj0,&obj1)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2870 arg2 = (Time) PyInt_AsLong(obj1);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 if (arg1) (arg1)->time = arg2;
2874 Py_INCREF(Py_None); resultobj = Py_None;
2881 static PyObject *_wrap_MotionData_time_get(PyObject *self, PyObject *args) {
2882 PyObject *resultobj;
2883 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2885 PyObject * obj0 = 0 ;
2887 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_time_get",&obj0)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2889 result = (Time) ((arg1)->time);
2891 resultobj = PyInt_FromLong((long)result);
2898 static PyObject *_wrap_MotionData_state_set(PyObject *self, PyObject *args) {
2899 PyObject *resultobj;
2900 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2905 if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_state_set",&obj0,&obj1)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 arg2 = (unsigned int) PyInt_AsLong(obj1);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 if (arg1) (arg1)->state = arg2;
2911 Py_INCREF(Py_None); resultobj = Py_None;
2918 static PyObject *_wrap_MotionData_state_get(PyObject *self, PyObject *args) {
2919 PyObject *resultobj;
2920 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2921 unsigned int result;
2922 PyObject * obj0 = 0 ;
2924 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_state_get",&obj0)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2926 result = (unsigned int) ((arg1)->state);
2928 resultobj = PyInt_FromLong((long)result);
2935 static PyObject *_wrap_MotionData_button_set(PyObject *self, PyObject *args) {
2936 PyObject *resultobj;
2937 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2942 if(!PyArg_ParseTuple(args,(char *)"OO:MotionData_button_set",&obj0,&obj1)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2944 arg2 = (unsigned int) PyInt_AsLong(obj1);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 if (arg1) (arg1)->button = arg2;
2948 Py_INCREF(Py_None); resultobj = Py_None;
2955 static PyObject *_wrap_MotionData_button_get(PyObject *self, PyObject *args) {
2956 PyObject *resultobj;
2957 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2958 unsigned int result;
2959 PyObject * obj0 = 0 ;
2961 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_button_get",&obj0)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 result = (unsigned int) ((arg1)->button);
2965 resultobj = PyInt_FromLong((long)result);
2972 static PyObject *_wrap_MotionData_context_set(PyObject *self, PyObject *args) {
2973 PyObject *resultobj;
2974 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2976 PyObject * obj0 = 0 ;
2978 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_context_set",&obj0,&arg2)) goto fail;
2979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2980 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
2982 Py_INCREF(Py_None); resultobj = Py_None;
2989 static PyObject *_wrap_MotionData_context_get(PyObject *self, PyObject *args) {
2990 PyObject *resultobj;
2991 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
2993 PyObject * obj0 = 0 ;
2995 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_context_get",&obj0)) goto fail;
2996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2997 result = (int) ((arg1)->context);
2999 resultobj = PyInt_FromLong((long)result);
3006 static PyObject *_wrap_MotionData_action_set(PyObject *self, PyObject *args) {
3007 PyObject *resultobj;
3008 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3010 PyObject * obj0 = 0 ;
3012 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_action_set",&obj0,&arg2)) goto fail;
3013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3014 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
3016 Py_INCREF(Py_None); resultobj = Py_None;
3023 static PyObject *_wrap_MotionData_action_get(PyObject *self, PyObject *args) {
3024 PyObject *resultobj;
3025 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3027 PyObject * obj0 = 0 ;
3029 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_action_get",&obj0)) goto fail;
3030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3031 result = (int) ((arg1)->action);
3033 resultobj = PyInt_FromLong((long)result);
3040 static PyObject *_wrap_MotionData_xroot_set(PyObject *self, PyObject *args) {
3041 PyObject *resultobj;
3042 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3044 PyObject * obj0 = 0 ;
3046 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_xroot_set",&obj0,&arg2)) goto fail;
3047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3048 if (arg1) (arg1)->xroot = arg2;
3050 Py_INCREF(Py_None); resultobj = Py_None;
3057 static PyObject *_wrap_MotionData_xroot_get(PyObject *self, PyObject *args) {
3058 PyObject *resultobj;
3059 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3061 PyObject * obj0 = 0 ;
3063 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_xroot_get",&obj0)) goto fail;
3064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3065 result = (int) ((arg1)->xroot);
3067 resultobj = PyInt_FromLong((long)result);
3074 static PyObject *_wrap_MotionData_yroot_set(PyObject *self, PyObject *args) {
3075 PyObject *resultobj;
3076 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3078 PyObject * obj0 = 0 ;
3080 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_yroot_set",&obj0,&arg2)) goto fail;
3081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3082 if (arg1) (arg1)->yroot = arg2;
3084 Py_INCREF(Py_None); resultobj = Py_None;
3091 static PyObject *_wrap_MotionData_yroot_get(PyObject *self, PyObject *args) {
3092 PyObject *resultobj;
3093 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3095 PyObject * obj0 = 0 ;
3097 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_yroot_get",&obj0)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3099 result = (int) ((arg1)->yroot);
3101 resultobj = PyInt_FromLong((long)result);
3108 static PyObject *_wrap_MotionData_pressx_set(PyObject *self, PyObject *args) {
3109 PyObject *resultobj;
3110 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3112 PyObject * obj0 = 0 ;
3114 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_pressx_set",&obj0,&arg2)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 if (arg1) (arg1)->pressx = arg2;
3118 Py_INCREF(Py_None); resultobj = Py_None;
3125 static PyObject *_wrap_MotionData_pressx_get(PyObject *self, PyObject *args) {
3126 PyObject *resultobj;
3127 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3129 PyObject * obj0 = 0 ;
3131 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_pressx_get",&obj0)) goto fail;
3132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 result = (int) ((arg1)->pressx);
3135 resultobj = PyInt_FromLong((long)result);
3142 static PyObject *_wrap_MotionData_pressy_set(PyObject *self, PyObject *args) {
3143 PyObject *resultobj;
3144 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3146 PyObject * obj0 = 0 ;
3148 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_pressy_set",&obj0,&arg2)) goto fail;
3149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3150 if (arg1) (arg1)->pressy = arg2;
3152 Py_INCREF(Py_None); resultobj = Py_None;
3159 static PyObject *_wrap_MotionData_pressy_get(PyObject *self, PyObject *args) {
3160 PyObject *resultobj;
3161 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3163 PyObject * obj0 = 0 ;
3165 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_pressy_get",&obj0)) goto fail;
3166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3167 result = (int) ((arg1)->pressy);
3169 resultobj = PyInt_FromLong((long)result);
3176 static PyObject *_wrap_MotionData_press_clientx_set(PyObject *self, PyObject *args) {
3177 PyObject *resultobj;
3178 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3180 PyObject * obj0 = 0 ;
3182 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientx_set",&obj0,&arg2)) goto fail;
3183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 if (arg1) (arg1)->press_clientx = arg2;
3186 Py_INCREF(Py_None); resultobj = Py_None;
3193 static PyObject *_wrap_MotionData_press_clientx_get(PyObject *self, PyObject *args) {
3194 PyObject *resultobj;
3195 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3197 PyObject * obj0 = 0 ;
3199 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientx_get",&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 result = (int) ((arg1)->press_clientx);
3203 resultobj = PyInt_FromLong((long)result);
3210 static PyObject *_wrap_MotionData_press_clienty_set(PyObject *self, PyObject *args) {
3211 PyObject *resultobj;
3212 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3214 PyObject * obj0 = 0 ;
3216 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clienty_set",&obj0,&arg2)) goto fail;
3217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3218 if (arg1) (arg1)->press_clienty = arg2;
3220 Py_INCREF(Py_None); resultobj = Py_None;
3227 static PyObject *_wrap_MotionData_press_clienty_get(PyObject *self, PyObject *args) {
3228 PyObject *resultobj;
3229 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3231 PyObject * obj0 = 0 ;
3233 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clienty_get",&obj0)) goto fail;
3234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3235 result = (int) ((arg1)->press_clienty);
3237 resultobj = PyInt_FromLong((long)result);
3244 static PyObject *_wrap_MotionData_press_clientwidth_set(PyObject *self, PyObject *args) {
3245 PyObject *resultobj;
3246 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3248 PyObject * obj0 = 0 ;
3250 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientwidth_set",&obj0,&arg2)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 if (arg1) (arg1)->press_clientwidth = arg2;
3254 Py_INCREF(Py_None); resultobj = Py_None;
3261 static PyObject *_wrap_MotionData_press_clientwidth_get(PyObject *self, PyObject *args) {
3262 PyObject *resultobj;
3263 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3265 PyObject * obj0 = 0 ;
3267 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientwidth_get",&obj0)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 result = (int) ((arg1)->press_clientwidth);
3271 resultobj = PyInt_FromLong((long)result);
3278 static PyObject *_wrap_MotionData_press_clientheight_set(PyObject *self, PyObject *args) {
3279 PyObject *resultobj;
3280 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3282 PyObject * obj0 = 0 ;
3284 if(!PyArg_ParseTuple(args,(char *)"Oi:MotionData_press_clientheight_set",&obj0,&arg2)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3286 if (arg1) (arg1)->press_clientheight = arg2;
3288 Py_INCREF(Py_None); resultobj = Py_None;
3295 static PyObject *_wrap_MotionData_press_clientheight_get(PyObject *self, PyObject *args) {
3296 PyObject *resultobj;
3297 ob::MotionData *arg1 = (ob::MotionData *) 0 ;
3299 PyObject * obj0 = 0 ;
3301 if(!PyArg_ParseTuple(args,(char *)"O:MotionData_press_clientheight_get",&obj0)) goto fail;
3302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MotionData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3303 result = (int) ((arg1)->press_clientheight);
3305 resultobj = PyInt_FromLong((long)result);
3312 static PyObject *_wrap_new_MotionData(PyObject *self, PyObject *args) {
3313 PyObject *resultobj;
3315 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3323 otk::Point *arg10 = 0 ;
3324 otk::Rect *arg11 = 0 ;
3325 ob::MotionData *result;
3326 PyObject * obj1 = 0 ;
3327 PyObject * obj2 = 0 ;
3328 PyObject * obj3 = 0 ;
3329 PyObject * obj4 = 0 ;
3330 PyObject * obj9 = 0 ;
3331 PyObject * obj10 = 0 ;
3333 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MotionData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
3334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3335 arg3 = (Time) PyInt_AsLong(obj2);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 arg4 = (unsigned int) PyInt_AsLong(obj3);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 arg5 = (unsigned int) PyInt_AsLong(obj4);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3342 if (arg10 == NULL) {
3343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3345 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 if (arg11 == NULL) {
3347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3349 result = (ob::MotionData *)new ob::MotionData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7,arg8,arg9,(otk::Point const &)*arg10,(otk::Rect const &)*arg11);
3351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MotionData, 1);
3358 static PyObject * MotionData_swigregister(PyObject *self, PyObject *args) {
3360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3361 SWIG_TypeClientData(SWIGTYPE_p_ob__MotionData, obj);
3363 return Py_BuildValue((char *)"");
3365 static PyObject *_wrap_ButtonData_screen_set(PyObject *self, PyObject *args) {
3366 PyObject *resultobj;
3367 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3369 PyObject * obj0 = 0 ;
3371 if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_screen_set",&obj0,&arg2)) goto fail;
3372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3373 if (arg1) (arg1)->screen = arg2;
3375 Py_INCREF(Py_None); resultobj = Py_None;
3382 static PyObject *_wrap_ButtonData_screen_get(PyObject *self, PyObject *args) {
3383 PyObject *resultobj;
3384 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3386 PyObject * obj0 = 0 ;
3388 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_screen_get",&obj0)) goto fail;
3389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3390 result = (int) ((arg1)->screen);
3392 resultobj = PyInt_FromLong((long)result);
3399 static PyObject *_wrap_ButtonData_client_set(PyObject *self, PyObject *args) {
3400 PyObject *resultobj;
3401 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3402 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3406 if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_client_set",&obj0,&obj1)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
3409 if (arg1) (arg1)->client = arg2;
3411 Py_INCREF(Py_None); resultobj = Py_None;
3418 static PyObject *_wrap_ButtonData_client_get(PyObject *self, PyObject *args) {
3419 PyObject *resultobj;
3420 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3421 ob::OBClient *result;
3422 PyObject * obj0 = 0 ;
3424 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_client_get",&obj0)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 result = (ob::OBClient *) ((arg1)->client);
3428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
3435 static PyObject *_wrap_ButtonData_time_set(PyObject *self, PyObject *args) {
3436 PyObject *resultobj;
3437 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3439 PyObject * obj0 = 0 ;
3440 PyObject * obj1 = 0 ;
3442 if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_time_set",&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3444 arg2 = (Time) PyInt_AsLong(obj1);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 if (arg1) (arg1)->time = arg2;
3448 Py_INCREF(Py_None); resultobj = Py_None;
3455 static PyObject *_wrap_ButtonData_time_get(PyObject *self, PyObject *args) {
3456 PyObject *resultobj;
3457 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3459 PyObject * obj0 = 0 ;
3461 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_time_get",&obj0)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3463 result = (Time) ((arg1)->time);
3465 resultobj = PyInt_FromLong((long)result);
3472 static PyObject *_wrap_ButtonData_state_set(PyObject *self, PyObject *args) {
3473 PyObject *resultobj;
3474 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3476 PyObject * obj0 = 0 ;
3477 PyObject * obj1 = 0 ;
3479 if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_state_set",&obj0,&obj1)) goto fail;
3480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3481 arg2 = (unsigned int) PyInt_AsLong(obj1);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 if (arg1) (arg1)->state = arg2;
3485 Py_INCREF(Py_None); resultobj = Py_None;
3492 static PyObject *_wrap_ButtonData_state_get(PyObject *self, PyObject *args) {
3493 PyObject *resultobj;
3494 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3495 unsigned int result;
3496 PyObject * obj0 = 0 ;
3498 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_state_get",&obj0)) goto fail;
3499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3500 result = (unsigned int) ((arg1)->state);
3502 resultobj = PyInt_FromLong((long)result);
3509 static PyObject *_wrap_ButtonData_button_set(PyObject *self, PyObject *args) {
3510 PyObject *resultobj;
3511 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3513 PyObject * obj0 = 0 ;
3514 PyObject * obj1 = 0 ;
3516 if(!PyArg_ParseTuple(args,(char *)"OO:ButtonData_button_set",&obj0,&obj1)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3518 arg2 = (unsigned int) PyInt_AsLong(obj1);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 if (arg1) (arg1)->button = arg2;
3522 Py_INCREF(Py_None); resultobj = Py_None;
3529 static PyObject *_wrap_ButtonData_button_get(PyObject *self, PyObject *args) {
3530 PyObject *resultobj;
3531 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3532 unsigned int result;
3533 PyObject * obj0 = 0 ;
3535 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_button_get",&obj0)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 result = (unsigned int) ((arg1)->button);
3539 resultobj = PyInt_FromLong((long)result);
3546 static PyObject *_wrap_ButtonData_context_set(PyObject *self, PyObject *args) {
3547 PyObject *resultobj;
3548 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3550 PyObject * obj0 = 0 ;
3552 if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_context_set",&obj0,&arg2)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3554 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
3556 Py_INCREF(Py_None); resultobj = Py_None;
3563 static PyObject *_wrap_ButtonData_context_get(PyObject *self, PyObject *args) {
3564 PyObject *resultobj;
3565 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3567 PyObject * obj0 = 0 ;
3569 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_context_get",&obj0)) goto fail;
3570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3571 result = (int) ((arg1)->context);
3573 resultobj = PyInt_FromLong((long)result);
3580 static PyObject *_wrap_ButtonData_action_set(PyObject *self, PyObject *args) {
3581 PyObject *resultobj;
3582 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3584 PyObject * obj0 = 0 ;
3586 if(!PyArg_ParseTuple(args,(char *)"Oi:ButtonData_action_set",&obj0,&arg2)) goto fail;
3587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3588 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
3590 Py_INCREF(Py_None); resultobj = Py_None;
3597 static PyObject *_wrap_ButtonData_action_get(PyObject *self, PyObject *args) {
3598 PyObject *resultobj;
3599 ob::ButtonData *arg1 = (ob::ButtonData *) 0 ;
3601 PyObject * obj0 = 0 ;
3603 if(!PyArg_ParseTuple(args,(char *)"O:ButtonData_action_get",&obj0)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__ButtonData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 result = (int) ((arg1)->action);
3607 resultobj = PyInt_FromLong((long)result);
3614 static PyObject *_wrap_new_ButtonData(PyObject *self, PyObject *args) {
3615 PyObject *resultobj;
3617 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3623 ob::ButtonData *result;
3624 PyObject * obj1 = 0 ;
3625 PyObject * obj2 = 0 ;
3626 PyObject * obj3 = 0 ;
3627 PyObject * obj4 = 0 ;
3629 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_ButtonData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
3630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3631 arg3 = (Time) PyInt_AsLong(obj2);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 arg4 = (unsigned int) PyInt_AsLong(obj3);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 arg5 = (unsigned int) PyInt_AsLong(obj4);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 result = (ob::ButtonData *)new ob::ButtonData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
3639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__ButtonData, 1);
3646 static PyObject * ButtonData_swigregister(PyObject *self, PyObject *args) {
3648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3649 SWIG_TypeClientData(SWIGTYPE_p_ob__ButtonData, obj);
3651 return Py_BuildValue((char *)"");
3653 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
3654 PyObject *resultobj;
3655 ob::EventData *arg1 = (ob::EventData *) 0 ;
3657 PyObject * obj0 = 0 ;
3659 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
3660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 if (arg1) (arg1)->screen = arg2;
3663 Py_INCREF(Py_None); resultobj = Py_None;
3670 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
3671 PyObject *resultobj;
3672 ob::EventData *arg1 = (ob::EventData *) 0 ;
3674 PyObject * obj0 = 0 ;
3676 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
3677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3678 result = (int) ((arg1)->screen);
3680 resultobj = PyInt_FromLong((long)result);
3687 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
3688 PyObject *resultobj;
3689 ob::EventData *arg1 = (ob::EventData *) 0 ;
3690 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3691 PyObject * obj0 = 0 ;
3692 PyObject * obj1 = 0 ;
3694 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
3695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
3697 if (arg1) (arg1)->client = arg2;
3699 Py_INCREF(Py_None); resultobj = Py_None;
3706 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
3707 PyObject *resultobj;
3708 ob::EventData *arg1 = (ob::EventData *) 0 ;
3709 ob::OBClient *result;
3710 PyObject * obj0 = 0 ;
3712 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
3713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3714 result = (ob::OBClient *) ((arg1)->client);
3716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
3723 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
3724 PyObject *resultobj;
3725 ob::EventData *arg1 = (ob::EventData *) 0 ;
3727 PyObject * obj0 = 0 ;
3728 PyObject * obj1 = 0 ;
3730 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3732 arg2 = (unsigned int) PyInt_AsLong(obj1);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 if (arg1) (arg1)->state = arg2;
3736 Py_INCREF(Py_None); resultobj = Py_None;
3743 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
3744 PyObject *resultobj;
3745 ob::EventData *arg1 = (ob::EventData *) 0 ;
3746 unsigned int result;
3747 PyObject * obj0 = 0 ;
3749 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
3750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3751 result = (unsigned int) ((arg1)->state);
3753 resultobj = PyInt_FromLong((long)result);
3760 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
3761 PyObject *resultobj;
3762 ob::EventData *arg1 = (ob::EventData *) 0 ;
3764 PyObject * obj0 = 0 ;
3766 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
3767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3768 if (arg1) (arg1)->action = (ob::EventAction )arg2;
3770 Py_INCREF(Py_None); resultobj = Py_None;
3777 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
3778 PyObject *resultobj;
3779 ob::EventData *arg1 = (ob::EventData *) 0 ;
3781 PyObject * obj0 = 0 ;
3783 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3785 result = (int) ((arg1)->action);
3787 resultobj = PyInt_FromLong((long)result);
3794 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
3795 PyObject *resultobj;
3797 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3800 ob::EventData *result;
3801 PyObject * obj1 = 0 ;
3802 PyObject * obj3 = 0 ;
3804 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
3805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3806 arg4 = (unsigned int) PyInt_AsLong(obj3);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
3810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
3817 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
3819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3820 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
3822 return Py_BuildValue((char *)"");
3824 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
3825 PyObject *resultobj;
3826 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3828 PyObject * obj0 = 0 ;
3830 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 if (arg1) (arg1)->screen = arg2;
3834 Py_INCREF(Py_None); resultobj = Py_None;
3841 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
3842 PyObject *resultobj;
3843 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3845 PyObject * obj0 = 0 ;
3847 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3849 result = (int) ((arg1)->screen);
3851 resultobj = PyInt_FromLong((long)result);
3858 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
3859 PyObject *resultobj;
3860 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3861 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3865 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
3868 if (arg1) (arg1)->client = arg2;
3870 Py_INCREF(Py_None); resultobj = Py_None;
3877 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
3878 PyObject *resultobj;
3879 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3880 ob::OBClient *result;
3881 PyObject * obj0 = 0 ;
3883 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
3884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3885 result = (ob::OBClient *) ((arg1)->client);
3887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
3894 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
3895 PyObject *resultobj;
3896 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3898 PyObject * obj0 = 0 ;
3899 PyObject * obj1 = 0 ;
3901 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
3902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3903 arg2 = (Time) PyInt_AsLong(obj1);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 if (arg1) (arg1)->time = arg2;
3907 Py_INCREF(Py_None); resultobj = Py_None;
3914 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
3915 PyObject *resultobj;
3916 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3918 PyObject * obj0 = 0 ;
3920 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
3921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3922 result = (Time) ((arg1)->time);
3924 resultobj = PyInt_FromLong((long)result);
3931 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
3932 PyObject *resultobj;
3933 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3938 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
3939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3940 arg2 = (unsigned int) PyInt_AsLong(obj1);
3941 if (PyErr_Occurred()) SWIG_fail;
3942 if (arg1) (arg1)->state = arg2;
3944 Py_INCREF(Py_None); resultobj = Py_None;
3951 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
3952 PyObject *resultobj;
3953 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3954 unsigned int result;
3955 PyObject * obj0 = 0 ;
3957 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3959 result = (unsigned int) ((arg1)->state);
3961 resultobj = PyInt_FromLong((long)result);
3968 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
3969 PyObject *resultobj;
3970 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3971 std::string *arg2 = (std::string *) 0 ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3975 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3978 if (arg1) (arg1)->key = *arg2;
3980 Py_INCREF(Py_None); resultobj = Py_None;
3987 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
3988 PyObject *resultobj;
3989 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3990 std::string *result;
3991 PyObject * obj0 = 0 ;
3993 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
3994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3995 result = (std::string *)& ((arg1)->key);
3997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
4004 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
4005 PyObject *resultobj;
4007 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
4011 ob::KeyData *result;
4012 PyObject * obj1 = 0 ;
4013 PyObject * obj2 = 0 ;
4014 PyObject * obj3 = 0 ;
4015 PyObject * obj4 = 0 ;
4017 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 arg3 = (Time) PyInt_AsLong(obj2);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 arg4 = (unsigned int) PyInt_AsLong(obj3);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 arg5 = (unsigned int) PyInt_AsLong(obj4);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
4027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
4034 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
4036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4037 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
4039 return Py_BuildValue((char *)"");
4041 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
4042 PyObject *resultobj;
4043 std::string *arg1 = 0 ;
4046 PyObject *arg4 = (PyObject *) 0 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj3 = 0 ;
4052 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
4054 if (PyString_Check(obj0)) {
4055 temp1 = std::string(PyString_AsString(obj0));
4058 SWIG_exception(SWIG_TypeError, "string expected");
4062 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
4071 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
4072 PyObject *resultobj;
4073 PyObject *arg1 = (PyObject *) 0 ;
4075 PyObject *arg3 = (PyObject *) 0 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj2 = 0 ;
4080 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
4083 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
4092 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
4093 PyObject *resultobj;
4095 PyObject *arg2 = (PyObject *) 0 ;
4097 PyObject * obj1 = 0 ;
4099 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
4101 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
4110 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
4111 PyObject *resultobj;
4112 std::string *arg1 = 0 ;
4114 PyObject * obj0 = 0 ;
4116 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
4118 if (PyString_Check(obj0)) {
4119 temp1 = std::string(PyString_AsString(obj0));
4122 SWIG_exception(SWIG_TypeError, "string expected");
4125 ob::set_reset_key((std::string const &)*arg1);
4127 Py_INCREF(Py_None); resultobj = Py_None;
4134 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
4135 PyObject *resultobj;
4140 long arg5 = (long) 0 ;
4141 long arg6 = (long) 0 ;
4142 long arg7 = (long) 0 ;
4143 long arg8 = (long) 0 ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj2 = 0 ;
4148 if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
4149 arg1 = (Window) PyInt_AsLong(obj0);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 arg3 = (Window) PyInt_AsLong(obj2);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4162 static PyMethodDef SwigMethods[] = {
4163 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
4164 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
4165 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
4166 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
4167 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
4168 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
4169 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
4170 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
4171 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
4172 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
4173 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
4174 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
4175 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
4176 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
4177 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
4178 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager, METH_VARARGS },
4179 { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
4180 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
4181 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
4182 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
4183 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
4184 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
4185 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
4186 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
4187 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
4188 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
4189 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
4190 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
4191 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
4192 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
4193 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
4194 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
4195 { (char *)"OBScreen_client", _wrap_OBScreen_client, METH_VARARGS },
4196 { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount, METH_VARARGS },
4197 { (char *)"OBScreen_number", _wrap_OBScreen_number, METH_VARARGS },
4198 { (char *)"OBScreen_managed", _wrap_OBScreen_managed, METH_VARARGS },
4199 { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl, METH_VARARGS },
4200 { (char *)"OBScreen_area", _wrap_OBScreen_area, METH_VARARGS },
4201 { (char *)"OBScreen_style", _wrap_OBScreen_style, METH_VARARGS },
4202 { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow, METH_VARARGS },
4203 { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop, METH_VARARGS },
4204 { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops, METH_VARARGS },
4205 { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut, METH_VARARGS },
4206 { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting, METH_VARARGS },
4207 { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow, METH_VARARGS },
4208 { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow, METH_VARARGS },
4209 { (char *)"OBScreen_restack", _wrap_OBScreen_restack, METH_VARARGS },
4210 { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName, METH_VARARGS },
4211 { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler, METH_VARARGS },
4212 { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler, METH_VARARGS },
4213 { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler, METH_VARARGS },
4214 { (char *)"OBScreen_swigregister", OBScreen_swigregister, METH_VARARGS },
4215 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
4216 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
4217 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
4218 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
4219 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
4220 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
4221 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
4222 { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set, METH_VARARGS },
4223 { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get, METH_VARARGS },
4224 { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set, METH_VARARGS },
4225 { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get, METH_VARARGS },
4226 { (char *)"OBClient_screen", _wrap_OBClient_screen, METH_VARARGS },
4227 { (char *)"OBClient_window", _wrap_OBClient_window, METH_VARARGS },
4228 { (char *)"OBClient_type", _wrap_OBClient_type, METH_VARARGS },
4229 { (char *)"OBClient_normal", _wrap_OBClient_normal, METH_VARARGS },
4230 { (char *)"OBClient_desktop", _wrap_OBClient_desktop, METH_VARARGS },
4231 { (char *)"OBClient_title", _wrap_OBClient_title, METH_VARARGS },
4232 { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle, METH_VARARGS },
4233 { (char *)"OBClient_appName", _wrap_OBClient_appName, METH_VARARGS },
4234 { (char *)"OBClient_appClass", _wrap_OBClient_appClass, METH_VARARGS },
4235 { (char *)"OBClient_role", _wrap_OBClient_role, METH_VARARGS },
4236 { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus, METH_VARARGS },
4237 { (char *)"OBClient_urgent", _wrap_OBClient_urgent, METH_VARARGS },
4238 { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify, METH_VARARGS },
4239 { (char *)"OBClient_shaped", _wrap_OBClient_shaped, METH_VARARGS },
4240 { (char *)"OBClient_gravity", _wrap_OBClient_gravity, METH_VARARGS },
4241 { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested, METH_VARARGS },
4242 { (char *)"OBClient_decorations", _wrap_OBClient_decorations, METH_VARARGS },
4243 { (char *)"OBClient_funtions", _wrap_OBClient_funtions, METH_VARARGS },
4244 { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor, METH_VARARGS },
4245 { (char *)"OBClient_modal", _wrap_OBClient_modal, METH_VARARGS },
4246 { (char *)"OBClient_shaded", _wrap_OBClient_shaded, METH_VARARGS },
4247 { (char *)"OBClient_iconic", _wrap_OBClient_iconic, METH_VARARGS },
4248 { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert, METH_VARARGS },
4249 { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz, METH_VARARGS },
4250 { (char *)"OBClient_layer", _wrap_OBClient_layer, METH_VARARGS },
4251 { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder, METH_VARARGS },
4252 { (char *)"OBClient_area", _wrap_OBClient_area, METH_VARARGS },
4253 { (char *)"OBClient_strut", _wrap_OBClient_strut, METH_VARARGS },
4254 { (char *)"OBClient_move", _wrap_OBClient_move, METH_VARARGS },
4255 { (char *)"OBClient_resize", _wrap_OBClient_resize, METH_VARARGS },
4256 { (char *)"OBClient_focus", _wrap_OBClient_focus, METH_VARARGS },
4257 { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus, METH_VARARGS },
4258 { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler, METH_VARARGS },
4259 { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler, METH_VARARGS },
4260 { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler, METH_VARARGS },
4261 { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler, METH_VARARGS },
4262 { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler, METH_VARARGS },
4263 { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler, METH_VARARGS },
4264 { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler, METH_VARARGS },
4265 { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler, METH_VARARGS },
4266 { (char *)"OBClient_swigregister", OBClient_swigregister, METH_VARARGS },
4267 { (char *)"MotionData_screen_set", _wrap_MotionData_screen_set, METH_VARARGS },
4268 { (char *)"MotionData_screen_get", _wrap_MotionData_screen_get, METH_VARARGS },
4269 { (char *)"MotionData_client_set", _wrap_MotionData_client_set, METH_VARARGS },
4270 { (char *)"MotionData_client_get", _wrap_MotionData_client_get, METH_VARARGS },
4271 { (char *)"MotionData_time_set", _wrap_MotionData_time_set, METH_VARARGS },
4272 { (char *)"MotionData_time_get", _wrap_MotionData_time_get, METH_VARARGS },
4273 { (char *)"MotionData_state_set", _wrap_MotionData_state_set, METH_VARARGS },
4274 { (char *)"MotionData_state_get", _wrap_MotionData_state_get, METH_VARARGS },
4275 { (char *)"MotionData_button_set", _wrap_MotionData_button_set, METH_VARARGS },
4276 { (char *)"MotionData_button_get", _wrap_MotionData_button_get, METH_VARARGS },
4277 { (char *)"MotionData_context_set", _wrap_MotionData_context_set, METH_VARARGS },
4278 { (char *)"MotionData_context_get", _wrap_MotionData_context_get, METH_VARARGS },
4279 { (char *)"MotionData_action_set", _wrap_MotionData_action_set, METH_VARARGS },
4280 { (char *)"MotionData_action_get", _wrap_MotionData_action_get, METH_VARARGS },
4281 { (char *)"MotionData_xroot_set", _wrap_MotionData_xroot_set, METH_VARARGS },
4282 { (char *)"MotionData_xroot_get", _wrap_MotionData_xroot_get, METH_VARARGS },
4283 { (char *)"MotionData_yroot_set", _wrap_MotionData_yroot_set, METH_VARARGS },
4284 { (char *)"MotionData_yroot_get", _wrap_MotionData_yroot_get, METH_VARARGS },
4285 { (char *)"MotionData_pressx_set", _wrap_MotionData_pressx_set, METH_VARARGS },
4286 { (char *)"MotionData_pressx_get", _wrap_MotionData_pressx_get, METH_VARARGS },
4287 { (char *)"MotionData_pressy_set", _wrap_MotionData_pressy_set, METH_VARARGS },
4288 { (char *)"MotionData_pressy_get", _wrap_MotionData_pressy_get, METH_VARARGS },
4289 { (char *)"MotionData_press_clientx_set", _wrap_MotionData_press_clientx_set, METH_VARARGS },
4290 { (char *)"MotionData_press_clientx_get", _wrap_MotionData_press_clientx_get, METH_VARARGS },
4291 { (char *)"MotionData_press_clienty_set", _wrap_MotionData_press_clienty_set, METH_VARARGS },
4292 { (char *)"MotionData_press_clienty_get", _wrap_MotionData_press_clienty_get, METH_VARARGS },
4293 { (char *)"MotionData_press_clientwidth_set", _wrap_MotionData_press_clientwidth_set, METH_VARARGS },
4294 { (char *)"MotionData_press_clientwidth_get", _wrap_MotionData_press_clientwidth_get, METH_VARARGS },
4295 { (char *)"MotionData_press_clientheight_set", _wrap_MotionData_press_clientheight_set, METH_VARARGS },
4296 { (char *)"MotionData_press_clientheight_get", _wrap_MotionData_press_clientheight_get, METH_VARARGS },
4297 { (char *)"new_MotionData", _wrap_new_MotionData, METH_VARARGS },
4298 { (char *)"MotionData_swigregister", MotionData_swigregister, METH_VARARGS },
4299 { (char *)"ButtonData_screen_set", _wrap_ButtonData_screen_set, METH_VARARGS },
4300 { (char *)"ButtonData_screen_get", _wrap_ButtonData_screen_get, METH_VARARGS },
4301 { (char *)"ButtonData_client_set", _wrap_ButtonData_client_set, METH_VARARGS },
4302 { (char *)"ButtonData_client_get", _wrap_ButtonData_client_get, METH_VARARGS },
4303 { (char *)"ButtonData_time_set", _wrap_ButtonData_time_set, METH_VARARGS },
4304 { (char *)"ButtonData_time_get", _wrap_ButtonData_time_get, METH_VARARGS },
4305 { (char *)"ButtonData_state_set", _wrap_ButtonData_state_set, METH_VARARGS },
4306 { (char *)"ButtonData_state_get", _wrap_ButtonData_state_get, METH_VARARGS },
4307 { (char *)"ButtonData_button_set", _wrap_ButtonData_button_set, METH_VARARGS },
4308 { (char *)"ButtonData_button_get", _wrap_ButtonData_button_get, METH_VARARGS },
4309 { (char *)"ButtonData_context_set", _wrap_ButtonData_context_set, METH_VARARGS },
4310 { (char *)"ButtonData_context_get", _wrap_ButtonData_context_get, METH_VARARGS },
4311 { (char *)"ButtonData_action_set", _wrap_ButtonData_action_set, METH_VARARGS },
4312 { (char *)"ButtonData_action_get", _wrap_ButtonData_action_get, METH_VARARGS },
4313 { (char *)"new_ButtonData", _wrap_new_ButtonData, METH_VARARGS },
4314 { (char *)"ButtonData_swigregister", ButtonData_swigregister, METH_VARARGS },
4315 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
4316 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
4317 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
4318 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
4319 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
4320 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
4321 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
4322 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
4323 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
4324 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
4325 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
4326 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
4327 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
4328 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
4329 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
4330 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
4331 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
4332 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
4333 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
4334 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
4335 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
4336 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
4337 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
4338 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
4339 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
4340 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
4341 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
4346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
4348 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) {
4349 return (void *)((otk::OtkEventHandler *) ((ob::OBActions *) x));
4351 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) {
4352 return (void *)((otk::OtkEventHandler *) ((ob::Openbox *) x));
4354 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) {
4355 return (void *)((otk::OtkEventHandler *) ((ob::OBScreen *) x));
4357 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) {
4358 return (void *)((otk::OtkEventHandler *) ((ob::OBClient *) x));
4360 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) {
4361 return (void *)((ob::OBWidget *) ((ob::OBScreen *) x));
4363 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) {
4364 return (void *)((ob::OBWidget *) ((ob::OBClient *) x));
4366 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) {
4367 return (void *)((otk::OtkEventDispatcher *) ((ob::Openbox *) x));
4369 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
4370 static swig_type_info _swigt__p_ob__OBActions[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
4371 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
4372 static swig_type_info _swigt__p_ob__OBScreen[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
4373 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
4374 static swig_type_info _swigt__p_ob__OBFrame[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
4375 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
4376 static swig_type_info _swigt__p_ob__MotionData[] = {{"_p_ob__MotionData", 0, "ob::MotionData *", 0},{"_p_ob__MotionData"},{0}};
4377 static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
4378 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
4379 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
4380 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
4381 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
4382 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
4383 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
4384 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}};
4385 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
4386 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
4387 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}};
4388 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
4389 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
4390 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
4391 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
4392 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}};
4393 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
4394 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
4395 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
4396 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
4397 static swig_type_info _swigt__p_ob__OBBindings[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
4398 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
4399 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
4400 static swig_type_info _swigt__p_ob__ButtonData[] = {{"_p_ob__ButtonData", 0, "ob::ButtonData *", 0},{"_p_ob__ButtonData"},{0}};
4402 static swig_type_info *swig_types_initial[] = {
4403 _swigt__p_otk__OBTimerQueueManager,
4404 _swigt__p_ob__OBActions,
4405 _swigt__p_ob__Cursors,
4406 _swigt__p_ob__OBScreen,
4407 _swigt__p_otk__Style,
4408 _swigt__p_ob__OBFrame,
4409 _swigt__p_XReparentEvent,
4410 _swigt__p_ob__MotionData,
4411 _swigt__p_ob__OBClient,
4412 _swigt__p_ob__Openbox,
4413 _swigt__p_otk__Strut,
4414 _swigt__p_ob__KeyData,
4415 _swigt__p_XMapRequestEvent,
4416 _swigt__p_XConfigureRequestEvent,
4417 _swigt__p_otk__Point,
4418 _swigt__p_otk__OtkEventHandler,
4419 _swigt__p_std__string,
4420 _swigt__p_otk__Rect,
4421 _swigt__p_ob__OBWidget,
4422 _swigt__p_XClientMessageEvent,
4423 _swigt__p_XFocusChangeEvent,
4424 _swigt__p_otk__OBProperty,
4425 _swigt__p_ob__EventData,
4426 _swigt__p_otk__OtkEventDispatcher,
4427 _swigt__p_XPropertyEvent,
4428 _swigt__p_XDestroyWindowEvent,
4429 _swigt__p_otk__BImageControl,
4431 _swigt__p_ob__OBBindings,
4432 _swigt__p_ob__MwmHints,
4433 _swigt__p_XUnmapEvent,
4434 _swigt__p_ob__ButtonData,
4439 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4441 static swig_const_info swig_const_table[] = {
4442 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
4443 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
4444 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
4445 { SWIG_PY_INT, (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask, 0, 0, 0},
4446 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
4447 { SWIG_PY_INT, (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon, 0, 0, 0},
4448 { SWIG_PY_INT, (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop, 0, 0, 0},
4449 { SWIG_PY_INT, (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below, 0, 0, 0},
4450 { SWIG_PY_INT, (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal, 0, 0, 0},
4451 { SWIG_PY_INT, (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above, 0, 0, 0},
4452 { SWIG_PY_INT, (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top, 0, 0, 0},
4453 { SWIG_PY_INT, (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen, 0, 0, 0},
4454 { SWIG_PY_INT, (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal, 0, 0, 0},
4455 { SWIG_PY_INT, (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS, 0, 0, 0},
4456 { SWIG_PY_INT, (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft, 0, 0, 0},
4457 { SWIG_PY_INT, (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight, 0, 0, 0},
4458 { SWIG_PY_INT, (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft, 0, 0, 0},
4459 { SWIG_PY_INT, (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight, 0, 0, 0},
4460 { SWIG_PY_INT, (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop, 0, 0, 0},
4461 { SWIG_PY_INT, (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock, 0, 0, 0},
4462 { SWIG_PY_INT, (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar, 0, 0, 0},
4463 { SWIG_PY_INT, (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu, 0, 0, 0},
4464 { SWIG_PY_INT, (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility, 0, 0, 0},
4465 { SWIG_PY_INT, (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash, 0, 0, 0},
4466 { SWIG_PY_INT, (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog, 0, 0, 0},
4467 { SWIG_PY_INT, (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal, 0, 0, 0},
4468 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions, 0, 0, 0},
4469 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations, 0, 0, 0},
4470 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All, 0, 0, 0},
4471 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize, 0, 0, 0},
4472 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move, 0, 0, 0},
4473 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify, 0, 0, 0},
4474 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize, 0, 0, 0},
4475 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All, 0, 0, 0},
4476 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border, 0, 0, 0},
4477 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle, 0, 0, 0},
4478 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title, 0, 0, 0},
4479 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify, 0, 0, 0},
4480 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize, 0, 0, 0},
4481 { SWIG_PY_INT, (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize, 0, 0, 0},
4482 { SWIG_PY_INT, (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move, 0, 0, 0},
4483 { SWIG_PY_INT, (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify, 0, 0, 0},
4484 { SWIG_PY_INT, (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize, 0, 0, 0},
4485 { SWIG_PY_INT, (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close, 0, 0, 0},
4486 { SWIG_PY_INT, (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar, 0, 0, 0},
4487 { SWIG_PY_INT, (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle, 0, 0, 0},
4488 { SWIG_PY_INT, (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border, 0, 0, 0},
4489 { SWIG_PY_INT, (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify, 0, 0, 0},
4490 { SWIG_PY_INT, (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize, 0, 0, 0},
4491 { SWIG_PY_INT, (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky, 0, 0, 0},
4492 { SWIG_PY_INT, (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close, 0, 0, 0},
4493 { SWIG_PY_INT, (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove, 0, 0, 0},
4494 { SWIG_PY_INT, (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add, 0, 0, 0},
4495 { SWIG_PY_INT, (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle, 0, 0, 0},
4496 { SWIG_PY_INT, (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask, 0, 0, 0},
4497 { SWIG_PY_INT, (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask, 0, 0, 0},
4498 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
4499 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
4500 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
4501 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
4502 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
4503 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
4504 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
4505 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
4506 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
4507 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
4508 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
4509 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
4510 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
4511 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
4512 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
4513 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
4514 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
4515 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
4516 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
4517 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
4518 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
4519 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
4520 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
4521 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
4522 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
4523 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
4524 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
4525 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
4526 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
4527 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
4528 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
4529 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
4530 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
4531 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
4532 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
4533 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
4534 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
4535 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
4536 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
4537 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
4538 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
4539 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
4540 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
4541 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
4542 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
4543 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
4544 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
4545 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
4546 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
4547 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
4548 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
4549 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
4550 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
4551 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
4552 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
4553 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
4554 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
4555 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
4556 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
4557 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
4558 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
4559 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
4560 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
4561 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
4562 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
4563 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
4564 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
4565 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
4566 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
4567 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
4568 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
4569 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
4570 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
4571 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
4572 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
4573 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
4574 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
4575 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
4576 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
4577 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
4578 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
4579 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
4580 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
4581 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
4582 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
4583 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
4584 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
4585 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
4586 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
4587 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
4588 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
4589 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
4590 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
4591 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
4592 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
4593 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
4594 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
4595 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
4596 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
4597 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
4598 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
4599 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
4600 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
4601 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
4602 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
4603 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
4604 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
4605 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
4606 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
4607 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
4608 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
4609 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
4610 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
4611 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
4612 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
4613 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
4614 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
4615 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
4616 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
4617 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
4618 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
4619 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
4620 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
4621 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
4622 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
4623 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
4624 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
4625 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
4626 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
4627 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
4628 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
4629 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
4630 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
4631 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
4632 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
4633 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
4634 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
4635 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
4636 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
4637 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
4638 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
4639 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
4640 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
4641 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
4642 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
4643 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
4644 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
4645 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
4646 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
4647 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
4648 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
4649 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
4650 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
4651 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
4652 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
4653 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
4654 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
4655 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
4656 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
4657 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
4658 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
4659 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
4660 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
4661 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
4662 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
4663 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
4664 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
4665 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
4666 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
4667 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
4668 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
4669 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
4670 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
4671 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
4672 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
4673 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
4674 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
4675 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
4676 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
4677 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
4678 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
4679 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
4680 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
4681 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
4682 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
4683 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
4684 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
4685 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
4686 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
4687 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
4688 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
4689 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
4690 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
4691 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
4692 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
4693 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
4694 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
4695 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
4696 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
4697 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
4698 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
4699 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
4700 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
4701 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
4702 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
4703 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
4704 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
4705 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
4706 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
4707 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
4708 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
4709 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
4710 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
4711 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
4712 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
4713 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
4714 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
4715 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
4716 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
4717 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
4718 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
4719 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
4720 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
4721 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
4722 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
4723 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
4724 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
4725 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
4726 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
4727 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
4728 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
4729 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
4730 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
4731 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
4732 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
4733 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
4734 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
4735 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
4736 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
4737 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
4738 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
4739 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
4740 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
4741 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
4742 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
4743 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
4744 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
4745 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
4746 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
4747 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
4748 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
4749 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
4750 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
4751 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
4752 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
4753 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
4754 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
4755 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
4756 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
4757 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
4758 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
4759 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
4760 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
4761 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
4762 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
4763 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
4764 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
4765 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
4766 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
4767 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
4768 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
4769 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
4770 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
4771 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
4772 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
4773 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
4774 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
4775 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
4776 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
4777 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
4778 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
4779 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
4780 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
4781 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
4782 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
4783 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
4784 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
4785 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
4786 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
4787 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
4788 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
4789 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
4790 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
4791 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
4792 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
4793 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
4794 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
4795 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
4796 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
4797 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
4798 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
4799 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
4800 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
4801 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
4802 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
4803 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
4804 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
4805 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
4806 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
4807 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
4808 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
4809 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
4810 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
4811 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
4812 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
4813 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
4814 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
4815 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
4816 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
4817 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
4818 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
4819 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
4820 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
4821 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
4822 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
4823 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
4824 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
4825 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
4826 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
4827 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
4828 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
4829 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
4830 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
4831 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
4832 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
4833 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
4834 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
4835 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
4836 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
4837 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
4838 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
4839 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
4840 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
4841 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
4842 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
4843 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
4844 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
4845 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
4846 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
4847 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
4848 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
4849 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
4850 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
4851 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
4852 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
4853 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
4854 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
4855 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
4856 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
4857 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
4858 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
4859 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
4860 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
4861 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
4862 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
4863 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
4864 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
4865 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
4866 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
4867 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
4868 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
4869 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
4870 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
4880 SWIGEXPORT(void) SWIG_init(void) {
4881 static PyObject *SWIG_globals = 0;
4882 static int typeinit = 0;
4885 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
4886 m = Py_InitModule((char *) SWIG_name, SwigMethods);
4887 d = PyModule_GetDict(m);
4890 for (i = 0; swig_types_initial[i]; i++) {
4891 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
4895 SWIG_InstallConstants(d,swig_const_table);