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__MouseData 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 static swig_type_info *swig_types[32];
681 /* -------- TYPES TABLE (END) -------- */
684 /*-----------------------------------------------
685 @(target):= _openbox.so
686 ------------------------------------------------*/
687 #define SWIG_init init_openbox
689 #define SWIG_name "_openbox"
692 # include "../config.h"
695 #include "openbox.hh"
698 #include "bindings.hh"
699 #include "actions.hh"
701 #include "otk/otk.hh"
704 #define SWIG_MemoryError 1
705 #define SWIG_IOError 2
706 #define SWIG_RuntimeError 3
707 #define SWIG_IndexError 4
708 #define SWIG_TypeError 5
709 #define SWIG_DivisionByZero 6
710 #define SWIG_OverflowError 7
711 #define SWIG_SyntaxError 8
712 #define SWIG_ValueError 9
713 #define SWIG_SystemError 10
714 #define SWIG_UnknownError 99
717 static void _SWIG_exception(int code, const char *msg) {
719 case SWIG_MemoryError:
720 PyErr_SetString(PyExc_MemoryError,msg);
723 PyErr_SetString(PyExc_IOError,msg);
725 case SWIG_RuntimeError:
726 PyErr_SetString(PyExc_RuntimeError,msg);
728 case SWIG_IndexError:
729 PyErr_SetString(PyExc_IndexError,msg);
732 PyErr_SetString(PyExc_TypeError,msg);
734 case SWIG_DivisionByZero:
735 PyErr_SetString(PyExc_ZeroDivisionError,msg);
737 case SWIG_OverflowError:
738 PyErr_SetString(PyExc_OverflowError,msg);
740 case SWIG_SyntaxError:
741 PyErr_SetString(PyExc_SyntaxError,msg);
743 case SWIG_ValueError:
744 PyErr_SetString(PyExc_ValueError,msg);
746 case SWIG_SystemError:
747 PyErr_SetString(PyExc_SystemError,msg);
750 PyErr_SetString(PyExc_RuntimeError,msg);
755 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
763 static PyObject* SwigInt_FromBool(bool b) {
764 return PyInt_FromLong(b ? 1L : 0L);
766 static double SwigNumber_Check(PyObject* o) {
767 return PyFloat_Check(o) || PyInt_Check(o);
769 static double SwigNumber_AsDouble(PyObject* o) {
770 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
772 static PyObject* SwigString_FromString(const std::string& s) {
773 return PyString_FromString(s.c_str());
775 static std::string SwigString_AsString(PyObject* o) {
776 return std::string(PyString_AsString(o));
785 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
789 void python_callback(PyObject *func, MouseData *data)
794 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
795 SWIGTYPE_p_ob__MouseData,
799 result = PyEval_CallObject(func, arglist);
800 if (!result || PyErr_Occurred()) {
801 // an exception occured in the script, display it
809 void python_callback(PyObject *func, EventData *data)
814 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
815 SWIGTYPE_p_ob__EventData,
819 result = PyEval_CallObject(func, arglist);
820 if (!result || PyErr_Occurred()) {
821 // an exception occured in the script, display it
829 void python_callback(PyObject *func, KeyData *data)
834 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
835 SWIGTYPE_p_ob__KeyData,
839 result = PyEval_CallObject(func, arglist);
840 if (!result || PyErr_Occurred()) {
841 // an exception occured in the script, display it
854 ob::OBClient *ob_OBScreen_client(ob::OBScreen *self,int i){
855 if (i >= (int)self->clients.size())
857 ob::OBClient::List::iterator it = self->clients.begin();
861 int ob_OBScreen_clientCount(ob::OBScreen const *self){
862 return (int) self->clients.size();
867 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
871 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
872 result = (ob::Openbox *)Openbox_instance();
874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
881 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
883 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
885 PyObject * obj0 = 0 ;
886 PyObject * obj1 = 0 ;
888 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
890 arg2 = (Cursor) PyInt_AsLong(obj1);
891 if (PyErr_Occurred()) SWIG_fail;
892 if (arg1) (arg1)->session = arg2;
894 Py_INCREF(Py_None); resultobj = Py_None;
901 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
903 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
905 PyObject * obj0 = 0 ;
907 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
909 result = (Cursor) ((arg1)->session);
911 resultobj = PyInt_FromLong((long)result);
918 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
920 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
922 PyObject * obj0 = 0 ;
923 PyObject * obj1 = 0 ;
925 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
927 arg2 = (Cursor) PyInt_AsLong(obj1);
928 if (PyErr_Occurred()) SWIG_fail;
929 if (arg1) (arg1)->move = arg2;
931 Py_INCREF(Py_None); resultobj = Py_None;
938 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
940 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
942 PyObject * obj0 = 0 ;
944 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
946 result = (Cursor) ((arg1)->move);
948 resultobj = PyInt_FromLong((long)result);
955 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
957 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
959 PyObject * obj0 = 0 ;
960 PyObject * obj1 = 0 ;
962 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
964 arg2 = (Cursor) PyInt_AsLong(obj1);
965 if (PyErr_Occurred()) SWIG_fail;
966 if (arg1) (arg1)->ll_angle = arg2;
968 Py_INCREF(Py_None); resultobj = Py_None;
975 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
977 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
979 PyObject * obj0 = 0 ;
981 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
983 result = (Cursor) ((arg1)->ll_angle);
985 resultobj = PyInt_FromLong((long)result);
992 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
994 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
996 PyObject * obj0 = 0 ;
997 PyObject * obj1 = 0 ;
999 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
1000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1001 arg2 = (Cursor) PyInt_AsLong(obj1);
1002 if (PyErr_Occurred()) SWIG_fail;
1003 if (arg1) (arg1)->lr_angle = arg2;
1005 Py_INCREF(Py_None); resultobj = Py_None;
1012 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
1013 PyObject *resultobj;
1014 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1016 PyObject * obj0 = 0 ;
1018 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
1019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1020 result = (Cursor) ((arg1)->lr_angle);
1022 resultobj = PyInt_FromLong((long)result);
1029 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
1030 PyObject *resultobj;
1031 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1033 PyObject * obj0 = 0 ;
1034 PyObject * obj1 = 0 ;
1036 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
1037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1038 arg2 = (Cursor) PyInt_AsLong(obj1);
1039 if (PyErr_Occurred()) SWIG_fail;
1040 if (arg1) (arg1)->ul_angle = arg2;
1042 Py_INCREF(Py_None); resultobj = Py_None;
1049 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
1050 PyObject *resultobj;
1051 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1053 PyObject * obj0 = 0 ;
1055 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
1056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1057 result = (Cursor) ((arg1)->ul_angle);
1059 resultobj = PyInt_FromLong((long)result);
1066 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
1067 PyObject *resultobj;
1068 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1070 PyObject * obj0 = 0 ;
1071 PyObject * obj1 = 0 ;
1073 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
1074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1075 arg2 = (Cursor) PyInt_AsLong(obj1);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 if (arg1) (arg1)->ur_angle = arg2;
1079 Py_INCREF(Py_None); resultobj = Py_None;
1086 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
1087 PyObject *resultobj;
1088 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
1090 PyObject * obj0 = 0 ;
1092 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
1093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1094 result = (Cursor) ((arg1)->ur_angle);
1096 resultobj = PyInt_FromLong((long)result);
1103 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
1105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1106 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
1108 return Py_BuildValue((char *)"");
1110 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
1111 PyObject *resultobj;
1112 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1114 PyObject * obj0 = 0 ;
1116 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
1117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1118 result = (int)((ob::Openbox const *)arg1)->state();
1120 resultobj = PyInt_FromLong((long)result);
1127 static PyObject *_wrap_Openbox_timerManager(PyObject *self, PyObject *args) {
1128 PyObject *resultobj;
1129 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1130 otk::OBTimerQueueManager *result;
1131 PyObject * obj0 = 0 ;
1133 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_timerManager",&obj0)) goto fail;
1134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1135 result = (otk::OBTimerQueueManager *)(arg1)->timerManager();
1137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 0);
1144 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
1145 PyObject *resultobj;
1146 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1147 otk::OBProperty *result;
1148 PyObject * obj0 = 0 ;
1150 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1152 result = (otk::OBProperty *)((ob::Openbox const *)arg1)->property();
1154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 0);
1161 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
1162 PyObject *resultobj;
1163 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1164 ob::OBActions *result;
1165 PyObject * obj0 = 0 ;
1167 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
1168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1169 result = (ob::OBActions *)((ob::Openbox const *)arg1)->actions();
1171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBActions, 0);
1178 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
1179 PyObject *resultobj;
1180 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1181 ob::OBBindings *result;
1182 PyObject * obj0 = 0 ;
1184 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
1185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1186 result = (ob::OBBindings *)((ob::Openbox const *)arg1)->bindings();
1188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBBindings, 0);
1195 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
1196 PyObject *resultobj;
1197 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1199 ob::OBScreen *result;
1200 PyObject * obj0 = 0 ;
1202 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1204 result = (ob::OBScreen *)(arg1)->screen(arg2);
1206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
1213 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
1214 PyObject *resultobj;
1215 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1217 PyObject * obj0 = 0 ;
1219 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
1220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1221 result = (int)((ob::Openbox const *)arg1)->screenCount();
1223 resultobj = PyInt_FromLong((long)result);
1230 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
1231 PyObject *resultobj;
1232 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1233 ob::Cursors *result;
1234 PyObject * obj0 = 0 ;
1236 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
1237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1239 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
1240 result = (ob::Cursors *) &_result_ref;
1243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
1250 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
1251 PyObject *resultobj;
1252 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1254 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
1255 PyObject * obj0 = 0 ;
1256 PyObject * obj1 = 0 ;
1257 PyObject * obj2 = 0 ;
1259 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
1260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1261 arg2 = (Window) PyInt_AsLong(obj1);
1262 if (PyErr_Occurred()) SWIG_fail;
1263 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1264 (arg1)->addClient(arg2,arg3);
1266 Py_INCREF(Py_None); resultobj = Py_None;
1273 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
1274 PyObject *resultobj;
1275 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1277 PyObject * obj0 = 0 ;
1278 PyObject * obj1 = 0 ;
1280 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) 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 (arg1)->removeClient(arg2);
1286 Py_INCREF(Py_None); resultobj = Py_None;
1293 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
1294 PyObject *resultobj;
1295 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1297 ob::OBClient *result;
1298 PyObject * obj0 = 0 ;
1299 PyObject * obj1 = 0 ;
1301 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&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 result = (ob::OBClient *)(arg1)->findClient(arg2);
1307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1314 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
1315 PyObject *resultobj;
1316 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1317 ob::OBClient *result;
1318 PyObject * obj0 = 0 ;
1320 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
1321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1322 result = (ob::OBClient *)(arg1)->focusedClient();
1324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1331 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
1332 PyObject *resultobj;
1333 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1334 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
1335 PyObject * obj0 = 0 ;
1336 PyObject * obj1 = 0 ;
1338 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
1339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1341 (arg1)->setFocusedClient(arg2);
1343 Py_INCREF(Py_None); resultobj = Py_None;
1350 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
1351 PyObject *resultobj;
1352 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1353 ob::OBScreen *result;
1354 PyObject * obj0 = 0 ;
1356 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
1357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1358 result = (ob::OBScreen *)(arg1)->focusedScreen();
1360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
1367 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
1368 PyObject *resultobj;
1369 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1370 PyObject * obj0 = 0 ;
1372 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
1373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1376 Py_INCREF(Py_None); resultobj = Py_None;
1383 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
1384 PyObject *resultobj;
1385 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1386 std::string const &arg2_defvalue = "" ;
1387 std::string *arg2 = (std::string *) &arg2_defvalue ;
1389 PyObject * obj0 = 0 ;
1390 PyObject * obj1 = 0 ;
1392 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1396 if (PyString_Check(obj1)) {
1397 temp2 = std::string(PyString_AsString(obj1));
1400 SWIG_exception(SWIG_TypeError, "string expected");
1404 (arg1)->restart((std::string const &)*arg2);
1406 Py_INCREF(Py_None); resultobj = Py_None;
1413 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
1414 PyObject *resultobj;
1415 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
1417 std::string *arg3 = 0 ;
1419 PyObject * obj0 = 0 ;
1420 PyObject * obj2 = 0 ;
1422 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if (PyString_Check(obj2)) {
1426 temp3 = std::string(PyString_AsString(obj2));
1429 SWIG_exception(SWIG_TypeError, "string expected");
1432 (arg1)->execute(arg2,(std::string const &)*arg3);
1434 Py_INCREF(Py_None); resultobj = Py_None;
1441 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
1443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1444 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
1446 return Py_BuildValue((char *)"");
1448 static PyObject *_wrap_OBScreen_client(PyObject *self, PyObject *args) {
1449 PyObject *resultobj;
1450 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1452 ob::OBClient *result;
1453 PyObject * obj0 = 0 ;
1455 if(!PyArg_ParseTuple(args,(char *)"Oi:OBScreen_client",&obj0,&arg2)) goto fail;
1456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1457 result = (ob::OBClient *)ob_OBScreen_client(arg1,arg2);
1459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
1466 static PyObject *_wrap_OBScreen_clientCount(PyObject *self, PyObject *args) {
1467 PyObject *resultobj;
1468 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1470 PyObject * obj0 = 0 ;
1472 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_clientCount",&obj0)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 result = (int)ob_OBScreen_clientCount((ob::OBScreen const *)arg1);
1476 resultobj = PyInt_FromLong((long)result);
1483 static PyObject *_wrap_OBScreen_number(PyObject *self, PyObject *args) {
1484 PyObject *resultobj;
1485 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1487 PyObject * obj0 = 0 ;
1489 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_number",&obj0)) goto fail;
1490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1491 result = (int)((ob::OBScreen const *)arg1)->number();
1493 resultobj = PyInt_FromLong((long)result);
1500 static PyObject *_wrap_OBScreen_managed(PyObject *self, PyObject *args) {
1501 PyObject *resultobj;
1502 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1504 PyObject * obj0 = 0 ;
1506 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_managed",&obj0)) goto fail;
1507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1508 result = (bool)((ob::OBScreen const *)arg1)->managed();
1510 resultobj = PyInt_FromLong((long)result);
1517 static PyObject *_wrap_OBScreen_imageControl(PyObject *self, PyObject *args) {
1518 PyObject *resultobj;
1519 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1520 otk::BImageControl *result;
1521 PyObject * obj0 = 0 ;
1523 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_imageControl",&obj0)) goto fail;
1524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1525 result = (otk::BImageControl *)(arg1)->imageControl();
1527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
1534 static PyObject *_wrap_OBScreen_area(PyObject *self, PyObject *args) {
1535 PyObject *resultobj;
1536 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1538 PyObject * obj0 = 0 ;
1540 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_area",&obj0)) goto fail;
1541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 otk::Rect const &_result_ref = ((ob::OBScreen const *)arg1)->area();
1544 result = (otk::Rect *) &_result_ref;
1547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
1554 static PyObject *_wrap_OBScreen_style(PyObject *self, PyObject *args) {
1555 PyObject *resultobj;
1556 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1558 PyObject * obj0 = 0 ;
1560 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_style",&obj0)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 result = (otk::Style *)((ob::OBScreen const *)arg1)->style();
1564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
1571 static PyObject *_wrap_OBScreen_focuswindow(PyObject *self, PyObject *args) {
1572 PyObject *resultobj;
1573 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1575 PyObject * obj0 = 0 ;
1577 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_focuswindow",&obj0)) goto fail;
1578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1579 result = (Window)((ob::OBScreen const *)arg1)->focuswindow();
1581 resultobj = PyInt_FromLong((long)result);
1588 static PyObject *_wrap_OBScreen_desktop(PyObject *self, PyObject *args) {
1589 PyObject *resultobj;
1590 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1592 PyObject * obj0 = 0 ;
1594 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_desktop",&obj0)) goto fail;
1595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 result = (long)((ob::OBScreen const *)arg1)->desktop();
1598 resultobj = PyInt_FromLong((long)result);
1605 static PyObject *_wrap_OBScreen_numDesktops(PyObject *self, PyObject *args) {
1606 PyObject *resultobj;
1607 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1609 PyObject * obj0 = 0 ;
1611 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_numDesktops",&obj0)) goto fail;
1612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1613 result = (long)((ob::OBScreen const *)arg1)->numDesktops();
1615 resultobj = PyInt_FromLong((long)result);
1622 static PyObject *_wrap_OBScreen_updateStrut(PyObject *self, PyObject *args) {
1623 PyObject *resultobj;
1624 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1625 PyObject * obj0 = 0 ;
1627 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_updateStrut",&obj0)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 (arg1)->updateStrut();
1631 Py_INCREF(Py_None); resultobj = Py_None;
1638 static PyObject *_wrap_OBScreen_manageExisting(PyObject *self, PyObject *args) {
1639 PyObject *resultobj;
1640 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1641 PyObject * obj0 = 0 ;
1643 if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_manageExisting",&obj0)) goto fail;
1644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1645 (arg1)->manageExisting();
1647 Py_INCREF(Py_None); resultobj = Py_None;
1654 static PyObject *_wrap_OBScreen_manageWindow(PyObject *self, PyObject *args) {
1655 PyObject *resultobj;
1656 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1658 PyObject * obj0 = 0 ;
1659 PyObject * obj1 = 0 ;
1661 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_manageWindow",&obj0,&obj1)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1663 arg2 = (Window) PyInt_AsLong(obj1);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 (arg1)->manageWindow(arg2);
1667 Py_INCREF(Py_None); resultobj = Py_None;
1674 static PyObject *_wrap_OBScreen_unmanageWindow(PyObject *self, PyObject *args) {
1675 PyObject *resultobj;
1676 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1677 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
1678 PyObject * obj0 = 0 ;
1679 PyObject * obj1 = 0 ;
1681 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_unmanageWindow",&obj0,&obj1)) goto fail;
1682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1684 (arg1)->unmanageWindow(arg2);
1686 Py_INCREF(Py_None); resultobj = Py_None;
1693 static PyObject *_wrap_OBScreen_restack(PyObject *self, PyObject *args) {
1694 PyObject *resultobj;
1695 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1697 ob::OBClient *arg3 = (ob::OBClient *) 0 ;
1698 PyObject * obj0 = 0 ;
1699 PyObject * obj1 = 0 ;
1700 PyObject * obj2 = 0 ;
1702 if(!PyArg_ParseTuple(args,(char *)"OOO:OBScreen_restack",&obj0,&obj1,&obj2)) goto fail;
1703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1704 arg2 = (bool) PyInt_AsLong(obj1);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 (arg1)->restack(arg2,arg3);
1709 Py_INCREF(Py_None); resultobj = Py_None;
1716 static PyObject *_wrap_OBScreen_setDesktopName(PyObject *self, PyObject *args) {
1717 PyObject *resultobj;
1718 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1720 std::string *arg3 = 0 ;
1722 PyObject * obj0 = 0 ;
1723 PyObject * obj2 = 0 ;
1725 if(!PyArg_ParseTuple(args,(char *)"OlO:OBScreen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
1726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 if (PyString_Check(obj2)) {
1729 temp3 = std::string(PyString_AsString(obj2));
1732 SWIG_exception(SWIG_TypeError, "string expected");
1735 (arg1)->setDesktopName(arg2,(std::string const &)*arg3);
1737 Py_INCREF(Py_None); resultobj = Py_None;
1744 static PyObject *_wrap_OBScreen_propertyHandler(PyObject *self, PyObject *args) {
1745 PyObject *resultobj;
1746 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1747 XPropertyEvent *arg2 = 0 ;
1748 PyObject * obj0 = 0 ;
1749 PyObject * obj1 = 0 ;
1751 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_propertyHandler",&obj0,&obj1)) goto fail;
1752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1757 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1759 Py_INCREF(Py_None); resultobj = Py_None;
1766 static PyObject *_wrap_OBScreen_clientMessageHandler(PyObject *self, PyObject *args) {
1767 PyObject *resultobj;
1768 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1769 XClientMessageEvent *arg2 = 0 ;
1770 PyObject * obj0 = 0 ;
1771 PyObject * obj1 = 0 ;
1773 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_clientMessageHandler",&obj0,&obj1)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1779 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1781 Py_INCREF(Py_None); resultobj = Py_None;
1788 static PyObject *_wrap_OBScreen_mapRequestHandler(PyObject *self, PyObject *args) {
1789 PyObject *resultobj;
1790 ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
1791 XMapRequestEvent *arg2 = 0 ;
1792 PyObject * obj0 = 0 ;
1793 PyObject * obj1 = 0 ;
1795 if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_mapRequestHandler",&obj0,&obj1)) goto fail;
1796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1801 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1803 Py_INCREF(Py_None); resultobj = Py_None;
1810 static PyObject * OBScreen_swigregister(PyObject *self, PyObject *args) {
1812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1813 SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen, obj);
1815 return Py_BuildValue((char *)"");
1817 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
1818 PyObject *resultobj;
1819 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1820 unsigned long arg2 ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1824 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1826 arg2 = (unsigned long) PyInt_AsLong(obj1);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 if (arg1) (arg1)->flags = arg2;
1830 Py_INCREF(Py_None); resultobj = Py_None;
1837 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
1838 PyObject *resultobj;
1839 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1840 unsigned long result;
1841 PyObject * obj0 = 0 ;
1843 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1845 result = (unsigned long) ((arg1)->flags);
1847 resultobj = PyInt_FromLong((long)result);
1854 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
1855 PyObject *resultobj;
1856 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1857 unsigned long arg2 ;
1858 PyObject * obj0 = 0 ;
1859 PyObject * obj1 = 0 ;
1861 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
1862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1863 arg2 = (unsigned long) PyInt_AsLong(obj1);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 if (arg1) (arg1)->functions = arg2;
1867 Py_INCREF(Py_None); resultobj = Py_None;
1874 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
1875 PyObject *resultobj;
1876 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1877 unsigned long result;
1878 PyObject * obj0 = 0 ;
1880 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
1881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1882 result = (unsigned long) ((arg1)->functions);
1884 resultobj = PyInt_FromLong((long)result);
1891 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
1892 PyObject *resultobj;
1893 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1894 unsigned long arg2 ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1898 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1900 arg2 = (unsigned long) PyInt_AsLong(obj1);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 if (arg1) (arg1)->decorations = arg2;
1904 Py_INCREF(Py_None); resultobj = Py_None;
1911 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
1912 PyObject *resultobj;
1913 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
1914 unsigned long result;
1915 PyObject * obj0 = 0 ;
1917 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
1918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1919 result = (unsigned long) ((arg1)->decorations);
1921 resultobj = PyInt_FromLong((long)result);
1928 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
1930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1931 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
1933 return Py_BuildValue((char *)"");
1935 static PyObject *_wrap_OBClient_frame_set(PyObject *self, PyObject *args) {
1936 PyObject *resultobj;
1937 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1938 ob::OBFrame *arg2 = (ob::OBFrame *) 0 ;
1939 PyObject * obj0 = 0 ;
1940 PyObject * obj1 = 0 ;
1942 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_frame_set",&obj0,&obj1)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBFrame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
1945 if (arg1) (arg1)->frame = arg2;
1947 Py_INCREF(Py_None); resultobj = Py_None;
1954 static PyObject *_wrap_OBClient_frame_get(PyObject *self, PyObject *args) {
1955 PyObject *resultobj;
1956 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1957 ob::OBFrame *result;
1958 PyObject * obj0 = 0 ;
1960 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_frame_get",&obj0)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 result = (ob::OBFrame *) ((arg1)->frame);
1964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBFrame, 0);
1971 static PyObject *_wrap_OBClient_ignore_unmaps_set(PyObject *self, PyObject *args) {
1972 PyObject *resultobj;
1973 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1975 PyObject * obj0 = 0 ;
1977 if(!PyArg_ParseTuple(args,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0,&arg2)) goto fail;
1978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1979 if (arg1) (arg1)->ignore_unmaps = arg2;
1981 Py_INCREF(Py_None); resultobj = Py_None;
1988 static PyObject *_wrap_OBClient_ignore_unmaps_get(PyObject *self, PyObject *args) {
1989 PyObject *resultobj;
1990 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
1992 PyObject * obj0 = 0 ;
1994 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_ignore_unmaps_get",&obj0)) goto fail;
1995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 result = (int) ((arg1)->ignore_unmaps);
1998 resultobj = PyInt_FromLong((long)result);
2005 static PyObject *_wrap_OBClient_screen(PyObject *self, PyObject *args) {
2006 PyObject *resultobj;
2007 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2009 PyObject * obj0 = 0 ;
2011 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_screen",&obj0)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 result = (int)((ob::OBClient const *)arg1)->screen();
2015 resultobj = PyInt_FromLong((long)result);
2022 static PyObject *_wrap_OBClient_window(PyObject *self, PyObject *args) {
2023 PyObject *resultobj;
2024 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2026 PyObject * obj0 = 0 ;
2028 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_window",&obj0)) goto fail;
2029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2030 result = (Window)((ob::OBClient const *)arg1)->window();
2032 resultobj = PyInt_FromLong((long)result);
2039 static PyObject *_wrap_OBClient_type(PyObject *self, PyObject *args) {
2040 PyObject *resultobj;
2041 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2043 PyObject * obj0 = 0 ;
2045 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_type",&obj0)) goto fail;
2046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2047 result = (int)((ob::OBClient const *)arg1)->type();
2049 resultobj = PyInt_FromLong((long)result);
2056 static PyObject *_wrap_OBClient_normal(PyObject *self, PyObject *args) {
2057 PyObject *resultobj;
2058 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2060 PyObject * obj0 = 0 ;
2062 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_normal",&obj0)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2064 result = (bool)((ob::OBClient const *)arg1)->normal();
2066 resultobj = PyInt_FromLong((long)result);
2073 static PyObject *_wrap_OBClient_desktop(PyObject *self, PyObject *args) {
2074 PyObject *resultobj;
2075 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2077 PyObject * obj0 = 0 ;
2079 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_desktop",&obj0)) goto fail;
2080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2081 result = (long)((ob::OBClient const *)arg1)->desktop();
2083 resultobj = PyInt_FromLong((long)result);
2090 static PyObject *_wrap_OBClient_title(PyObject *self, PyObject *args) {
2091 PyObject *resultobj;
2092 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2093 std::string *result;
2094 PyObject * obj0 = 0 ;
2096 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_title",&obj0)) goto fail;
2097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2099 std::string const &_result_ref = ((ob::OBClient const *)arg1)->title();
2100 result = (std::string *) &_result_ref;
2104 resultobj = PyString_FromString(result->c_str());
2112 static PyObject *_wrap_OBClient_iconTitle(PyObject *self, PyObject *args) {
2113 PyObject *resultobj;
2114 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2115 std::string *result;
2116 PyObject * obj0 = 0 ;
2118 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconTitle",&obj0)) goto fail;
2119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 std::string const &_result_ref = ((ob::OBClient const *)arg1)->iconTitle();
2122 result = (std::string *) &_result_ref;
2126 resultobj = PyString_FromString(result->c_str());
2134 static PyObject *_wrap_OBClient_appName(PyObject *self, PyObject *args) {
2135 PyObject *resultobj;
2136 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2137 std::string *result;
2138 PyObject * obj0 = 0 ;
2140 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appName",&obj0)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appName();
2144 result = (std::string *) &_result_ref;
2148 resultobj = PyString_FromString(result->c_str());
2156 static PyObject *_wrap_OBClient_appClass(PyObject *self, PyObject *args) {
2157 PyObject *resultobj;
2158 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2159 std::string *result;
2160 PyObject * obj0 = 0 ;
2162 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appClass",&obj0)) goto fail;
2163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2165 std::string const &_result_ref = ((ob::OBClient const *)arg1)->appClass();
2166 result = (std::string *) &_result_ref;
2170 resultobj = PyString_FromString(result->c_str());
2178 static PyObject *_wrap_OBClient_role(PyObject *self, PyObject *args) {
2179 PyObject *resultobj;
2180 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2181 std::string *result;
2182 PyObject * obj0 = 0 ;
2184 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_role",&obj0)) goto fail;
2185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 std::string const &_result_ref = ((ob::OBClient const *)arg1)->role();
2188 result = (std::string *) &_result_ref;
2192 resultobj = PyString_FromString(result->c_str());
2200 static PyObject *_wrap_OBClient_canFocus(PyObject *self, PyObject *args) {
2201 PyObject *resultobj;
2202 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2204 PyObject * obj0 = 0 ;
2206 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_canFocus",&obj0)) goto fail;
2207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2208 result = (bool)((ob::OBClient const *)arg1)->canFocus();
2210 resultobj = PyInt_FromLong((long)result);
2217 static PyObject *_wrap_OBClient_urgent(PyObject *self, PyObject *args) {
2218 PyObject *resultobj;
2219 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2221 PyObject * obj0 = 0 ;
2223 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_urgent",&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 result = (bool)((ob::OBClient const *)arg1)->urgent();
2227 resultobj = PyInt_FromLong((long)result);
2234 static PyObject *_wrap_OBClient_focusNotify(PyObject *self, PyObject *args) {
2235 PyObject *resultobj;
2236 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2238 PyObject * obj0 = 0 ;
2240 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focusNotify",&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 result = (bool)((ob::OBClient const *)arg1)->focusNotify();
2244 resultobj = PyInt_FromLong((long)result);
2251 static PyObject *_wrap_OBClient_shaped(PyObject *self, PyObject *args) {
2252 PyObject *resultobj;
2253 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2255 PyObject * obj0 = 0 ;
2257 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaped",&obj0)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2259 result = (bool)((ob::OBClient const *)arg1)->shaped();
2261 resultobj = PyInt_FromLong((long)result);
2268 static PyObject *_wrap_OBClient_gravity(PyObject *self, PyObject *args) {
2269 PyObject *resultobj;
2270 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2272 PyObject * obj0 = 0 ;
2274 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_gravity",&obj0)) goto fail;
2275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 result = (int)((ob::OBClient const *)arg1)->gravity();
2278 resultobj = PyInt_FromLong((long)result);
2285 static PyObject *_wrap_OBClient_positionRequested(PyObject *self, PyObject *args) {
2286 PyObject *resultobj;
2287 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2289 PyObject * obj0 = 0 ;
2291 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_positionRequested",&obj0)) goto fail;
2292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2293 result = (bool)((ob::OBClient const *)arg1)->positionRequested();
2295 resultobj = PyInt_FromLong((long)result);
2302 static PyObject *_wrap_OBClient_decorations(PyObject *self, PyObject *args) {
2303 PyObject *resultobj;
2304 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2305 ob::OBClient::DecorationFlags result;
2306 PyObject * obj0 = 0 ;
2308 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_decorations",&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 result = (ob::OBClient::DecorationFlags)((ob::OBClient const *)arg1)->decorations();
2312 resultobj = PyInt_FromLong((long)result);
2319 static PyObject *_wrap_OBClient_funtions(PyObject *self, PyObject *args) {
2320 PyObject *resultobj;
2321 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2322 ob::OBClient::FunctionFlags result;
2323 PyObject * obj0 = 0 ;
2325 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_funtions",&obj0)) goto fail;
2326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2327 result = (ob::OBClient::FunctionFlags)((ob::OBClient const *)arg1)->funtions();
2329 resultobj = PyInt_FromLong((long)result);
2336 static PyObject *_wrap_OBClient_transientFor(PyObject *self, PyObject *args) {
2337 PyObject *resultobj;
2338 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2339 ob::OBClient *result;
2340 PyObject * obj0 = 0 ;
2342 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_transientFor",&obj0)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2344 result = (ob::OBClient *)((ob::OBClient const *)arg1)->transientFor();
2346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
2353 static PyObject *_wrap_OBClient_modal(PyObject *self, PyObject *args) {
2354 PyObject *resultobj;
2355 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2357 PyObject * obj0 = 0 ;
2359 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_modal",&obj0)) goto fail;
2360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2361 result = (bool)((ob::OBClient const *)arg1)->modal();
2363 resultobj = PyInt_FromLong((long)result);
2370 static PyObject *_wrap_OBClient_shaded(PyObject *self, PyObject *args) {
2371 PyObject *resultobj;
2372 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2374 PyObject * obj0 = 0 ;
2376 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaded",&obj0)) goto fail;
2377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2378 result = (bool)((ob::OBClient const *)arg1)->shaded();
2380 resultobj = PyInt_FromLong((long)result);
2387 static PyObject *_wrap_OBClient_iconic(PyObject *self, PyObject *args) {
2388 PyObject *resultobj;
2389 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2391 PyObject * obj0 = 0 ;
2393 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconic",&obj0)) goto fail;
2394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2395 result = (bool)((ob::OBClient const *)arg1)->iconic();
2397 resultobj = PyInt_FromLong((long)result);
2404 static PyObject *_wrap_OBClient_maxVert(PyObject *self, PyObject *args) {
2405 PyObject *resultobj;
2406 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2408 PyObject * obj0 = 0 ;
2410 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxVert",&obj0)) goto fail;
2411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2412 result = (bool)((ob::OBClient const *)arg1)->maxVert();
2414 resultobj = PyInt_FromLong((long)result);
2421 static PyObject *_wrap_OBClient_maxHorz(PyObject *self, PyObject *args) {
2422 PyObject *resultobj;
2423 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2425 PyObject * obj0 = 0 ;
2427 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxHorz",&obj0)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2429 result = (bool)((ob::OBClient const *)arg1)->maxHorz();
2431 resultobj = PyInt_FromLong((long)result);
2438 static PyObject *_wrap_OBClient_layer(PyObject *self, PyObject *args) {
2439 PyObject *resultobj;
2440 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2442 PyObject * obj0 = 0 ;
2444 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_layer",&obj0)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446 result = (int)((ob::OBClient const *)arg1)->layer();
2448 resultobj = PyInt_FromLong((long)result);
2455 static PyObject *_wrap_OBClient_toggleClientBorder(PyObject *self, PyObject *args) {
2456 PyObject *resultobj;
2457 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2459 PyObject * obj0 = 0 ;
2460 PyObject * obj1 = 0 ;
2462 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_toggleClientBorder",&obj0,&obj1)) goto fail;
2463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2464 arg2 = (bool) PyInt_AsLong(obj1);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 (arg1)->toggleClientBorder(arg2);
2468 Py_INCREF(Py_None); resultobj = Py_None;
2475 static PyObject *_wrap_OBClient_area(PyObject *self, PyObject *args) {
2476 PyObject *resultobj;
2477 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2479 PyObject * obj0 = 0 ;
2481 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_area",&obj0)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484 otk::Rect const &_result_ref = ((ob::OBClient const *)arg1)->area();
2485 result = (otk::Rect *) &_result_ref;
2488 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2495 static PyObject *_wrap_OBClient_strut(PyObject *self, PyObject *args) {
2496 PyObject *resultobj;
2497 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2499 PyObject * obj0 = 0 ;
2501 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_strut",&obj0)) goto fail;
2502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2504 otk::Strut const &_result_ref = ((ob::OBClient const *)arg1)->strut();
2505 result = (otk::Strut *) &_result_ref;
2508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
2515 static PyObject *_wrap_OBClient_move(PyObject *self, PyObject *args) {
2516 PyObject *resultobj;
2517 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2520 PyObject * obj0 = 0 ;
2522 if(!PyArg_ParseTuple(args,(char *)"Oii:OBClient_move",&obj0,&arg2,&arg3)) goto fail;
2523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2524 (arg1)->move(arg2,arg3);
2526 Py_INCREF(Py_None); resultobj = Py_None;
2533 static PyObject *_wrap_OBClient_resize(PyObject *self, PyObject *args) {
2534 PyObject *resultobj;
2535 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2539 int arg5 = (int) INT_MIN ;
2540 int arg6 = (int) INT_MIN ;
2541 PyObject * obj0 = 0 ;
2543 if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:OBClient_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
2544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 (arg1)->resize((ob::OBClient::Corner )arg2,arg3,arg4,arg5,arg6);
2547 Py_INCREF(Py_None); resultobj = Py_None;
2554 static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
2555 PyObject *resultobj;
2556 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2558 PyObject * obj0 = 0 ;
2560 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 result = (bool)((ob::OBClient const *)arg1)->focus();
2564 resultobj = PyInt_FromLong((long)result);
2571 static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
2572 PyObject *resultobj;
2573 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2574 PyObject * obj0 = 0 ;
2576 if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2578 ((ob::OBClient const *)arg1)->unfocus();
2580 Py_INCREF(Py_None); resultobj = Py_None;
2587 static PyObject *_wrap_OBClient_focusHandler(PyObject *self, PyObject *args) {
2588 PyObject *resultobj;
2589 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2590 XFocusChangeEvent *arg2 = 0 ;
2591 PyObject * obj0 = 0 ;
2592 PyObject * obj1 = 0 ;
2594 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_focusHandler",&obj0,&obj1)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2600 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
2602 Py_INCREF(Py_None); resultobj = Py_None;
2609 static PyObject *_wrap_OBClient_unfocusHandler(PyObject *self, PyObject *args) {
2610 PyObject *resultobj;
2611 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2612 XFocusChangeEvent *arg2 = 0 ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2616 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unfocusHandler",&obj0,&obj1)) goto fail;
2617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2622 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
2624 Py_INCREF(Py_None); resultobj = Py_None;
2631 static PyObject *_wrap_OBClient_propertyHandler(PyObject *self, PyObject *args) {
2632 PyObject *resultobj;
2633 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2634 XPropertyEvent *arg2 = 0 ;
2635 PyObject * obj0 = 0 ;
2636 PyObject * obj1 = 0 ;
2638 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_propertyHandler",&obj0,&obj1)) goto fail;
2639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2644 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
2646 Py_INCREF(Py_None); resultobj = Py_None;
2653 static PyObject *_wrap_OBClient_clientMessageHandler(PyObject *self, PyObject *args) {
2654 PyObject *resultobj;
2655 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2656 XClientMessageEvent *arg2 = 0 ;
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
2660 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_clientMessageHandler",&obj0,&obj1)) goto fail;
2661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2666 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
2668 Py_INCREF(Py_None); resultobj = Py_None;
2675 static PyObject *_wrap_OBClient_configureRequestHandler(PyObject *self, PyObject *args) {
2676 PyObject *resultobj;
2677 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2678 XConfigureRequestEvent *arg2 = 0 ;
2679 PyObject * obj0 = 0 ;
2680 PyObject * obj1 = 0 ;
2682 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_configureRequestHandler",&obj0,&obj1)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2688 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
2690 Py_INCREF(Py_None); resultobj = Py_None;
2697 static PyObject *_wrap_OBClient_unmapHandler(PyObject *self, PyObject *args) {
2698 PyObject *resultobj;
2699 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2700 XUnmapEvent *arg2 = 0 ;
2701 PyObject * obj0 = 0 ;
2702 PyObject * obj1 = 0 ;
2704 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unmapHandler",&obj0,&obj1)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2710 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
2712 Py_INCREF(Py_None); resultobj = Py_None;
2719 static PyObject *_wrap_OBClient_destroyHandler(PyObject *self, PyObject *args) {
2720 PyObject *resultobj;
2721 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2722 XDestroyWindowEvent *arg2 = 0 ;
2723 PyObject * obj0 = 0 ;
2724 PyObject * obj1 = 0 ;
2726 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_destroyHandler",&obj0,&obj1)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2732 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
2734 Py_INCREF(Py_None); resultobj = Py_None;
2741 static PyObject *_wrap_OBClient_reparentHandler(PyObject *self, PyObject *args) {
2742 PyObject *resultobj;
2743 ob::OBClient *arg1 = (ob::OBClient *) 0 ;
2744 XReparentEvent *arg2 = 0 ;
2745 PyObject * obj0 = 0 ;
2746 PyObject * obj1 = 0 ;
2748 if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_reparentHandler",&obj0,&obj1)) goto fail;
2749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2754 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
2756 Py_INCREF(Py_None); resultobj = Py_None;
2763 static PyObject * OBClient_swigregister(PyObject *self, PyObject *args) {
2765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2766 SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient, obj);
2768 return Py_BuildValue((char *)"");
2770 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
2771 PyObject *resultobj;
2772 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2774 PyObject * obj0 = 0 ;
2776 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 if (arg1) (arg1)->screen = arg2;
2780 Py_INCREF(Py_None); resultobj = Py_None;
2787 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
2788 PyObject *resultobj;
2789 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2791 PyObject * obj0 = 0 ;
2793 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2795 result = (int) ((arg1)->screen);
2797 resultobj = PyInt_FromLong((long)result);
2804 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
2805 PyObject *resultobj;
2806 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2807 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
2808 PyObject * obj0 = 0 ;
2809 PyObject * obj1 = 0 ;
2811 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
2814 if (arg1) (arg1)->client = arg2;
2816 Py_INCREF(Py_None); resultobj = Py_None;
2823 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
2824 PyObject *resultobj;
2825 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2826 ob::OBClient *result;
2827 PyObject * obj0 = 0 ;
2829 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 result = (ob::OBClient *) ((arg1)->client);
2833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
2840 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
2841 PyObject *resultobj;
2842 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2844 PyObject * obj0 = 0 ;
2845 PyObject * obj1 = 0 ;
2847 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2849 arg2 = (Time) PyInt_AsLong(obj1);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 if (arg1) (arg1)->time = arg2;
2853 Py_INCREF(Py_None); resultobj = Py_None;
2860 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
2861 PyObject *resultobj;
2862 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2864 PyObject * obj0 = 0 ;
2866 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
2867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2868 result = (Time) ((arg1)->time);
2870 resultobj = PyInt_FromLong((long)result);
2877 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
2878 PyObject *resultobj;
2879 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2881 PyObject * obj0 = 0 ;
2882 PyObject * obj1 = 0 ;
2884 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2886 arg2 = (unsigned int) PyInt_AsLong(obj1);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 if (arg1) (arg1)->state = arg2;
2890 Py_INCREF(Py_None); resultobj = Py_None;
2897 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
2898 PyObject *resultobj;
2899 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2900 unsigned int result;
2901 PyObject * obj0 = 0 ;
2903 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
2904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2905 result = (unsigned int) ((arg1)->state);
2907 resultobj = PyInt_FromLong((long)result);
2914 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
2915 PyObject *resultobj;
2916 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2918 PyObject * obj0 = 0 ;
2919 PyObject * obj1 = 0 ;
2921 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
2922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2923 arg2 = (unsigned int) PyInt_AsLong(obj1);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 if (arg1) (arg1)->button = arg2;
2927 Py_INCREF(Py_None); resultobj = Py_None;
2934 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
2935 PyObject *resultobj;
2936 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2937 unsigned int result;
2938 PyObject * obj0 = 0 ;
2940 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
2941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2942 result = (unsigned int) ((arg1)->button);
2944 resultobj = PyInt_FromLong((long)result);
2951 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
2952 PyObject *resultobj;
2953 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2955 PyObject * obj0 = 0 ;
2957 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
2961 Py_INCREF(Py_None); resultobj = Py_None;
2968 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
2969 PyObject *resultobj;
2970 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2972 PyObject * obj0 = 0 ;
2974 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
2975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2976 result = (int) ((arg1)->context);
2978 resultobj = PyInt_FromLong((long)result);
2985 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
2986 PyObject *resultobj;
2987 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
2989 PyObject * obj0 = 0 ;
2991 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
2992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2993 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
2995 Py_INCREF(Py_None); resultobj = Py_None;
3002 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
3003 PyObject *resultobj;
3004 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3006 PyObject * obj0 = 0 ;
3008 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 result = (int) ((arg1)->action);
3012 resultobj = PyInt_FromLong((long)result);
3019 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
3020 PyObject *resultobj;
3021 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3023 PyObject * obj0 = 0 ;
3025 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
3026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027 if (arg1) (arg1)->xroot = arg2;
3029 Py_INCREF(Py_None); resultobj = Py_None;
3036 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
3037 PyObject *resultobj;
3038 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3040 PyObject * obj0 = 0 ;
3042 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
3043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3044 result = (int) ((arg1)->xroot);
3046 resultobj = PyInt_FromLong((long)result);
3053 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
3054 PyObject *resultobj;
3055 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3057 PyObject * obj0 = 0 ;
3059 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
3060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3061 if (arg1) (arg1)->yroot = arg2;
3063 Py_INCREF(Py_None); resultobj = Py_None;
3070 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
3071 PyObject *resultobj;
3072 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3074 PyObject * obj0 = 0 ;
3076 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 result = (int) ((arg1)->yroot);
3080 resultobj = PyInt_FromLong((long)result);
3087 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
3088 PyObject *resultobj;
3089 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3091 PyObject * obj0 = 0 ;
3093 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3095 if (arg1) (arg1)->pressx = arg2;
3097 Py_INCREF(Py_None); resultobj = Py_None;
3104 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
3105 PyObject *resultobj;
3106 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3108 PyObject * obj0 = 0 ;
3110 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 result = (int) ((arg1)->pressx);
3114 resultobj = PyInt_FromLong((long)result);
3121 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
3122 PyObject *resultobj;
3123 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3125 PyObject * obj0 = 0 ;
3127 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3129 if (arg1) (arg1)->pressy = arg2;
3131 Py_INCREF(Py_None); resultobj = Py_None;
3138 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
3139 PyObject *resultobj;
3140 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3142 PyObject * obj0 = 0 ;
3144 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
3145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3146 result = (int) ((arg1)->pressy);
3148 resultobj = PyInt_FromLong((long)result);
3155 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
3156 PyObject *resultobj;
3157 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3159 PyObject * obj0 = 0 ;
3161 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 if (arg1) (arg1)->press_clientx = arg2;
3165 Py_INCREF(Py_None); resultobj = Py_None;
3172 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
3173 PyObject *resultobj;
3174 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3176 PyObject * obj0 = 0 ;
3178 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3180 result = (int) ((arg1)->press_clientx);
3182 resultobj = PyInt_FromLong((long)result);
3189 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
3190 PyObject *resultobj;
3191 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3193 PyObject * obj0 = 0 ;
3195 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
3196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 if (arg1) (arg1)->press_clienty = arg2;
3199 Py_INCREF(Py_None); resultobj = Py_None;
3206 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
3207 PyObject *resultobj;
3208 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3210 PyObject * obj0 = 0 ;
3212 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3214 result = (int) ((arg1)->press_clienty);
3216 resultobj = PyInt_FromLong((long)result);
3223 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
3224 PyObject *resultobj;
3225 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3227 PyObject * obj0 = 0 ;
3229 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
3230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3231 if (arg1) (arg1)->press_clientwidth = arg2;
3233 Py_INCREF(Py_None); resultobj = Py_None;
3240 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
3241 PyObject *resultobj;
3242 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3244 PyObject * obj0 = 0 ;
3246 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
3247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3248 result = (int) ((arg1)->press_clientwidth);
3250 resultobj = PyInt_FromLong((long)result);
3257 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
3258 PyObject *resultobj;
3259 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3261 PyObject * obj0 = 0 ;
3263 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
3264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 if (arg1) (arg1)->press_clientheight = arg2;
3267 Py_INCREF(Py_None); resultobj = Py_None;
3274 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
3275 PyObject *resultobj;
3276 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
3278 PyObject * obj0 = 0 ;
3280 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 result = (int) ((arg1)->press_clientheight);
3284 resultobj = PyInt_FromLong((long)result);
3291 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
3292 PyObject *resultobj;
3294 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3302 otk::Point *arg10 = 0 ;
3303 otk::Rect *arg11 = 0 ;
3304 ob::MouseData *result;
3305 PyObject * obj1 = 0 ;
3306 PyObject * obj2 = 0 ;
3307 PyObject * obj3 = 0 ;
3308 PyObject * obj4 = 0 ;
3309 PyObject * obj9 = 0 ;
3310 PyObject * obj10 = 0 ;
3312 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
3313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3314 arg3 = (Time) PyInt_AsLong(obj2);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 arg4 = (unsigned int) PyInt_AsLong(obj3);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 arg5 = (unsigned int) PyInt_AsLong(obj4);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 if (arg10 == NULL) {
3322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3324 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 if (arg11 == NULL) {
3326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3328 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7,arg8,arg9,(otk::Point const &)*arg10,(otk::Rect const &)*arg11);
3330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
3337 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
3338 PyObject *resultobj;
3340 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3346 ob::MouseData *result;
3347 PyObject * obj1 = 0 ;
3348 PyObject * obj2 = 0 ;
3349 PyObject * obj3 = 0 ;
3350 PyObject * obj4 = 0 ;
3352 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
3353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3354 arg3 = (Time) PyInt_AsLong(obj2);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 arg4 = (unsigned int) PyInt_AsLong(obj3);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 arg5 = (unsigned int) PyInt_AsLong(obj4);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
3362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
3369 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
3374 argc = PyObject_Length(args);
3375 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
3376 argv[ii] = PyTuple_GetItem(args,ii);
3381 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
3386 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
3395 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3399 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
3403 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
3407 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
3411 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
3414 return _wrap_new_MouseData__SWIG_1(self,args);
3426 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
3431 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
3440 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3444 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
3448 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
3452 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
3456 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
3460 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
3464 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
3469 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
3479 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3487 return _wrap_new_MouseData__SWIG_0(self,args);
3501 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
3506 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
3508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3509 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
3511 return Py_BuildValue((char *)"");
3513 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
3514 PyObject *resultobj;
3515 ob::EventData *arg1 = (ob::EventData *) 0 ;
3517 PyObject * obj0 = 0 ;
3519 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
3520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3521 if (arg1) (arg1)->screen = arg2;
3523 Py_INCREF(Py_None); resultobj = Py_None;
3530 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
3531 PyObject *resultobj;
3532 ob::EventData *arg1 = (ob::EventData *) 0 ;
3534 PyObject * obj0 = 0 ;
3536 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 result = (int) ((arg1)->screen);
3540 resultobj = PyInt_FromLong((long)result);
3547 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
3548 PyObject *resultobj;
3549 ob::EventData *arg1 = (ob::EventData *) 0 ;
3550 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3551 PyObject * obj0 = 0 ;
3552 PyObject * obj1 = 0 ;
3554 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
3557 if (arg1) (arg1)->client = arg2;
3559 Py_INCREF(Py_None); resultobj = Py_None;
3566 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
3567 PyObject *resultobj;
3568 ob::EventData *arg1 = (ob::EventData *) 0 ;
3569 ob::OBClient *result;
3570 PyObject * obj0 = 0 ;
3572 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3574 result = (ob::OBClient *) ((arg1)->client);
3576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
3583 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
3584 PyObject *resultobj;
3585 ob::EventData *arg1 = (ob::EventData *) 0 ;
3587 PyObject * obj0 = 0 ;
3588 PyObject * obj1 = 0 ;
3590 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 arg2 = (unsigned int) PyInt_AsLong(obj1);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 if (arg1) (arg1)->state = arg2;
3596 Py_INCREF(Py_None); resultobj = Py_None;
3603 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
3604 PyObject *resultobj;
3605 ob::EventData *arg1 = (ob::EventData *) 0 ;
3606 unsigned int result;
3607 PyObject * obj0 = 0 ;
3609 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
3610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3611 result = (unsigned int) ((arg1)->state);
3613 resultobj = PyInt_FromLong((long)result);
3620 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
3621 PyObject *resultobj;
3622 ob::EventData *arg1 = (ob::EventData *) 0 ;
3624 PyObject * obj0 = 0 ;
3626 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
3627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3628 if (arg1) (arg1)->action = (ob::EventAction )arg2;
3630 Py_INCREF(Py_None); resultobj = Py_None;
3637 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
3638 PyObject *resultobj;
3639 ob::EventData *arg1 = (ob::EventData *) 0 ;
3641 PyObject * obj0 = 0 ;
3643 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 result = (int) ((arg1)->action);
3647 resultobj = PyInt_FromLong((long)result);
3654 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
3655 PyObject *resultobj;
3657 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3660 ob::EventData *result;
3661 PyObject * obj1 = 0 ;
3662 PyObject * obj3 = 0 ;
3664 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
3665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 arg4 = (unsigned int) PyInt_AsLong(obj3);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
3670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
3677 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
3679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3680 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
3682 return Py_BuildValue((char *)"");
3684 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
3685 PyObject *resultobj;
3686 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3688 PyObject * obj0 = 0 ;
3690 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 if (arg1) (arg1)->screen = arg2;
3694 Py_INCREF(Py_None); resultobj = Py_None;
3701 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
3702 PyObject *resultobj;
3703 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3705 PyObject * obj0 = 0 ;
3707 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
3708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3709 result = (int) ((arg1)->screen);
3711 resultobj = PyInt_FromLong((long)result);
3718 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
3719 PyObject *resultobj;
3720 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3721 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3725 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
3728 if (arg1) (arg1)->client = arg2;
3730 Py_INCREF(Py_None); resultobj = Py_None;
3737 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
3738 PyObject *resultobj;
3739 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3740 ob::OBClient *result;
3741 PyObject * obj0 = 0 ;
3743 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 result = (ob::OBClient *) ((arg1)->client);
3747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
3754 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
3755 PyObject *resultobj;
3756 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3761 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 arg2 = (Time) PyInt_AsLong(obj1);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 if (arg1) (arg1)->time = arg2;
3767 Py_INCREF(Py_None); resultobj = Py_None;
3774 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
3775 PyObject *resultobj;
3776 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3778 PyObject * obj0 = 0 ;
3780 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
3781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3782 result = (Time) ((arg1)->time);
3784 resultobj = PyInt_FromLong((long)result);
3791 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
3792 PyObject *resultobj;
3793 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3795 PyObject * obj0 = 0 ;
3796 PyObject * obj1 = 0 ;
3798 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
3799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3800 arg2 = (unsigned int) PyInt_AsLong(obj1);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 if (arg1) (arg1)->state = arg2;
3804 Py_INCREF(Py_None); resultobj = Py_None;
3811 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
3812 PyObject *resultobj;
3813 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3814 unsigned int result;
3815 PyObject * obj0 = 0 ;
3817 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
3818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3819 result = (unsigned int) ((arg1)->state);
3821 resultobj = PyInt_FromLong((long)result);
3828 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
3829 PyObject *resultobj;
3830 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3831 std::string *arg2 = (std::string *) 0 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3835 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 if (arg1) (arg1)->key = *arg2;
3840 Py_INCREF(Py_None); resultobj = Py_None;
3847 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
3848 PyObject *resultobj;
3849 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
3850 std::string *result;
3851 PyObject * obj0 = 0 ;
3853 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
3854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3855 result = (std::string *)& ((arg1)->key);
3857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
3864 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
3865 PyObject *resultobj;
3867 ob::OBClient *arg2 = (ob::OBClient *) 0 ;
3871 ob::KeyData *result;
3872 PyObject * obj1 = 0 ;
3873 PyObject * obj2 = 0 ;
3874 PyObject * obj3 = 0 ;
3875 PyObject * obj4 = 0 ;
3877 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
3878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3879 arg3 = (Time) PyInt_AsLong(obj2);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 arg4 = (unsigned int) PyInt_AsLong(obj3);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 arg5 = (unsigned int) PyInt_AsLong(obj4);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
3887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
3894 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
3896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3897 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
3899 return Py_BuildValue((char *)"");
3901 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
3902 PyObject *resultobj;
3903 std::string *arg1 = 0 ;
3906 PyObject *arg4 = (PyObject *) 0 ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj3 = 0 ;
3912 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
3914 if (PyString_Check(obj0)) {
3915 temp1 = std::string(PyString_AsString(obj0));
3918 SWIG_exception(SWIG_TypeError, "string expected");
3922 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
3931 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
3932 PyObject *resultobj;
3933 PyObject *arg1 = (PyObject *) 0 ;
3935 PyObject *arg3 = (PyObject *) 0 ;
3937 PyObject * obj0 = 0 ;
3938 PyObject * obj2 = 0 ;
3940 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
3943 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
3952 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
3953 PyObject *resultobj;
3955 PyObject *arg2 = (PyObject *) 0 ;
3957 PyObject * obj1 = 0 ;
3959 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
3961 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
3970 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
3971 PyObject *resultobj;
3972 std::string *arg1 = 0 ;
3974 PyObject * obj0 = 0 ;
3976 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
3978 if (PyString_Check(obj0)) {
3979 temp1 = std::string(PyString_AsString(obj0));
3982 SWIG_exception(SWIG_TypeError, "string expected");
3985 ob::set_reset_key((std::string const &)*arg1);
3987 Py_INCREF(Py_None); resultobj = Py_None;
3994 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
3995 PyObject *resultobj;
4000 long arg5 = (long) 0 ;
4001 long arg6 = (long) 0 ;
4002 long arg7 = (long) 0 ;
4003 long arg8 = (long) 0 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj2 = 0 ;
4008 if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
4009 arg1 = (Window) PyInt_AsLong(obj0);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 arg3 = (Window) PyInt_AsLong(obj2);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4022 static PyMethodDef SwigMethods[] = {
4023 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
4024 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
4025 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
4026 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
4027 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
4028 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
4029 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
4030 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
4031 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
4032 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
4033 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
4034 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
4035 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
4036 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
4037 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
4038 { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager, METH_VARARGS },
4039 { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
4040 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
4041 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
4042 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
4043 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
4044 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
4045 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
4046 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
4047 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
4048 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
4049 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
4050 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
4051 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
4052 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
4053 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
4054 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
4055 { (char *)"OBScreen_client", _wrap_OBScreen_client, METH_VARARGS },
4056 { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount, METH_VARARGS },
4057 { (char *)"OBScreen_number", _wrap_OBScreen_number, METH_VARARGS },
4058 { (char *)"OBScreen_managed", _wrap_OBScreen_managed, METH_VARARGS },
4059 { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl, METH_VARARGS },
4060 { (char *)"OBScreen_area", _wrap_OBScreen_area, METH_VARARGS },
4061 { (char *)"OBScreen_style", _wrap_OBScreen_style, METH_VARARGS },
4062 { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow, METH_VARARGS },
4063 { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop, METH_VARARGS },
4064 { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops, METH_VARARGS },
4065 { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut, METH_VARARGS },
4066 { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting, METH_VARARGS },
4067 { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow, METH_VARARGS },
4068 { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow, METH_VARARGS },
4069 { (char *)"OBScreen_restack", _wrap_OBScreen_restack, METH_VARARGS },
4070 { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName, METH_VARARGS },
4071 { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler, METH_VARARGS },
4072 { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler, METH_VARARGS },
4073 { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler, METH_VARARGS },
4074 { (char *)"OBScreen_swigregister", OBScreen_swigregister, METH_VARARGS },
4075 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
4076 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
4077 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
4078 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
4079 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
4080 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
4081 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
4082 { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set, METH_VARARGS },
4083 { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get, METH_VARARGS },
4084 { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set, METH_VARARGS },
4085 { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get, METH_VARARGS },
4086 { (char *)"OBClient_screen", _wrap_OBClient_screen, METH_VARARGS },
4087 { (char *)"OBClient_window", _wrap_OBClient_window, METH_VARARGS },
4088 { (char *)"OBClient_type", _wrap_OBClient_type, METH_VARARGS },
4089 { (char *)"OBClient_normal", _wrap_OBClient_normal, METH_VARARGS },
4090 { (char *)"OBClient_desktop", _wrap_OBClient_desktop, METH_VARARGS },
4091 { (char *)"OBClient_title", _wrap_OBClient_title, METH_VARARGS },
4092 { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle, METH_VARARGS },
4093 { (char *)"OBClient_appName", _wrap_OBClient_appName, METH_VARARGS },
4094 { (char *)"OBClient_appClass", _wrap_OBClient_appClass, METH_VARARGS },
4095 { (char *)"OBClient_role", _wrap_OBClient_role, METH_VARARGS },
4096 { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus, METH_VARARGS },
4097 { (char *)"OBClient_urgent", _wrap_OBClient_urgent, METH_VARARGS },
4098 { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify, METH_VARARGS },
4099 { (char *)"OBClient_shaped", _wrap_OBClient_shaped, METH_VARARGS },
4100 { (char *)"OBClient_gravity", _wrap_OBClient_gravity, METH_VARARGS },
4101 { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested, METH_VARARGS },
4102 { (char *)"OBClient_decorations", _wrap_OBClient_decorations, METH_VARARGS },
4103 { (char *)"OBClient_funtions", _wrap_OBClient_funtions, METH_VARARGS },
4104 { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor, METH_VARARGS },
4105 { (char *)"OBClient_modal", _wrap_OBClient_modal, METH_VARARGS },
4106 { (char *)"OBClient_shaded", _wrap_OBClient_shaded, METH_VARARGS },
4107 { (char *)"OBClient_iconic", _wrap_OBClient_iconic, METH_VARARGS },
4108 { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert, METH_VARARGS },
4109 { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz, METH_VARARGS },
4110 { (char *)"OBClient_layer", _wrap_OBClient_layer, METH_VARARGS },
4111 { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder, METH_VARARGS },
4112 { (char *)"OBClient_area", _wrap_OBClient_area, METH_VARARGS },
4113 { (char *)"OBClient_strut", _wrap_OBClient_strut, METH_VARARGS },
4114 { (char *)"OBClient_move", _wrap_OBClient_move, METH_VARARGS },
4115 { (char *)"OBClient_resize", _wrap_OBClient_resize, METH_VARARGS },
4116 { (char *)"OBClient_focus", _wrap_OBClient_focus, METH_VARARGS },
4117 { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus, METH_VARARGS },
4118 { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler, METH_VARARGS },
4119 { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler, METH_VARARGS },
4120 { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler, METH_VARARGS },
4121 { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler, METH_VARARGS },
4122 { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler, METH_VARARGS },
4123 { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler, METH_VARARGS },
4124 { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler, METH_VARARGS },
4125 { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler, METH_VARARGS },
4126 { (char *)"OBClient_swigregister", OBClient_swigregister, METH_VARARGS },
4127 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
4128 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
4129 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
4130 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
4131 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
4132 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
4133 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
4134 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
4135 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
4136 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
4137 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
4138 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
4139 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
4140 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
4141 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
4142 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
4143 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
4144 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
4145 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
4146 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
4147 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
4148 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
4149 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
4150 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
4151 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
4152 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
4153 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
4154 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
4155 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
4156 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
4157 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
4158 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
4159 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
4160 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
4161 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
4162 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
4163 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
4164 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
4165 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
4166 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
4167 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
4168 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
4169 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
4170 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
4171 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
4172 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
4173 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
4174 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
4175 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
4176 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
4177 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
4178 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
4179 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
4180 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
4181 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
4182 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
4183 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
4184 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
4185 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
4190 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
4192 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) {
4193 return (void *)((otk::OtkEventHandler *) ((ob::OBActions *) x));
4195 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
4196 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
4198 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
4199 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
4201 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) {
4202 return (void *)((otk::OtkEventHandler *) ((ob::Openbox *) x));
4204 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) {
4205 return (void *)((otk::OtkEventHandler *) ((ob::OBScreen *) x));
4207 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
4208 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
4210 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
4211 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
4213 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
4214 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
4216 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) {
4217 return (void *)((otk::OtkEventHandler *) ((ob::OBClient *) x));
4219 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) {
4220 return (void *)((ob::OBWidget *) ((ob::OBScreen *) x));
4222 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) {
4223 return (void *)((ob::OBWidget *) ((ob::OBClient *) x));
4225 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
4226 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
4228 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) {
4229 return (void *)((otk::OtkEventDispatcher *) ((ob::Openbox *) x));
4231 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
4232 static swig_type_info _swigt__p_ob__OBActions[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
4233 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
4234 static swig_type_info _swigt__p_ob__OBScreen[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
4235 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
4236 static swig_type_info _swigt__p_ob__OBFrame[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
4237 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
4238 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
4239 static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
4240 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
4241 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
4242 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
4243 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
4244 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
4245 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
4246 static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}};
4247 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
4248 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
4249 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}};
4250 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
4251 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
4252 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
4253 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
4254 static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}};
4255 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
4256 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
4257 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
4258 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
4259 static swig_type_info _swigt__p_ob__OBBindings[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
4260 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
4261 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
4263 static swig_type_info *swig_types_initial[] = {
4264 _swigt__p_otk__OBTimerQueueManager,
4265 _swigt__p_ob__OBActions,
4266 _swigt__p_ob__Cursors,
4267 _swigt__p_ob__OBScreen,
4268 _swigt__p_otk__Style,
4269 _swigt__p_ob__OBFrame,
4270 _swigt__p_XReparentEvent,
4271 _swigt__p_ob__MouseData,
4272 _swigt__p_ob__OBClient,
4273 _swigt__p_ob__Openbox,
4274 _swigt__p_otk__Strut,
4275 _swigt__p_ob__KeyData,
4276 _swigt__p_XMapRequestEvent,
4277 _swigt__p_XConfigureRequestEvent,
4278 _swigt__p_otk__Point,
4279 _swigt__p_otk__OtkEventHandler,
4280 _swigt__p_std__string,
4281 _swigt__p_otk__Rect,
4282 _swigt__p_ob__OBWidget,
4283 _swigt__p_XClientMessageEvent,
4284 _swigt__p_XFocusChangeEvent,
4285 _swigt__p_otk__OBProperty,
4286 _swigt__p_ob__EventData,
4287 _swigt__p_otk__OtkEventDispatcher,
4288 _swigt__p_XPropertyEvent,
4289 _swigt__p_XDestroyWindowEvent,
4290 _swigt__p_otk__BImageControl,
4292 _swigt__p_ob__OBBindings,
4293 _swigt__p_ob__MwmHints,
4294 _swigt__p_XUnmapEvent,
4299 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
4301 static swig_const_info swig_const_table[] = {
4302 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
4303 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
4304 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
4305 { SWIG_PY_INT, (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask, 0, 0, 0},
4306 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
4307 { SWIG_PY_INT, (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon, 0, 0, 0},
4308 { SWIG_PY_INT, (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop, 0, 0, 0},
4309 { SWIG_PY_INT, (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below, 0, 0, 0},
4310 { SWIG_PY_INT, (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal, 0, 0, 0},
4311 { SWIG_PY_INT, (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above, 0, 0, 0},
4312 { SWIG_PY_INT, (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top, 0, 0, 0},
4313 { SWIG_PY_INT, (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen, 0, 0, 0},
4314 { SWIG_PY_INT, (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal, 0, 0, 0},
4315 { SWIG_PY_INT, (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS, 0, 0, 0},
4316 { SWIG_PY_INT, (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft, 0, 0, 0},
4317 { SWIG_PY_INT, (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight, 0, 0, 0},
4318 { SWIG_PY_INT, (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft, 0, 0, 0},
4319 { SWIG_PY_INT, (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight, 0, 0, 0},
4320 { SWIG_PY_INT, (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop, 0, 0, 0},
4321 { SWIG_PY_INT, (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock, 0, 0, 0},
4322 { SWIG_PY_INT, (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar, 0, 0, 0},
4323 { SWIG_PY_INT, (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu, 0, 0, 0},
4324 { SWIG_PY_INT, (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility, 0, 0, 0},
4325 { SWIG_PY_INT, (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash, 0, 0, 0},
4326 { SWIG_PY_INT, (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog, 0, 0, 0},
4327 { SWIG_PY_INT, (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal, 0, 0, 0},
4328 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions, 0, 0, 0},
4329 { SWIG_PY_INT, (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations, 0, 0, 0},
4330 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All, 0, 0, 0},
4331 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize, 0, 0, 0},
4332 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move, 0, 0, 0},
4333 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify, 0, 0, 0},
4334 { SWIG_PY_INT, (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize, 0, 0, 0},
4335 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All, 0, 0, 0},
4336 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border, 0, 0, 0},
4337 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle, 0, 0, 0},
4338 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title, 0, 0, 0},
4339 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify, 0, 0, 0},
4340 { SWIG_PY_INT, (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize, 0, 0, 0},
4341 { SWIG_PY_INT, (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize, 0, 0, 0},
4342 { SWIG_PY_INT, (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move, 0, 0, 0},
4343 { SWIG_PY_INT, (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify, 0, 0, 0},
4344 { SWIG_PY_INT, (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize, 0, 0, 0},
4345 { SWIG_PY_INT, (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close, 0, 0, 0},
4346 { SWIG_PY_INT, (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar, 0, 0, 0},
4347 { SWIG_PY_INT, (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle, 0, 0, 0},
4348 { SWIG_PY_INT, (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border, 0, 0, 0},
4349 { SWIG_PY_INT, (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify, 0, 0, 0},
4350 { SWIG_PY_INT, (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize, 0, 0, 0},
4351 { SWIG_PY_INT, (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky, 0, 0, 0},
4352 { SWIG_PY_INT, (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close, 0, 0, 0},
4353 { SWIG_PY_INT, (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove, 0, 0, 0},
4354 { SWIG_PY_INT, (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add, 0, 0, 0},
4355 { SWIG_PY_INT, (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle, 0, 0, 0},
4356 { SWIG_PY_INT, (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask, 0, 0, 0},
4357 { SWIG_PY_INT, (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask, 0, 0, 0},
4358 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
4359 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
4360 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
4361 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
4362 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
4363 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
4364 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
4365 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
4366 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
4367 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
4368 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
4369 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
4370 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
4371 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
4372 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
4373 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
4374 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
4375 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
4376 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
4377 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
4378 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
4379 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
4380 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
4381 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
4382 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
4383 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
4384 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
4385 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
4386 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
4387 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
4397 SWIGEXPORT(void) SWIG_init(void) {
4398 static PyObject *SWIG_globals = 0;
4399 static int typeinit = 0;
4402 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
4403 m = Py_InitModule((char *) SWIG_name, SwigMethods);
4404 d = PyModule_GetDict(m);
4407 for (i = 0; swig_types_initial[i]; i++) {
4408 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
4412 SWIG_InstallConstants(d,swig_const_table);