1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021128-1508
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__Point swig_types[0]
649 #define SWIGTYPE_p_ob__Client swig_types[1]
650 #define SWIGTYPE_p_XMapEvent swig_types[2]
651 #define SWIGTYPE_p_XUnmapEvent swig_types[3]
652 #define SWIGTYPE_p_XColormapEvent swig_types[4]
653 #define SWIGTYPE_p_XNoExposeEvent swig_types[5]
654 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[6]
655 #define SWIGTYPE_p_XExposeEvent swig_types[7]
656 #define SWIGTYPE_p_XFocusChangeEvent swig_types[8]
657 #define SWIGTYPE_p_XClientMessageEvent swig_types[9]
658 #define SWIGTYPE_p_ob__MouseData swig_types[10]
659 #define SWIGTYPE_p_XSelectionClearEvent swig_types[11]
660 #define SWIGTYPE_p_otk__Rect swig_types[12]
661 #define SWIGTYPE_p_Visual swig_types[13]
662 #define SWIGTYPE_p_XResizeRequestEvent swig_types[14]
663 #define SWIGTYPE_p_XMapRequestEvent swig_types[15]
664 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[16]
665 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[17]
666 #define SWIGTYPE_p_XGravityEvent swig_types[18]
667 #define SWIGTYPE_p_XVisibilityEvent swig_types[19]
668 #define SWIGTYPE_p_XPropertyEvent swig_types[20]
669 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[21]
670 #define SWIGTYPE_p_ob__Cursors swig_types[22]
671 #define SWIGTYPE_p_otk__ImageControl swig_types[23]
672 #define SWIGTYPE_p_ob__MwmHints swig_types[24]
673 #define SWIGTYPE_p_ob__Screen swig_types[25]
674 #define SWIGTYPE_p_ob__Frame swig_types[26]
675 #define SWIGTYPE_p_ob__KeyData swig_types[27]
676 #define SWIGTYPE_p_XConfigureEvent swig_types[28]
677 #define SWIGTYPE_p_XCirculateEvent swig_types[29]
678 #define SWIGTYPE_p_XRectangle swig_types[30]
679 #define SWIGTYPE_p_otk__ustring swig_types[31]
680 #define SWIGTYPE_p_std__string swig_types[32]
681 #define SWIGTYPE_p_XCrossingEvent swig_types[33]
682 #define SWIGTYPE_p_otk__Display swig_types[34]
683 #define SWIGTYPE_p_Display swig_types[35]
684 #define SWIGTYPE_p_XMappingEvent swig_types[36]
685 #define SWIGTYPE_p_otk__Style swig_types[37]
686 #define SWIGTYPE_p_otk__EventHandler swig_types[38]
687 #define SWIGTYPE_p_XReparentEvent swig_types[39]
688 #define SWIGTYPE_p_otk__EventDispatcher swig_types[40]
689 #define SWIGTYPE_p_otk__GCCache swig_types[41]
690 #define SWIGTYPE_p_ob__Bindings swig_types[42]
691 #define SWIGTYPE_p_ob__Openbox swig_types[43]
692 #define SWIGTYPE_p_ob__Actions swig_types[44]
693 #define SWIGTYPE_p_XEvent swig_types[45]
694 #define SWIGTYPE_p_otk__Property swig_types[46]
695 #define SWIGTYPE_p_PyObject swig_types[47]
696 #define SWIGTYPE_p_otk__ScreenInfo swig_types[48]
697 #define SWIGTYPE_p_ob__EventData swig_types[49]
698 #define SWIGTYPE_p_XCreateWindowEvent swig_types[50]
699 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[51]
700 #define SWIGTYPE_p_otk__Property__StringVect swig_types[52]
701 #define SWIGTYPE_p_ob__WidgetBase swig_types[53]
702 #define SWIGTYPE_p_XKeyEvent swig_types[54]
703 #define SWIGTYPE_p_otk__Strut swig_types[55]
704 #define SWIGTYPE_p_unsigned_long swig_types[56]
705 #define SWIGTYPE_p_p_unsigned_long swig_types[57]
706 #define SWIGTYPE_p_XMotionEvent swig_types[58]
707 #define SWIGTYPE_p_XButtonEvent swig_types[59]
708 #define SWIGTYPE_p_XSelectionEvent swig_types[60]
709 static swig_type_info *swig_types[62];
711 /* -------- TYPES TABLE (END) -------- */
714 /*-----------------------------------------------
715 @(target):= _openbox.so
716 ------------------------------------------------*/
717 #define SWIG_init init_openbox
719 #define SWIG_name "_openbox"
722 # include "../config.h"
725 #include "openbox.hh"
728 #include "bindings.hh"
729 #include "actions.hh"
731 #include "otk/otk.hh"
734 #define SWIG_MemoryError 1
735 #define SWIG_IOError 2
736 #define SWIG_RuntimeError 3
737 #define SWIG_IndexError 4
738 #define SWIG_TypeError 5
739 #define SWIG_DivisionByZero 6
740 #define SWIG_OverflowError 7
741 #define SWIG_SyntaxError 8
742 #define SWIG_ValueError 9
743 #define SWIG_SystemError 10
744 #define SWIG_UnknownError 99
747 static void _SWIG_exception(int code, const char *msg) {
749 case SWIG_MemoryError:
750 PyErr_SetString(PyExc_MemoryError,msg);
753 PyErr_SetString(PyExc_IOError,msg);
755 case SWIG_RuntimeError:
756 PyErr_SetString(PyExc_RuntimeError,msg);
758 case SWIG_IndexError:
759 PyErr_SetString(PyExc_IndexError,msg);
762 PyErr_SetString(PyExc_TypeError,msg);
764 case SWIG_DivisionByZero:
765 PyErr_SetString(PyExc_ZeroDivisionError,msg);
767 case SWIG_OverflowError:
768 PyErr_SetString(PyExc_OverflowError,msg);
770 case SWIG_SyntaxError:
771 PyErr_SetString(PyExc_SyntaxError,msg);
773 case SWIG_ValueError:
774 PyErr_SetString(PyExc_ValueError,msg);
776 case SWIG_SystemError:
777 PyErr_SetString(PyExc_SystemError,msg);
780 PyErr_SetString(PyExc_RuntimeError,msg);
785 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
793 PyObject* SwigInt_FromBool(bool b) {
794 return PyInt_FromLong(b ? 1L : 0L);
796 double SwigNumber_Check(PyObject* o) {
797 return PyFloat_Check(o) || PyInt_Check(o);
799 double SwigNumber_AsDouble(PyObject* o) {
800 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
802 PyObject* SwigString_FromString(const std::string& s) {
803 return PyString_FromString(s.c_str());
805 std::string SwigString_AsString(PyObject* o) {
806 return std::string(PyString_AsString(o));
815 ob::Openbox *Openbox_instance() { return ob::openbox; }
819 void python_callback(PyObject *func, MouseData *data)
824 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
825 SWIGTYPE_p_ob__MouseData,
829 result = PyEval_CallObject(func, arglist);
830 if (!result || PyErr_Occurred()) {
831 // an exception occured in the script, display it
839 void python_callback(PyObject *func, EventData *data)
844 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
845 SWIGTYPE_p_ob__EventData,
849 result = PyEval_CallObject(func, arglist);
850 if (!result || PyErr_Occurred()) {
851 // an exception occured in the script, display it
859 void python_callback(PyObject *func, KeyData *data)
864 arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
865 SWIGTYPE_p_ob__KeyData,
869 result = PyEval_CallObject(func, arglist);
870 if (!result || PyErr_Occurred()) {
871 // an exception occured in the script, display it
885 otk::Display *Display_instance() { return otk::display; }
888 #include "ustring.hh"
890 ob::Client *ob_Screen_client(ob::Screen *self,int i){
891 if (i < 0 || i >= (int)self->clients.size())
893 ob::Client::List::iterator it = self->clients.begin();
897 int ob_Screen_clientCount(ob::Screen const *self){
898 return (int) self->clients.size();
903 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
907 if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
908 result = (ob::Openbox *)Openbox_instance();
910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
917 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
919 otk::Display *result;
921 if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
922 result = (otk::Display *)Display_instance();
924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
931 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
933 otk::Display *result;
935 if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
936 result = (otk::Display *)new otk::Display();
938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
945 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
947 otk::Display *arg1 = (otk::Display *) 0 ;
948 PyObject * obj0 = 0 ;
950 if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
954 Py_INCREF(Py_None); resultobj = Py_None;
961 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
963 otk::Display *arg1 = (otk::Display *) 0 ;
964 otk::GCCache *result;
965 PyObject * obj0 = 0 ;
967 if(!PyArg_ParseTuple(args,(char *)"O:Display_gcCache",&obj0)) goto fail;
968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
969 result = (otk::GCCache *)((otk::Display const *)arg1)->gcCache();
971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
978 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
980 otk::Display *arg1 = (otk::Display *) 0 ;
982 otk::ScreenInfo *result;
983 PyObject * obj0 = 0 ;
985 if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
987 result = (otk::ScreenInfo *)(arg1)->screenInfo(arg2);
989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
996 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
998 otk::Display *arg1 = (otk::Display *) 0 ;
1000 otk::ScreenInfo *result;
1001 PyObject * obj0 = 0 ;
1002 PyObject * obj1 = 0 ;
1004 if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1006 arg2 = (Window) PyInt_AsLong(obj1);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 result = (otk::ScreenInfo *)(arg1)->findScreen(arg2);
1010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1017 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1018 PyObject *resultobj;
1019 otk::Display *arg1 = (otk::Display *) 0 ;
1021 PyObject * obj0 = 0 ;
1023 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
1024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1025 result = (bool)((otk::Display const *)arg1)->xkb();
1027 resultobj = PyInt_FromLong((long)result);
1034 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1035 PyObject *resultobj;
1036 otk::Display *arg1 = (otk::Display *) 0 ;
1038 PyObject * obj0 = 0 ;
1040 if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
1041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1042 result = (int)((otk::Display const *)arg1)->xkbEventBase();
1044 resultobj = PyInt_FromLong((long)result);
1051 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1052 PyObject *resultobj;
1053 otk::Display *arg1 = (otk::Display *) 0 ;
1055 PyObject * obj0 = 0 ;
1057 if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1059 result = (bool)((otk::Display const *)arg1)->shape();
1061 resultobj = PyInt_FromLong((long)result);
1068 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1069 PyObject *resultobj;
1070 otk::Display *arg1 = (otk::Display *) 0 ;
1072 PyObject * obj0 = 0 ;
1074 if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
1075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1076 result = (int)((otk::Display const *)arg1)->shapeEventBase();
1078 resultobj = PyInt_FromLong((long)result);
1085 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1086 PyObject *resultobj;
1087 otk::Display *arg1 = (otk::Display *) 0 ;
1089 PyObject * obj0 = 0 ;
1091 if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
1092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1093 result = (bool)((otk::Display const *)arg1)->xinerama();
1095 resultobj = PyInt_FromLong((long)result);
1102 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1103 PyObject *resultobj;
1104 otk::Display *arg1 = (otk::Display *) 0 ;
1105 unsigned int result;
1106 PyObject * obj0 = 0 ;
1108 if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
1109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
1112 resultobj = PyInt_FromLong((long)result);
1119 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1120 PyObject *resultobj;
1121 otk::Display *arg1 = (otk::Display *) 0 ;
1122 unsigned int result;
1123 PyObject * obj0 = 0 ;
1125 if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
1126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1127 result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
1129 resultobj = PyInt_FromLong((long)result);
1136 static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
1137 PyObject *resultobj;
1138 otk::Display *arg1 = (otk::Display *) 0 ;
1140 PyObject * obj0 = 0 ;
1142 if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144 result = (Display *)((otk::Display const *)arg1)->operator *();
1146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1153 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1154 PyObject *resultobj;
1155 otk::Display *arg1 = (otk::Display *) 0 ;
1156 PyObject * obj0 = 0 ;
1158 if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 Py_INCREF(Py_None); resultobj = Py_None;
1169 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1170 PyObject *resultobj;
1171 otk::Display *arg1 = (otk::Display *) 0 ;
1172 PyObject * obj0 = 0 ;
1174 if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1178 Py_INCREF(Py_None); resultobj = Py_None;
1185 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1186 PyObject *resultobj;
1187 otk::Display *arg1 = (otk::Display *) 0 ;
1198 PyObject * obj0 = 0 ;
1199 PyObject * obj1 = 0 ;
1200 PyObject * obj2 = 0 ;
1201 PyObject * obj3 = 0 ;
1202 PyObject * obj4 = 0 ;
1203 PyObject * obj5 = 0 ;
1204 PyObject * obj8 = 0 ;
1205 PyObject * obj9 = 0 ;
1206 PyObject * obj10 = 0 ;
1208 if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210 arg2 = (unsigned int) PyInt_AsLong(obj1);
1211 if (PyErr_Occurred()) SWIG_fail;
1212 arg3 = (unsigned int) PyInt_AsLong(obj2);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 arg4 = (Window) PyInt_AsLong(obj3);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 arg5 = (bool) PyInt_AsLong(obj4);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 arg6 = (unsigned int) PyInt_AsLong(obj5);
1219 if (PyErr_Occurred()) SWIG_fail;
1220 arg9 = (Window) PyInt_AsLong(obj8);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 arg10 = (Cursor) PyInt_AsLong(obj9);
1223 if (PyErr_Occurred()) SWIG_fail;
1224 arg11 = (bool) PyInt_AsLong(obj10);
1225 if (PyErr_Occurred()) SWIG_fail;
1226 ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1228 Py_INCREF(Py_None); resultobj = Py_None;
1235 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1236 PyObject *resultobj;
1237 otk::Display *arg1 = (otk::Display *) 0 ;
1241 PyObject * obj0 = 0 ;
1242 PyObject * obj1 = 0 ;
1243 PyObject * obj2 = 0 ;
1244 PyObject * obj3 = 0 ;
1246 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1248 arg2 = (unsigned int) PyInt_AsLong(obj1);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 arg3 = (unsigned int) PyInt_AsLong(obj2);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 arg4 = (Window) PyInt_AsLong(obj3);
1253 if (PyErr_Occurred()) SWIG_fail;
1254 ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1256 Py_INCREF(Py_None); resultobj = Py_None;
1263 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1264 PyObject *resultobj;
1265 otk::Display *arg1 = (otk::Display *) 0 ;
1273 PyObject * obj0 = 0 ;
1274 PyObject * obj1 = 0 ;
1275 PyObject * obj2 = 0 ;
1276 PyObject * obj3 = 0 ;
1277 PyObject * obj4 = 0 ;
1278 PyObject * obj7 = 0 ;
1280 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 arg2 = (unsigned int) PyInt_AsLong(obj1);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 arg3 = (unsigned int) PyInt_AsLong(obj2);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 arg4 = (Window) PyInt_AsLong(obj3);
1287 if (PyErr_Occurred()) SWIG_fail;
1288 arg5 = (bool) PyInt_AsLong(obj4);
1289 if (PyErr_Occurred()) SWIG_fail;
1290 arg8 = (bool) PyInt_AsLong(obj7);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1294 Py_INCREF(Py_None); resultobj = Py_None;
1301 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1302 PyObject *resultobj;
1303 otk::Display *arg1 = (otk::Display *) 0 ;
1307 PyObject * obj0 = 0 ;
1308 PyObject * obj1 = 0 ;
1309 PyObject * obj2 = 0 ;
1310 PyObject * obj3 = 0 ;
1312 if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 arg2 = (unsigned int) PyInt_AsLong(obj1);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 arg3 = (unsigned int) PyInt_AsLong(obj2);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 arg4 = (Window) PyInt_AsLong(obj3);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1322 Py_INCREF(Py_None); resultobj = Py_None;
1329 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1332 SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1334 return Py_BuildValue((char *)"");
1336 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1337 PyObject *resultobj;
1340 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1341 result = (otk::Point *)new otk::Point();
1343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1350 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1351 PyObject *resultobj;
1356 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1357 result = (otk::Point *)new otk::Point(arg1,arg2);
1359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1366 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1371 argc = PyObject_Length(args);
1372 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1373 argv[ii] = PyTuple_GetItem(args,ii);
1376 return _wrap_new_Point__SWIG_0(self,args);
1381 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1385 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1388 return _wrap_new_Point__SWIG_1(self,args);
1393 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1398 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1399 PyObject *resultobj;
1400 otk::Point *arg1 = (otk::Point *) 0 ;
1402 PyObject * obj0 = 0 ;
1404 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 Py_INCREF(Py_None); resultobj = Py_None;
1415 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1416 PyObject *resultobj;
1417 otk::Point *arg1 = (otk::Point *) 0 ;
1419 PyObject * obj0 = 0 ;
1421 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423 result = (int)((otk::Point const *)arg1)->x();
1425 resultobj = PyInt_FromLong((long)result);
1432 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1433 PyObject *resultobj;
1434 otk::Point *arg1 = (otk::Point *) 0 ;
1436 PyObject * obj0 = 0 ;
1438 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1442 Py_INCREF(Py_None); resultobj = Py_None;
1449 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1450 PyObject *resultobj;
1451 otk::Point *arg1 = (otk::Point *) 0 ;
1453 PyObject * obj0 = 0 ;
1455 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1457 result = (int)((otk::Point const *)arg1)->y();
1459 resultobj = PyInt_FromLong((long)result);
1466 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1467 PyObject *resultobj;
1468 otk::Point *arg1 = (otk::Point *) 0 ;
1471 PyObject * obj0 = 0 ;
1473 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 (arg1)->setPoint(arg2,arg3);
1477 Py_INCREF(Py_None); resultobj = Py_None;
1484 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1487 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1489 return Py_BuildValue((char *)"");
1491 static PyObject *_wrap_new_Property(PyObject *self, PyObject *args) {
1492 PyObject *resultobj;
1493 otk::Property *result;
1495 if(!PyArg_ParseTuple(args,(char *)":new_Property")) goto fail;
1496 result = (otk::Property *)new otk::Property();
1498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Property, 1);
1505 static PyObject *_wrap_delete_Property(PyObject *self, PyObject *args) {
1506 PyObject *resultobj;
1507 otk::Property *arg1 = (otk::Property *) 0 ;
1508 PyObject * obj0 = 0 ;
1510 if(!PyArg_ParseTuple(args,(char *)"O:delete_Property",&obj0)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 Py_INCREF(Py_None); resultobj = Py_None;
1521 static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
1522 PyObject *resultobj;
1523 otk::Property *arg1 = (otk::Property *) 0 ;
1527 unsigned long arg5 ;
1528 PyObject * obj0 = 0 ;
1529 PyObject * obj1 = 0 ;
1530 PyObject * obj4 = 0 ;
1532 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1534 arg2 = (Window) PyInt_AsLong(obj1);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 arg5 = (unsigned long) PyInt_AsLong(obj4);
1537 if (PyErr_Occurred()) SWIG_fail;
1538 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5);
1540 Py_INCREF(Py_None); resultobj = Py_None;
1547 static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
1548 PyObject *resultobj;
1549 otk::Property *arg1 = (otk::Property *) 0 ;
1553 unsigned long *arg5 ;
1555 PyObject * obj0 = 0 ;
1556 PyObject * obj1 = 0 ;
1557 PyObject * obj4 = 0 ;
1559 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 arg2 = (Window) PyInt_AsLong(obj1);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5,arg6);
1566 Py_INCREF(Py_None); resultobj = Py_None;
1573 static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
1574 PyObject *resultobj;
1575 otk::Property *arg1 = (otk::Property *) 0 ;
1579 otk::ustring *arg5 = 0 ;
1580 otk::ustring temp5 ;
1581 PyObject * obj0 = 0 ;
1582 PyObject * obj1 = 0 ;
1583 PyObject * obj4 = 0 ;
1585 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1587 arg2 = (Window) PyInt_AsLong(obj1);
1588 if (PyErr_Occurred()) SWIG_fail;
1590 if (PyString_Check(obj4)) {
1591 temp5 = otk::ustring(PyString_AsString(obj4));
1594 SWIG_exception(SWIG_TypeError, "ustring expected");
1597 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,(otk::ustring const &)*arg5);
1599 Py_INCREF(Py_None); resultobj = Py_None;
1606 static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
1607 PyObject *resultobj;
1608 otk::Property *arg1 = (otk::Property *) 0 ;
1612 otk::Property::StringVect *arg5 = 0 ;
1613 PyObject * obj0 = 0 ;
1614 PyObject * obj1 = 0 ;
1615 PyObject * obj4 = 0 ;
1617 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1619 arg2 = (Window) PyInt_AsLong(obj1);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1623 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1625 ((otk::Property const *)arg1)->set(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,(otk::Property::StringVect const &)*arg5);
1627 Py_INCREF(Py_None); resultobj = Py_None;
1634 static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
1639 argc = PyObject_Length(args);
1640 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1641 argv[ii] = PyTuple_GetItem(args,ii);
1647 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1656 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1660 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1664 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1669 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
1677 return _wrap_Property_set__SWIG_3(self,args);
1688 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1697 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1701 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1705 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1709 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1712 return _wrap_Property_set__SWIG_0(self,args);
1723 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1732 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1736 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1740 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1744 _v = PyString_Check(argv[4]) ? 1 : 0;
1747 return _wrap_Property_set__SWIG_2(self,args);
1758 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1767 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1771 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1775 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1780 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
1789 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
1792 return _wrap_Property_set__SWIG_1(self,args);
1801 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
1806 static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
1807 PyObject *resultobj;
1808 otk::Property *arg1 = (otk::Property *) 0 ;
1812 unsigned long *arg5 = (unsigned long *) 0 ;
1813 unsigned long **arg6 = (unsigned long **) 0 ;
1815 PyObject * obj0 = 0 ;
1816 PyObject * obj1 = 0 ;
1817 PyObject * obj4 = 0 ;
1818 PyObject * obj5 = 0 ;
1820 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1822 arg2 = (Window) PyInt_AsLong(obj1);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1825 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1826 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5,arg6);
1828 resultobj = PyInt_FromLong((long)result);
1835 static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
1836 PyObject *resultobj;
1837 otk::Property *arg1 = (otk::Property *) 0 ;
1841 unsigned long *arg5 = (unsigned long *) 0 ;
1843 PyObject * obj0 = 0 ;
1844 PyObject * obj1 = 0 ;
1845 PyObject * obj4 = 0 ;
1847 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1849 arg2 = (Window) PyInt_AsLong(obj1);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1852 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::Atoms )arg4,arg5);
1854 resultobj = PyInt_FromLong((long)result);
1861 static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
1862 PyObject *resultobj;
1863 otk::Property *arg1 = (otk::Property *) 0 ;
1867 otk::ustring *arg5 = (otk::ustring *) 0 ;
1869 PyObject * obj0 = 0 ;
1870 PyObject * obj1 = 0 ;
1871 PyObject * obj4 = 0 ;
1873 if(!PyArg_ParseTuple(args,(char *)"OOiiO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 arg2 = (Window) PyInt_AsLong(obj1);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__ustring,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1878 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,arg5);
1880 resultobj = PyInt_FromLong((long)result);
1887 static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
1888 PyObject *resultobj;
1889 otk::Property *arg1 = (otk::Property *) 0 ;
1893 unsigned long *arg5 = (unsigned long *) 0 ;
1894 otk::Property::StringVect *arg6 = (otk::Property::StringVect *) 0 ;
1896 PyObject * obj0 = 0 ;
1897 PyObject * obj1 = 0 ;
1898 PyObject * obj4 = 0 ;
1899 PyObject * obj5 = 0 ;
1901 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:Property_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 arg2 = (Window) PyInt_AsLong(obj1);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 result = (bool)((otk::Property const *)arg1)->get(arg2,(otk::Property::Atoms )arg3,(otk::Property::StringType )arg4,arg5,arg6);
1909 resultobj = PyInt_FromLong((long)result);
1916 static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
1921 argc = PyObject_Length(args);
1922 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1923 argv[ii] = PyTuple_GetItem(args,ii);
1929 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1938 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1942 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1946 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1951 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
1959 return _wrap_Property_get__SWIG_1(self,args);
1970 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
1979 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1983 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1987 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1992 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__ustring, 0) == -1) {
2000 return _wrap_Property_get__SWIG_2(self,args);
2011 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
2020 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2024 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2028 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2033 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
2043 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
2051 return _wrap_Property_get__SWIG_0(self,args);
2063 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Property, 0) == -1) {
2072 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2076 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2080 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2085 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
2095 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
2103 return _wrap_Property_get__SWIG_3(self,args);
2112 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
2117 static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
2118 PyObject *resultobj;
2119 otk::Property *arg1 = (otk::Property *) 0 ;
2122 PyObject * obj0 = 0 ;
2123 PyObject * obj1 = 0 ;
2125 if(!PyArg_ParseTuple(args,(char *)"OOi:Property_erase",&obj0,&obj1,&arg3)) goto fail;
2126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2127 arg2 = (Window) PyInt_AsLong(obj1);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 ((otk::Property const *)arg1)->erase(arg2,(otk::Property::Atoms )arg3);
2131 Py_INCREF(Py_None); resultobj = Py_None;
2138 static PyObject *_wrap_Property_atom(PyObject *self, PyObject *args) {
2139 PyObject *resultobj;
2140 otk::Property *arg1 = (otk::Property *) 0 ;
2143 PyObject * obj0 = 0 ;
2145 if(!PyArg_ParseTuple(args,(char *)"Oi:Property_atom",&obj0,&arg2)) goto fail;
2146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Property,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2147 result = (Atom)((otk::Property const *)arg1)->atom((otk::Property::Atoms )arg2);
2149 resultobj = PyInt_FromLong((long)result);
2156 static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
2158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2159 SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
2161 return Py_BuildValue((char *)"");
2163 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
2164 PyObject *resultobj;
2167 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
2168 result = (otk::Rect *)new otk::Rect();
2170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2177 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
2178 PyObject *resultobj;
2185 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
2186 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
2188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2195 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
2196 PyObject *resultobj;
2197 otk::Point *arg1 = 0 ;
2198 otk::Point *arg2 = 0 ;
2200 PyObject * obj0 = 0 ;
2201 PyObject * obj1 = 0 ;
2203 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
2204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2212 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
2214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2221 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
2222 PyObject *resultobj;
2223 otk::Rect *arg1 = 0 ;
2225 PyObject * obj0 = 0 ;
2227 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
2228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2232 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
2234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2241 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
2242 PyObject *resultobj;
2243 XRectangle *arg1 = 0 ;
2245 PyObject * obj0 = 0 ;
2247 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
2248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2252 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
2254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
2261 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
2266 argc = PyObject_Length(args);
2267 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
2268 argv[ii] = PyTuple_GetItem(args,ii);
2271 return _wrap_new_Rect__SWIG_0(self,args);
2277 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2285 return _wrap_new_Rect__SWIG_3(self,args);
2292 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
2300 return _wrap_new_Rect__SWIG_4(self,args);
2307 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2317 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2325 return _wrap_new_Rect__SWIG_2(self,args);
2332 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
2336 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2340 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2344 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2347 return _wrap_new_Rect__SWIG_1(self,args);
2354 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
2359 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
2360 PyObject *resultobj;
2361 otk::Rect *arg1 = (otk::Rect *) 0 ;
2363 PyObject * obj0 = 0 ;
2365 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
2366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 result = (int)((otk::Rect const *)arg1)->left();
2369 resultobj = PyInt_FromLong((long)result);
2376 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
2377 PyObject *resultobj;
2378 otk::Rect *arg1 = (otk::Rect *) 0 ;
2380 PyObject * obj0 = 0 ;
2382 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
2383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2384 result = (int)((otk::Rect const *)arg1)->top();
2386 resultobj = PyInt_FromLong((long)result);
2393 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
2394 PyObject *resultobj;
2395 otk::Rect *arg1 = (otk::Rect *) 0 ;
2397 PyObject * obj0 = 0 ;
2399 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
2400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2401 result = (int)((otk::Rect const *)arg1)->right();
2403 resultobj = PyInt_FromLong((long)result);
2410 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
2411 PyObject *resultobj;
2412 otk::Rect *arg1 = (otk::Rect *) 0 ;
2414 PyObject * obj0 = 0 ;
2416 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
2417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2418 result = (int)((otk::Rect const *)arg1)->bottom();
2420 resultobj = PyInt_FromLong((long)result);
2427 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
2428 PyObject *resultobj;
2429 otk::Rect *arg1 = (otk::Rect *) 0 ;
2431 PyObject * obj0 = 0 ;
2433 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2435 result = (int)((otk::Rect const *)arg1)->x();
2437 resultobj = PyInt_FromLong((long)result);
2444 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
2445 PyObject *resultobj;
2446 otk::Rect *arg1 = (otk::Rect *) 0 ;
2448 PyObject * obj0 = 0 ;
2450 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
2451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2452 result = (int)((otk::Rect const *)arg1)->y();
2454 resultobj = PyInt_FromLong((long)result);
2461 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
2462 PyObject *resultobj;
2463 otk::Rect *arg1 = (otk::Rect *) 0 ;
2465 PyObject * obj0 = 0 ;
2467 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
2468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2469 result = ((otk::Rect const *)arg1)->location();
2472 otk::Point * resultptr;
2473 resultptr = new otk::Point((otk::Point &) result);
2474 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
2482 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
2483 PyObject *resultobj;
2484 otk::Rect *arg1 = (otk::Rect *) 0 ;
2486 PyObject * obj0 = 0 ;
2488 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
2489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2492 Py_INCREF(Py_None); resultobj = Py_None;
2499 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
2500 PyObject *resultobj;
2501 otk::Rect *arg1 = (otk::Rect *) 0 ;
2503 PyObject * obj0 = 0 ;
2505 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2509 Py_INCREF(Py_None); resultobj = Py_None;
2516 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
2517 PyObject *resultobj;
2518 otk::Rect *arg1 = (otk::Rect *) 0 ;
2521 PyObject * obj0 = 0 ;
2523 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
2524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2525 (arg1)->setPos(arg2,arg3);
2527 Py_INCREF(Py_None); resultobj = Py_None;
2534 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
2535 PyObject *resultobj;
2536 otk::Rect *arg1 = (otk::Rect *) 0 ;
2537 otk::Point *arg2 = 0 ;
2538 PyObject * obj0 = 0 ;
2539 PyObject * obj1 = 0 ;
2541 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2547 (arg1)->setPos((otk::Point const &)*arg2);
2549 Py_INCREF(Py_None); resultobj = Py_None;
2556 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
2561 argc = PyObject_Length(args);
2562 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2563 argv[ii] = PyTuple_GetItem(args,ii);
2569 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2579 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2587 return _wrap_Rect_setPos__SWIG_1(self,args);
2595 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2604 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2608 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2611 return _wrap_Rect_setPos__SWIG_0(self,args);
2617 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
2622 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
2623 PyObject *resultobj;
2624 otk::Rect *arg1 = (otk::Rect *) 0 ;
2626 PyObject * obj0 = 0 ;
2628 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 result = (int)((otk::Rect const *)arg1)->width();
2632 resultobj = PyInt_FromLong((long)result);
2639 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
2640 PyObject *resultobj;
2641 otk::Rect *arg1 = (otk::Rect *) 0 ;
2643 PyObject * obj0 = 0 ;
2645 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
2646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2647 result = (int)((otk::Rect const *)arg1)->height();
2649 resultobj = PyInt_FromLong((long)result);
2656 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
2657 PyObject *resultobj;
2658 otk::Rect *arg1 = (otk::Rect *) 0 ;
2660 PyObject * obj0 = 0 ;
2662 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
2663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2664 result = ((otk::Rect const *)arg1)->size();
2667 otk::Point * resultptr;
2668 resultptr = new otk::Point((otk::Point &) result);
2669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
2677 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
2678 PyObject *resultobj;
2679 otk::Rect *arg1 = (otk::Rect *) 0 ;
2681 PyObject * obj0 = 0 ;
2683 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 (arg1)->setWidth(arg2);
2687 Py_INCREF(Py_None); resultobj = Py_None;
2694 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
2695 PyObject *resultobj;
2696 otk::Rect *arg1 = (otk::Rect *) 0 ;
2698 PyObject * obj0 = 0 ;
2700 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 (arg1)->setHeight(arg2);
2704 Py_INCREF(Py_None); resultobj = Py_None;
2711 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
2712 PyObject *resultobj;
2713 otk::Rect *arg1 = (otk::Rect *) 0 ;
2716 PyObject * obj0 = 0 ;
2718 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
2719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 (arg1)->setSize(arg2,arg3);
2722 Py_INCREF(Py_None); resultobj = Py_None;
2729 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
2730 PyObject *resultobj;
2731 otk::Rect *arg1 = (otk::Rect *) 0 ;
2732 otk::Point *arg2 = 0 ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2736 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
2737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2742 (arg1)->setSize((otk::Point const &)*arg2);
2744 Py_INCREF(Py_None); resultobj = Py_None;
2751 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
2756 argc = PyObject_Length(args);
2757 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2758 argv[ii] = PyTuple_GetItem(args,ii);
2764 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2774 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2782 return _wrap_Rect_setSize__SWIG_1(self,args);
2790 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2799 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2803 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2806 return _wrap_Rect_setSize__SWIG_0(self,args);
2812 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
2817 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
2818 PyObject *resultobj;
2819 otk::Rect *arg1 = (otk::Rect *) 0 ;
2824 PyObject * obj0 = 0 ;
2826 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 (arg1)->setRect(arg2,arg3,arg4,arg5);
2830 Py_INCREF(Py_None); resultobj = Py_None;
2837 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
2838 PyObject *resultobj;
2839 otk::Rect *arg1 = (otk::Rect *) 0 ;
2840 otk::Point *arg2 = 0 ;
2841 otk::Point *arg3 = 0 ;
2842 PyObject * obj0 = 0 ;
2843 PyObject * obj1 = 0 ;
2844 PyObject * obj2 = 0 ;
2846 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
2847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2852 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2856 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
2858 Py_INCREF(Py_None); resultobj = Py_None;
2865 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
2870 argc = PyObject_Length(args);
2871 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2872 argv[ii] = PyTuple_GetItem(args,ii);
2878 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2888 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2898 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2906 return _wrap_Rect_setRect__SWIG_1(self,args);
2915 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2924 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2928 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2932 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2936 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2939 return _wrap_Rect_setRect__SWIG_0(self,args);
2947 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
2952 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
2953 PyObject *resultobj;
2954 otk::Rect *arg1 = (otk::Rect *) 0 ;
2959 PyObject * obj0 = 0 ;
2961 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 (arg1)->setCoords(arg2,arg3,arg4,arg5);
2965 Py_INCREF(Py_None); resultobj = Py_None;
2972 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
2973 PyObject *resultobj;
2974 otk::Rect *arg1 = (otk::Rect *) 0 ;
2975 otk::Point *arg2 = 0 ;
2976 otk::Point *arg3 = 0 ;
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 PyObject * obj2 = 0 ;
2981 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2987 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2989 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2991 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
2993 Py_INCREF(Py_None); resultobj = Py_None;
3000 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
3005 argc = PyObject_Length(args);
3006 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
3007 argv[ii] = PyTuple_GetItem(args,ii);
3013 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3023 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
3033 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
3041 return _wrap_Rect_setCoords__SWIG_1(self,args);
3050 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3059 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3063 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3067 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
3071 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
3074 return _wrap_Rect_setCoords__SWIG_0(self,args);
3082 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
3087 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
3088 PyObject *resultobj;
3089 otk::Rect *arg1 = (otk::Rect *) 0 ;
3090 otk::Rect *arg2 = 0 ;
3092 PyObject * obj0 = 0 ;
3093 PyObject * obj1 = 0 ;
3095 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3101 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
3103 resultobj = PyInt_FromLong((long)result);
3110 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
3111 PyObject *resultobj;
3112 otk::Rect *arg1 = (otk::Rect *) 0 ;
3113 otk::Rect *arg2 = 0 ;
3115 PyObject * obj0 = 0 ;
3116 PyObject * obj1 = 0 ;
3118 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3124 result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
3126 resultobj = PyInt_FromLong((long)result);
3133 static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
3134 PyObject *resultobj;
3135 otk::Rect *arg1 = (otk::Rect *) 0 ;
3136 otk::Rect *arg2 = 0 ;
3138 PyObject * obj0 = 0 ;
3139 PyObject * obj1 = 0 ;
3141 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
3142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3147 result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
3150 otk::Rect * resultptr;
3151 resultptr = new otk::Rect((otk::Rect &) result);
3152 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
3160 static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
3161 PyObject *resultobj;
3162 otk::Rect *arg1 = (otk::Rect *) 0 ;
3163 otk::Rect *arg2 = 0 ;
3165 PyObject * obj0 = 0 ;
3166 PyObject * obj1 = 0 ;
3168 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3174 result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
3177 otk::Rect * resultptr;
3178 resultptr = new otk::Rect((otk::Rect &) result);
3179 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
3187 static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
3188 PyObject *resultobj;
3189 otk::Rect *arg1 = (otk::Rect *) 0 ;
3190 otk::Rect *arg2 = 0 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3195 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
3196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3202 otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
3203 result = (otk::Rect *) &_result_ref;
3206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3213 static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
3214 PyObject *resultobj;
3215 otk::Rect *arg1 = (otk::Rect *) 0 ;
3216 otk::Rect *arg2 = 0 ;
3218 PyObject * obj0 = 0 ;
3219 PyObject * obj1 = 0 ;
3221 if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
3222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3228 otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
3229 result = (otk::Rect *) &_result_ref;
3232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3239 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
3240 PyObject *resultobj;
3241 otk::Rect *arg1 = (otk::Rect *) 0 ;
3243 PyObject * obj0 = 0 ;
3245 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
3246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3247 result = (bool)((otk::Rect const *)arg1)->valid();
3249 resultobj = PyInt_FromLong((long)result);
3256 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
3257 PyObject *resultobj;
3258 otk::Rect *arg1 = (otk::Rect *) 0 ;
3259 otk::Rect *arg2 = 0 ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3264 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3270 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
3272 resultobj = PyInt_FromLong((long)result);
3279 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
3280 PyObject *resultobj;
3281 otk::Rect *arg1 = (otk::Rect *) 0 ;
3285 PyObject * obj0 = 0 ;
3287 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
3291 resultobj = PyInt_FromLong((long)result);
3298 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
3299 PyObject *resultobj;
3300 otk::Rect *arg1 = (otk::Rect *) 0 ;
3301 otk::Point *arg2 = 0 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3306 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3312 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
3314 resultobj = PyInt_FromLong((long)result);
3321 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
3322 PyObject *resultobj;
3323 otk::Rect *arg1 = (otk::Rect *) 0 ;
3324 otk::Rect *arg2 = 0 ;
3326 PyObject * obj0 = 0 ;
3327 PyObject * obj1 = 0 ;
3329 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3335 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
3337 resultobj = PyInt_FromLong((long)result);
3344 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
3349 argc = PyObject_Length(args);
3350 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3351 argv[ii] = PyTuple_GetItem(args,ii);
3357 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3367 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
3375 return _wrap_Rect_contains__SWIG_1(self,args);
3383 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3393 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3401 return _wrap_Rect_contains__SWIG_2(self,args);
3409 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
3418 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3422 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3425 return _wrap_Rect_contains__SWIG_0(self,args);
3431 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
3436 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3439 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
3441 return Py_BuildValue((char *)"");
3443 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
3444 PyObject *resultobj;
3446 otk::ScreenInfo *result;
3447 PyObject * obj0 = 0 ;
3449 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
3450 arg1 = (unsigned int) PyInt_AsLong(obj0);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
3454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
3461 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
3462 PyObject *resultobj;
3463 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3465 PyObject * obj0 = 0 ;
3467 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3469 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
3471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
3478 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
3479 PyObject *resultobj;
3480 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3482 PyObject * obj0 = 0 ;
3484 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
3488 resultobj = PyInt_FromLong((long)result);
3495 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
3496 PyObject *resultobj;
3497 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3499 PyObject * obj0 = 0 ;
3501 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
3502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3503 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
3505 resultobj = PyInt_FromLong((long)result);
3512 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
3513 PyObject *resultobj;
3514 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3516 PyObject * obj0 = 0 ;
3518 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
3519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3520 result = (int)((otk::ScreenInfo const *)arg1)->depth();
3522 resultobj = PyInt_FromLong((long)result);
3529 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
3530 PyObject *resultobj;
3531 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3532 unsigned int result;
3533 PyObject * obj0 = 0 ;
3535 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
3539 resultobj = PyInt_FromLong((long)result);
3546 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
3547 PyObject *resultobj;
3548 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3550 PyObject * obj0 = 0 ;
3552 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3555 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
3556 result = (otk::Rect *) &_result_ref;
3559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
3566 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
3567 PyObject *resultobj;
3568 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3569 unsigned int result;
3570 PyObject * obj0 = 0 ;
3572 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3574 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
3576 resultobj = PyInt_FromLong((long)result);
3583 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
3584 PyObject *resultobj;
3585 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3586 unsigned int result;
3587 PyObject * obj0 = 0 ;
3589 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
3593 resultobj = PyInt_FromLong((long)result);
3600 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
3601 PyObject *resultobj;
3602 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
3603 std::string *result;
3604 PyObject * obj0 = 0 ;
3606 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3609 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
3610 result = (std::string *) &_result_ref;
3614 resultobj = PyString_FromString(result->c_str());
3622 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
3624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3625 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
3627 return Py_BuildValue((char *)"");
3629 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
3630 PyObject *resultobj;
3631 otk::Strut *arg1 = (otk::Strut *) 0 ;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3636 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 arg2 = (unsigned int) PyInt_AsLong(obj1);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 if (arg1) (arg1)->top = arg2;
3642 Py_INCREF(Py_None); resultobj = Py_None;
3649 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
3650 PyObject *resultobj;
3651 otk::Strut *arg1 = (otk::Strut *) 0 ;
3652 unsigned int result;
3653 PyObject * obj0 = 0 ;
3655 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
3656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3657 result = (unsigned int) ((arg1)->top);
3659 resultobj = PyInt_FromLong((long)result);
3666 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
3667 PyObject *resultobj;
3668 otk::Strut *arg1 = (otk::Strut *) 0 ;
3670 PyObject * obj0 = 0 ;
3671 PyObject * obj1 = 0 ;
3673 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 arg2 = (unsigned int) PyInt_AsLong(obj1);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 if (arg1) (arg1)->bottom = arg2;
3679 Py_INCREF(Py_None); resultobj = Py_None;
3686 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
3687 PyObject *resultobj;
3688 otk::Strut *arg1 = (otk::Strut *) 0 ;
3689 unsigned int result;
3690 PyObject * obj0 = 0 ;
3692 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
3693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3694 result = (unsigned int) ((arg1)->bottom);
3696 resultobj = PyInt_FromLong((long)result);
3703 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
3704 PyObject *resultobj;
3705 otk::Strut *arg1 = (otk::Strut *) 0 ;
3707 PyObject * obj0 = 0 ;
3708 PyObject * obj1 = 0 ;
3710 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 arg2 = (unsigned int) PyInt_AsLong(obj1);
3713 if (PyErr_Occurred()) SWIG_fail;
3714 if (arg1) (arg1)->left = arg2;
3716 Py_INCREF(Py_None); resultobj = Py_None;
3723 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
3724 PyObject *resultobj;
3725 otk::Strut *arg1 = (otk::Strut *) 0 ;
3726 unsigned int result;
3727 PyObject * obj0 = 0 ;
3729 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
3730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3731 result = (unsigned int) ((arg1)->left);
3733 resultobj = PyInt_FromLong((long)result);
3740 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
3741 PyObject *resultobj;
3742 otk::Strut *arg1 = (otk::Strut *) 0 ;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3747 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
3748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3749 arg2 = (unsigned int) PyInt_AsLong(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 if (arg1) (arg1)->right = arg2;
3753 Py_INCREF(Py_None); resultobj = Py_None;
3760 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
3761 PyObject *resultobj;
3762 otk::Strut *arg1 = (otk::Strut *) 0 ;
3763 unsigned int result;
3764 PyObject * obj0 = 0 ;
3766 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
3767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3768 result = (unsigned int) ((arg1)->right);
3770 resultobj = PyInt_FromLong((long)result);
3777 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
3778 PyObject *resultobj;
3781 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
3782 result = (otk::Strut *)new otk::Strut();
3784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
3791 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
3792 PyObject *resultobj;
3799 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
3800 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
3802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
3809 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
3814 argc = PyObject_Length(args);
3815 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
3816 argv[ii] = PyTuple_GetItem(args,ii);
3819 return _wrap_new_Strut__SWIG_0(self,args);
3824 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
3828 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
3832 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
3836 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
3839 return _wrap_new_Strut__SWIG_1(self,args);
3846 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
3851 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
3853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3854 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
3856 return Py_BuildValue((char *)"");
3858 static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
3859 PyObject *resultobj;
3860 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3865 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3871 (arg1)->handle((XEvent const &)*arg2);
3873 Py_INCREF(Py_None); resultobj = Py_None;
3880 static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
3881 PyObject *resultobj;
3882 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3883 XKeyEvent *arg2 = 0 ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3887 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3893 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
3895 Py_INCREF(Py_None); resultobj = Py_None;
3902 static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
3903 PyObject *resultobj;
3904 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3905 XKeyEvent *arg2 = 0 ;
3906 PyObject * obj0 = 0 ;
3907 PyObject * obj1 = 0 ;
3909 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
3910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3915 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
3917 Py_INCREF(Py_None); resultobj = Py_None;
3924 static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
3925 PyObject *resultobj;
3926 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3927 XButtonEvent *arg2 = 0 ;
3928 PyObject * obj0 = 0 ;
3929 PyObject * obj1 = 0 ;
3931 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
3932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3937 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
3939 Py_INCREF(Py_None); resultobj = Py_None;
3946 static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
3947 PyObject *resultobj;
3948 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3949 XButtonEvent *arg2 = 0 ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3953 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3959 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
3961 Py_INCREF(Py_None); resultobj = Py_None;
3968 static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
3969 PyObject *resultobj;
3970 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3971 XMotionEvent *arg2 = 0 ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3975 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3981 (arg1)->motionHandler((XMotionEvent const &)*arg2);
3983 Py_INCREF(Py_None); resultobj = Py_None;
3990 static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
3991 PyObject *resultobj;
3992 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
3993 XCrossingEvent *arg2 = 0 ;
3994 PyObject * obj0 = 0 ;
3995 PyObject * obj1 = 0 ;
3997 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4003 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
4005 Py_INCREF(Py_None); resultobj = Py_None;
4012 static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
4013 PyObject *resultobj;
4014 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4015 XCrossingEvent *arg2 = 0 ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4019 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4025 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
4027 Py_INCREF(Py_None); resultobj = Py_None;
4034 static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
4035 PyObject *resultobj;
4036 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4037 XFocusChangeEvent *arg2 = 0 ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4041 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
4042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4047 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
4049 Py_INCREF(Py_None); resultobj = Py_None;
4056 static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
4057 PyObject *resultobj;
4058 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4059 XFocusChangeEvent *arg2 = 0 ;
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj1 = 0 ;
4063 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
4064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4069 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
4071 Py_INCREF(Py_None); resultobj = Py_None;
4078 static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
4079 PyObject *resultobj;
4080 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4081 XExposeEvent *arg2 = 0 ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4085 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4091 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
4093 Py_INCREF(Py_None); resultobj = Py_None;
4100 static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
4101 PyObject *resultobj;
4102 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4103 XGraphicsExposeEvent *arg2 = 0 ;
4104 PyObject * obj0 = 0 ;
4105 PyObject * obj1 = 0 ;
4107 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
4108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4113 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
4115 Py_INCREF(Py_None); resultobj = Py_None;
4122 static PyObject *_wrap_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
4123 PyObject *resultobj;
4124 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4125 XNoExposeEvent *arg2 = 0 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4129 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4135 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
4137 Py_INCREF(Py_None); resultobj = Py_None;
4144 static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
4145 PyObject *resultobj;
4146 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4147 XCirculateRequestEvent *arg2 = 0 ;
4148 PyObject * obj0 = 0 ;
4149 PyObject * obj1 = 0 ;
4151 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
4152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4157 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
4159 Py_INCREF(Py_None); resultobj = Py_None;
4166 static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
4167 PyObject *resultobj;
4168 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4169 XConfigureRequestEvent *arg2 = 0 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4173 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4179 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
4181 Py_INCREF(Py_None); resultobj = Py_None;
4188 static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
4189 PyObject *resultobj;
4190 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4191 XMapRequestEvent *arg2 = 0 ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4195 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4201 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
4203 Py_INCREF(Py_None); resultobj = Py_None;
4210 static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
4211 PyObject *resultobj;
4212 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4213 XResizeRequestEvent *arg2 = 0 ;
4214 PyObject * obj0 = 0 ;
4215 PyObject * obj1 = 0 ;
4217 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4223 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
4225 Py_INCREF(Py_None); resultobj = Py_None;
4232 static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
4233 PyObject *resultobj;
4234 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4235 XCirculateEvent *arg2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4239 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4245 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
4247 Py_INCREF(Py_None); resultobj = Py_None;
4254 static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
4255 PyObject *resultobj;
4256 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4257 XConfigureEvent *arg2 = 0 ;
4258 PyObject * obj0 = 0 ;
4259 PyObject * obj1 = 0 ;
4261 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4267 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
4269 Py_INCREF(Py_None); resultobj = Py_None;
4276 static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
4277 PyObject *resultobj;
4278 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4279 XCreateWindowEvent *arg2 = 0 ;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4283 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4289 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
4291 Py_INCREF(Py_None); resultobj = Py_None;
4298 static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
4299 PyObject *resultobj;
4300 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4301 XDestroyWindowEvent *arg2 = 0 ;
4302 PyObject * obj0 = 0 ;
4303 PyObject * obj1 = 0 ;
4305 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4311 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
4313 Py_INCREF(Py_None); resultobj = Py_None;
4320 static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
4321 PyObject *resultobj;
4322 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4323 XGravityEvent *arg2 = 0 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4327 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
4328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4333 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
4335 Py_INCREF(Py_None); resultobj = Py_None;
4342 static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
4343 PyObject *resultobj;
4344 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4345 XMapEvent *arg2 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4349 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4355 (arg1)->mapHandler((XMapEvent const &)*arg2);
4357 Py_INCREF(Py_None); resultobj = Py_None;
4364 static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
4365 PyObject *resultobj;
4366 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4367 XMappingEvent *arg2 = 0 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4371 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4377 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
4379 Py_INCREF(Py_None); resultobj = Py_None;
4386 static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
4387 PyObject *resultobj;
4388 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4389 XReparentEvent *arg2 = 0 ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4393 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
4394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4399 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
4401 Py_INCREF(Py_None); resultobj = Py_None;
4408 static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
4409 PyObject *resultobj;
4410 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4411 XUnmapEvent *arg2 = 0 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4415 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
4416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4421 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
4423 Py_INCREF(Py_None); resultobj = Py_None;
4430 static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
4431 PyObject *resultobj;
4432 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4433 XVisibilityEvent *arg2 = 0 ;
4434 PyObject * obj0 = 0 ;
4435 PyObject * obj1 = 0 ;
4437 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
4438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4443 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
4445 Py_INCREF(Py_None); resultobj = Py_None;
4452 static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
4453 PyObject *resultobj;
4454 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4455 XColormapEvent *arg2 = 0 ;
4456 PyObject * obj0 = 0 ;
4457 PyObject * obj1 = 0 ;
4459 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
4460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4465 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
4467 Py_INCREF(Py_None); resultobj = Py_None;
4474 static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
4475 PyObject *resultobj;
4476 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4477 XPropertyEvent *arg2 = 0 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4481 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4487 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
4489 Py_INCREF(Py_None); resultobj = Py_None;
4496 static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
4497 PyObject *resultobj;
4498 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4499 XSelectionClearEvent *arg2 = 0 ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4503 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
4504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4509 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
4511 Py_INCREF(Py_None); resultobj = Py_None;
4518 static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
4519 PyObject *resultobj;
4520 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4521 XSelectionEvent *arg2 = 0 ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4525 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
4526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4531 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
4533 Py_INCREF(Py_None); resultobj = Py_None;
4540 static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
4541 PyObject *resultobj;
4542 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4543 XSelectionRequestEvent *arg2 = 0 ;
4544 PyObject * obj0 = 0 ;
4545 PyObject * obj1 = 0 ;
4547 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4553 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
4555 Py_INCREF(Py_None); resultobj = Py_None;
4562 static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
4563 PyObject *resultobj;
4564 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4565 XClientMessageEvent *arg2 = 0 ;
4566 PyObject * obj0 = 0 ;
4567 PyObject * obj1 = 0 ;
4569 if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4575 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
4577 Py_INCREF(Py_None); resultobj = Py_None;
4584 static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
4585 PyObject *resultobj;
4586 otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
4587 PyObject * obj0 = 0 ;
4589 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
4590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593 Py_INCREF(Py_None); resultobj = Py_None;
4600 static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
4602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4603 SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
4605 return Py_BuildValue((char *)"");
4607 static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
4608 PyObject *resultobj;
4609 otk::EventDispatcher *result;
4611 if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
4612 result = (otk::EventDispatcher *)new otk::EventDispatcher();
4614 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
4621 static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
4622 PyObject *resultobj;
4623 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4624 PyObject * obj0 = 0 ;
4626 if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4630 Py_INCREF(Py_None); resultobj = Py_None;
4637 static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
4638 PyObject *resultobj;
4639 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4640 PyObject * obj0 = 0 ;
4642 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4644 (arg1)->clearAllHandlers();
4646 Py_INCREF(Py_None); resultobj = Py_None;
4653 static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
4654 PyObject *resultobj;
4655 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4657 otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
4658 PyObject * obj0 = 0 ;
4659 PyObject * obj1 = 0 ;
4660 PyObject * obj2 = 0 ;
4662 if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 arg2 = (Window) PyInt_AsLong(obj1);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 (arg1)->registerHandler(arg2,arg3);
4669 Py_INCREF(Py_None); resultobj = Py_None;
4676 static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
4677 PyObject *resultobj;
4678 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4683 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 arg2 = (Window) PyInt_AsLong(obj1);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 (arg1)->clearHandler(arg2);
4689 Py_INCREF(Py_None); resultobj = Py_None;
4696 static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
4697 PyObject *resultobj;
4698 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4699 PyObject * obj0 = 0 ;
4701 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 (arg1)->dispatchEvents();
4705 Py_INCREF(Py_None); resultobj = Py_None;
4712 static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
4713 PyObject *resultobj;
4714 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4715 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4719 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 (arg1)->setFallbackHandler(arg2);
4724 Py_INCREF(Py_None); resultobj = Py_None;
4731 static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
4732 PyObject *resultobj;
4733 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4734 otk::EventHandler *result;
4735 PyObject * obj0 = 0 ;
4737 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
4738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4739 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
4741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4748 static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
4749 PyObject *resultobj;
4750 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4751 otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4755 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4758 (arg1)->setMasterHandler(arg2);
4760 Py_INCREF(Py_None); resultobj = Py_None;
4767 static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
4768 PyObject *resultobj;
4769 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4770 otk::EventHandler *result;
4771 PyObject * obj0 = 0 ;
4773 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4775 result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
4777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4784 static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
4785 PyObject *resultobj;
4786 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4788 otk::EventHandler *result;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4792 if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4794 arg2 = (Window) PyInt_AsLong(obj1);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 result = (otk::EventHandler *)(arg1)->findHandler(arg2);
4798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
4805 static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
4806 PyObject *resultobj;
4807 otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
4809 PyObject * obj0 = 0 ;
4811 if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
4812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4813 result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
4815 resultobj = PyInt_FromLong((long)result);
4822 static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
4824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4825 SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
4827 return Py_BuildValue((char *)"");
4829 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
4830 PyObject *resultobj;
4831 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4836 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 arg2 = (Cursor) PyInt_AsLong(obj1);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 if (arg1) (arg1)->session = arg2;
4842 Py_INCREF(Py_None); resultobj = Py_None;
4849 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
4850 PyObject *resultobj;
4851 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4853 PyObject * obj0 = 0 ;
4855 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
4856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4857 result = (Cursor) ((arg1)->session);
4859 resultobj = PyInt_FromLong((long)result);
4866 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
4867 PyObject *resultobj;
4868 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4870 PyObject * obj0 = 0 ;
4871 PyObject * obj1 = 0 ;
4873 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4875 arg2 = (Cursor) PyInt_AsLong(obj1);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 if (arg1) (arg1)->move = arg2;
4879 Py_INCREF(Py_None); resultobj = Py_None;
4886 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
4887 PyObject *resultobj;
4888 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4890 PyObject * obj0 = 0 ;
4892 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
4893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4894 result = (Cursor) ((arg1)->move);
4896 resultobj = PyInt_FromLong((long)result);
4903 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
4904 PyObject *resultobj;
4905 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4910 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 arg2 = (Cursor) PyInt_AsLong(obj1);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 if (arg1) (arg1)->ll_angle = arg2;
4916 Py_INCREF(Py_None); resultobj = Py_None;
4923 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
4924 PyObject *resultobj;
4925 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4927 PyObject * obj0 = 0 ;
4929 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
4930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4931 result = (Cursor) ((arg1)->ll_angle);
4933 resultobj = PyInt_FromLong((long)result);
4940 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
4941 PyObject *resultobj;
4942 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4944 PyObject * obj0 = 0 ;
4945 PyObject * obj1 = 0 ;
4947 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
4948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4949 arg2 = (Cursor) PyInt_AsLong(obj1);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 if (arg1) (arg1)->lr_angle = arg2;
4953 Py_INCREF(Py_None); resultobj = Py_None;
4960 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
4961 PyObject *resultobj;
4962 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4964 PyObject * obj0 = 0 ;
4966 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4968 result = (Cursor) ((arg1)->lr_angle);
4970 resultobj = PyInt_FromLong((long)result);
4977 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
4978 PyObject *resultobj;
4979 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
4981 PyObject * obj0 = 0 ;
4982 PyObject * obj1 = 0 ;
4984 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
4985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4986 arg2 = (Cursor) PyInt_AsLong(obj1);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 if (arg1) (arg1)->ul_angle = arg2;
4990 Py_INCREF(Py_None); resultobj = Py_None;
4997 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
4998 PyObject *resultobj;
4999 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
5001 PyObject * obj0 = 0 ;
5003 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 result = (Cursor) ((arg1)->ul_angle);
5007 resultobj = PyInt_FromLong((long)result);
5014 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
5015 PyObject *resultobj;
5016 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5021 if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
5022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5023 arg2 = (Cursor) PyInt_AsLong(obj1);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 if (arg1) (arg1)->ur_angle = arg2;
5027 Py_INCREF(Py_None); resultobj = Py_None;
5034 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
5035 PyObject *resultobj;
5036 ob::Cursors *arg1 = (ob::Cursors *) 0 ;
5038 PyObject * obj0 = 0 ;
5040 if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5042 result = (Cursor) ((arg1)->ur_angle);
5044 resultobj = PyInt_FromLong((long)result);
5051 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
5053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5054 SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
5056 return Py_BuildValue((char *)"");
5058 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
5059 PyObject *resultobj;
5060 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5062 PyObject * obj0 = 0 ;
5064 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 result = (int)((ob::Openbox const *)arg1)->state();
5068 resultobj = PyInt_FromLong((long)result);
5075 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
5076 PyObject *resultobj;
5077 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5078 otk::Property *result;
5079 PyObject * obj0 = 0 ;
5081 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
5082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5083 result = (otk::Property *)((ob::Openbox const *)arg1)->property();
5085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Property, 0);
5092 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
5093 PyObject *resultobj;
5094 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5095 ob::Actions *result;
5096 PyObject * obj0 = 0 ;
5098 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
5102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
5109 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
5110 PyObject *resultobj;
5111 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5112 ob::Bindings *result;
5113 PyObject * obj0 = 0 ;
5115 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
5119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
5126 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
5127 PyObject *resultobj;
5128 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5131 PyObject * obj0 = 0 ;
5133 if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 result = (ob::Screen *)(arg1)->screen(arg2);
5137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
5144 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
5145 PyObject *resultobj;
5146 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5148 PyObject * obj0 = 0 ;
5150 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5152 result = (int)((ob::Openbox const *)arg1)->screenCount();
5154 resultobj = PyInt_FromLong((long)result);
5161 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
5162 PyObject *resultobj;
5163 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5164 ob::Cursors *result;
5165 PyObject * obj0 = 0 ;
5167 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5170 ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
5171 result = (ob::Cursors *) &_result_ref;
5174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
5181 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
5182 PyObject *resultobj;
5183 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5185 ob::Client *arg3 = (ob::Client *) 0 ;
5186 PyObject * obj0 = 0 ;
5187 PyObject * obj1 = 0 ;
5188 PyObject * obj2 = 0 ;
5190 if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 arg2 = (Window) PyInt_AsLong(obj1);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5195 (arg1)->addClient(arg2,arg3);
5197 Py_INCREF(Py_None); resultobj = Py_None;
5204 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
5205 PyObject *resultobj;
5206 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5208 PyObject * obj0 = 0 ;
5209 PyObject * obj1 = 0 ;
5211 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 arg2 = (Window) PyInt_AsLong(obj1);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 (arg1)->removeClient(arg2);
5217 Py_INCREF(Py_None); resultobj = Py_None;
5224 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
5225 PyObject *resultobj;
5226 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5229 PyObject * obj0 = 0 ;
5230 PyObject * obj1 = 0 ;
5232 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 arg2 = (Window) PyInt_AsLong(obj1);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 result = (ob::Client *)(arg1)->findClient(arg2);
5238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5245 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
5246 PyObject *resultobj;
5247 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5249 PyObject * obj0 = 0 ;
5251 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 result = (ob::Client *)(arg1)->focusedClient();
5255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5262 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
5263 PyObject *resultobj;
5264 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5265 ob::Client *arg2 = (ob::Client *) 0 ;
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5269 if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272 (arg1)->setFocusedClient(arg2);
5274 Py_INCREF(Py_None); resultobj = Py_None;
5281 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
5282 PyObject *resultobj;
5283 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5285 PyObject * obj0 = 0 ;
5287 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5289 result = (ob::Screen *)(arg1)->focusedScreen();
5291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
5298 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
5299 PyObject *resultobj;
5300 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5301 PyObject * obj0 = 0 ;
5303 if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5307 Py_INCREF(Py_None); resultobj = Py_None;
5314 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
5315 PyObject *resultobj;
5316 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5317 std::string const &arg2_defvalue = "" ;
5318 std::string *arg2 = (std::string *) &arg2_defvalue ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5323 if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5327 if (PyString_Check(obj1)) {
5328 temp2 = std::string(PyString_AsString(obj1));
5331 SWIG_exception(SWIG_TypeError, "string expected");
5335 (arg1)->restart((std::string const &)*arg2);
5337 Py_INCREF(Py_None); resultobj = Py_None;
5344 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
5345 PyObject *resultobj;
5346 ob::Openbox *arg1 = (ob::Openbox *) 0 ;
5348 std::string *arg3 = 0 ;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj2 = 0 ;
5353 if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5356 if (PyString_Check(obj2)) {
5357 temp3 = std::string(PyString_AsString(obj2));
5360 SWIG_exception(SWIG_TypeError, "string expected");
5363 (arg1)->execute(arg2,(std::string const &)*arg3);
5365 Py_INCREF(Py_None); resultobj = Py_None;
5372 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
5374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5375 SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
5377 return Py_BuildValue((char *)"");
5379 static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
5380 PyObject *resultobj;
5381 ob::Screen *arg1 = (ob::Screen *) 0 ;
5384 PyObject * obj0 = 0 ;
5386 if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 result = (ob::Client *)ob_Screen_client(arg1,arg2);
5390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
5397 static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
5398 PyObject *resultobj;
5399 ob::Screen *arg1 = (ob::Screen *) 0 ;
5401 PyObject * obj0 = 0 ;
5403 if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
5404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5405 result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
5407 resultobj = PyInt_FromLong((long)result);
5414 static PyObject *_wrap_Screen_number(PyObject *self, PyObject *args) {
5415 PyObject *resultobj;
5416 ob::Screen *arg1 = (ob::Screen *) 0 ;
5418 PyObject * obj0 = 0 ;
5420 if(!PyArg_ParseTuple(args,(char *)"O:Screen_number",&obj0)) goto fail;
5421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5422 result = (int)((ob::Screen const *)arg1)->number();
5424 resultobj = PyInt_FromLong((long)result);
5431 static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
5432 PyObject *resultobj;
5433 ob::Screen *arg1 = (ob::Screen *) 0 ;
5435 PyObject * obj0 = 0 ;
5437 if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5439 result = (bool)((ob::Screen const *)arg1)->managed();
5441 resultobj = PyInt_FromLong((long)result);
5448 static PyObject *_wrap_Screen_imageControl(PyObject *self, PyObject *args) {
5449 PyObject *resultobj;
5450 ob::Screen *arg1 = (ob::Screen *) 0 ;
5451 otk::ImageControl *result;
5452 PyObject * obj0 = 0 ;
5454 if(!PyArg_ParseTuple(args,(char *)"O:Screen_imageControl",&obj0)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5456 result = (otk::ImageControl *)(arg1)->imageControl();
5458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ImageControl, 0);
5465 static PyObject *_wrap_Screen_area(PyObject *self, PyObject *args) {
5466 PyObject *resultobj;
5467 ob::Screen *arg1 = (ob::Screen *) 0 ;
5469 PyObject * obj0 = 0 ;
5471 if(!PyArg_ParseTuple(args,(char *)"O:Screen_area",&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5474 otk::Rect const &_result_ref = ((ob::Screen const *)arg1)->area();
5475 result = (otk::Rect *) &_result_ref;
5478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
5485 static PyObject *_wrap_Screen_style(PyObject *self, PyObject *args) {
5486 PyObject *resultobj;
5487 ob::Screen *arg1 = (ob::Screen *) 0 ;
5489 PyObject * obj0 = 0 ;
5491 if(!PyArg_ParseTuple(args,(char *)"O:Screen_style",&obj0)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 result = (otk::Style *)((ob::Screen const *)arg1)->style();
5495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
5502 static PyObject *_wrap_Screen_focuswindow(PyObject *self, PyObject *args) {
5503 PyObject *resultobj;
5504 ob::Screen *arg1 = (ob::Screen *) 0 ;
5506 PyObject * obj0 = 0 ;
5508 if(!PyArg_ParseTuple(args,(char *)"O:Screen_focuswindow",&obj0)) goto fail;
5509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5510 result = (Window)((ob::Screen const *)arg1)->focuswindow();
5512 resultobj = PyInt_FromLong((long)result);
5519 static PyObject *_wrap_Screen_desktop(PyObject *self, PyObject *args) {
5520 PyObject *resultobj;
5521 ob::Screen *arg1 = (ob::Screen *) 0 ;
5523 PyObject * obj0 = 0 ;
5525 if(!PyArg_ParseTuple(args,(char *)"O:Screen_desktop",&obj0)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5527 result = (long)((ob::Screen const *)arg1)->desktop();
5529 resultobj = PyInt_FromLong((long)result);
5536 static PyObject *_wrap_Screen_numDesktops(PyObject *self, PyObject *args) {
5537 PyObject *resultobj;
5538 ob::Screen *arg1 = (ob::Screen *) 0 ;
5540 PyObject * obj0 = 0 ;
5542 if(!PyArg_ParseTuple(args,(char *)"O:Screen_numDesktops",&obj0)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5544 result = (long)((ob::Screen const *)arg1)->numDesktops();
5546 resultobj = PyInt_FromLong((long)result);
5553 static PyObject *_wrap_Screen_updateStrut(PyObject *self, PyObject *args) {
5554 PyObject *resultobj;
5555 ob::Screen *arg1 = (ob::Screen *) 0 ;
5556 PyObject * obj0 = 0 ;
5558 if(!PyArg_ParseTuple(args,(char *)"O:Screen_updateStrut",&obj0)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 (arg1)->updateStrut();
5562 Py_INCREF(Py_None); resultobj = Py_None;
5569 static PyObject *_wrap_Screen_manageExisting(PyObject *self, PyObject *args) {
5570 PyObject *resultobj;
5571 ob::Screen *arg1 = (ob::Screen *) 0 ;
5572 PyObject * obj0 = 0 ;
5574 if(!PyArg_ParseTuple(args,(char *)"O:Screen_manageExisting",&obj0)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5576 (arg1)->manageExisting();
5578 Py_INCREF(Py_None); resultobj = Py_None;
5585 static PyObject *_wrap_Screen_manageWindow(PyObject *self, PyObject *args) {
5586 PyObject *resultobj;
5587 ob::Screen *arg1 = (ob::Screen *) 0 ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5592 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_manageWindow",&obj0,&obj1)) goto fail;
5593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 arg2 = (Window) PyInt_AsLong(obj1);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 (arg1)->manageWindow(arg2);
5598 Py_INCREF(Py_None); resultobj = Py_None;
5605 static PyObject *_wrap_Screen_unmanageWindow(PyObject *self, PyObject *args) {
5606 PyObject *resultobj;
5607 ob::Screen *arg1 = (ob::Screen *) 0 ;
5608 ob::Client *arg2 = (ob::Client *) 0 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5612 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_unmanageWindow",&obj0,&obj1)) goto fail;
5613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5615 (arg1)->unmanageWindow(arg2);
5617 Py_INCREF(Py_None); resultobj = Py_None;
5624 static PyObject *_wrap_Screen_restack(PyObject *self, PyObject *args) {
5625 PyObject *resultobj;
5626 ob::Screen *arg1 = (ob::Screen *) 0 ;
5628 ob::Client *arg3 = (ob::Client *) 0 ;
5629 PyObject * obj0 = 0 ;
5630 PyObject * obj1 = 0 ;
5631 PyObject * obj2 = 0 ;
5633 if(!PyArg_ParseTuple(args,(char *)"OOO:Screen_restack",&obj0,&obj1,&obj2)) goto fail;
5634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5635 arg2 = (bool) PyInt_AsLong(obj1);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 (arg1)->restack(arg2,arg3);
5640 Py_INCREF(Py_None); resultobj = Py_None;
5647 static PyObject *_wrap_Screen_setDesktopName(PyObject *self, PyObject *args) {
5648 PyObject *resultobj;
5649 ob::Screen *arg1 = (ob::Screen *) 0 ;
5651 otk::ustring *arg3 = 0 ;
5652 otk::ustring temp3 ;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj2 = 0 ;
5656 if(!PyArg_ParseTuple(args,(char *)"OlO:Screen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5659 if (PyString_Check(obj2)) {
5660 temp3 = otk::ustring(PyString_AsString(obj2));
5663 SWIG_exception(SWIG_TypeError, "ustring expected");
5666 (arg1)->setDesktopName(arg2,(otk::ustring const &)*arg3);
5668 Py_INCREF(Py_None); resultobj = Py_None;
5675 static PyObject *_wrap_Screen_propertyHandler(PyObject *self, PyObject *args) {
5676 PyObject *resultobj;
5677 ob::Screen *arg1 = (ob::Screen *) 0 ;
5678 XPropertyEvent *arg2 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5682 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_propertyHandler",&obj0,&obj1)) goto fail;
5683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5688 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
5690 Py_INCREF(Py_None); resultobj = Py_None;
5697 static PyObject *_wrap_Screen_clientMessageHandler(PyObject *self, PyObject *args) {
5698 PyObject *resultobj;
5699 ob::Screen *arg1 = (ob::Screen *) 0 ;
5700 XClientMessageEvent *arg2 = 0 ;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5704 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_clientMessageHandler",&obj0,&obj1)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5710 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
5712 Py_INCREF(Py_None); resultobj = Py_None;
5719 static PyObject *_wrap_Screen_mapRequestHandler(PyObject *self, PyObject *args) {
5720 PyObject *resultobj;
5721 ob::Screen *arg1 = (ob::Screen *) 0 ;
5722 XMapRequestEvent *arg2 = 0 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5726 if(!PyArg_ParseTuple(args,(char *)"OO:Screen_mapRequestHandler",&obj0,&obj1)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5732 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
5734 Py_INCREF(Py_None); resultobj = Py_None;
5741 static PyObject * Screen_swigregister(PyObject *self, PyObject *args) {
5743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5744 SWIG_TypeClientData(SWIGTYPE_p_ob__Screen, obj);
5746 return Py_BuildValue((char *)"");
5748 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
5749 PyObject *resultobj;
5750 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5751 unsigned long arg2 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5755 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5757 arg2 = (unsigned long) PyInt_AsLong(obj1);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 if (arg1) (arg1)->flags = arg2;
5761 Py_INCREF(Py_None); resultobj = Py_None;
5768 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
5769 PyObject *resultobj;
5770 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5771 unsigned long result;
5772 PyObject * obj0 = 0 ;
5774 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
5775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5776 result = (unsigned long) ((arg1)->flags);
5778 resultobj = PyInt_FromLong((long)result);
5785 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
5786 PyObject *resultobj;
5787 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5788 unsigned long arg2 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5792 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5794 arg2 = (unsigned long) PyInt_AsLong(obj1);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 if (arg1) (arg1)->functions = arg2;
5798 Py_INCREF(Py_None); resultobj = Py_None;
5805 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
5806 PyObject *resultobj;
5807 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5808 unsigned long result;
5809 PyObject * obj0 = 0 ;
5811 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 result = (unsigned long) ((arg1)->functions);
5815 resultobj = PyInt_FromLong((long)result);
5822 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
5823 PyObject *resultobj;
5824 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5825 unsigned long arg2 ;
5826 PyObject * obj0 = 0 ;
5827 PyObject * obj1 = 0 ;
5829 if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
5830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5831 arg2 = (unsigned long) PyInt_AsLong(obj1);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 if (arg1) (arg1)->decorations = arg2;
5835 Py_INCREF(Py_None); resultobj = Py_None;
5842 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
5843 PyObject *resultobj;
5844 ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
5845 unsigned long result;
5846 PyObject * obj0 = 0 ;
5848 if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5850 result = (unsigned long) ((arg1)->decorations);
5852 resultobj = PyInt_FromLong((long)result);
5859 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
5861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5862 SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
5864 return Py_BuildValue((char *)"");
5866 static PyObject *_wrap_Client_frame_set(PyObject *self, PyObject *args) {
5867 PyObject *resultobj;
5868 ob::Client *arg1 = (ob::Client *) 0 ;
5869 ob::Frame *arg2 = (ob::Frame *) 0 ;
5870 PyObject * obj0 = 0 ;
5871 PyObject * obj1 = 0 ;
5873 if(!PyArg_ParseTuple(args,(char *)"OO:Client_frame_set",&obj0,&obj1)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
5876 if (arg1) (arg1)->frame = arg2;
5878 Py_INCREF(Py_None); resultobj = Py_None;
5885 static PyObject *_wrap_Client_frame_get(PyObject *self, PyObject *args) {
5886 PyObject *resultobj;
5887 ob::Client *arg1 = (ob::Client *) 0 ;
5889 PyObject * obj0 = 0 ;
5891 if(!PyArg_ParseTuple(args,(char *)"O:Client_frame_get",&obj0)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 result = (ob::Frame *) ((arg1)->frame);
5895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 0);
5902 static PyObject *_wrap_Client_ignore_unmaps_set(PyObject *self, PyObject *args) {
5903 PyObject *resultobj;
5904 ob::Client *arg1 = (ob::Client *) 0 ;
5906 PyObject * obj0 = 0 ;
5908 if(!PyArg_ParseTuple(args,(char *)"Oi:Client_ignore_unmaps_set",&obj0,&arg2)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5910 if (arg1) (arg1)->ignore_unmaps = arg2;
5912 Py_INCREF(Py_None); resultobj = Py_None;
5919 static PyObject *_wrap_Client_ignore_unmaps_get(PyObject *self, PyObject *args) {
5920 PyObject *resultobj;
5921 ob::Client *arg1 = (ob::Client *) 0 ;
5923 PyObject * obj0 = 0 ;
5925 if(!PyArg_ParseTuple(args,(char *)"O:Client_ignore_unmaps_get",&obj0)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5927 result = (int) ((arg1)->ignore_unmaps);
5929 resultobj = PyInt_FromLong((long)result);
5936 static PyObject *_wrap_Client_screen(PyObject *self, PyObject *args) {
5937 PyObject *resultobj;
5938 ob::Client *arg1 = (ob::Client *) 0 ;
5940 PyObject * obj0 = 0 ;
5942 if(!PyArg_ParseTuple(args,(char *)"O:Client_screen",&obj0)) goto fail;
5943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5944 result = (int)((ob::Client const *)arg1)->screen();
5946 resultobj = PyInt_FromLong((long)result);
5953 static PyObject *_wrap_Client_window(PyObject *self, PyObject *args) {
5954 PyObject *resultobj;
5955 ob::Client *arg1 = (ob::Client *) 0 ;
5957 PyObject * obj0 = 0 ;
5959 if(!PyArg_ParseTuple(args,(char *)"O:Client_window",&obj0)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 result = (Window)((ob::Client const *)arg1)->window();
5963 resultobj = PyInt_FromLong((long)result);
5970 static PyObject *_wrap_Client_type(PyObject *self, PyObject *args) {
5971 PyObject *resultobj;
5972 ob::Client *arg1 = (ob::Client *) 0 ;
5974 PyObject * obj0 = 0 ;
5976 if(!PyArg_ParseTuple(args,(char *)"O:Client_type",&obj0)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 result = (int)((ob::Client const *)arg1)->type();
5980 resultobj = PyInt_FromLong((long)result);
5987 static PyObject *_wrap_Client_normal(PyObject *self, PyObject *args) {
5988 PyObject *resultobj;
5989 ob::Client *arg1 = (ob::Client *) 0 ;
5991 PyObject * obj0 = 0 ;
5993 if(!PyArg_ParseTuple(args,(char *)"O:Client_normal",&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 result = (bool)((ob::Client const *)arg1)->normal();
5997 resultobj = PyInt_FromLong((long)result);
6004 static PyObject *_wrap_Client_desktop(PyObject *self, PyObject *args) {
6005 PyObject *resultobj;
6006 ob::Client *arg1 = (ob::Client *) 0 ;
6008 PyObject * obj0 = 0 ;
6010 if(!PyArg_ParseTuple(args,(char *)"O:Client_desktop",&obj0)) goto fail;
6011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6012 result = (long)((ob::Client const *)arg1)->desktop();
6014 resultobj = PyInt_FromLong((long)result);
6021 static PyObject *_wrap_Client_title(PyObject *self, PyObject *args) {
6022 PyObject *resultobj;
6023 ob::Client *arg1 = (ob::Client *) 0 ;
6024 otk::ustring *result;
6025 PyObject * obj0 = 0 ;
6027 if(!PyArg_ParseTuple(args,(char *)"O:Client_title",&obj0)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 otk::ustring const &_result_ref = ((ob::Client const *)arg1)->title();
6031 result = (otk::ustring *) &_result_ref;
6035 resultobj = PyString_FromString(result->c_str());
6043 static PyObject *_wrap_Client_iconTitle(PyObject *self, PyObject *args) {
6044 PyObject *resultobj;
6045 ob::Client *arg1 = (ob::Client *) 0 ;
6046 otk::ustring *result;
6047 PyObject * obj0 = 0 ;
6049 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconTitle",&obj0)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6052 otk::ustring const &_result_ref = ((ob::Client const *)arg1)->iconTitle();
6053 result = (otk::ustring *) &_result_ref;
6057 resultobj = PyString_FromString(result->c_str());
6065 static PyObject *_wrap_Client_appName(PyObject *self, PyObject *args) {
6066 PyObject *resultobj;
6067 ob::Client *arg1 = (ob::Client *) 0 ;
6068 std::string *result;
6069 PyObject * obj0 = 0 ;
6071 if(!PyArg_ParseTuple(args,(char *)"O:Client_appName",&obj0)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6074 std::string const &_result_ref = ((ob::Client const *)arg1)->appName();
6075 result = (std::string *) &_result_ref;
6079 resultobj = PyString_FromString(result->c_str());
6087 static PyObject *_wrap_Client_appClass(PyObject *self, PyObject *args) {
6088 PyObject *resultobj;
6089 ob::Client *arg1 = (ob::Client *) 0 ;
6090 std::string *result;
6091 PyObject * obj0 = 0 ;
6093 if(!PyArg_ParseTuple(args,(char *)"O:Client_appClass",&obj0)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6096 std::string const &_result_ref = ((ob::Client const *)arg1)->appClass();
6097 result = (std::string *) &_result_ref;
6101 resultobj = PyString_FromString(result->c_str());
6109 static PyObject *_wrap_Client_role(PyObject *self, PyObject *args) {
6110 PyObject *resultobj;
6111 ob::Client *arg1 = (ob::Client *) 0 ;
6112 std::string *result;
6113 PyObject * obj0 = 0 ;
6115 if(!PyArg_ParseTuple(args,(char *)"O:Client_role",&obj0)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 std::string const &_result_ref = ((ob::Client const *)arg1)->role();
6119 result = (std::string *) &_result_ref;
6123 resultobj = PyString_FromString(result->c_str());
6131 static PyObject *_wrap_Client_canFocus(PyObject *self, PyObject *args) {
6132 PyObject *resultobj;
6133 ob::Client *arg1 = (ob::Client *) 0 ;
6135 PyObject * obj0 = 0 ;
6137 if(!PyArg_ParseTuple(args,(char *)"O:Client_canFocus",&obj0)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 result = (bool)((ob::Client const *)arg1)->canFocus();
6141 resultobj = PyInt_FromLong((long)result);
6148 static PyObject *_wrap_Client_urgent(PyObject *self, PyObject *args) {
6149 PyObject *resultobj;
6150 ob::Client *arg1 = (ob::Client *) 0 ;
6152 PyObject * obj0 = 0 ;
6154 if(!PyArg_ParseTuple(args,(char *)"O:Client_urgent",&obj0)) goto fail;
6155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6156 result = (bool)((ob::Client const *)arg1)->urgent();
6158 resultobj = PyInt_FromLong((long)result);
6165 static PyObject *_wrap_Client_focusNotify(PyObject *self, PyObject *args) {
6166 PyObject *resultobj;
6167 ob::Client *arg1 = (ob::Client *) 0 ;
6169 PyObject * obj0 = 0 ;
6171 if(!PyArg_ParseTuple(args,(char *)"O:Client_focusNotify",&obj0)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 result = (bool)((ob::Client const *)arg1)->focusNotify();
6175 resultobj = PyInt_FromLong((long)result);
6182 static PyObject *_wrap_Client_shaped(PyObject *self, PyObject *args) {
6183 PyObject *resultobj;
6184 ob::Client *arg1 = (ob::Client *) 0 ;
6186 PyObject * obj0 = 0 ;
6188 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaped",&obj0)) goto fail;
6189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6190 result = (bool)((ob::Client const *)arg1)->shaped();
6192 resultobj = PyInt_FromLong((long)result);
6199 static PyObject *_wrap_Client_gravity(PyObject *self, PyObject *args) {
6200 PyObject *resultobj;
6201 ob::Client *arg1 = (ob::Client *) 0 ;
6203 PyObject * obj0 = 0 ;
6205 if(!PyArg_ParseTuple(args,(char *)"O:Client_gravity",&obj0)) goto fail;
6206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6207 result = (int)((ob::Client const *)arg1)->gravity();
6209 resultobj = PyInt_FromLong((long)result);
6216 static PyObject *_wrap_Client_positionRequested(PyObject *self, PyObject *args) {
6217 PyObject *resultobj;
6218 ob::Client *arg1 = (ob::Client *) 0 ;
6220 PyObject * obj0 = 0 ;
6222 if(!PyArg_ParseTuple(args,(char *)"O:Client_positionRequested",&obj0)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 result = (bool)((ob::Client const *)arg1)->positionRequested();
6226 resultobj = PyInt_FromLong((long)result);
6233 static PyObject *_wrap_Client_decorations(PyObject *self, PyObject *args) {
6234 PyObject *resultobj;
6235 ob::Client *arg1 = (ob::Client *) 0 ;
6236 ob::Client::DecorationFlags result;
6237 PyObject * obj0 = 0 ;
6239 if(!PyArg_ParseTuple(args,(char *)"O:Client_decorations",&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 result = (ob::Client::DecorationFlags)((ob::Client const *)arg1)->decorations();
6243 resultobj = PyInt_FromLong((long)result);
6250 static PyObject *_wrap_Client_funtions(PyObject *self, PyObject *args) {
6251 PyObject *resultobj;
6252 ob::Client *arg1 = (ob::Client *) 0 ;
6253 ob::Client::FunctionFlags result;
6254 PyObject * obj0 = 0 ;
6256 if(!PyArg_ParseTuple(args,(char *)"O:Client_funtions",&obj0)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 result = (ob::Client::FunctionFlags)((ob::Client const *)arg1)->funtions();
6260 resultobj = PyInt_FromLong((long)result);
6267 static PyObject *_wrap_Client_transientFor(PyObject *self, PyObject *args) {
6268 PyObject *resultobj;
6269 ob::Client *arg1 = (ob::Client *) 0 ;
6271 PyObject * obj0 = 0 ;
6273 if(!PyArg_ParseTuple(args,(char *)"O:Client_transientFor",&obj0)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 result = (ob::Client *)((ob::Client const *)arg1)->transientFor();
6277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
6284 static PyObject *_wrap_Client_modal(PyObject *self, PyObject *args) {
6285 PyObject *resultobj;
6286 ob::Client *arg1 = (ob::Client *) 0 ;
6288 PyObject * obj0 = 0 ;
6290 if(!PyArg_ParseTuple(args,(char *)"O:Client_modal",&obj0)) goto fail;
6291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6292 result = (bool)((ob::Client const *)arg1)->modal();
6294 resultobj = PyInt_FromLong((long)result);
6301 static PyObject *_wrap_Client_shaded(PyObject *self, PyObject *args) {
6302 PyObject *resultobj;
6303 ob::Client *arg1 = (ob::Client *) 0 ;
6305 PyObject * obj0 = 0 ;
6307 if(!PyArg_ParseTuple(args,(char *)"O:Client_shaded",&obj0)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6309 result = (bool)((ob::Client const *)arg1)->shaded();
6311 resultobj = PyInt_FromLong((long)result);
6318 static PyObject *_wrap_Client_iconic(PyObject *self, PyObject *args) {
6319 PyObject *resultobj;
6320 ob::Client *arg1 = (ob::Client *) 0 ;
6322 PyObject * obj0 = 0 ;
6324 if(!PyArg_ParseTuple(args,(char *)"O:Client_iconic",&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 result = (bool)((ob::Client const *)arg1)->iconic();
6328 resultobj = PyInt_FromLong((long)result);
6335 static PyObject *_wrap_Client_maxVert(PyObject *self, PyObject *args) {
6336 PyObject *resultobj;
6337 ob::Client *arg1 = (ob::Client *) 0 ;
6339 PyObject * obj0 = 0 ;
6341 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxVert",&obj0)) goto fail;
6342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6343 result = (bool)((ob::Client const *)arg1)->maxVert();
6345 resultobj = PyInt_FromLong((long)result);
6352 static PyObject *_wrap_Client_maxHorz(PyObject *self, PyObject *args) {
6353 PyObject *resultobj;
6354 ob::Client *arg1 = (ob::Client *) 0 ;
6356 PyObject * obj0 = 0 ;
6358 if(!PyArg_ParseTuple(args,(char *)"O:Client_maxHorz",&obj0)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6360 result = (bool)((ob::Client const *)arg1)->maxHorz();
6362 resultobj = PyInt_FromLong((long)result);
6369 static PyObject *_wrap_Client_layer(PyObject *self, PyObject *args) {
6370 PyObject *resultobj;
6371 ob::Client *arg1 = (ob::Client *) 0 ;
6373 PyObject * obj0 = 0 ;
6375 if(!PyArg_ParseTuple(args,(char *)"O:Client_layer",&obj0)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6377 result = (int)((ob::Client const *)arg1)->layer();
6379 resultobj = PyInt_FromLong((long)result);
6386 static PyObject *_wrap_Client_toggleClientBorder(PyObject *self, PyObject *args) {
6387 PyObject *resultobj;
6388 ob::Client *arg1 = (ob::Client *) 0 ;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6393 if(!PyArg_ParseTuple(args,(char *)"OO:Client_toggleClientBorder",&obj0,&obj1)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6395 arg2 = (bool) PyInt_AsLong(obj1);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 (arg1)->toggleClientBorder(arg2);
6399 Py_INCREF(Py_None); resultobj = Py_None;
6406 static PyObject *_wrap_Client_area(PyObject *self, PyObject *args) {
6407 PyObject *resultobj;
6408 ob::Client *arg1 = (ob::Client *) 0 ;
6410 PyObject * obj0 = 0 ;
6412 if(!PyArg_ParseTuple(args,(char *)"O:Client_area",&obj0)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6415 otk::Rect const &_result_ref = ((ob::Client const *)arg1)->area();
6416 result = (otk::Rect *) &_result_ref;
6419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6426 static PyObject *_wrap_Client_strut(PyObject *self, PyObject *args) {
6427 PyObject *resultobj;
6428 ob::Client *arg1 = (ob::Client *) 0 ;
6430 PyObject * obj0 = 0 ;
6432 if(!PyArg_ParseTuple(args,(char *)"O:Client_strut",&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6435 otk::Strut const &_result_ref = ((ob::Client const *)arg1)->strut();
6436 result = (otk::Strut *) &_result_ref;
6439 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
6446 static PyObject *_wrap_Client_move(PyObject *self, PyObject *args) {
6447 PyObject *resultobj;
6448 ob::Client *arg1 = (ob::Client *) 0 ;
6451 PyObject * obj0 = 0 ;
6453 if(!PyArg_ParseTuple(args,(char *)"Oii:Client_move",&obj0,&arg2,&arg3)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 (arg1)->move(arg2,arg3);
6457 Py_INCREF(Py_None); resultobj = Py_None;
6464 static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) {
6465 PyObject *resultobj;
6466 ob::Client *arg1 = (ob::Client *) 0 ;
6470 int arg5 = (int) INT_MIN ;
6471 int arg6 = (int) INT_MIN ;
6472 PyObject * obj0 = 0 ;
6474 if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:Client_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4,arg5,arg6);
6478 Py_INCREF(Py_None); resultobj = Py_None;
6485 static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) {
6486 PyObject *resultobj;
6487 ob::Client *arg1 = (ob::Client *) 0 ;
6489 PyObject * obj0 = 0 ;
6491 if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail;
6492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6493 result = (bool)((ob::Client const *)arg1)->focus();
6495 resultobj = PyInt_FromLong((long)result);
6502 static PyObject *_wrap_Client_unfocus(PyObject *self, PyObject *args) {
6503 PyObject *resultobj;
6504 ob::Client *arg1 = (ob::Client *) 0 ;
6505 PyObject * obj0 = 0 ;
6507 if(!PyArg_ParseTuple(args,(char *)"O:Client_unfocus",&obj0)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6509 ((ob::Client const *)arg1)->unfocus();
6511 Py_INCREF(Py_None); resultobj = Py_None;
6518 static PyObject *_wrap_Client_focusHandler(PyObject *self, PyObject *args) {
6519 PyObject *resultobj;
6520 ob::Client *arg1 = (ob::Client *) 0 ;
6521 XFocusChangeEvent *arg2 = 0 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6525 if(!PyArg_ParseTuple(args,(char *)"OO:Client_focusHandler",&obj0,&obj1)) goto fail;
6526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6531 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
6533 Py_INCREF(Py_None); resultobj = Py_None;
6540 static PyObject *_wrap_Client_unfocusHandler(PyObject *self, PyObject *args) {
6541 PyObject *resultobj;
6542 ob::Client *arg1 = (ob::Client *) 0 ;
6543 XFocusChangeEvent *arg2 = 0 ;
6544 PyObject * obj0 = 0 ;
6545 PyObject * obj1 = 0 ;
6547 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unfocusHandler",&obj0,&obj1)) goto fail;
6548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6553 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
6555 Py_INCREF(Py_None); resultobj = Py_None;
6562 static PyObject *_wrap_Client_propertyHandler(PyObject *self, PyObject *args) {
6563 PyObject *resultobj;
6564 ob::Client *arg1 = (ob::Client *) 0 ;
6565 XPropertyEvent *arg2 = 0 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6569 if(!PyArg_ParseTuple(args,(char *)"OO:Client_propertyHandler",&obj0,&obj1)) goto fail;
6570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6575 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
6577 Py_INCREF(Py_None); resultobj = Py_None;
6584 static PyObject *_wrap_Client_clientMessageHandler(PyObject *self, PyObject *args) {
6585 PyObject *resultobj;
6586 ob::Client *arg1 = (ob::Client *) 0 ;
6587 XClientMessageEvent *arg2 = 0 ;
6588 PyObject * obj0 = 0 ;
6589 PyObject * obj1 = 0 ;
6591 if(!PyArg_ParseTuple(args,(char *)"OO:Client_clientMessageHandler",&obj0,&obj1)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6597 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
6599 Py_INCREF(Py_None); resultobj = Py_None;
6606 static PyObject *_wrap_Client_configureRequestHandler(PyObject *self, PyObject *args) {
6607 PyObject *resultobj;
6608 ob::Client *arg1 = (ob::Client *) 0 ;
6609 XConfigureRequestEvent *arg2 = 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6613 if(!PyArg_ParseTuple(args,(char *)"OO:Client_configureRequestHandler",&obj0,&obj1)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6619 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
6621 Py_INCREF(Py_None); resultobj = Py_None;
6628 static PyObject *_wrap_Client_unmapHandler(PyObject *self, PyObject *args) {
6629 PyObject *resultobj;
6630 ob::Client *arg1 = (ob::Client *) 0 ;
6631 XUnmapEvent *arg2 = 0 ;
6632 PyObject * obj0 = 0 ;
6633 PyObject * obj1 = 0 ;
6635 if(!PyArg_ParseTuple(args,(char *)"OO:Client_unmapHandler",&obj0,&obj1)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6641 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
6643 Py_INCREF(Py_None); resultobj = Py_None;
6650 static PyObject *_wrap_Client_destroyHandler(PyObject *self, PyObject *args) {
6651 PyObject *resultobj;
6652 ob::Client *arg1 = (ob::Client *) 0 ;
6653 XDestroyWindowEvent *arg2 = 0 ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6657 if(!PyArg_ParseTuple(args,(char *)"OO:Client_destroyHandler",&obj0,&obj1)) goto fail;
6658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6663 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
6665 Py_INCREF(Py_None); resultobj = Py_None;
6672 static PyObject *_wrap_Client_reparentHandler(PyObject *self, PyObject *args) {
6673 PyObject *resultobj;
6674 ob::Client *arg1 = (ob::Client *) 0 ;
6675 XReparentEvent *arg2 = 0 ;
6676 PyObject * obj0 = 0 ;
6677 PyObject * obj1 = 0 ;
6679 if(!PyArg_ParseTuple(args,(char *)"OO:Client_reparentHandler",&obj0,&obj1)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6685 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
6687 Py_INCREF(Py_None); resultobj = Py_None;
6694 static PyObject * Client_swigregister(PyObject *self, PyObject *args) {
6696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6697 SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
6699 return Py_BuildValue((char *)"");
6701 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
6702 PyObject *resultobj;
6703 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6705 PyObject * obj0 = 0 ;
6707 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 if (arg1) (arg1)->screen = arg2;
6711 Py_INCREF(Py_None); resultobj = Py_None;
6718 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
6719 PyObject *resultobj;
6720 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6722 PyObject * obj0 = 0 ;
6724 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6726 result = (int) ((arg1)->screen);
6728 resultobj = PyInt_FromLong((long)result);
6735 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
6736 PyObject *resultobj;
6737 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6738 ob::Client *arg2 = (ob::Client *) 0 ;
6739 PyObject * obj0 = 0 ;
6740 PyObject * obj1 = 0 ;
6742 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
6745 if (arg1) (arg1)->client = arg2;
6747 Py_INCREF(Py_None); resultobj = Py_None;
6754 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
6755 PyObject *resultobj;
6756 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6758 PyObject * obj0 = 0 ;
6760 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 result = (ob::Client *) ((arg1)->client);
6764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
6771 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
6772 PyObject *resultobj;
6773 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6778 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6780 arg2 = (Time) PyInt_AsLong(obj1);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 if (arg1) (arg1)->time = arg2;
6784 Py_INCREF(Py_None); resultobj = Py_None;
6791 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
6792 PyObject *resultobj;
6793 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6795 PyObject * obj0 = 0 ;
6797 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
6798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799 result = (Time) ((arg1)->time);
6801 resultobj = PyInt_FromLong((long)result);
6808 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
6809 PyObject *resultobj;
6810 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6815 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
6816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6817 arg2 = (unsigned int) PyInt_AsLong(obj1);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 if (arg1) (arg1)->state = arg2;
6821 Py_INCREF(Py_None); resultobj = Py_None;
6828 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
6829 PyObject *resultobj;
6830 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6831 unsigned int result;
6832 PyObject * obj0 = 0 ;
6834 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
6835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6836 result = (unsigned int) ((arg1)->state);
6838 resultobj = PyInt_FromLong((long)result);
6845 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
6846 PyObject *resultobj;
6847 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6852 if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 arg2 = (unsigned int) PyInt_AsLong(obj1);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 if (arg1) (arg1)->button = arg2;
6858 Py_INCREF(Py_None); resultobj = Py_None;
6865 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
6866 PyObject *resultobj;
6867 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6868 unsigned int result;
6869 PyObject * obj0 = 0 ;
6871 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 result = (unsigned int) ((arg1)->button);
6875 resultobj = PyInt_FromLong((long)result);
6882 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
6883 PyObject *resultobj;
6884 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6886 PyObject * obj0 = 0 ;
6888 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 if (arg1) (arg1)->context = (ob::MouseContext )arg2;
6892 Py_INCREF(Py_None); resultobj = Py_None;
6899 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
6900 PyObject *resultobj;
6901 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6903 PyObject * obj0 = 0 ;
6905 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
6906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6907 result = (int) ((arg1)->context);
6909 resultobj = PyInt_FromLong((long)result);
6916 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
6917 PyObject *resultobj;
6918 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6920 PyObject * obj0 = 0 ;
6922 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
6923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6924 if (arg1) (arg1)->action = (ob::MouseAction )arg2;
6926 Py_INCREF(Py_None); resultobj = Py_None;
6933 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
6934 PyObject *resultobj;
6935 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6937 PyObject * obj0 = 0 ;
6939 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
6940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6941 result = (int) ((arg1)->action);
6943 resultobj = PyInt_FromLong((long)result);
6950 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
6951 PyObject *resultobj;
6952 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6954 PyObject * obj0 = 0 ;
6956 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6958 if (arg1) (arg1)->xroot = arg2;
6960 Py_INCREF(Py_None); resultobj = Py_None;
6967 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
6968 PyObject *resultobj;
6969 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6971 PyObject * obj0 = 0 ;
6973 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 result = (int) ((arg1)->xroot);
6977 resultobj = PyInt_FromLong((long)result);
6984 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
6985 PyObject *resultobj;
6986 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
6988 PyObject * obj0 = 0 ;
6990 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 if (arg1) (arg1)->yroot = arg2;
6994 Py_INCREF(Py_None); resultobj = Py_None;
7001 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
7002 PyObject *resultobj;
7003 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7005 PyObject * obj0 = 0 ;
7007 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
7008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009 result = (int) ((arg1)->yroot);
7011 resultobj = PyInt_FromLong((long)result);
7018 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
7019 PyObject *resultobj;
7020 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7022 PyObject * obj0 = 0 ;
7024 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
7025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7026 if (arg1) (arg1)->pressx = arg2;
7028 Py_INCREF(Py_None); resultobj = Py_None;
7035 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
7036 PyObject *resultobj;
7037 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7039 PyObject * obj0 = 0 ;
7041 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 result = (int) ((arg1)->pressx);
7045 resultobj = PyInt_FromLong((long)result);
7052 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
7053 PyObject *resultobj;
7054 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7056 PyObject * obj0 = 0 ;
7058 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 if (arg1) (arg1)->pressy = arg2;
7062 Py_INCREF(Py_None); resultobj = Py_None;
7069 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
7070 PyObject *resultobj;
7071 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7073 PyObject * obj0 = 0 ;
7075 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 result = (int) ((arg1)->pressy);
7079 resultobj = PyInt_FromLong((long)result);
7086 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
7087 PyObject *resultobj;
7088 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7090 PyObject * obj0 = 0 ;
7092 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
7093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7094 if (arg1) (arg1)->press_clientx = arg2;
7096 Py_INCREF(Py_None); resultobj = Py_None;
7103 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
7104 PyObject *resultobj;
7105 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7107 PyObject * obj0 = 0 ;
7109 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
7110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7111 result = (int) ((arg1)->press_clientx);
7113 resultobj = PyInt_FromLong((long)result);
7120 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
7121 PyObject *resultobj;
7122 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7124 PyObject * obj0 = 0 ;
7126 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 if (arg1) (arg1)->press_clienty = arg2;
7130 Py_INCREF(Py_None); resultobj = Py_None;
7137 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
7138 PyObject *resultobj;
7139 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7141 PyObject * obj0 = 0 ;
7143 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 result = (int) ((arg1)->press_clienty);
7147 resultobj = PyInt_FromLong((long)result);
7154 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
7155 PyObject *resultobj;
7156 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7158 PyObject * obj0 = 0 ;
7160 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7162 if (arg1) (arg1)->press_clientwidth = arg2;
7164 Py_INCREF(Py_None); resultobj = Py_None;
7171 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
7172 PyObject *resultobj;
7173 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7175 PyObject * obj0 = 0 ;
7177 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
7178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 result = (int) ((arg1)->press_clientwidth);
7181 resultobj = PyInt_FromLong((long)result);
7188 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
7189 PyObject *resultobj;
7190 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7192 PyObject * obj0 = 0 ;
7194 if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 if (arg1) (arg1)->press_clientheight = arg2;
7198 Py_INCREF(Py_None); resultobj = Py_None;
7205 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
7206 PyObject *resultobj;
7207 ob::MouseData *arg1 = (ob::MouseData *) 0 ;
7209 PyObject * obj0 = 0 ;
7211 if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
7212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7213 result = (int) ((arg1)->press_clientheight);
7215 resultobj = PyInt_FromLong((long)result);
7222 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
7223 PyObject *resultobj;
7225 ob::Client *arg2 = (ob::Client *) 0 ;
7233 otk::Point *arg10 = 0 ;
7234 otk::Rect *arg11 = 0 ;
7235 ob::MouseData *result;
7236 PyObject * obj1 = 0 ;
7237 PyObject * obj2 = 0 ;
7238 PyObject * obj3 = 0 ;
7239 PyObject * obj4 = 0 ;
7240 PyObject * obj9 = 0 ;
7241 PyObject * obj10 = 0 ;
7243 if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
7244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7245 arg3 = (Time) PyInt_AsLong(obj2);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 arg4 = (unsigned int) PyInt_AsLong(obj3);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 arg5 = (unsigned int) PyInt_AsLong(obj4);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7252 if (arg10 == NULL) {
7253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7255 if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if (arg11 == NULL) {
7257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7259 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);
7261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
7268 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
7269 PyObject *resultobj;
7271 ob::Client *arg2 = (ob::Client *) 0 ;
7277 ob::MouseData *result;
7278 PyObject * obj1 = 0 ;
7279 PyObject * obj2 = 0 ;
7280 PyObject * obj3 = 0 ;
7281 PyObject * obj4 = 0 ;
7283 if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
7284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7285 arg3 = (Time) PyInt_AsLong(obj2);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 arg4 = (unsigned int) PyInt_AsLong(obj3);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 arg5 = (unsigned int) PyInt_AsLong(obj4);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
7293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
7300 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
7305 argc = PyObject_Length(args);
7306 for (ii = 0; (ii < argc) && (ii < 11); ii++) {
7307 argv[ii] = PyTuple_GetItem(args,ii);
7312 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7317 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
7326 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7330 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7334 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7338 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7342 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
7345 return _wrap_new_MouseData__SWIG_1(self,args);
7357 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7362 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
7371 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7375 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7379 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7383 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7387 _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
7391 _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
7395 _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
7400 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7410 if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7418 return _wrap_new_MouseData__SWIG_0(self,args);
7432 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
7437 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
7439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7440 SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
7442 return Py_BuildValue((char *)"");
7444 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
7445 PyObject *resultobj;
7446 ob::EventData *arg1 = (ob::EventData *) 0 ;
7448 PyObject * obj0 = 0 ;
7450 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7452 if (arg1) (arg1)->screen = arg2;
7454 Py_INCREF(Py_None); resultobj = Py_None;
7461 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
7462 PyObject *resultobj;
7463 ob::EventData *arg1 = (ob::EventData *) 0 ;
7465 PyObject * obj0 = 0 ;
7467 if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 result = (int) ((arg1)->screen);
7471 resultobj = PyInt_FromLong((long)result);
7478 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
7479 PyObject *resultobj;
7480 ob::EventData *arg1 = (ob::EventData *) 0 ;
7481 ob::Client *arg2 = (ob::Client *) 0 ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7485 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
7488 if (arg1) (arg1)->client = arg2;
7490 Py_INCREF(Py_None); resultobj = Py_None;
7497 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
7498 PyObject *resultobj;
7499 ob::EventData *arg1 = (ob::EventData *) 0 ;
7501 PyObject * obj0 = 0 ;
7503 if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 result = (ob::Client *) ((arg1)->client);
7507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7514 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
7515 PyObject *resultobj;
7516 ob::EventData *arg1 = (ob::EventData *) 0 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7521 if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
7522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7523 arg2 = (unsigned int) PyInt_AsLong(obj1);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 if (arg1) (arg1)->state = arg2;
7527 Py_INCREF(Py_None); resultobj = Py_None;
7534 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
7535 PyObject *resultobj;
7536 ob::EventData *arg1 = (ob::EventData *) 0 ;
7537 unsigned int result;
7538 PyObject * obj0 = 0 ;
7540 if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542 result = (unsigned int) ((arg1)->state);
7544 resultobj = PyInt_FromLong((long)result);
7551 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
7552 PyObject *resultobj;
7553 ob::EventData *arg1 = (ob::EventData *) 0 ;
7555 PyObject * obj0 = 0 ;
7557 if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7559 if (arg1) (arg1)->action = (ob::EventAction )arg2;
7561 Py_INCREF(Py_None); resultobj = Py_None;
7568 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
7569 PyObject *resultobj;
7570 ob::EventData *arg1 = (ob::EventData *) 0 ;
7572 PyObject * obj0 = 0 ;
7574 if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 result = (int) ((arg1)->action);
7578 resultobj = PyInt_FromLong((long)result);
7585 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
7586 PyObject *resultobj;
7588 ob::Client *arg2 = (ob::Client *) 0 ;
7591 ob::EventData *result;
7592 PyObject * obj1 = 0 ;
7593 PyObject * obj3 = 0 ;
7595 if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
7596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7597 arg4 = (unsigned int) PyInt_AsLong(obj3);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
7601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
7608 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
7610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7611 SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
7613 return Py_BuildValue((char *)"");
7615 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
7616 PyObject *resultobj;
7617 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7619 PyObject * obj0 = 0 ;
7621 if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7623 if (arg1) (arg1)->screen = arg2;
7625 Py_INCREF(Py_None); resultobj = Py_None;
7632 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
7633 PyObject *resultobj;
7634 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7636 PyObject * obj0 = 0 ;
7638 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7640 result = (int) ((arg1)->screen);
7642 resultobj = PyInt_FromLong((long)result);
7649 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
7650 PyObject *resultobj;
7651 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7652 ob::Client *arg2 = (ob::Client *) 0 ;
7653 PyObject * obj0 = 0 ;
7654 PyObject * obj1 = 0 ;
7656 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
7659 if (arg1) (arg1)->client = arg2;
7661 Py_INCREF(Py_None); resultobj = Py_None;
7668 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
7669 PyObject *resultobj;
7670 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7672 PyObject * obj0 = 0 ;
7674 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7676 result = (ob::Client *) ((arg1)->client);
7678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7685 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
7686 PyObject *resultobj;
7687 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7689 PyObject * obj0 = 0 ;
7690 PyObject * obj1 = 0 ;
7692 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
7693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7694 arg2 = (Time) PyInt_AsLong(obj1);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 if (arg1) (arg1)->time = arg2;
7698 Py_INCREF(Py_None); resultobj = Py_None;
7705 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
7706 PyObject *resultobj;
7707 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7709 PyObject * obj0 = 0 ;
7711 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713 result = (Time) ((arg1)->time);
7715 resultobj = PyInt_FromLong((long)result);
7722 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
7723 PyObject *resultobj;
7724 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7729 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7731 arg2 = (unsigned int) PyInt_AsLong(obj1);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 if (arg1) (arg1)->state = arg2;
7735 Py_INCREF(Py_None); resultobj = Py_None;
7742 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
7743 PyObject *resultobj;
7744 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7745 unsigned int result;
7746 PyObject * obj0 = 0 ;
7748 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
7749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7750 result = (unsigned int) ((arg1)->state);
7752 resultobj = PyInt_FromLong((long)result);
7759 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
7760 PyObject *resultobj;
7761 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7762 std::string *arg2 = (std::string *) 0 ;
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
7766 if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7769 if (arg1) (arg1)->key = *arg2;
7771 Py_INCREF(Py_None); resultobj = Py_None;
7778 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
7779 PyObject *resultobj;
7780 ob::KeyData *arg1 = (ob::KeyData *) 0 ;
7781 std::string *result;
7782 PyObject * obj0 = 0 ;
7784 if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7786 result = (std::string *)& ((arg1)->key);
7788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
7795 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
7796 PyObject *resultobj;
7798 ob::Client *arg2 = (ob::Client *) 0 ;
7802 ob::KeyData *result;
7803 PyObject * obj1 = 0 ;
7804 PyObject * obj2 = 0 ;
7805 PyObject * obj3 = 0 ;
7806 PyObject * obj4 = 0 ;
7808 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
7809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7810 arg3 = (Time) PyInt_AsLong(obj2);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 arg4 = (unsigned int) PyInt_AsLong(obj3);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 arg5 = (unsigned int) PyInt_AsLong(obj4);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
7818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
7825 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
7827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7828 SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
7830 return Py_BuildValue((char *)"");
7832 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
7833 PyObject *resultobj;
7834 std::string *arg1 = 0 ;
7837 PyObject *arg4 = (PyObject *) 0 ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj3 = 0 ;
7843 if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
7845 if (PyString_Check(obj0)) {
7846 temp1 = std::string(PyString_AsString(obj0));
7849 SWIG_exception(SWIG_TypeError, "string expected");
7853 result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
7862 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
7863 PyObject *resultobj;
7864 PyObject *arg1 = (PyObject *) 0 ;
7866 PyObject *arg3 = (PyObject *) 0 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj2 = 0 ;
7871 if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
7874 result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
7883 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
7884 PyObject *resultobj;
7886 PyObject *arg2 = (PyObject *) 0 ;
7888 PyObject * obj1 = 0 ;
7890 if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
7892 result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
7901 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
7902 PyObject *resultobj;
7903 std::string *arg1 = 0 ;
7905 PyObject * obj0 = 0 ;
7907 if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
7909 if (PyString_Check(obj0)) {
7910 temp1 = std::string(PyString_AsString(obj0));
7913 SWIG_exception(SWIG_TypeError, "string expected");
7916 ob::set_reset_key((std::string const &)*arg1);
7918 Py_INCREF(Py_None); resultobj = Py_None;
7925 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
7926 PyObject *resultobj;
7931 long arg5 = (long) 0 ;
7932 long arg6 = (long) 0 ;
7933 long arg7 = (long) 0 ;
7934 long arg8 = (long) 0 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj2 = 0 ;
7939 if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
7940 arg1 = (Window) PyInt_AsLong(obj0);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 arg3 = (Window) PyInt_AsLong(obj2);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
7953 static PyMethodDef SwigMethods[] = {
7954 { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
7955 { (char *)"Display_instance", _wrap_Display_instance, METH_VARARGS },
7956 { (char *)"new_Display", _wrap_new_Display, METH_VARARGS },
7957 { (char *)"delete_Display", _wrap_delete_Display, METH_VARARGS },
7958 { (char *)"Display_gcCache", _wrap_Display_gcCache, METH_VARARGS },
7959 { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
7960 { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
7961 { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
7962 { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
7963 { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
7964 { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
7965 { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
7966 { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
7967 { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
7968 { (char *)"Display___mul__", _wrap_Display___mul__, METH_VARARGS },
7969 { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
7970 { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
7971 { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
7972 { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
7973 { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
7974 { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
7975 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
7976 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
7977 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
7978 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
7979 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
7980 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
7981 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
7982 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
7983 { (char *)"new_Property", _wrap_new_Property, METH_VARARGS },
7984 { (char *)"delete_Property", _wrap_delete_Property, METH_VARARGS },
7985 { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
7986 { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
7987 { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
7988 { (char *)"Property_atom", _wrap_Property_atom, METH_VARARGS },
7989 { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
7990 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
7991 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
7992 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
7993 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
7994 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
7995 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
7996 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
7997 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
7998 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
7999 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
8000 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
8001 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
8002 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
8003 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
8004 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
8005 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
8006 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
8007 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
8008 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
8009 { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
8010 { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
8011 { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
8012 { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
8013 { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
8014 { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
8015 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
8016 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
8017 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
8018 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
8019 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
8020 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
8021 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
8022 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
8023 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
8024 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
8025 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
8026 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
8027 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
8028 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
8029 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
8030 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
8031 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
8032 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
8033 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
8034 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
8035 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
8036 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
8037 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
8038 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
8039 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
8040 { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
8041 { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
8042 { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
8043 { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
8044 { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
8045 { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
8046 { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
8047 { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
8048 { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
8049 { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
8050 { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
8051 { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
8052 { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
8053 { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
8054 { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
8055 { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
8056 { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
8057 { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
8058 { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
8059 { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
8060 { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
8061 { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
8062 { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
8063 { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
8064 { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
8065 { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
8066 { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
8067 { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
8068 { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
8069 { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
8070 { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
8071 { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
8072 { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
8073 { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
8074 { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
8075 { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
8076 { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
8077 { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
8078 { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
8079 { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
8080 { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
8081 { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
8082 { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
8083 { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
8084 { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
8085 { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
8086 { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
8087 { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
8088 { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
8089 { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
8090 { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
8091 { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
8092 { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
8093 { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
8094 { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
8095 { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
8096 { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
8097 { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
8098 { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
8099 { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
8100 { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
8101 { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
8102 { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
8103 { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
8104 { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
8105 { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
8106 { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
8107 { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
8108 { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
8109 { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
8110 { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
8111 { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
8112 { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
8113 { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
8114 { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
8115 { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
8116 { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
8117 { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
8118 { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
8119 { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
8120 { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
8121 { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
8122 { (char *)"Screen_imageControl", _wrap_Screen_imageControl, METH_VARARGS },
8123 { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
8124 { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
8125 { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
8126 { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
8127 { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
8128 { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
8129 { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
8130 { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
8131 { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
8132 { (char *)"Screen_restack", _wrap_Screen_restack, METH_VARARGS },
8133 { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
8134 { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
8135 { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
8136 { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
8137 { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
8138 { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
8139 { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
8140 { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
8141 { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
8142 { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
8143 { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
8144 { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
8145 { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
8146 { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
8147 { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
8148 { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
8149 { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
8150 { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
8151 { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
8152 { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
8153 { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
8154 { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
8155 { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
8156 { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
8157 { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
8158 { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
8159 { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
8160 { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
8161 { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
8162 { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
8163 { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
8164 { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
8165 { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
8166 { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
8167 { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
8168 { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
8169 { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
8170 { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
8171 { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
8172 { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
8173 { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
8174 { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
8175 { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
8176 { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
8177 { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
8178 { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
8179 { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
8180 { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
8181 { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
8182 { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
8183 { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
8184 { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
8185 { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
8186 { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
8187 { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
8188 { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
8189 { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
8190 { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
8191 { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
8192 { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
8193 { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
8194 { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
8195 { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
8196 { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
8197 { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
8198 { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
8199 { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
8200 { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
8201 { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
8202 { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
8203 { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
8204 { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
8205 { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
8206 { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
8207 { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
8208 { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
8209 { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
8210 { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
8211 { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
8212 { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
8213 { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
8214 { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
8215 { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
8216 { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
8217 { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
8218 { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
8219 { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
8220 { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
8221 { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
8222 { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
8223 { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
8224 { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
8225 { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
8226 { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
8227 { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
8228 { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
8229 { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
8230 { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
8231 { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
8232 { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
8233 { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
8234 { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
8235 { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
8236 { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
8237 { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
8238 { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
8239 { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
8240 { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
8241 { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
8242 { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
8243 { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
8244 { (char *)"mbind", _wrap_mbind, METH_VARARGS },
8245 { (char *)"kbind", _wrap_kbind, METH_VARARGS },
8246 { (char *)"ebind", _wrap_ebind, METH_VARARGS },
8247 { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
8248 { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
8253 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8255 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
8256 return (void *)((otk::EventHandler *) ((ob::Actions *) x));
8258 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
8259 return (void *)((otk::EventHandler *) ((ob::Openbox *) x));
8261 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
8262 return (void *)((otk::EventHandler *) ((ob::Screen *) x));
8264 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
8265 return (void *)((otk::EventHandler *) ((ob::Client *) x));
8267 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
8268 return (void *)((otk::EventDispatcher *) ((ob::Openbox *) x));
8270 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
8271 return (void *)((ob::WidgetBase *) ((ob::Screen *) x));
8273 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
8274 return (void *)((ob::WidgetBase *) ((ob::Client *) x));
8276 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
8277 static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
8278 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
8279 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
8280 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
8281 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
8282 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
8283 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
8284 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
8285 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
8286 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
8287 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
8288 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
8289 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
8290 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
8291 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
8292 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
8293 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
8294 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
8295 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
8296 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
8297 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
8298 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
8299 static swig_type_info _swigt__p_otk__ImageControl[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
8300 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
8301 static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
8302 static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
8303 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
8304 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
8305 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
8306 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
8307 static swig_type_info _swigt__p_otk__ustring[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
8308 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
8309 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
8310 static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
8311 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
8312 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
8313 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
8314 static swig_type_info _swigt__p_otk__EventHandler[] = {{"_p_otk__EventHandler", 0, "otk::EventHandler *", 0},{"_p_ob__Client", _p_ob__ClientTo_p_otk__EventHandler},{"_p_ob__Actions", _p_ob__ActionsTo_p_otk__EventHandler},{"_p_otk__EventHandler"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventHandler},{"_p_ob__Screen", _p_ob__ScreenTo_p_otk__EventHandler},{0}};
8315 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
8316 static swig_type_info _swigt__p_otk__EventDispatcher[] = {{"_p_otk__EventDispatcher", 0, "otk::EventDispatcher *", 0},{"_p_otk__EventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__EventDispatcher},{0}};
8317 static swig_type_info _swigt__p_otk__GCCache[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
8318 static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
8319 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
8320 static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
8321 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
8322 static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
8323 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
8324 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
8325 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
8326 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
8327 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
8328 static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
8329 static swig_type_info _swigt__p_ob__WidgetBase[] = {{"_p_ob__WidgetBase", 0, "ob::WidgetBase *", 0},{"_p_ob__WidgetBase"},{"_p_ob__Client", _p_ob__ClientTo_p_ob__WidgetBase},{"_p_ob__Screen", _p_ob__ScreenTo_p_ob__WidgetBase},{0}};
8330 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
8331 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
8332 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
8333 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
8334 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
8335 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
8336 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
8338 static swig_type_info *swig_types_initial[] = {
8339 _swigt__p_otk__Point,
8340 _swigt__p_ob__Client,
8341 _swigt__p_XMapEvent,
8342 _swigt__p_XUnmapEvent,
8343 _swigt__p_XColormapEvent,
8344 _swigt__p_XNoExposeEvent,
8345 _swigt__p_XGraphicsExposeEvent,
8346 _swigt__p_XExposeEvent,
8347 _swigt__p_XFocusChangeEvent,
8348 _swigt__p_XClientMessageEvent,
8349 _swigt__p_ob__MouseData,
8350 _swigt__p_XSelectionClearEvent,
8351 _swigt__p_otk__Rect,
8353 _swigt__p_XResizeRequestEvent,
8354 _swigt__p_XMapRequestEvent,
8355 _swigt__p_XConfigureRequestEvent,
8356 _swigt__p_XCirculateRequestEvent,
8357 _swigt__p_XGravityEvent,
8358 _swigt__p_XVisibilityEvent,
8359 _swigt__p_XPropertyEvent,
8360 _swigt__p_XSelectionRequestEvent,
8361 _swigt__p_ob__Cursors,
8362 _swigt__p_otk__ImageControl,
8363 _swigt__p_ob__MwmHints,
8364 _swigt__p_ob__Screen,
8365 _swigt__p_ob__Frame,
8366 _swigt__p_ob__KeyData,
8367 _swigt__p_XConfigureEvent,
8368 _swigt__p_XCirculateEvent,
8369 _swigt__p_XRectangle,
8370 _swigt__p_otk__ustring,
8371 _swigt__p_std__string,
8372 _swigt__p_XCrossingEvent,
8373 _swigt__p_otk__Display,
8375 _swigt__p_XMappingEvent,
8376 _swigt__p_otk__Style,
8377 _swigt__p_otk__EventHandler,
8378 _swigt__p_XReparentEvent,
8379 _swigt__p_otk__EventDispatcher,
8380 _swigt__p_otk__GCCache,
8381 _swigt__p_ob__Bindings,
8382 _swigt__p_ob__Openbox,
8383 _swigt__p_ob__Actions,
8385 _swigt__p_otk__Property,
8387 _swigt__p_otk__ScreenInfo,
8388 _swigt__p_ob__EventData,
8389 _swigt__p_XCreateWindowEvent,
8390 _swigt__p_XDestroyWindowEvent,
8391 _swigt__p_otk__Property__StringVect,
8392 _swigt__p_ob__WidgetBase,
8393 _swigt__p_XKeyEvent,
8394 _swigt__p_otk__Strut,
8395 _swigt__p_unsigned_long,
8396 _swigt__p_p_unsigned_long,
8397 _swigt__p_XMotionEvent,
8398 _swigt__p_XButtonEvent,
8399 _swigt__p_XSelectionEvent,
8404 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
8406 static swig_const_info swig_const_table[] = {
8407 { SWIG_PY_INT, (char *)"Property_Atom_Cardinal", (long) otk::Property::Atom_Cardinal, 0, 0, 0},
8408 { SWIG_PY_INT, (char *)"Property_Atom_Window", (long) otk::Property::Atom_Window, 0, 0, 0},
8409 { SWIG_PY_INT, (char *)"Property_Atom_Pixmap", (long) otk::Property::Atom_Pixmap, 0, 0, 0},
8410 { SWIG_PY_INT, (char *)"Property_Atom_Atom", (long) otk::Property::Atom_Atom, 0, 0, 0},
8411 { SWIG_PY_INT, (char *)"Property_Atom_String", (long) otk::Property::Atom_String, 0, 0, 0},
8412 { SWIG_PY_INT, (char *)"Property_Atom_Utf8", (long) otk::Property::Atom_Utf8, 0, 0, 0},
8413 { SWIG_PY_INT, (char *)"Property_openbox_pid", (long) otk::Property::openbox_pid, 0, 0, 0},
8414 { SWIG_PY_INT, (char *)"Property_wm_colormap_windows", (long) otk::Property::wm_colormap_windows, 0, 0, 0},
8415 { SWIG_PY_INT, (char *)"Property_wm_protocols", (long) otk::Property::wm_protocols, 0, 0, 0},
8416 { SWIG_PY_INT, (char *)"Property_wm_state", (long) otk::Property::wm_state, 0, 0, 0},
8417 { SWIG_PY_INT, (char *)"Property_wm_delete_window", (long) otk::Property::wm_delete_window, 0, 0, 0},
8418 { SWIG_PY_INT, (char *)"Property_wm_take_focus", (long) otk::Property::wm_take_focus, 0, 0, 0},
8419 { SWIG_PY_INT, (char *)"Property_wm_change_state", (long) otk::Property::wm_change_state, 0, 0, 0},
8420 { SWIG_PY_INT, (char *)"Property_wm_name", (long) otk::Property::wm_name, 0, 0, 0},
8421 { SWIG_PY_INT, (char *)"Property_wm_icon_name", (long) otk::Property::wm_icon_name, 0, 0, 0},
8422 { SWIG_PY_INT, (char *)"Property_wm_class", (long) otk::Property::wm_class, 0, 0, 0},
8423 { SWIG_PY_INT, (char *)"Property_wm_window_role", (long) otk::Property::wm_window_role, 0, 0, 0},
8424 { SWIG_PY_INT, (char *)"Property_motif_wm_hints", (long) otk::Property::motif_wm_hints, 0, 0, 0},
8425 { SWIG_PY_INT, (char *)"Property_blackbox_attributes", (long) otk::Property::blackbox_attributes, 0, 0, 0},
8426 { SWIG_PY_INT, (char *)"Property_blackbox_change_attributes", (long) otk::Property::blackbox_change_attributes, 0, 0, 0},
8427 { SWIG_PY_INT, (char *)"Property_blackbox_hints", (long) otk::Property::blackbox_hints, 0, 0, 0},
8428 { SWIG_PY_INT, (char *)"Property_blackbox_structure_messages", (long) otk::Property::blackbox_structure_messages, 0, 0, 0},
8429 { SWIG_PY_INT, (char *)"Property_blackbox_notify_startup", (long) otk::Property::blackbox_notify_startup, 0, 0, 0},
8430 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_add", (long) otk::Property::blackbox_notify_window_add, 0, 0, 0},
8431 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_del", (long) otk::Property::blackbox_notify_window_del, 0, 0, 0},
8432 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_focus", (long) otk::Property::blackbox_notify_window_focus, 0, 0, 0},
8433 { SWIG_PY_INT, (char *)"Property_blackbox_notify_current_workspace", (long) otk::Property::blackbox_notify_current_workspace, 0, 0, 0},
8434 { SWIG_PY_INT, (char *)"Property_blackbox_notify_workspace_count", (long) otk::Property::blackbox_notify_workspace_count, 0, 0, 0},
8435 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_raise", (long) otk::Property::blackbox_notify_window_raise, 0, 0, 0},
8436 { SWIG_PY_INT, (char *)"Property_blackbox_notify_window_lower", (long) otk::Property::blackbox_notify_window_lower, 0, 0, 0},
8437 { SWIG_PY_INT, (char *)"Property_blackbox_change_workspace", (long) otk::Property::blackbox_change_workspace, 0, 0, 0},
8438 { SWIG_PY_INT, (char *)"Property_blackbox_change_window_focus", (long) otk::Property::blackbox_change_window_focus, 0, 0, 0},
8439 { SWIG_PY_INT, (char *)"Property_blackbox_cycle_window_focus", (long) otk::Property::blackbox_cycle_window_focus, 0, 0, 0},
8440 { SWIG_PY_INT, (char *)"Property_openbox_show_root_menu", (long) otk::Property::openbox_show_root_menu, 0, 0, 0},
8441 { SWIG_PY_INT, (char *)"Property_openbox_show_workspace_menu", (long) otk::Property::openbox_show_workspace_menu, 0, 0, 0},
8442 { SWIG_PY_INT, (char *)"Property_net_supported", (long) otk::Property::net_supported, 0, 0, 0},
8443 { SWIG_PY_INT, (char *)"Property_net_client_list", (long) otk::Property::net_client_list, 0, 0, 0},
8444 { SWIG_PY_INT, (char *)"Property_net_client_list_stacking", (long) otk::Property::net_client_list_stacking, 0, 0, 0},
8445 { SWIG_PY_INT, (char *)"Property_net_number_of_desktops", (long) otk::Property::net_number_of_desktops, 0, 0, 0},
8446 { SWIG_PY_INT, (char *)"Property_net_desktop_geometry", (long) otk::Property::net_desktop_geometry, 0, 0, 0},
8447 { SWIG_PY_INT, (char *)"Property_net_desktop_viewport", (long) otk::Property::net_desktop_viewport, 0, 0, 0},
8448 { SWIG_PY_INT, (char *)"Property_net_current_desktop", (long) otk::Property::net_current_desktop, 0, 0, 0},
8449 { SWIG_PY_INT, (char *)"Property_net_desktop_names", (long) otk::Property::net_desktop_names, 0, 0, 0},
8450 { SWIG_PY_INT, (char *)"Property_net_active_window", (long) otk::Property::net_active_window, 0, 0, 0},
8451 { SWIG_PY_INT, (char *)"Property_net_workarea", (long) otk::Property::net_workarea, 0, 0, 0},
8452 { SWIG_PY_INT, (char *)"Property_net_supporting_wm_check", (long) otk::Property::net_supporting_wm_check, 0, 0, 0},
8453 { SWIG_PY_INT, (char *)"Property_net_close_window", (long) otk::Property::net_close_window, 0, 0, 0},
8454 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize", (long) otk::Property::net_wm_moveresize, 0, 0, 0},
8455 { SWIG_PY_INT, (char *)"Property_net_wm_name", (long) otk::Property::net_wm_name, 0, 0, 0},
8456 { SWIG_PY_INT, (char *)"Property_net_wm_visible_name", (long) otk::Property::net_wm_visible_name, 0, 0, 0},
8457 { SWIG_PY_INT, (char *)"Property_net_wm_icon_name", (long) otk::Property::net_wm_icon_name, 0, 0, 0},
8458 { SWIG_PY_INT, (char *)"Property_net_wm_visible_icon_name", (long) otk::Property::net_wm_visible_icon_name, 0, 0, 0},
8459 { SWIG_PY_INT, (char *)"Property_net_wm_desktop", (long) otk::Property::net_wm_desktop, 0, 0, 0},
8460 { SWIG_PY_INT, (char *)"Property_net_wm_window_type", (long) otk::Property::net_wm_window_type, 0, 0, 0},
8461 { SWIG_PY_INT, (char *)"Property_net_wm_state", (long) otk::Property::net_wm_state, 0, 0, 0},
8462 { SWIG_PY_INT, (char *)"Property_net_wm_strut", (long) otk::Property::net_wm_strut, 0, 0, 0},
8463 { SWIG_PY_INT, (char *)"Property_net_wm_allowed_actions", (long) otk::Property::net_wm_allowed_actions, 0, 0, 0},
8464 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_desktop", (long) otk::Property::net_wm_window_type_desktop, 0, 0, 0},
8465 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_dock", (long) otk::Property::net_wm_window_type_dock, 0, 0, 0},
8466 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_toolbar", (long) otk::Property::net_wm_window_type_toolbar, 0, 0, 0},
8467 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_menu", (long) otk::Property::net_wm_window_type_menu, 0, 0, 0},
8468 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_utility", (long) otk::Property::net_wm_window_type_utility, 0, 0, 0},
8469 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_splash", (long) otk::Property::net_wm_window_type_splash, 0, 0, 0},
8470 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_dialog", (long) otk::Property::net_wm_window_type_dialog, 0, 0, 0},
8471 { SWIG_PY_INT, (char *)"Property_net_wm_window_type_normal", (long) otk::Property::net_wm_window_type_normal, 0, 0, 0},
8472 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_topleft", (long) otk::Property::net_wm_moveresize_size_topleft, 0, 0, 0},
8473 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_topright", (long) otk::Property::net_wm_moveresize_size_topright, 0, 0, 0},
8474 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_bottomleft", (long) otk::Property::net_wm_moveresize_size_bottomleft, 0, 0, 0},
8475 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_size_bottomright", (long) otk::Property::net_wm_moveresize_size_bottomright, 0, 0, 0},
8476 { SWIG_PY_INT, (char *)"Property_net_wm_moveresize_move", (long) otk::Property::net_wm_moveresize_move, 0, 0, 0},
8477 { SWIG_PY_INT, (char *)"Property_net_wm_action_move", (long) otk::Property::net_wm_action_move, 0, 0, 0},
8478 { SWIG_PY_INT, (char *)"Property_net_wm_action_resize", (long) otk::Property::net_wm_action_resize, 0, 0, 0},
8479 { SWIG_PY_INT, (char *)"Property_net_wm_action_shade", (long) otk::Property::net_wm_action_shade, 0, 0, 0},
8480 { SWIG_PY_INT, (char *)"Property_net_wm_action_maximize_horz", (long) otk::Property::net_wm_action_maximize_horz, 0, 0, 0},
8481 { SWIG_PY_INT, (char *)"Property_net_wm_action_maximize_vert", (long) otk::Property::net_wm_action_maximize_vert, 0, 0, 0},
8482 { SWIG_PY_INT, (char *)"Property_net_wm_action_change_desktop", (long) otk::Property::net_wm_action_change_desktop, 0, 0, 0},
8483 { SWIG_PY_INT, (char *)"Property_net_wm_action_close", (long) otk::Property::net_wm_action_close, 0, 0, 0},
8484 { SWIG_PY_INT, (char *)"Property_net_wm_state_modal", (long) otk::Property::net_wm_state_modal, 0, 0, 0},
8485 { SWIG_PY_INT, (char *)"Property_net_wm_state_sticky", (long) otk::Property::net_wm_state_sticky, 0, 0, 0},
8486 { SWIG_PY_INT, (char *)"Property_net_wm_state_maximized_vert", (long) otk::Property::net_wm_state_maximized_vert, 0, 0, 0},
8487 { SWIG_PY_INT, (char *)"Property_net_wm_state_maximized_horz", (long) otk::Property::net_wm_state_maximized_horz, 0, 0, 0},
8488 { SWIG_PY_INT, (char *)"Property_net_wm_state_shaded", (long) otk::Property::net_wm_state_shaded, 0, 0, 0},
8489 { SWIG_PY_INT, (char *)"Property_net_wm_state_skip_taskbar", (long) otk::Property::net_wm_state_skip_taskbar, 0, 0, 0},
8490 { SWIG_PY_INT, (char *)"Property_net_wm_state_skip_pager", (long) otk::Property::net_wm_state_skip_pager, 0, 0, 0},
8491 { SWIG_PY_INT, (char *)"Property_net_wm_state_hidden", (long) otk::Property::net_wm_state_hidden, 0, 0, 0},
8492 { SWIG_PY_INT, (char *)"Property_net_wm_state_fullscreen", (long) otk::Property::net_wm_state_fullscreen, 0, 0, 0},
8493 { SWIG_PY_INT, (char *)"Property_net_wm_state_above", (long) otk::Property::net_wm_state_above, 0, 0, 0},
8494 { SWIG_PY_INT, (char *)"Property_net_wm_state_below", (long) otk::Property::net_wm_state_below, 0, 0, 0},
8495 { SWIG_PY_INT, (char *)"Property_kde_net_system_tray_windows", (long) otk::Property::kde_net_system_tray_windows, 0, 0, 0},
8496 { SWIG_PY_INT, (char *)"Property_kde_net_wm_system_tray_window_for", (long) otk::Property::kde_net_wm_system_tray_window_for, 0, 0, 0},
8497 { SWIG_PY_INT, (char *)"Property_kde_net_wm_window_type_override", (long) otk::Property::kde_net_wm_window_type_override, 0, 0, 0},
8498 { SWIG_PY_INT, (char *)"Property_NUM_ATOMS", (long) otk::Property::NUM_ATOMS, 0, 0, 0},
8499 { SWIG_PY_INT, (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
8500 { SWIG_PY_INT, (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
8501 { SWIG_PY_INT, (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
8502 { SWIG_PY_INT, (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
8503 { SWIG_PY_INT, (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
8504 { SWIG_PY_INT, (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
8505 { SWIG_PY_INT, (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
8506 { SWIG_PY_INT, (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
8507 { SWIG_PY_INT, (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
8508 { SWIG_PY_INT, (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
8509 { SWIG_PY_INT, (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
8510 { SWIG_PY_INT, (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
8511 { SWIG_PY_INT, (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
8512 { SWIG_PY_INT, (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
8513 { SWIG_PY_INT, (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
8514 { SWIG_PY_INT, (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
8515 { SWIG_PY_INT, (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
8516 { SWIG_PY_INT, (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
8517 { SWIG_PY_INT, (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
8518 { SWIG_PY_INT, (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
8519 { SWIG_PY_INT, (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
8520 { SWIG_PY_INT, (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
8521 { SWIG_PY_INT, (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
8522 { SWIG_PY_INT, (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
8523 { SWIG_PY_INT, (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
8524 { SWIG_PY_INT, (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
8525 { SWIG_PY_INT, (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
8526 { SWIG_PY_INT, (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
8527 { SWIG_PY_INT, (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
8528 { SWIG_PY_INT, (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
8529 { SWIG_PY_INT, (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
8530 { SWIG_PY_INT, (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
8531 { SWIG_PY_INT, (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
8532 { SWIG_PY_INT, (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
8533 { SWIG_PY_INT, (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
8534 { SWIG_PY_INT, (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
8535 { SWIG_PY_INT, (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
8536 { SWIG_PY_INT, (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
8537 { SWIG_PY_INT, (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
8538 { SWIG_PY_INT, (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
8539 { SWIG_PY_INT, (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
8540 { SWIG_PY_INT, (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
8541 { SWIG_PY_INT, (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
8542 { SWIG_PY_INT, (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
8543 { SWIG_PY_INT, (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
8544 { SWIG_PY_INT, (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
8545 { SWIG_PY_INT, (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
8546 { SWIG_PY_INT, (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
8547 { SWIG_PY_INT, (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
8548 { SWIG_PY_INT, (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
8549 { SWIG_PY_INT, (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
8550 { SWIG_PY_INT, (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
8551 { SWIG_PY_INT, (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky, 0, 0, 0},
8552 { SWIG_PY_INT, (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
8553 { SWIG_PY_INT, (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
8554 { SWIG_PY_INT, (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
8555 { SWIG_PY_INT, (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
8556 { SWIG_PY_INT, (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
8557 { SWIG_PY_INT, (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
8558 { SWIG_PY_INT, (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
8559 { SWIG_PY_INT, (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
8560 { SWIG_PY_INT, (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
8561 { SWIG_PY_INT, (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
8562 { SWIG_PY_INT, (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
8563 { SWIG_PY_INT, (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
8564 { SWIG_PY_INT, (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
8565 { SWIG_PY_INT, (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
8566 { SWIG_PY_INT, (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
8567 { SWIG_PY_INT, (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
8568 { SWIG_PY_INT, (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
8569 { SWIG_PY_INT, (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
8570 { SWIG_PY_INT, (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
8571 { SWIG_PY_INT, (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
8572 { SWIG_PY_INT, (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
8573 { SWIG_PY_INT, (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
8574 { SWIG_PY_INT, (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
8575 { SWIG_PY_INT, (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
8576 { SWIG_PY_INT, (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
8577 { SWIG_PY_INT, (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
8578 { SWIG_PY_INT, (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
8579 { SWIG_PY_INT, (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
8580 { SWIG_PY_INT, (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
8581 { SWIG_PY_INT, (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
8582 { SWIG_PY_INT, (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
8583 { SWIG_PY_INT, (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
8584 { SWIG_PY_INT, (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
8585 { SWIG_PY_INT, (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
8586 { SWIG_PY_INT, (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
8587 { SWIG_PY_INT, (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
8588 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
8589 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
8590 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
8591 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
8592 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
8593 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
8594 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
8595 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
8596 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
8597 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
8598 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
8599 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
8600 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
8601 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
8602 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
8603 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
8604 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
8605 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
8606 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
8607 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
8608 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
8609 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
8610 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
8611 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
8612 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
8613 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
8614 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
8615 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
8616 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
8617 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
8618 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
8619 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
8620 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
8621 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
8622 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
8623 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
8624 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
8625 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
8626 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
8627 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
8628 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
8629 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
8630 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
8631 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
8632 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
8633 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
8634 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
8635 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
8636 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
8637 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
8638 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
8639 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
8640 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
8641 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
8642 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
8643 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
8644 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
8645 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
8646 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
8647 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
8648 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
8649 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
8650 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
8651 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
8652 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
8653 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
8654 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
8655 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
8656 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
8657 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
8658 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
8659 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
8660 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
8661 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
8662 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
8663 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
8664 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
8665 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
8666 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
8667 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
8668 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
8669 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
8670 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
8671 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
8672 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
8673 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
8674 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
8675 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
8676 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
8677 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
8678 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
8679 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
8680 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
8681 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
8682 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
8683 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
8684 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
8685 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
8686 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
8687 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
8688 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
8689 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
8690 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
8691 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
8692 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
8693 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
8694 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
8695 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
8696 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
8697 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
8698 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
8699 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
8700 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
8701 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
8702 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
8703 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
8704 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
8705 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
8706 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
8707 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
8708 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
8709 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
8710 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
8711 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
8712 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
8713 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
8714 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
8715 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
8716 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
8717 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
8718 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
8719 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
8720 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
8721 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
8722 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
8723 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
8724 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
8725 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
8726 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
8727 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
8728 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
8729 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
8730 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
8731 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
8732 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
8733 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
8734 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
8735 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
8736 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
8737 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
8738 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
8739 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
8740 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
8741 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
8742 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
8743 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
8744 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
8745 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
8746 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
8747 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
8748 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
8749 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
8750 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
8751 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
8752 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
8753 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
8754 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
8755 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
8756 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
8757 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
8758 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
8759 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
8760 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
8761 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
8762 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
8763 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
8764 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
8765 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
8766 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
8767 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
8768 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
8769 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
8770 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
8771 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
8772 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
8773 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
8774 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
8775 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
8776 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
8777 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
8778 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
8779 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
8780 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
8781 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
8782 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
8783 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
8784 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
8785 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
8786 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
8787 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
8788 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
8789 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
8790 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
8791 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
8792 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
8793 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
8794 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
8795 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
8796 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
8797 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
8798 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
8799 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
8800 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
8801 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
8802 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
8803 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
8804 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
8805 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
8806 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
8807 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
8808 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
8809 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
8810 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
8811 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
8812 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
8813 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
8814 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
8815 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
8816 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
8817 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
8818 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
8819 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
8820 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
8821 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
8822 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
8823 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
8824 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
8825 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
8826 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
8827 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
8828 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
8829 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
8830 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
8831 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
8832 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
8833 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
8834 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
8835 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
8836 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
8837 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
8838 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
8839 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
8840 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
8841 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
8842 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
8843 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
8844 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
8845 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
8846 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
8847 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
8848 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
8849 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
8850 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
8851 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
8852 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
8853 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
8854 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
8855 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
8856 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
8857 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
8858 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
8859 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
8860 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
8861 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
8862 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
8863 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
8864 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
8865 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
8866 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
8867 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
8868 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
8869 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
8870 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
8871 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
8872 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
8873 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
8874 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
8875 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
8876 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
8877 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
8878 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
8879 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
8880 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
8881 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
8882 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
8883 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
8884 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
8885 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
8886 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
8887 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
8888 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
8889 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
8890 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
8891 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
8892 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
8893 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
8894 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
8895 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
8896 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
8897 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
8898 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
8899 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
8900 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
8901 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
8902 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
8903 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
8904 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
8905 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
8906 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
8907 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
8908 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
8909 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
8910 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
8911 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
8912 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
8913 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
8914 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
8915 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
8916 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
8917 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
8918 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
8919 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
8920 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
8921 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
8922 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
8923 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
8924 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
8925 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
8926 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
8927 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
8928 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
8929 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
8930 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
8940 SWIGEXPORT(void) SWIG_init(void) {
8941 static PyObject *SWIG_globals = 0;
8942 static int typeinit = 0;
8945 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
8946 m = Py_InitModule((char *) SWIG_name, SwigMethods);
8947 d = PyModule_GetDict(m);
8950 for (i = 0; swig_types_initial[i]; i++) {
8951 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
8955 SWIG_InstallConstants(d,swig_const_table);