]> icculus.org git repositories - mikachu/openbox.git/blob - src/openbox_wrap.cc
add a todo comment
[mikachu/openbox.git] / src / openbox_wrap.cc
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 1.3.17u-20021128-1508
4  * 
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  * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15     T *tt;
16 public:
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; }
22 };                                                    
23 #endif
24
25
26 #include "Python.h"
27
28 /***********************************************************************
29  * common.swg
30  *
31  *     This file contains generic SWIG runtime support for pointer
32  *     type checking as well as a few commonly used macros to control
33  *     external linkage.
34  *
35  * Author : David Beazley (beazley@cs.uchicago.edu)
36  *
37  * Copyright (c) 1999-2000, The University of Chicago
38  * 
39  * This file may be freely redistributed without license or fee provided
40  * this copyright message remains intact.
41  ************************************************************************/
42
43 #include <string.h>
44
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
50 #               else
51 #                       define SWIGEXPORT(a) __declspec(dllexport) a
52 #                       define SWIGIMPORT(a) extern a
53 #               endif
54 #       else
55 #               if defined(__BORLANDC__)
56 #                       define SWIGEXPORT(a) a _export
57 #                       define SWIGIMPORT(a) a _export
58 #               else
59 #                       define SWIGEXPORT(a) a
60 #                       define SWIGIMPORT(a) a
61 #               endif
62 #       endif
63 #else
64 #       define SWIGEXPORT(a) a
65 #       define SWIGIMPORT(a) a
66 #endif
67
68 #ifdef SWIG_GLOBAL
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
70 #else
71 #define SWIGRUNTIME(a) static a
72 #endif
73
74 #ifdef __cplusplus
75 extern "C" {
76 #endif
77
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
80
81 typedef struct swig_type_info {
82   const char             *name;                 
83   swig_converter_func     converter;
84   const char             *str;
85   void                   *clientdata;   
86   swig_dycast_func        dcast;
87   struct swig_type_info  *next;
88   struct swig_type_info  *prev;
89 } swig_type_info;
90
91 #ifdef SWIG_NOINCLUDE
92
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 *);
99
100 #else
101
102 static swig_type_info *swig_type_list = 0;
103
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
107 {
108   swig_type_info *tc, *head, *ret, *next;
109   /* Check to see if this type has already been registered */
110   tc = swig_type_list;
111   while (tc) {
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;      
115       head = tc;
116       next = tc->next;
117       goto l1;
118     }
119     tc = tc->prev;
120   }
121   head = ti;
122   next = 0;
123
124   /* Place in list */
125   ti->prev = swig_type_list;
126   swig_type_list = ti;
127
128   /* Build linked lists */
129  l1:
130   ret = head;
131   tc = ti + 1;
132   /* Patch up the rest of the links */
133   while (tc->name) {
134     head->next = tc;
135     tc->prev = head;
136     head = tc;
137     tc++;
138   }
139   head->next = next;
140   return ret;
141 }
142
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *) 
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
146 {
147   swig_type_info *s;
148   if (!ty) return 0;        /* Void pointer */
149   s = ty->next;             /* First element always just a name */
150   do {
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;
155       if (s->next) {
156         s->next->prev = s->prev;
157       }
158       /* Insert s as second element in the list */
159       s->next = ty->next;
160       if (ty->next) ty->next->prev = s;
161       ty->next = s;
162       return s;
163     }
164     s = s->next;
165   } while (s && (s != ty->next));
166   return 0;
167 }
168
169 /* Cast a pointer up an inheritance hierarchy */
170 SWIGRUNTIME(void *) 
171 SWIG_TypeCast(swig_type_info *ty, void *ptr) 
172 {
173   if ((!ty) || (!ty->converter)) return ptr;
174   return (*ty->converter)(ptr);
175 }
176
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *) 
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) 
180 {
181   swig_type_info *lastty = ty;
182   if (!ty || !ty->dcast) return ty;
183   while (ty && (ty->dcast)) {
184      ty = (*ty->dcast)(ptr);
185      if (ty) lastty = ty;
186   }
187   return lastty;
188 }
189
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;
194   while (ty) {
195     if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196     if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
197     ty = ty->prev;
198   }
199   return 0;
200 }
201
202 /* Set the clientdata field for a type */
203 SWIGRUNTIME(void)
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;
208   equiv = ti->next;
209   while (equiv) {
210     if (!equiv->converter) {
211       tc = swig_type_list;
212       while (tc) {
213         if ((strcmp(tc->name, equiv->name) == 0))
214           SWIG_TypeClientData(tc,clientdata);
215         tc = tc->prev;
216       }
217     }
218     equiv = equiv->next;
219   }
220 }
221 #endif
222
223 #ifdef __cplusplus
224 }
225
226 #endif
227
228 /***********************************************************************
229  * python.swg
230  *
231  *     This file contains the runtime support for Python modules
232  *     and includes code for managing global variables and pointer
233  *     type checking.
234  *
235  * Author : David Beazley (beazley@cs.uchicago.edu)
236  ************************************************************************/
237
238 #include "Python.h"
239
240 #ifdef __cplusplus
241 extern "C" {
242 #endif
243
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
249
250 /* Flags for pointer conversion */
251
252 #define SWIG_POINTER_EXCEPTION     0x1
253 #define SWIG_POINTER_DISOWN        0x2
254
255 /* Exception handling in wrappers */
256 #define SWIG_fail   goto fail
257
258 /* Constant information structure */
259 typedef struct swig_const_info {
260     int type;
261     char *name;
262     long lvalue;
263     double dvalue;
264     void   *pvalue;
265     swig_type_info **ptype;
266 } swig_const_info;
267
268 #ifdef SWIG_NOINCLUDE
269
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[]);
279 #else
280
281 /* -----------------------------------------------------------------------------
282  * global variable support code.
283  * ----------------------------------------------------------------------------- */
284
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;
290 } swig_globalvar;
291
292 typedef struct swig_varlinkobject {
293   PyObject_HEAD
294   swig_globalvar *vars;
295 } swig_varlinkobject;
296
297 static PyObject *
298 swig_varlink_repr(swig_varlinkobject *v) {
299   v = v;
300   return PyString_FromString("<Global variables>");
301 }
302
303 static int
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
305   swig_globalvar  *var;
306   flags = 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,", ");
311   }
312   fprintf(fp," }\n");
313   return 0;
314 }
315
316 static PyObject *
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318   swig_globalvar *var = v->vars;
319   while (var) {
320     if (strcmp(var->name,n) == 0) {
321       return (*var->get_attr)();
322     }
323     var = var->next;
324   }
325   PyErr_SetString(PyExc_NameError,"Unknown C global variable");
326   return NULL;
327 }
328
329 static int
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331   swig_globalvar *var = v->vars;
332   while (var) {
333     if (strcmp(var->name,n) == 0) {
334       return (*var->set_attr)(p);
335     }
336     var = var->next;
337   }
338   PyErr_SetString(PyExc_NameError,"Unknown C global variable");
339   return 1;
340 }
341
342 statichere PyTypeObject varlinktype = {
343   PyObject_HEAD_INIT(0)              
344   0,
345   (char *)"swigvarlink",                      /* Type name    */
346   sizeof(swig_varlinkobject),         /* Basic size   */
347   0,                                  /* Itemsize     */
348   0,                                  /* Deallocator  */ 
349   (printfunc) swig_varlink_print,     /* Print        */
350   (getattrfunc) swig_varlink_getattr, /* get attr     */
351   (setattrfunc) swig_varlink_setattr, /* Set attr     */
352   0,                                  /* tp_compare   */
353   (reprfunc) swig_varlink_repr,       /* tp_repr      */    
354   0,                                  /* tp_as_number */
355   0,                                  /* tp_as_mapping*/
356   0,                                  /* tp_hash      */
357 };
358
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;
366   result->vars = 0;
367   result->ob_refcnt = 0;
368   Py_XINCREF((PyObject *) result);
369   return ((PyObject*) result);
370 }
371
372 SWIGRUNTIME(void)
373 SWIG_addvarlink(PyObject *p, char *name,
374            PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375   swig_varlinkobject *v;
376   swig_globalvar *gv;
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;
383   gv->next = v->vars;
384   v->vars = gv;
385 }
386
387 /* Pack binary data into a string */
388 SWIGRUNTIME(char *)
389 SWIG_PackData(char *c, void *ptr, int sz) {
390   static char hex[17] = "0123456789abcdef";
391   int i;
392   unsigned char *u = (unsigned char *) ptr;
393   register unsigned char uu;
394   for (i = 0; i < sz; i++,u++) {
395     uu = *u;
396     *(c++) = hex[(uu & 0xf0) >> 4];
397     *(c++) = hex[uu & 0xf];
398   }
399   return c;
400 }
401
402 /* Unpack binary data from a string */
403 SWIGRUNTIME(char *)
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405   register unsigned char uu = 0;
406   register int d;
407   unsigned char *u = (unsigned char *) ptr;
408   int i;
409   for (i = 0; i < sz; i++, u++) {
410     d = *(c++);
411     if ((d >= '0') && (d <= '9'))
412       uu = ((d - '0') << 4);
413     else if ((d >= 'a') && (d <= 'f'))
414       uu = ((d - ('a'-10)) << 4);
415     d = *(c++);
416     if ((d >= '0') && (d <= '9'))
417       uu |= (d - '0');
418     else if ((d >= 'a') && (d <= 'f'))
419       uu |= (d - ('a'-10));
420     *u = uu;
421   }
422   return c;
423 }
424
425 /* Convert a pointer value */
426 SWIGRUNTIME(int)
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
428   swig_type_info *tc;
429   char  *c;
430   static PyObject *SWIG_this = 0;
431   int    newref = 0;
432   PyObject  *pyobj = 0;
433
434   if (!obj) return 0;
435   if (obj == Py_None) {
436     *ptr = 0;
437     return 0;
438   }
439 #ifdef SWIG_COBJECT_TYPES
440   if (!(PyCObject_Check(obj))) {
441     if (!SWIG_this)
442       SWIG_this = PyString_FromString("this");
443     pyobj = obj;
444     obj = PyObject_GetAttr(obj,SWIG_this);
445     newref = 1;
446     if (!obj) goto type_error;
447     if (!PyCObject_Check(obj)) {
448       Py_DECREF(obj);
449       goto type_error;
450     }
451   }  
452   *ptr = PyCObject_AsVoidPtr(obj);
453   c = (char *) PyCObject_GetDesc(obj);
454   if (newref) Py_DECREF(obj);
455   goto cobject;
456 #else
457   if (!(PyString_Check(obj))) {
458     if (!SWIG_this)
459       SWIG_this = PyString_FromString("this");
460     pyobj = obj;
461     obj = PyObject_GetAttr(obj,SWIG_this);
462     newref = 1;
463     if (!obj) goto type_error;
464     if (!PyString_Check(obj)) {
465       Py_DECREF(obj);
466       goto type_error;
467     }
468   } 
469   c = PyString_AsString(obj);
470   /* Pointer values must start with leading underscore */
471   if (*c != '_') {
472     *ptr = (void *) 0;
473     if (strcmp(c,"NULL") == 0) {
474       if (newref) { Py_DECREF(obj); }
475       return 0;
476     } else {
477       if (newref) { Py_DECREF(obj); }
478       goto type_error;
479     }
480   }
481   c++;
482   c = SWIG_UnpackData(c,ptr,sizeof(void *));
483   if (newref) { Py_DECREF(obj); }
484 #endif
485
486 #ifdef SWIG_COBJECT_TYPES
487 cobject:
488 #endif
489
490   if (ty) {
491     tc = SWIG_TypeCheck(c,ty);
492     if (!tc) goto type_error;
493     *ptr = SWIG_TypeCast(tc,(void*) *ptr);
494   }
495
496   if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497       PyObject *zero = PyInt_FromLong(0);
498       PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
499       Py_DECREF(zero);
500   }
501   return 0;
502
503 type_error:
504   if (flags & SWIG_POINTER_EXCEPTION) {
505     if (ty) {
506       char *temp = (char *) malloc(64+strlen(ty->name));
507       sprintf(temp,"Type error. Expected %s", ty->name);
508       PyErr_SetString(PyExc_TypeError, temp);
509       free((char *) temp);
510     } else {
511       PyErr_SetString(PyExc_TypeError,"Expected a pointer");
512     }
513   }
514   return -1;
515 }
516
517 /* Convert a packed value value */
518 SWIGRUNTIME(int)
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
520   swig_type_info *tc;
521   char  *c;
522
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;
527   c++;
528   c = SWIG_UnpackData(c,ptr,sz);
529   if (ty) {
530     tc = SWIG_TypeCheck(c,ty);
531     if (!tc) goto type_error;
532   }
533   return 0;
534
535 type_error:
536
537   if (flags) {
538     if (ty) {
539       char *temp = (char *) malloc(64+strlen(ty->name));
540       sprintf(temp,"Type error. Expected %s", ty->name);
541       PyErr_SetString(PyExc_TypeError, temp);
542       free((char *) temp);
543     } else {
544       PyErr_SetString(PyExc_TypeError,"Expected a pointer");
545     }
546   }
547   return -1;
548 }
549
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
553   PyObject *robj;
554   if (!ptr) {
555     Py_INCREF(Py_None);
556     return Py_None;
557   }
558 #ifdef SWIG_COBJECT_TYPES
559   robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
560 #else
561   {
562     char result[1024];
563     char *r = result;
564     *(r++) = '_';
565     r = SWIG_PackData(r,&ptr,sizeof(void *));
566     strcpy(r,type->name);
567     robj = PyString_FromString(result);
568   }
569 #endif
570   if (!robj || (robj == Py_None)) return robj;
571   if (type->clientdata) {
572     PyObject *inst;
573     PyObject *args = Py_BuildValue((char*)"(O)", robj);
574     Py_DECREF(robj);
575     inst = PyObject_CallObject((PyObject *) type->clientdata, args);
576     Py_DECREF(args);
577     if (inst) {
578       if (own) {
579         PyObject *n = PyInt_FromLong(1);
580         PyObject_SetAttrString(inst,(char*)"thisown",n);
581         Py_DECREF(n);
582       }
583       robj = inst;
584     }
585   }
586   return robj;
587 }
588
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
591   char result[1024];
592   char *r = result;
593   if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
594   *(r++) = '_';
595   r = SWIG_PackData(r,ptr,sz);
596   strcpy(r,type->name);
597   return PyString_FromString(result);
598 }
599
600 /* Install Constants */
601 SWIGRUNTIME(void)
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
603   int i;
604   PyObject *obj;
605   for (i = 0; constants[i].type; i++) {
606     switch(constants[i].type) {
607     case SWIG_PY_INT:
608       obj = PyInt_FromLong(constants[i].lvalue);
609       break;
610     case SWIG_PY_FLOAT:
611       obj = PyFloat_FromDouble(constants[i].dvalue);
612       break;
613     case SWIG_PY_STRING:
614       obj = PyString_FromString((char *) constants[i].pvalue);
615       break;
616     case SWIG_PY_POINTER:
617       obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
618       break;
619     case SWIG_PY_BINARY:
620       obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
621       break;
622     default:
623       obj = 0;
624       break;
625     }
626     if (obj) {
627       PyDict_SetItemString(d,constants[i].name,obj);
628       Py_DECREF(obj);
629     }
630   }
631 }
632
633 #endif
634
635 #ifdef __cplusplus
636 }
637 #endif
638
639
640
641
642
643
644
645
646 /* -------- TYPES TABLE (BEGIN) -------- */
647
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_otk__Atoms swig_types[54] 
703 #define  SWIGTYPE_p_XKeyEvent swig_types[55] 
704 #define  SWIGTYPE_p_otk__Strut swig_types[56] 
705 #define  SWIGTYPE_p_unsigned_long swig_types[57] 
706 #define  SWIGTYPE_p_p_unsigned_long swig_types[58] 
707 #define  SWIGTYPE_p_XMotionEvent swig_types[59] 
708 #define  SWIGTYPE_p_XButtonEvent swig_types[60] 
709 #define  SWIGTYPE_p_XSelectionEvent swig_types[61] 
710 static swig_type_info *swig_types[63];
711
712 /* -------- TYPES TABLE (END) -------- */
713
714
715 /*-----------------------------------------------
716               @(target):= _openbox.so
717   ------------------------------------------------*/
718 #define SWIG_init    init_openbox
719
720 #define SWIG_name    "_openbox"
721
722 #ifdef HAVE_CONFIG_H
723 #  include "../config.h"
724 #endif
725
726 #include "openbox.hh"
727 #include "screen.hh"
728 #include "client.hh"
729 #include "bindings.hh"
730 #include "actions.hh"
731 #include "python.hh"
732 #include "otk/otk.hh"
733
734
735 #define  SWIG_MemoryError    1
736 #define  SWIG_IOError        2
737 #define  SWIG_RuntimeError   3
738 #define  SWIG_IndexError     4
739 #define  SWIG_TypeError      5
740 #define  SWIG_DivisionByZero 6
741 #define  SWIG_OverflowError  7
742 #define  SWIG_SyntaxError    8
743 #define  SWIG_ValueError     9
744 #define  SWIG_SystemError   10
745 #define  SWIG_UnknownError  99
746
747
748 static void _SWIG_exception(int code, const char *msg) {
749   switch(code) {
750   case SWIG_MemoryError:
751     PyErr_SetString(PyExc_MemoryError,msg);
752     break;
753   case SWIG_IOError:
754     PyErr_SetString(PyExc_IOError,msg);
755     break;
756   case SWIG_RuntimeError:
757     PyErr_SetString(PyExc_RuntimeError,msg);
758     break;
759   case SWIG_IndexError:
760     PyErr_SetString(PyExc_IndexError,msg);
761     break;
762   case SWIG_TypeError:
763     PyErr_SetString(PyExc_TypeError,msg);
764     break;
765   case SWIG_DivisionByZero:
766     PyErr_SetString(PyExc_ZeroDivisionError,msg);
767     break;
768   case SWIG_OverflowError:
769     PyErr_SetString(PyExc_OverflowError,msg);
770     break;
771   case SWIG_SyntaxError:
772     PyErr_SetString(PyExc_SyntaxError,msg);
773     break;
774   case SWIG_ValueError:
775     PyErr_SetString(PyExc_ValueError,msg);
776     break;
777   case SWIG_SystemError:
778     PyErr_SetString(PyExc_SystemError,msg);
779     break;
780   default:
781     PyErr_SetString(PyExc_RuntimeError,msg);
782     break;
783   }
784 }
785
786 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
787
788
789 #include <string>
790
791
792 #include <string>
793
794 PyObject* SwigInt_FromBool(bool b) {
795     return PyInt_FromLong(b ? 1L : 0L);
796 }
797 double SwigNumber_Check(PyObject* o) {
798     return PyFloat_Check(o) || PyInt_Check(o);
799 }
800 double SwigNumber_AsDouble(PyObject* o) {
801     return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
802 }
803 PyObject* SwigString_FromString(const std::string& s) {
804     return PyString_FromString(s.c_str());
805 }
806 std::string SwigString_AsString(PyObject* o) {
807     return std::string(PyString_AsString(o));
808 }
809
810
811 #include <vector>
812 #include <algorithm>
813 #include <stdexcept>
814
815
816   ob::Openbox *Openbox_instance() { return ob::openbox; }
817
818
819 namespace ob {
820 void python_callback(PyObject *func, MouseData *data)
821 {
822   PyObject *arglist;
823   PyObject *result;
824
825   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
826                                                     SWIGTYPE_p_ob__MouseData,
827                                                     0));
828   
829   // call the callback
830   result = PyEval_CallObject(func, arglist);
831   if (!result || PyErr_Occurred()) {
832     // an exception occured in the script, display it
833     PyErr_Print();
834   }
835
836   Py_XDECREF(result);
837   Py_DECREF(arglist);
838 }
839
840 void python_callback(PyObject *func, EventData *data)
841 {
842   PyObject *arglist;
843   PyObject *result;
844
845   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
846                                                     SWIGTYPE_p_ob__EventData,
847                                                     0));
848   
849   // call the callback
850   result = PyEval_CallObject(func, arglist);
851   if (!result || PyErr_Occurred()) {
852     // an exception occured in the script, display it
853     PyErr_Print();
854   }
855
856   Py_XDECREF(result);
857   Py_DECREF(arglist);
858 }
859
860 void python_callback(PyObject *func, KeyData *data)
861 {
862   PyObject *arglist;
863   PyObject *result;
864
865   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
866                                                     SWIGTYPE_p_ob__KeyData,
867                                                     0));
868   
869   // call the callback
870   result = PyEval_CallObject(func, arglist);
871   if (!result || PyErr_Occurred()) {
872     // an exception occured in the script, display it
873     PyErr_Print();
874   }
875
876   Py_XDECREF(result);
877   Py_DECREF(arglist);
878 }
879
880 }
881
882
883   #include <iterator>
884
885
886 #include "ustring.hh"
887
888
889   otk::Display *Display_instance() { return otk::display; }
890
891
892   const otk::Atoms& Property_atoms() { return otk::Property::atoms; }
893
894 ob::Client *ob_Screen_client(ob::Screen *self,int i){
895     if (i < 0 || i >= (int)self->clients.size())
896       return NULL;
897     ob::Client::List::iterator it = self->clients.begin();
898     std::advance(it,i);
899     return *it;
900   }
901 int ob_Screen_clientCount(ob::Screen const *self){
902     return (int) self->clients.size();
903   }
904 #ifdef __cplusplus
905 extern "C" {
906 #endif
907 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
908     PyObject *resultobj;
909     ob::Openbox *result;
910     
911     if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
912     result = (ob::Openbox *)Openbox_instance();
913     
914     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
915     return resultobj;
916     fail:
917     return NULL;
918 }
919
920
921 static PyObject *_wrap_Display_instance(PyObject *self, PyObject *args) {
922     PyObject *resultobj;
923     otk::Display *result;
924     
925     if(!PyArg_ParseTuple(args,(char *)":Display_instance")) goto fail;
926     result = (otk::Display *)Display_instance();
927     
928     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 0);
929     return resultobj;
930     fail:
931     return NULL;
932 }
933
934
935 static PyObject *_wrap_Property_atoms(PyObject *self, PyObject *args) {
936     PyObject *resultobj;
937     otk::Atoms *result;
938     
939     if(!PyArg_ParseTuple(args,(char *)":Property_atoms")) goto fail;
940     {
941         otk::Atoms const &_result_ref = Property_atoms();
942         result = (otk::Atoms *) &_result_ref;
943     }
944     
945     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Atoms, 0);
946     return resultobj;
947     fail:
948     return NULL;
949 }
950
951
952 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args) {
953     PyObject *resultobj;
954     otk::Display *result;
955     
956     if(!PyArg_ParseTuple(args,(char *)":new_Display")) goto fail;
957     result = (otk::Display *)new otk::Display();
958     
959     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Display, 1);
960     return resultobj;
961     fail:
962     return NULL;
963 }
964
965
966 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args) {
967     PyObject *resultobj;
968     otk::Display *arg1 = (otk::Display *) 0 ;
969     PyObject * obj0  = 0 ;
970     
971     if(!PyArg_ParseTuple(args,(char *)"O:delete_Display",&obj0)) goto fail;
972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
973     delete arg1;
974     
975     Py_INCREF(Py_None); resultobj = Py_None;
976     return resultobj;
977     fail:
978     return NULL;
979 }
980
981
982 static PyObject *_wrap_Display_gcCache(PyObject *self, PyObject *args) {
983     PyObject *resultobj;
984     otk::Display *arg1 = (otk::Display *) 0 ;
985     otk::GCCache *result;
986     PyObject * obj0  = 0 ;
987     
988     if(!PyArg_ParseTuple(args,(char *)"O:Display_gcCache",&obj0)) goto fail;
989     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
990     result = (otk::GCCache *)((otk::Display const *)arg1)->gcCache();
991     
992     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__GCCache, 0);
993     return resultobj;
994     fail:
995     return NULL;
996 }
997
998
999 static PyObject *_wrap_Display_screenInfo(PyObject *self, PyObject *args) {
1000     PyObject *resultobj;
1001     otk::Display *arg1 = (otk::Display *) 0 ;
1002     int arg2 ;
1003     otk::ScreenInfo *result;
1004     PyObject * obj0  = 0 ;
1005     
1006     if(!PyArg_ParseTuple(args,(char *)"Oi:Display_screenInfo",&obj0,&arg2)) goto fail;
1007     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1008     result = (otk::ScreenInfo *)(arg1)->screenInfo(arg2);
1009     
1010     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1011     return resultobj;
1012     fail:
1013     return NULL;
1014 }
1015
1016
1017 static PyObject *_wrap_Display_findScreen(PyObject *self, PyObject *args) {
1018     PyObject *resultobj;
1019     otk::Display *arg1 = (otk::Display *) 0 ;
1020     Window arg2 ;
1021     otk::ScreenInfo *result;
1022     PyObject * obj0  = 0 ;
1023     PyObject * obj1  = 0 ;
1024     
1025     if(!PyArg_ParseTuple(args,(char *)"OO:Display_findScreen",&obj0,&obj1)) goto fail;
1026     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1027     arg2 = (Window) PyInt_AsLong(obj1);
1028     if (PyErr_Occurred()) SWIG_fail;
1029     result = (otk::ScreenInfo *)(arg1)->findScreen(arg2);
1030     
1031     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
1032     return resultobj;
1033     fail:
1034     return NULL;
1035 }
1036
1037
1038 static PyObject *_wrap_Display_xkb(PyObject *self, PyObject *args) {
1039     PyObject *resultobj;
1040     otk::Display *arg1 = (otk::Display *) 0 ;
1041     bool result;
1042     PyObject * obj0  = 0 ;
1043     
1044     if(!PyArg_ParseTuple(args,(char *)"O:Display_xkb",&obj0)) goto fail;
1045     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1046     result = (bool)((otk::Display const *)arg1)->xkb();
1047     
1048     resultobj = PyInt_FromLong((long)result);
1049     return resultobj;
1050     fail:
1051     return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_Display_xkbEventBase(PyObject *self, PyObject *args) {
1056     PyObject *resultobj;
1057     otk::Display *arg1 = (otk::Display *) 0 ;
1058     int result;
1059     PyObject * obj0  = 0 ;
1060     
1061     if(!PyArg_ParseTuple(args,(char *)"O:Display_xkbEventBase",&obj0)) goto fail;
1062     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1063     result = (int)((otk::Display const *)arg1)->xkbEventBase();
1064     
1065     resultobj = PyInt_FromLong((long)result);
1066     return resultobj;
1067     fail:
1068     return NULL;
1069 }
1070
1071
1072 static PyObject *_wrap_Display_shape(PyObject *self, PyObject *args) {
1073     PyObject *resultobj;
1074     otk::Display *arg1 = (otk::Display *) 0 ;
1075     bool result;
1076     PyObject * obj0  = 0 ;
1077     
1078     if(!PyArg_ParseTuple(args,(char *)"O:Display_shape",&obj0)) goto fail;
1079     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1080     result = (bool)((otk::Display const *)arg1)->shape();
1081     
1082     resultobj = PyInt_FromLong((long)result);
1083     return resultobj;
1084     fail:
1085     return NULL;
1086 }
1087
1088
1089 static PyObject *_wrap_Display_shapeEventBase(PyObject *self, PyObject *args) {
1090     PyObject *resultobj;
1091     otk::Display *arg1 = (otk::Display *) 0 ;
1092     int result;
1093     PyObject * obj0  = 0 ;
1094     
1095     if(!PyArg_ParseTuple(args,(char *)"O:Display_shapeEventBase",&obj0)) goto fail;
1096     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1097     result = (int)((otk::Display const *)arg1)->shapeEventBase();
1098     
1099     resultobj = PyInt_FromLong((long)result);
1100     return resultobj;
1101     fail:
1102     return NULL;
1103 }
1104
1105
1106 static PyObject *_wrap_Display_xinerama(PyObject *self, PyObject *args) {
1107     PyObject *resultobj;
1108     otk::Display *arg1 = (otk::Display *) 0 ;
1109     bool result;
1110     PyObject * obj0  = 0 ;
1111     
1112     if(!PyArg_ParseTuple(args,(char *)"O:Display_xinerama",&obj0)) goto fail;
1113     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1114     result = (bool)((otk::Display const *)arg1)->xinerama();
1115     
1116     resultobj = PyInt_FromLong((long)result);
1117     return resultobj;
1118     fail:
1119     return NULL;
1120 }
1121
1122
1123 static PyObject *_wrap_Display_numLockMask(PyObject *self, PyObject *args) {
1124     PyObject *resultobj;
1125     otk::Display *arg1 = (otk::Display *) 0 ;
1126     unsigned int result;
1127     PyObject * obj0  = 0 ;
1128     
1129     if(!PyArg_ParseTuple(args,(char *)"O:Display_numLockMask",&obj0)) goto fail;
1130     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1131     result = (unsigned int)((otk::Display const *)arg1)->numLockMask();
1132     
1133     resultobj = PyInt_FromLong((long)result);
1134     return resultobj;
1135     fail:
1136     return NULL;
1137 }
1138
1139
1140 static PyObject *_wrap_Display_scrollLockMask(PyObject *self, PyObject *args) {
1141     PyObject *resultobj;
1142     otk::Display *arg1 = (otk::Display *) 0 ;
1143     unsigned int result;
1144     PyObject * obj0  = 0 ;
1145     
1146     if(!PyArg_ParseTuple(args,(char *)"O:Display_scrollLockMask",&obj0)) goto fail;
1147     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1148     result = (unsigned int)((otk::Display const *)arg1)->scrollLockMask();
1149     
1150     resultobj = PyInt_FromLong((long)result);
1151     return resultobj;
1152     fail:
1153     return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_Display___mul__(PyObject *self, PyObject *args) {
1158     PyObject *resultobj;
1159     otk::Display *arg1 = (otk::Display *) 0 ;
1160     Display *result;
1161     PyObject * obj0  = 0 ;
1162     
1163     if(!PyArg_ParseTuple(args,(char *)"O:Display___mul__",&obj0)) goto fail;
1164     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1165     result = (Display *)((otk::Display const *)arg1)->operator *();
1166     
1167     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
1168     return resultobj;
1169     fail:
1170     return NULL;
1171 }
1172
1173
1174 static PyObject *_wrap_Display_grab(PyObject *self, PyObject *args) {
1175     PyObject *resultobj;
1176     otk::Display *arg1 = (otk::Display *) 0 ;
1177     PyObject * obj0  = 0 ;
1178     
1179     if(!PyArg_ParseTuple(args,(char *)"O:Display_grab",&obj0)) goto fail;
1180     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1181     (arg1)->grab();
1182     
1183     Py_INCREF(Py_None); resultobj = Py_None;
1184     return resultobj;
1185     fail:
1186     return NULL;
1187 }
1188
1189
1190 static PyObject *_wrap_Display_ungrab(PyObject *self, PyObject *args) {
1191     PyObject *resultobj;
1192     otk::Display *arg1 = (otk::Display *) 0 ;
1193     PyObject * obj0  = 0 ;
1194     
1195     if(!PyArg_ParseTuple(args,(char *)"O:Display_ungrab",&obj0)) goto fail;
1196     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1197     (arg1)->ungrab();
1198     
1199     Py_INCREF(Py_None); resultobj = Py_None;
1200     return resultobj;
1201     fail:
1202     return NULL;
1203 }
1204
1205
1206 static PyObject *_wrap_Display_grabButton(PyObject *self, PyObject *args) {
1207     PyObject *resultobj;
1208     otk::Display *arg1 = (otk::Display *) 0 ;
1209     unsigned int arg2 ;
1210     unsigned int arg3 ;
1211     Window arg4 ;
1212     bool arg5 ;
1213     unsigned int arg6 ;
1214     int arg7 ;
1215     int arg8 ;
1216     Window arg9 ;
1217     Cursor arg10 ;
1218     bool arg11 ;
1219     PyObject * obj0  = 0 ;
1220     PyObject * obj1  = 0 ;
1221     PyObject * obj2  = 0 ;
1222     PyObject * obj3  = 0 ;
1223     PyObject * obj4  = 0 ;
1224     PyObject * obj5  = 0 ;
1225     PyObject * obj8  = 0 ;
1226     PyObject * obj9  = 0 ;
1227     PyObject * obj10  = 0 ;
1228     
1229     if(!PyArg_ParseTuple(args,(char *)"OOOOOOiiOOO:Display_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&arg7,&arg8,&obj8,&obj9,&obj10)) goto fail;
1230     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1231     arg2 = (unsigned int) PyInt_AsLong(obj1);
1232     if (PyErr_Occurred()) SWIG_fail;
1233     arg3 = (unsigned int) PyInt_AsLong(obj2);
1234     if (PyErr_Occurred()) SWIG_fail;
1235     arg4 = (Window) PyInt_AsLong(obj3);
1236     if (PyErr_Occurred()) SWIG_fail;
1237     arg5 = (bool) PyInt_AsLong(obj4);
1238     if (PyErr_Occurred()) SWIG_fail;
1239     arg6 = (unsigned int) PyInt_AsLong(obj5);
1240     if (PyErr_Occurred()) SWIG_fail;
1241     arg9 = (Window) PyInt_AsLong(obj8);
1242     if (PyErr_Occurred()) SWIG_fail;
1243     arg10 = (Cursor) PyInt_AsLong(obj9);
1244     if (PyErr_Occurred()) SWIG_fail;
1245     arg11 = (bool) PyInt_AsLong(obj10);
1246     if (PyErr_Occurred()) SWIG_fail;
1247     ((otk::Display const *)arg1)->grabButton(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
1248     
1249     Py_INCREF(Py_None); resultobj = Py_None;
1250     return resultobj;
1251     fail:
1252     return NULL;
1253 }
1254
1255
1256 static PyObject *_wrap_Display_ungrabButton(PyObject *self, PyObject *args) {
1257     PyObject *resultobj;
1258     otk::Display *arg1 = (otk::Display *) 0 ;
1259     unsigned int arg2 ;
1260     unsigned int arg3 ;
1261     Window arg4 ;
1262     PyObject * obj0  = 0 ;
1263     PyObject * obj1  = 0 ;
1264     PyObject * obj2  = 0 ;
1265     PyObject * obj3  = 0 ;
1266     
1267     if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabButton",&obj0,&obj1,&obj2,&obj3)) goto fail;
1268     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269     arg2 = (unsigned int) PyInt_AsLong(obj1);
1270     if (PyErr_Occurred()) SWIG_fail;
1271     arg3 = (unsigned int) PyInt_AsLong(obj2);
1272     if (PyErr_Occurred()) SWIG_fail;
1273     arg4 = (Window) PyInt_AsLong(obj3);
1274     if (PyErr_Occurred()) SWIG_fail;
1275     ((otk::Display const *)arg1)->ungrabButton(arg2,arg3,arg4);
1276     
1277     Py_INCREF(Py_None); resultobj = Py_None;
1278     return resultobj;
1279     fail:
1280     return NULL;
1281 }
1282
1283
1284 static PyObject *_wrap_Display_grabKey(PyObject *self, PyObject *args) {
1285     PyObject *resultobj;
1286     otk::Display *arg1 = (otk::Display *) 0 ;
1287     unsigned int arg2 ;
1288     unsigned int arg3 ;
1289     Window arg4 ;
1290     bool arg5 ;
1291     int arg6 ;
1292     int arg7 ;
1293     bool arg8 ;
1294     PyObject * obj0  = 0 ;
1295     PyObject * obj1  = 0 ;
1296     PyObject * obj2  = 0 ;
1297     PyObject * obj3  = 0 ;
1298     PyObject * obj4  = 0 ;
1299     PyObject * obj7  = 0 ;
1300     
1301     if(!PyArg_ParseTuple(args,(char *)"OOOOOiiO:Display_grabKey",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7)) goto fail;
1302     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303     arg2 = (unsigned int) PyInt_AsLong(obj1);
1304     if (PyErr_Occurred()) SWIG_fail;
1305     arg3 = (unsigned int) PyInt_AsLong(obj2);
1306     if (PyErr_Occurred()) SWIG_fail;
1307     arg4 = (Window) PyInt_AsLong(obj3);
1308     if (PyErr_Occurred()) SWIG_fail;
1309     arg5 = (bool) PyInt_AsLong(obj4);
1310     if (PyErr_Occurred()) SWIG_fail;
1311     arg8 = (bool) PyInt_AsLong(obj7);
1312     if (PyErr_Occurred()) SWIG_fail;
1313     ((otk::Display const *)arg1)->grabKey(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1314     
1315     Py_INCREF(Py_None); resultobj = Py_None;
1316     return resultobj;
1317     fail:
1318     return NULL;
1319 }
1320
1321
1322 static PyObject *_wrap_Display_ungrabKey(PyObject *self, PyObject *args) {
1323     PyObject *resultobj;
1324     otk::Display *arg1 = (otk::Display *) 0 ;
1325     unsigned int arg2 ;
1326     unsigned int arg3 ;
1327     Window arg4 ;
1328     PyObject * obj0  = 0 ;
1329     PyObject * obj1  = 0 ;
1330     PyObject * obj2  = 0 ;
1331     PyObject * obj3  = 0 ;
1332     
1333     if(!PyArg_ParseTuple(args,(char *)"OOOO:Display_ungrabKey",&obj0,&obj1,&obj2,&obj3)) goto fail;
1334     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335     arg2 = (unsigned int) PyInt_AsLong(obj1);
1336     if (PyErr_Occurred()) SWIG_fail;
1337     arg3 = (unsigned int) PyInt_AsLong(obj2);
1338     if (PyErr_Occurred()) SWIG_fail;
1339     arg4 = (Window) PyInt_AsLong(obj3);
1340     if (PyErr_Occurred()) SWIG_fail;
1341     ((otk::Display const *)arg1)->ungrabKey(arg2,arg3,arg4);
1342     
1343     Py_INCREF(Py_None); resultobj = Py_None;
1344     return resultobj;
1345     fail:
1346     return NULL;
1347 }
1348
1349
1350 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
1351     PyObject *obj;
1352     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1353     SWIG_TypeClientData(SWIGTYPE_p_otk__Display, obj);
1354     Py_INCREF(obj);
1355     return Py_BuildValue((char *)"");
1356 }
1357 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
1358     PyObject *resultobj;
1359     otk::Point *result;
1360     
1361     if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
1362     result = (otk::Point *)new otk::Point();
1363     
1364     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1365     return resultobj;
1366     fail:
1367     return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
1372     PyObject *resultobj;
1373     int arg1 ;
1374     int arg2 ;
1375     otk::Point *result;
1376     
1377     if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
1378     result = (otk::Point *)new otk::Point(arg1,arg2);
1379     
1380     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
1381     return resultobj;
1382     fail:
1383     return NULL;
1384 }
1385
1386
1387 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
1388     int argc;
1389     PyObject *argv[3];
1390     int ii;
1391     
1392     argc = PyObject_Length(args);
1393     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
1394         argv[ii] = PyTuple_GetItem(args,ii);
1395     }
1396     if (argc == 0) {
1397         return _wrap_new_Point__SWIG_0(self,args);
1398     }
1399     if (argc == 2) {
1400         int _v;
1401         {
1402             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
1403         }
1404         if (_v) {
1405             {
1406                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1407             }
1408             if (_v) {
1409                 return _wrap_new_Point__SWIG_1(self,args);
1410             }
1411         }
1412     }
1413     
1414     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
1415     return NULL;
1416 }
1417
1418
1419 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
1420     PyObject *resultobj;
1421     otk::Point *arg1 = (otk::Point *) 0 ;
1422     int arg2 ;
1423     PyObject * obj0  = 0 ;
1424     
1425     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
1426     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427     (arg1)->setX(arg2);
1428     
1429     Py_INCREF(Py_None); resultobj = Py_None;
1430     return resultobj;
1431     fail:
1432     return NULL;
1433 }
1434
1435
1436 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
1437     PyObject *resultobj;
1438     otk::Point *arg1 = (otk::Point *) 0 ;
1439     int result;
1440     PyObject * obj0  = 0 ;
1441     
1442     if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
1443     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444     result = (int)((otk::Point const *)arg1)->x();
1445     
1446     resultobj = PyInt_FromLong((long)result);
1447     return resultobj;
1448     fail:
1449     return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
1454     PyObject *resultobj;
1455     otk::Point *arg1 = (otk::Point *) 0 ;
1456     int arg2 ;
1457     PyObject * obj0  = 0 ;
1458     
1459     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
1460     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461     (arg1)->setY(arg2);
1462     
1463     Py_INCREF(Py_None); resultobj = Py_None;
1464     return resultobj;
1465     fail:
1466     return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
1471     PyObject *resultobj;
1472     otk::Point *arg1 = (otk::Point *) 0 ;
1473     int result;
1474     PyObject * obj0  = 0 ;
1475     
1476     if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
1477     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478     result = (int)((otk::Point const *)arg1)->y();
1479     
1480     resultobj = PyInt_FromLong((long)result);
1481     return resultobj;
1482     fail:
1483     return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
1488     PyObject *resultobj;
1489     otk::Point *arg1 = (otk::Point *) 0 ;
1490     int arg2 ;
1491     int arg3 ;
1492     PyObject * obj0  = 0 ;
1493     
1494     if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
1495     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496     (arg1)->setPoint(arg2,arg3);
1497     
1498     Py_INCREF(Py_None); resultobj = Py_None;
1499     return resultobj;
1500     fail:
1501     return NULL;
1502 }
1503
1504
1505 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
1506     PyObject *obj;
1507     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1508     SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
1509     Py_INCREF(obj);
1510     return Py_BuildValue((char *)"");
1511 }
1512 static PyObject *_wrap_Atoms_cardinal_set(PyObject *self, PyObject *args) {
1513     PyObject *resultobj;
1514     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1515     Atom arg2 ;
1516     PyObject * obj0  = 0 ;
1517     PyObject * obj1  = 0 ;
1518     
1519     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_cardinal_set",&obj0,&obj1)) goto fail;
1520     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1521     arg2 = (Atom) PyInt_AsLong(obj1);
1522     if (PyErr_Occurred()) SWIG_fail;
1523     if (arg1) (arg1)->cardinal = arg2;
1524     
1525     Py_INCREF(Py_None); resultobj = Py_None;
1526     return resultobj;
1527     fail:
1528     return NULL;
1529 }
1530
1531
1532 static PyObject *_wrap_Atoms_cardinal_get(PyObject *self, PyObject *args) {
1533     PyObject *resultobj;
1534     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1535     Atom result;
1536     PyObject * obj0  = 0 ;
1537     
1538     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_cardinal_get",&obj0)) goto fail;
1539     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540     result = (Atom) ((arg1)->cardinal);
1541     
1542     resultobj = PyInt_FromLong((long)result);
1543     return resultobj;
1544     fail:
1545     return NULL;
1546 }
1547
1548
1549 static PyObject *_wrap_Atoms_window_set(PyObject *self, PyObject *args) {
1550     PyObject *resultobj;
1551     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1552     Atom arg2 ;
1553     PyObject * obj0  = 0 ;
1554     PyObject * obj1  = 0 ;
1555     
1556     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_window_set",&obj0,&obj1)) goto fail;
1557     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1558     arg2 = (Atom) PyInt_AsLong(obj1);
1559     if (PyErr_Occurred()) SWIG_fail;
1560     if (arg1) (arg1)->window = arg2;
1561     
1562     Py_INCREF(Py_None); resultobj = Py_None;
1563     return resultobj;
1564     fail:
1565     return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_Atoms_window_get(PyObject *self, PyObject *args) {
1570     PyObject *resultobj;
1571     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1572     Atom result;
1573     PyObject * obj0  = 0 ;
1574     
1575     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_window_get",&obj0)) goto fail;
1576     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577     result = (Atom) ((arg1)->window);
1578     
1579     resultobj = PyInt_FromLong((long)result);
1580     return resultobj;
1581     fail:
1582     return NULL;
1583 }
1584
1585
1586 static PyObject *_wrap_Atoms_pixmap_set(PyObject *self, PyObject *args) {
1587     PyObject *resultobj;
1588     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1589     Atom arg2 ;
1590     PyObject * obj0  = 0 ;
1591     PyObject * obj1  = 0 ;
1592     
1593     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_pixmap_set",&obj0,&obj1)) goto fail;
1594     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1595     arg2 = (Atom) PyInt_AsLong(obj1);
1596     if (PyErr_Occurred()) SWIG_fail;
1597     if (arg1) (arg1)->pixmap = arg2;
1598     
1599     Py_INCREF(Py_None); resultobj = Py_None;
1600     return resultobj;
1601     fail:
1602     return NULL;
1603 }
1604
1605
1606 static PyObject *_wrap_Atoms_pixmap_get(PyObject *self, PyObject *args) {
1607     PyObject *resultobj;
1608     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1609     Atom result;
1610     PyObject * obj0  = 0 ;
1611     
1612     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_pixmap_get",&obj0)) goto fail;
1613     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614     result = (Atom) ((arg1)->pixmap);
1615     
1616     resultobj = PyInt_FromLong((long)result);
1617     return resultobj;
1618     fail:
1619     return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_Atoms_atom_set(PyObject *self, PyObject *args) {
1624     PyObject *resultobj;
1625     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1626     Atom arg2 ;
1627     PyObject * obj0  = 0 ;
1628     PyObject * obj1  = 0 ;
1629     
1630     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_atom_set",&obj0,&obj1)) goto fail;
1631     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632     arg2 = (Atom) PyInt_AsLong(obj1);
1633     if (PyErr_Occurred()) SWIG_fail;
1634     if (arg1) (arg1)->atom = arg2;
1635     
1636     Py_INCREF(Py_None); resultobj = Py_None;
1637     return resultobj;
1638     fail:
1639     return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_Atoms_atom_get(PyObject *self, PyObject *args) {
1644     PyObject *resultobj;
1645     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1646     Atom result;
1647     PyObject * obj0  = 0 ;
1648     
1649     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_atom_get",&obj0)) goto fail;
1650     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651     result = (Atom) ((arg1)->atom);
1652     
1653     resultobj = PyInt_FromLong((long)result);
1654     return resultobj;
1655     fail:
1656     return NULL;
1657 }
1658
1659
1660 static PyObject *_wrap_Atoms_string_set(PyObject *self, PyObject *args) {
1661     PyObject *resultobj;
1662     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1663     Atom arg2 ;
1664     PyObject * obj0  = 0 ;
1665     PyObject * obj1  = 0 ;
1666     
1667     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_string_set",&obj0,&obj1)) goto fail;
1668     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669     arg2 = (Atom) PyInt_AsLong(obj1);
1670     if (PyErr_Occurred()) SWIG_fail;
1671     if (arg1) (arg1)->string = arg2;
1672     
1673     Py_INCREF(Py_None); resultobj = Py_None;
1674     return resultobj;
1675     fail:
1676     return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_Atoms_string_get(PyObject *self, PyObject *args) {
1681     PyObject *resultobj;
1682     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1683     Atom result;
1684     PyObject * obj0  = 0 ;
1685     
1686     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_string_get",&obj0)) goto fail;
1687     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1688     result = (Atom) ((arg1)->string);
1689     
1690     resultobj = PyInt_FromLong((long)result);
1691     return resultobj;
1692     fail:
1693     return NULL;
1694 }
1695
1696
1697 static PyObject *_wrap_Atoms_utf8_set(PyObject *self, PyObject *args) {
1698     PyObject *resultobj;
1699     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1700     Atom arg2 ;
1701     PyObject * obj0  = 0 ;
1702     PyObject * obj1  = 0 ;
1703     
1704     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_utf8_set",&obj0,&obj1)) goto fail;
1705     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1706     arg2 = (Atom) PyInt_AsLong(obj1);
1707     if (PyErr_Occurred()) SWIG_fail;
1708     if (arg1) (arg1)->utf8 = arg2;
1709     
1710     Py_INCREF(Py_None); resultobj = Py_None;
1711     return resultobj;
1712     fail:
1713     return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_Atoms_utf8_get(PyObject *self, PyObject *args) {
1718     PyObject *resultobj;
1719     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1720     Atom result;
1721     PyObject * obj0  = 0 ;
1722     
1723     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_utf8_get",&obj0)) goto fail;
1724     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725     result = (Atom) ((arg1)->utf8);
1726     
1727     resultobj = PyInt_FromLong((long)result);
1728     return resultobj;
1729     fail:
1730     return NULL;
1731 }
1732
1733
1734 static PyObject *_wrap_Atoms_openbox_pid_set(PyObject *self, PyObject *args) {
1735     PyObject *resultobj;
1736     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1737     Atom arg2 ;
1738     PyObject * obj0  = 0 ;
1739     PyObject * obj1  = 0 ;
1740     
1741     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_pid_set",&obj0,&obj1)) goto fail;
1742     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1743     arg2 = (Atom) PyInt_AsLong(obj1);
1744     if (PyErr_Occurred()) SWIG_fail;
1745     if (arg1) (arg1)->openbox_pid = arg2;
1746     
1747     Py_INCREF(Py_None); resultobj = Py_None;
1748     return resultobj;
1749     fail:
1750     return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_Atoms_openbox_pid_get(PyObject *self, PyObject *args) {
1755     PyObject *resultobj;
1756     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1757     Atom result;
1758     PyObject * obj0  = 0 ;
1759     
1760     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_pid_get",&obj0)) goto fail;
1761     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1762     result = (Atom) ((arg1)->openbox_pid);
1763     
1764     resultobj = PyInt_FromLong((long)result);
1765     return resultobj;
1766     fail:
1767     return NULL;
1768 }
1769
1770
1771 static PyObject *_wrap_Atoms_wm_colormap_windows_set(PyObject *self, PyObject *args) {
1772     PyObject *resultobj;
1773     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1774     Atom arg2 ;
1775     PyObject * obj0  = 0 ;
1776     PyObject * obj1  = 0 ;
1777     
1778     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_colormap_windows_set",&obj0,&obj1)) goto fail;
1779     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1780     arg2 = (Atom) PyInt_AsLong(obj1);
1781     if (PyErr_Occurred()) SWIG_fail;
1782     if (arg1) (arg1)->wm_colormap_windows = arg2;
1783     
1784     Py_INCREF(Py_None); resultobj = Py_None;
1785     return resultobj;
1786     fail:
1787     return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_Atoms_wm_colormap_windows_get(PyObject *self, PyObject *args) {
1792     PyObject *resultobj;
1793     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1794     Atom result;
1795     PyObject * obj0  = 0 ;
1796     
1797     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_colormap_windows_get",&obj0)) goto fail;
1798     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1799     result = (Atom) ((arg1)->wm_colormap_windows);
1800     
1801     resultobj = PyInt_FromLong((long)result);
1802     return resultobj;
1803     fail:
1804     return NULL;
1805 }
1806
1807
1808 static PyObject *_wrap_Atoms_wm_protocols_set(PyObject *self, PyObject *args) {
1809     PyObject *resultobj;
1810     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1811     Atom arg2 ;
1812     PyObject * obj0  = 0 ;
1813     PyObject * obj1  = 0 ;
1814     
1815     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_protocols_set",&obj0,&obj1)) goto fail;
1816     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817     arg2 = (Atom) PyInt_AsLong(obj1);
1818     if (PyErr_Occurred()) SWIG_fail;
1819     if (arg1) (arg1)->wm_protocols = arg2;
1820     
1821     Py_INCREF(Py_None); resultobj = Py_None;
1822     return resultobj;
1823     fail:
1824     return NULL;
1825 }
1826
1827
1828 static PyObject *_wrap_Atoms_wm_protocols_get(PyObject *self, PyObject *args) {
1829     PyObject *resultobj;
1830     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1831     Atom result;
1832     PyObject * obj0  = 0 ;
1833     
1834     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_protocols_get",&obj0)) goto fail;
1835     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1836     result = (Atom) ((arg1)->wm_protocols);
1837     
1838     resultobj = PyInt_FromLong((long)result);
1839     return resultobj;
1840     fail:
1841     return NULL;
1842 }
1843
1844
1845 static PyObject *_wrap_Atoms_wm_state_set(PyObject *self, PyObject *args) {
1846     PyObject *resultobj;
1847     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1848     Atom arg2 ;
1849     PyObject * obj0  = 0 ;
1850     PyObject * obj1  = 0 ;
1851     
1852     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_state_set",&obj0,&obj1)) goto fail;
1853     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854     arg2 = (Atom) PyInt_AsLong(obj1);
1855     if (PyErr_Occurred()) SWIG_fail;
1856     if (arg1) (arg1)->wm_state = arg2;
1857     
1858     Py_INCREF(Py_None); resultobj = Py_None;
1859     return resultobj;
1860     fail:
1861     return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_Atoms_wm_state_get(PyObject *self, PyObject *args) {
1866     PyObject *resultobj;
1867     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1868     Atom result;
1869     PyObject * obj0  = 0 ;
1870     
1871     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_state_get",&obj0)) goto fail;
1872     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1873     result = (Atom) ((arg1)->wm_state);
1874     
1875     resultobj = PyInt_FromLong((long)result);
1876     return resultobj;
1877     fail:
1878     return NULL;
1879 }
1880
1881
1882 static PyObject *_wrap_Atoms_wm_delete_window_set(PyObject *self, PyObject *args) {
1883     PyObject *resultobj;
1884     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1885     Atom arg2 ;
1886     PyObject * obj0  = 0 ;
1887     PyObject * obj1  = 0 ;
1888     
1889     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_delete_window_set",&obj0,&obj1)) goto fail;
1890     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1891     arg2 = (Atom) PyInt_AsLong(obj1);
1892     if (PyErr_Occurred()) SWIG_fail;
1893     if (arg1) (arg1)->wm_delete_window = arg2;
1894     
1895     Py_INCREF(Py_None); resultobj = Py_None;
1896     return resultobj;
1897     fail:
1898     return NULL;
1899 }
1900
1901
1902 static PyObject *_wrap_Atoms_wm_delete_window_get(PyObject *self, PyObject *args) {
1903     PyObject *resultobj;
1904     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1905     Atom result;
1906     PyObject * obj0  = 0 ;
1907     
1908     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_delete_window_get",&obj0)) goto fail;
1909     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910     result = (Atom) ((arg1)->wm_delete_window);
1911     
1912     resultobj = PyInt_FromLong((long)result);
1913     return resultobj;
1914     fail:
1915     return NULL;
1916 }
1917
1918
1919 static PyObject *_wrap_Atoms_wm_take_focus_set(PyObject *self, PyObject *args) {
1920     PyObject *resultobj;
1921     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1922     Atom arg2 ;
1923     PyObject * obj0  = 0 ;
1924     PyObject * obj1  = 0 ;
1925     
1926     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_take_focus_set",&obj0,&obj1)) goto fail;
1927     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928     arg2 = (Atom) PyInt_AsLong(obj1);
1929     if (PyErr_Occurred()) SWIG_fail;
1930     if (arg1) (arg1)->wm_take_focus = arg2;
1931     
1932     Py_INCREF(Py_None); resultobj = Py_None;
1933     return resultobj;
1934     fail:
1935     return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_Atoms_wm_take_focus_get(PyObject *self, PyObject *args) {
1940     PyObject *resultobj;
1941     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1942     Atom result;
1943     PyObject * obj0  = 0 ;
1944     
1945     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_take_focus_get",&obj0)) goto fail;
1946     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1947     result = (Atom) ((arg1)->wm_take_focus);
1948     
1949     resultobj = PyInt_FromLong((long)result);
1950     return resultobj;
1951     fail:
1952     return NULL;
1953 }
1954
1955
1956 static PyObject *_wrap_Atoms_wm_change_state_set(PyObject *self, PyObject *args) {
1957     PyObject *resultobj;
1958     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1959     Atom arg2 ;
1960     PyObject * obj0  = 0 ;
1961     PyObject * obj1  = 0 ;
1962     
1963     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_change_state_set",&obj0,&obj1)) goto fail;
1964     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965     arg2 = (Atom) PyInt_AsLong(obj1);
1966     if (PyErr_Occurred()) SWIG_fail;
1967     if (arg1) (arg1)->wm_change_state = arg2;
1968     
1969     Py_INCREF(Py_None); resultobj = Py_None;
1970     return resultobj;
1971     fail:
1972     return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_Atoms_wm_change_state_get(PyObject *self, PyObject *args) {
1977     PyObject *resultobj;
1978     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1979     Atom result;
1980     PyObject * obj0  = 0 ;
1981     
1982     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_change_state_get",&obj0)) goto fail;
1983     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1984     result = (Atom) ((arg1)->wm_change_state);
1985     
1986     resultobj = PyInt_FromLong((long)result);
1987     return resultobj;
1988     fail:
1989     return NULL;
1990 }
1991
1992
1993 static PyObject *_wrap_Atoms_wm_name_set(PyObject *self, PyObject *args) {
1994     PyObject *resultobj;
1995     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
1996     Atom arg2 ;
1997     PyObject * obj0  = 0 ;
1998     PyObject * obj1  = 0 ;
1999     
2000     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_name_set",&obj0,&obj1)) goto fail;
2001     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002     arg2 = (Atom) PyInt_AsLong(obj1);
2003     if (PyErr_Occurred()) SWIG_fail;
2004     if (arg1) (arg1)->wm_name = arg2;
2005     
2006     Py_INCREF(Py_None); resultobj = Py_None;
2007     return resultobj;
2008     fail:
2009     return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_Atoms_wm_name_get(PyObject *self, PyObject *args) {
2014     PyObject *resultobj;
2015     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2016     Atom result;
2017     PyObject * obj0  = 0 ;
2018     
2019     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_name_get",&obj0)) goto fail;
2020     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021     result = (Atom) ((arg1)->wm_name);
2022     
2023     resultobj = PyInt_FromLong((long)result);
2024     return resultobj;
2025     fail:
2026     return NULL;
2027 }
2028
2029
2030 static PyObject *_wrap_Atoms_wm_icon_name_set(PyObject *self, PyObject *args) {
2031     PyObject *resultobj;
2032     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2033     Atom arg2 ;
2034     PyObject * obj0  = 0 ;
2035     PyObject * obj1  = 0 ;
2036     
2037     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_icon_name_set",&obj0,&obj1)) goto fail;
2038     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2039     arg2 = (Atom) PyInt_AsLong(obj1);
2040     if (PyErr_Occurred()) SWIG_fail;
2041     if (arg1) (arg1)->wm_icon_name = arg2;
2042     
2043     Py_INCREF(Py_None); resultobj = Py_None;
2044     return resultobj;
2045     fail:
2046     return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_Atoms_wm_icon_name_get(PyObject *self, PyObject *args) {
2051     PyObject *resultobj;
2052     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2053     Atom result;
2054     PyObject * obj0  = 0 ;
2055     
2056     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_icon_name_get",&obj0)) goto fail;
2057     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058     result = (Atom) ((arg1)->wm_icon_name);
2059     
2060     resultobj = PyInt_FromLong((long)result);
2061     return resultobj;
2062     fail:
2063     return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_Atoms_wm_class_set(PyObject *self, PyObject *args) {
2068     PyObject *resultobj;
2069     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2070     Atom arg2 ;
2071     PyObject * obj0  = 0 ;
2072     PyObject * obj1  = 0 ;
2073     
2074     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_class_set",&obj0,&obj1)) goto fail;
2075     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076     arg2 = (Atom) PyInt_AsLong(obj1);
2077     if (PyErr_Occurred()) SWIG_fail;
2078     if (arg1) (arg1)->wm_class = arg2;
2079     
2080     Py_INCREF(Py_None); resultobj = Py_None;
2081     return resultobj;
2082     fail:
2083     return NULL;
2084 }
2085
2086
2087 static PyObject *_wrap_Atoms_wm_class_get(PyObject *self, PyObject *args) {
2088     PyObject *resultobj;
2089     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2090     Atom result;
2091     PyObject * obj0  = 0 ;
2092     
2093     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_class_get",&obj0)) goto fail;
2094     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2095     result = (Atom) ((arg1)->wm_class);
2096     
2097     resultobj = PyInt_FromLong((long)result);
2098     return resultobj;
2099     fail:
2100     return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_Atoms_wm_window_role_set(PyObject *self, PyObject *args) {
2105     PyObject *resultobj;
2106     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2107     Atom arg2 ;
2108     PyObject * obj0  = 0 ;
2109     PyObject * obj1  = 0 ;
2110     
2111     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_wm_window_role_set",&obj0,&obj1)) goto fail;
2112     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113     arg2 = (Atom) PyInt_AsLong(obj1);
2114     if (PyErr_Occurred()) SWIG_fail;
2115     if (arg1) (arg1)->wm_window_role = arg2;
2116     
2117     Py_INCREF(Py_None); resultobj = Py_None;
2118     return resultobj;
2119     fail:
2120     return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_Atoms_wm_window_role_get(PyObject *self, PyObject *args) {
2125     PyObject *resultobj;
2126     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2127     Atom result;
2128     PyObject * obj0  = 0 ;
2129     
2130     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_wm_window_role_get",&obj0)) goto fail;
2131     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2132     result = (Atom) ((arg1)->wm_window_role);
2133     
2134     resultobj = PyInt_FromLong((long)result);
2135     return resultobj;
2136     fail:
2137     return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_Atoms_motif_wm_hints_set(PyObject *self, PyObject *args) {
2142     PyObject *resultobj;
2143     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2144     Atom arg2 ;
2145     PyObject * obj0  = 0 ;
2146     PyObject * obj1  = 0 ;
2147     
2148     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_motif_wm_hints_set",&obj0,&obj1)) goto fail;
2149     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150     arg2 = (Atom) PyInt_AsLong(obj1);
2151     if (PyErr_Occurred()) SWIG_fail;
2152     if (arg1) (arg1)->motif_wm_hints = arg2;
2153     
2154     Py_INCREF(Py_None); resultobj = Py_None;
2155     return resultobj;
2156     fail:
2157     return NULL;
2158 }
2159
2160
2161 static PyObject *_wrap_Atoms_motif_wm_hints_get(PyObject *self, PyObject *args) {
2162     PyObject *resultobj;
2163     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2164     Atom result;
2165     PyObject * obj0  = 0 ;
2166     
2167     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_motif_wm_hints_get",&obj0)) goto fail;
2168     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2169     result = (Atom) ((arg1)->motif_wm_hints);
2170     
2171     resultobj = PyInt_FromLong((long)result);
2172     return resultobj;
2173     fail:
2174     return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_Atoms_openbox_show_root_menu_set(PyObject *self, PyObject *args) {
2179     PyObject *resultobj;
2180     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2181     Atom arg2 ;
2182     PyObject * obj0  = 0 ;
2183     PyObject * obj1  = 0 ;
2184     
2185     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_root_menu_set",&obj0,&obj1)) goto fail;
2186     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187     arg2 = (Atom) PyInt_AsLong(obj1);
2188     if (PyErr_Occurred()) SWIG_fail;
2189     if (arg1) (arg1)->openbox_show_root_menu = arg2;
2190     
2191     Py_INCREF(Py_None); resultobj = Py_None;
2192     return resultobj;
2193     fail:
2194     return NULL;
2195 }
2196
2197
2198 static PyObject *_wrap_Atoms_openbox_show_root_menu_get(PyObject *self, PyObject *args) {
2199     PyObject *resultobj;
2200     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2201     Atom result;
2202     PyObject * obj0  = 0 ;
2203     
2204     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_root_menu_get",&obj0)) goto fail;
2205     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2206     result = (Atom) ((arg1)->openbox_show_root_menu);
2207     
2208     resultobj = PyInt_FromLong((long)result);
2209     return resultobj;
2210     fail:
2211     return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_set(PyObject *self, PyObject *args) {
2216     PyObject *resultobj;
2217     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2218     Atom arg2 ;
2219     PyObject * obj0  = 0 ;
2220     PyObject * obj1  = 0 ;
2221     
2222     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_openbox_show_workspace_menu_set",&obj0,&obj1)) goto fail;
2223     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224     arg2 = (Atom) PyInt_AsLong(obj1);
2225     if (PyErr_Occurred()) SWIG_fail;
2226     if (arg1) (arg1)->openbox_show_workspace_menu = arg2;
2227     
2228     Py_INCREF(Py_None); resultobj = Py_None;
2229     return resultobj;
2230     fail:
2231     return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_Atoms_openbox_show_workspace_menu_get(PyObject *self, PyObject *args) {
2236     PyObject *resultobj;
2237     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2238     Atom result;
2239     PyObject * obj0  = 0 ;
2240     
2241     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_openbox_show_workspace_menu_get",&obj0)) goto fail;
2242     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243     result = (Atom) ((arg1)->openbox_show_workspace_menu);
2244     
2245     resultobj = PyInt_FromLong((long)result);
2246     return resultobj;
2247     fail:
2248     return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_Atoms_net_supported_set(PyObject *self, PyObject *args) {
2253     PyObject *resultobj;
2254     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2255     Atom arg2 ;
2256     PyObject * obj0  = 0 ;
2257     PyObject * obj1  = 0 ;
2258     
2259     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supported_set",&obj0,&obj1)) goto fail;
2260     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261     arg2 = (Atom) PyInt_AsLong(obj1);
2262     if (PyErr_Occurred()) SWIG_fail;
2263     if (arg1) (arg1)->net_supported = arg2;
2264     
2265     Py_INCREF(Py_None); resultobj = Py_None;
2266     return resultobj;
2267     fail:
2268     return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_Atoms_net_supported_get(PyObject *self, PyObject *args) {
2273     PyObject *resultobj;
2274     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2275     Atom result;
2276     PyObject * obj0  = 0 ;
2277     
2278     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supported_get",&obj0)) goto fail;
2279     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280     result = (Atom) ((arg1)->net_supported);
2281     
2282     resultobj = PyInt_FromLong((long)result);
2283     return resultobj;
2284     fail:
2285     return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_Atoms_net_client_list_set(PyObject *self, PyObject *args) {
2290     PyObject *resultobj;
2291     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2292     Atom arg2 ;
2293     PyObject * obj0  = 0 ;
2294     PyObject * obj1  = 0 ;
2295     
2296     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_set",&obj0,&obj1)) goto fail;
2297     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298     arg2 = (Atom) PyInt_AsLong(obj1);
2299     if (PyErr_Occurred()) SWIG_fail;
2300     if (arg1) (arg1)->net_client_list = arg2;
2301     
2302     Py_INCREF(Py_None); resultobj = Py_None;
2303     return resultobj;
2304     fail:
2305     return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_Atoms_net_client_list_get(PyObject *self, PyObject *args) {
2310     PyObject *resultobj;
2311     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2312     Atom result;
2313     PyObject * obj0  = 0 ;
2314     
2315     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_get",&obj0)) goto fail;
2316     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317     result = (Atom) ((arg1)->net_client_list);
2318     
2319     resultobj = PyInt_FromLong((long)result);
2320     return resultobj;
2321     fail:
2322     return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_Atoms_net_client_list_stacking_set(PyObject *self, PyObject *args) {
2327     PyObject *resultobj;
2328     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2329     Atom arg2 ;
2330     PyObject * obj0  = 0 ;
2331     PyObject * obj1  = 0 ;
2332     
2333     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_client_list_stacking_set",&obj0,&obj1)) goto fail;
2334     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335     arg2 = (Atom) PyInt_AsLong(obj1);
2336     if (PyErr_Occurred()) SWIG_fail;
2337     if (arg1) (arg1)->net_client_list_stacking = arg2;
2338     
2339     Py_INCREF(Py_None); resultobj = Py_None;
2340     return resultobj;
2341     fail:
2342     return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_Atoms_net_client_list_stacking_get(PyObject *self, PyObject *args) {
2347     PyObject *resultobj;
2348     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2349     Atom result;
2350     PyObject * obj0  = 0 ;
2351     
2352     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_client_list_stacking_get",&obj0)) goto fail;
2353     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2354     result = (Atom) ((arg1)->net_client_list_stacking);
2355     
2356     resultobj = PyInt_FromLong((long)result);
2357     return resultobj;
2358     fail:
2359     return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_Atoms_net_number_of_desktops_set(PyObject *self, PyObject *args) {
2364     PyObject *resultobj;
2365     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2366     Atom arg2 ;
2367     PyObject * obj0  = 0 ;
2368     PyObject * obj1  = 0 ;
2369     
2370     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_number_of_desktops_set",&obj0,&obj1)) goto fail;
2371     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2372     arg2 = (Atom) PyInt_AsLong(obj1);
2373     if (PyErr_Occurred()) SWIG_fail;
2374     if (arg1) (arg1)->net_number_of_desktops = arg2;
2375     
2376     Py_INCREF(Py_None); resultobj = Py_None;
2377     return resultobj;
2378     fail:
2379     return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_Atoms_net_number_of_desktops_get(PyObject *self, PyObject *args) {
2384     PyObject *resultobj;
2385     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2386     Atom result;
2387     PyObject * obj0  = 0 ;
2388     
2389     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_number_of_desktops_get",&obj0)) goto fail;
2390     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391     result = (Atom) ((arg1)->net_number_of_desktops);
2392     
2393     resultobj = PyInt_FromLong((long)result);
2394     return resultobj;
2395     fail:
2396     return NULL;
2397 }
2398
2399
2400 static PyObject *_wrap_Atoms_net_desktop_geometry_set(PyObject *self, PyObject *args) {
2401     PyObject *resultobj;
2402     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2403     Atom arg2 ;
2404     PyObject * obj0  = 0 ;
2405     PyObject * obj1  = 0 ;
2406     
2407     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_geometry_set",&obj0,&obj1)) goto fail;
2408     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2409     arg2 = (Atom) PyInt_AsLong(obj1);
2410     if (PyErr_Occurred()) SWIG_fail;
2411     if (arg1) (arg1)->net_desktop_geometry = arg2;
2412     
2413     Py_INCREF(Py_None); resultobj = Py_None;
2414     return resultobj;
2415     fail:
2416     return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_Atoms_net_desktop_geometry_get(PyObject *self, PyObject *args) {
2421     PyObject *resultobj;
2422     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2423     Atom result;
2424     PyObject * obj0  = 0 ;
2425     
2426     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_geometry_get",&obj0)) goto fail;
2427     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2428     result = (Atom) ((arg1)->net_desktop_geometry);
2429     
2430     resultobj = PyInt_FromLong((long)result);
2431     return resultobj;
2432     fail:
2433     return NULL;
2434 }
2435
2436
2437 static PyObject *_wrap_Atoms_net_desktop_viewport_set(PyObject *self, PyObject *args) {
2438     PyObject *resultobj;
2439     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2440     Atom arg2 ;
2441     PyObject * obj0  = 0 ;
2442     PyObject * obj1  = 0 ;
2443     
2444     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_viewport_set",&obj0,&obj1)) goto fail;
2445     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446     arg2 = (Atom) PyInt_AsLong(obj1);
2447     if (PyErr_Occurred()) SWIG_fail;
2448     if (arg1) (arg1)->net_desktop_viewport = arg2;
2449     
2450     Py_INCREF(Py_None); resultobj = Py_None;
2451     return resultobj;
2452     fail:
2453     return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_Atoms_net_desktop_viewport_get(PyObject *self, PyObject *args) {
2458     PyObject *resultobj;
2459     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2460     Atom result;
2461     PyObject * obj0  = 0 ;
2462     
2463     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_viewport_get",&obj0)) goto fail;
2464     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2465     result = (Atom) ((arg1)->net_desktop_viewport);
2466     
2467     resultobj = PyInt_FromLong((long)result);
2468     return resultobj;
2469     fail:
2470     return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_Atoms_net_current_desktop_set(PyObject *self, PyObject *args) {
2475     PyObject *resultobj;
2476     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2477     Atom arg2 ;
2478     PyObject * obj0  = 0 ;
2479     PyObject * obj1  = 0 ;
2480     
2481     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_current_desktop_set",&obj0,&obj1)) goto fail;
2482     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2483     arg2 = (Atom) PyInt_AsLong(obj1);
2484     if (PyErr_Occurred()) SWIG_fail;
2485     if (arg1) (arg1)->net_current_desktop = arg2;
2486     
2487     Py_INCREF(Py_None); resultobj = Py_None;
2488     return resultobj;
2489     fail:
2490     return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_Atoms_net_current_desktop_get(PyObject *self, PyObject *args) {
2495     PyObject *resultobj;
2496     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2497     Atom result;
2498     PyObject * obj0  = 0 ;
2499     
2500     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_current_desktop_get",&obj0)) goto fail;
2501     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2502     result = (Atom) ((arg1)->net_current_desktop);
2503     
2504     resultobj = PyInt_FromLong((long)result);
2505     return resultobj;
2506     fail:
2507     return NULL;
2508 }
2509
2510
2511 static PyObject *_wrap_Atoms_net_desktop_names_set(PyObject *self, PyObject *args) {
2512     PyObject *resultobj;
2513     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2514     Atom arg2 ;
2515     PyObject * obj0  = 0 ;
2516     PyObject * obj1  = 0 ;
2517     
2518     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_desktop_names_set",&obj0,&obj1)) goto fail;
2519     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2520     arg2 = (Atom) PyInt_AsLong(obj1);
2521     if (PyErr_Occurred()) SWIG_fail;
2522     if (arg1) (arg1)->net_desktop_names = arg2;
2523     
2524     Py_INCREF(Py_None); resultobj = Py_None;
2525     return resultobj;
2526     fail:
2527     return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Atoms_net_desktop_names_get(PyObject *self, PyObject *args) {
2532     PyObject *resultobj;
2533     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2534     Atom result;
2535     PyObject * obj0  = 0 ;
2536     
2537     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_desktop_names_get",&obj0)) goto fail;
2538     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2539     result = (Atom) ((arg1)->net_desktop_names);
2540     
2541     resultobj = PyInt_FromLong((long)result);
2542     return resultobj;
2543     fail:
2544     return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_Atoms_net_active_window_set(PyObject *self, PyObject *args) {
2549     PyObject *resultobj;
2550     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2551     Atom arg2 ;
2552     PyObject * obj0  = 0 ;
2553     PyObject * obj1  = 0 ;
2554     
2555     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_active_window_set",&obj0,&obj1)) goto fail;
2556     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557     arg2 = (Atom) PyInt_AsLong(obj1);
2558     if (PyErr_Occurred()) SWIG_fail;
2559     if (arg1) (arg1)->net_active_window = arg2;
2560     
2561     Py_INCREF(Py_None); resultobj = Py_None;
2562     return resultobj;
2563     fail:
2564     return NULL;
2565 }
2566
2567
2568 static PyObject *_wrap_Atoms_net_active_window_get(PyObject *self, PyObject *args) {
2569     PyObject *resultobj;
2570     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2571     Atom result;
2572     PyObject * obj0  = 0 ;
2573     
2574     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_active_window_get",&obj0)) goto fail;
2575     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2576     result = (Atom) ((arg1)->net_active_window);
2577     
2578     resultobj = PyInt_FromLong((long)result);
2579     return resultobj;
2580     fail:
2581     return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_Atoms_net_workarea_set(PyObject *self, PyObject *args) {
2586     PyObject *resultobj;
2587     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2588     Atom arg2 ;
2589     PyObject * obj0  = 0 ;
2590     PyObject * obj1  = 0 ;
2591     
2592     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_workarea_set",&obj0,&obj1)) goto fail;
2593     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594     arg2 = (Atom) PyInt_AsLong(obj1);
2595     if (PyErr_Occurred()) SWIG_fail;
2596     if (arg1) (arg1)->net_workarea = arg2;
2597     
2598     Py_INCREF(Py_None); resultobj = Py_None;
2599     return resultobj;
2600     fail:
2601     return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_Atoms_net_workarea_get(PyObject *self, PyObject *args) {
2606     PyObject *resultobj;
2607     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2608     Atom result;
2609     PyObject * obj0  = 0 ;
2610     
2611     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_workarea_get",&obj0)) goto fail;
2612     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2613     result = (Atom) ((arg1)->net_workarea);
2614     
2615     resultobj = PyInt_FromLong((long)result);
2616     return resultobj;
2617     fail:
2618     return NULL;
2619 }
2620
2621
2622 static PyObject *_wrap_Atoms_net_supporting_wm_check_set(PyObject *self, PyObject *args) {
2623     PyObject *resultobj;
2624     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2625     Atom arg2 ;
2626     PyObject * obj0  = 0 ;
2627     PyObject * obj1  = 0 ;
2628     
2629     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_supporting_wm_check_set",&obj0,&obj1)) goto fail;
2630     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631     arg2 = (Atom) PyInt_AsLong(obj1);
2632     if (PyErr_Occurred()) SWIG_fail;
2633     if (arg1) (arg1)->net_supporting_wm_check = arg2;
2634     
2635     Py_INCREF(Py_None); resultobj = Py_None;
2636     return resultobj;
2637     fail:
2638     return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_Atoms_net_supporting_wm_check_get(PyObject *self, PyObject *args) {
2643     PyObject *resultobj;
2644     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2645     Atom result;
2646     PyObject * obj0  = 0 ;
2647     
2648     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_supporting_wm_check_get",&obj0)) goto fail;
2649     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2650     result = (Atom) ((arg1)->net_supporting_wm_check);
2651     
2652     resultobj = PyInt_FromLong((long)result);
2653     return resultobj;
2654     fail:
2655     return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_Atoms_net_close_window_set(PyObject *self, PyObject *args) {
2660     PyObject *resultobj;
2661     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2662     Atom arg2 ;
2663     PyObject * obj0  = 0 ;
2664     PyObject * obj1  = 0 ;
2665     
2666     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_close_window_set",&obj0,&obj1)) goto fail;
2667     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2668     arg2 = (Atom) PyInt_AsLong(obj1);
2669     if (PyErr_Occurred()) SWIG_fail;
2670     if (arg1) (arg1)->net_close_window = arg2;
2671     
2672     Py_INCREF(Py_None); resultobj = Py_None;
2673     return resultobj;
2674     fail:
2675     return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_Atoms_net_close_window_get(PyObject *self, PyObject *args) {
2680     PyObject *resultobj;
2681     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2682     Atom result;
2683     PyObject * obj0  = 0 ;
2684     
2685     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_close_window_get",&obj0)) goto fail;
2686     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687     result = (Atom) ((arg1)->net_close_window);
2688     
2689     resultobj = PyInt_FromLong((long)result);
2690     return resultobj;
2691     fail:
2692     return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_Atoms_net_wm_moveresize_set(PyObject *self, PyObject *args) {
2697     PyObject *resultobj;
2698     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2699     Atom arg2 ;
2700     PyObject * obj0  = 0 ;
2701     PyObject * obj1  = 0 ;
2702     
2703     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_set",&obj0,&obj1)) goto fail;
2704     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705     arg2 = (Atom) PyInt_AsLong(obj1);
2706     if (PyErr_Occurred()) SWIG_fail;
2707     if (arg1) (arg1)->net_wm_moveresize = arg2;
2708     
2709     Py_INCREF(Py_None); resultobj = Py_None;
2710     return resultobj;
2711     fail:
2712     return NULL;
2713 }
2714
2715
2716 static PyObject *_wrap_Atoms_net_wm_moveresize_get(PyObject *self, PyObject *args) {
2717     PyObject *resultobj;
2718     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2719     Atom result;
2720     PyObject * obj0  = 0 ;
2721     
2722     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_get",&obj0)) goto fail;
2723     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724     result = (Atom) ((arg1)->net_wm_moveresize);
2725     
2726     resultobj = PyInt_FromLong((long)result);
2727     return resultobj;
2728     fail:
2729     return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_Atoms_net_wm_name_set(PyObject *self, PyObject *args) {
2734     PyObject *resultobj;
2735     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2736     Atom arg2 ;
2737     PyObject * obj0  = 0 ;
2738     PyObject * obj1  = 0 ;
2739     
2740     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_name_set",&obj0,&obj1)) goto fail;
2741     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742     arg2 = (Atom) PyInt_AsLong(obj1);
2743     if (PyErr_Occurred()) SWIG_fail;
2744     if (arg1) (arg1)->net_wm_name = arg2;
2745     
2746     Py_INCREF(Py_None); resultobj = Py_None;
2747     return resultobj;
2748     fail:
2749     return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_Atoms_net_wm_name_get(PyObject *self, PyObject *args) {
2754     PyObject *resultobj;
2755     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2756     Atom result;
2757     PyObject * obj0  = 0 ;
2758     
2759     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_name_get",&obj0)) goto fail;
2760     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761     result = (Atom) ((arg1)->net_wm_name);
2762     
2763     resultobj = PyInt_FromLong((long)result);
2764     return resultobj;
2765     fail:
2766     return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_Atoms_net_wm_visible_name_set(PyObject *self, PyObject *args) {
2771     PyObject *resultobj;
2772     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2773     Atom arg2 ;
2774     PyObject * obj0  = 0 ;
2775     PyObject * obj1  = 0 ;
2776     
2777     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_name_set",&obj0,&obj1)) goto fail;
2778     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779     arg2 = (Atom) PyInt_AsLong(obj1);
2780     if (PyErr_Occurred()) SWIG_fail;
2781     if (arg1) (arg1)->net_wm_visible_name = arg2;
2782     
2783     Py_INCREF(Py_None); resultobj = Py_None;
2784     return resultobj;
2785     fail:
2786     return NULL;
2787 }
2788
2789
2790 static PyObject *_wrap_Atoms_net_wm_visible_name_get(PyObject *self, PyObject *args) {
2791     PyObject *resultobj;
2792     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2793     Atom result;
2794     PyObject * obj0  = 0 ;
2795     
2796     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_name_get",&obj0)) goto fail;
2797     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2798     result = (Atom) ((arg1)->net_wm_visible_name);
2799     
2800     resultobj = PyInt_FromLong((long)result);
2801     return resultobj;
2802     fail:
2803     return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_Atoms_net_wm_icon_name_set(PyObject *self, PyObject *args) {
2808     PyObject *resultobj;
2809     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2810     Atom arg2 ;
2811     PyObject * obj0  = 0 ;
2812     PyObject * obj1  = 0 ;
2813     
2814     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_icon_name_set",&obj0,&obj1)) goto fail;
2815     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816     arg2 = (Atom) PyInt_AsLong(obj1);
2817     if (PyErr_Occurred()) SWIG_fail;
2818     if (arg1) (arg1)->net_wm_icon_name = arg2;
2819     
2820     Py_INCREF(Py_None); resultobj = Py_None;
2821     return resultobj;
2822     fail:
2823     return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_Atoms_net_wm_icon_name_get(PyObject *self, PyObject *args) {
2828     PyObject *resultobj;
2829     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2830     Atom result;
2831     PyObject * obj0  = 0 ;
2832     
2833     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_icon_name_get",&obj0)) goto fail;
2834     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2835     result = (Atom) ((arg1)->net_wm_icon_name);
2836     
2837     resultobj = PyInt_FromLong((long)result);
2838     return resultobj;
2839     fail:
2840     return NULL;
2841 }
2842
2843
2844 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_set(PyObject *self, PyObject *args) {
2845     PyObject *resultobj;
2846     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2847     Atom arg2 ;
2848     PyObject * obj0  = 0 ;
2849     PyObject * obj1  = 0 ;
2850     
2851     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_visible_icon_name_set",&obj0,&obj1)) goto fail;
2852     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853     arg2 = (Atom) PyInt_AsLong(obj1);
2854     if (PyErr_Occurred()) SWIG_fail;
2855     if (arg1) (arg1)->net_wm_visible_icon_name = arg2;
2856     
2857     Py_INCREF(Py_None); resultobj = Py_None;
2858     return resultobj;
2859     fail:
2860     return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_Atoms_net_wm_visible_icon_name_get(PyObject *self, PyObject *args) {
2865     PyObject *resultobj;
2866     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2867     Atom result;
2868     PyObject * obj0  = 0 ;
2869     
2870     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_visible_icon_name_get",&obj0)) goto fail;
2871     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872     result = (Atom) ((arg1)->net_wm_visible_icon_name);
2873     
2874     resultobj = PyInt_FromLong((long)result);
2875     return resultobj;
2876     fail:
2877     return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_Atoms_net_wm_desktop_set(PyObject *self, PyObject *args) {
2882     PyObject *resultobj;
2883     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2884     Atom arg2 ;
2885     PyObject * obj0  = 0 ;
2886     PyObject * obj1  = 0 ;
2887     
2888     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_desktop_set",&obj0,&obj1)) goto fail;
2889     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890     arg2 = (Atom) PyInt_AsLong(obj1);
2891     if (PyErr_Occurred()) SWIG_fail;
2892     if (arg1) (arg1)->net_wm_desktop = arg2;
2893     
2894     Py_INCREF(Py_None); resultobj = Py_None;
2895     return resultobj;
2896     fail:
2897     return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_Atoms_net_wm_desktop_get(PyObject *self, PyObject *args) {
2902     PyObject *resultobj;
2903     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2904     Atom result;
2905     PyObject * obj0  = 0 ;
2906     
2907     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_desktop_get",&obj0)) goto fail;
2908     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2909     result = (Atom) ((arg1)->net_wm_desktop);
2910     
2911     resultobj = PyInt_FromLong((long)result);
2912     return resultobj;
2913     fail:
2914     return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_Atoms_net_wm_window_type_set(PyObject *self, PyObject *args) {
2919     PyObject *resultobj;
2920     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2921     Atom arg2 ;
2922     PyObject * obj0  = 0 ;
2923     PyObject * obj1  = 0 ;
2924     
2925     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_set",&obj0,&obj1)) goto fail;
2926     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2927     arg2 = (Atom) PyInt_AsLong(obj1);
2928     if (PyErr_Occurred()) SWIG_fail;
2929     if (arg1) (arg1)->net_wm_window_type = arg2;
2930     
2931     Py_INCREF(Py_None); resultobj = Py_None;
2932     return resultobj;
2933     fail:
2934     return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_Atoms_net_wm_window_type_get(PyObject *self, PyObject *args) {
2939     PyObject *resultobj;
2940     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2941     Atom result;
2942     PyObject * obj0  = 0 ;
2943     
2944     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_get",&obj0)) goto fail;
2945     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946     result = (Atom) ((arg1)->net_wm_window_type);
2947     
2948     resultobj = PyInt_FromLong((long)result);
2949     return resultobj;
2950     fail:
2951     return NULL;
2952 }
2953
2954
2955 static PyObject *_wrap_Atoms_net_wm_state_set(PyObject *self, PyObject *args) {
2956     PyObject *resultobj;
2957     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2958     Atom arg2 ;
2959     PyObject * obj0  = 0 ;
2960     PyObject * obj1  = 0 ;
2961     
2962     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_set",&obj0,&obj1)) goto fail;
2963     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2964     arg2 = (Atom) PyInt_AsLong(obj1);
2965     if (PyErr_Occurred()) SWIG_fail;
2966     if (arg1) (arg1)->net_wm_state = arg2;
2967     
2968     Py_INCREF(Py_None); resultobj = Py_None;
2969     return resultobj;
2970     fail:
2971     return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_Atoms_net_wm_state_get(PyObject *self, PyObject *args) {
2976     PyObject *resultobj;
2977     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2978     Atom result;
2979     PyObject * obj0  = 0 ;
2980     
2981     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_get",&obj0)) goto fail;
2982     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2983     result = (Atom) ((arg1)->net_wm_state);
2984     
2985     resultobj = PyInt_FromLong((long)result);
2986     return resultobj;
2987     fail:
2988     return NULL;
2989 }
2990
2991
2992 static PyObject *_wrap_Atoms_net_wm_strut_set(PyObject *self, PyObject *args) {
2993     PyObject *resultobj;
2994     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
2995     Atom arg2 ;
2996     PyObject * obj0  = 0 ;
2997     PyObject * obj1  = 0 ;
2998     
2999     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_strut_set",&obj0,&obj1)) goto fail;
3000     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001     arg2 = (Atom) PyInt_AsLong(obj1);
3002     if (PyErr_Occurred()) SWIG_fail;
3003     if (arg1) (arg1)->net_wm_strut = arg2;
3004     
3005     Py_INCREF(Py_None); resultobj = Py_None;
3006     return resultobj;
3007     fail:
3008     return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_Atoms_net_wm_strut_get(PyObject *self, PyObject *args) {
3013     PyObject *resultobj;
3014     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3015     Atom result;
3016     PyObject * obj0  = 0 ;
3017     
3018     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_strut_get",&obj0)) goto fail;
3019     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3020     result = (Atom) ((arg1)->net_wm_strut);
3021     
3022     resultobj = PyInt_FromLong((long)result);
3023     return resultobj;
3024     fail:
3025     return NULL;
3026 }
3027
3028
3029 static PyObject *_wrap_Atoms_net_wm_allowed_actions_set(PyObject *self, PyObject *args) {
3030     PyObject *resultobj;
3031     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3032     Atom arg2 ;
3033     PyObject * obj0  = 0 ;
3034     PyObject * obj1  = 0 ;
3035     
3036     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_allowed_actions_set",&obj0,&obj1)) goto fail;
3037     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3038     arg2 = (Atom) PyInt_AsLong(obj1);
3039     if (PyErr_Occurred()) SWIG_fail;
3040     if (arg1) (arg1)->net_wm_allowed_actions = arg2;
3041     
3042     Py_INCREF(Py_None); resultobj = Py_None;
3043     return resultobj;
3044     fail:
3045     return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_Atoms_net_wm_allowed_actions_get(PyObject *self, PyObject *args) {
3050     PyObject *resultobj;
3051     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3052     Atom result;
3053     PyObject * obj0  = 0 ;
3054     
3055     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_allowed_actions_get",&obj0)) goto fail;
3056     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3057     result = (Atom) ((arg1)->net_wm_allowed_actions);
3058     
3059     resultobj = PyInt_FromLong((long)result);
3060     return resultobj;
3061     fail:
3062     return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_set(PyObject *self, PyObject *args) {
3067     PyObject *resultobj;
3068     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3069     Atom arg2 ;
3070     PyObject * obj0  = 0 ;
3071     PyObject * obj1  = 0 ;
3072     
3073     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_desktop_set",&obj0,&obj1)) goto fail;
3074     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3075     arg2 = (Atom) PyInt_AsLong(obj1);
3076     if (PyErr_Occurred()) SWIG_fail;
3077     if (arg1) (arg1)->net_wm_window_type_desktop = arg2;
3078     
3079     Py_INCREF(Py_None); resultobj = Py_None;
3080     return resultobj;
3081     fail:
3082     return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Atoms_net_wm_window_type_desktop_get(PyObject *self, PyObject *args) {
3087     PyObject *resultobj;
3088     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3089     Atom result;
3090     PyObject * obj0  = 0 ;
3091     
3092     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_desktop_get",&obj0)) goto fail;
3093     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3094     result = (Atom) ((arg1)->net_wm_window_type_desktop);
3095     
3096     resultobj = PyInt_FromLong((long)result);
3097     return resultobj;
3098     fail:
3099     return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_Atoms_net_wm_window_type_dock_set(PyObject *self, PyObject *args) {
3104     PyObject *resultobj;
3105     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3106     Atom arg2 ;
3107     PyObject * obj0  = 0 ;
3108     PyObject * obj1  = 0 ;
3109     
3110     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dock_set",&obj0,&obj1)) goto fail;
3111     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112     arg2 = (Atom) PyInt_AsLong(obj1);
3113     if (PyErr_Occurred()) SWIG_fail;
3114     if (arg1) (arg1)->net_wm_window_type_dock = arg2;
3115     
3116     Py_INCREF(Py_None); resultobj = Py_None;
3117     return resultobj;
3118     fail:
3119     return NULL;
3120 }
3121
3122
3123 static PyObject *_wrap_Atoms_net_wm_window_type_dock_get(PyObject *self, PyObject *args) {
3124     PyObject *resultobj;
3125     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3126     Atom result;
3127     PyObject * obj0  = 0 ;
3128     
3129     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dock_get",&obj0)) goto fail;
3130     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3131     result = (Atom) ((arg1)->net_wm_window_type_dock);
3132     
3133     resultobj = PyInt_FromLong((long)result);
3134     return resultobj;
3135     fail:
3136     return NULL;
3137 }
3138
3139
3140 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_set(PyObject *self, PyObject *args) {
3141     PyObject *resultobj;
3142     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3143     Atom arg2 ;
3144     PyObject * obj0  = 0 ;
3145     PyObject * obj1  = 0 ;
3146     
3147     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_toolbar_set",&obj0,&obj1)) goto fail;
3148     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149     arg2 = (Atom) PyInt_AsLong(obj1);
3150     if (PyErr_Occurred()) SWIG_fail;
3151     if (arg1) (arg1)->net_wm_window_type_toolbar = arg2;
3152     
3153     Py_INCREF(Py_None); resultobj = Py_None;
3154     return resultobj;
3155     fail:
3156     return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_Atoms_net_wm_window_type_toolbar_get(PyObject *self, PyObject *args) {
3161     PyObject *resultobj;
3162     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3163     Atom result;
3164     PyObject * obj0  = 0 ;
3165     
3166     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_toolbar_get",&obj0)) goto fail;
3167     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168     result = (Atom) ((arg1)->net_wm_window_type_toolbar);
3169     
3170     resultobj = PyInt_FromLong((long)result);
3171     return resultobj;
3172     fail:
3173     return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_Atoms_net_wm_window_type_menu_set(PyObject *self, PyObject *args) {
3178     PyObject *resultobj;
3179     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3180     Atom arg2 ;
3181     PyObject * obj0  = 0 ;
3182     PyObject * obj1  = 0 ;
3183     
3184     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_menu_set",&obj0,&obj1)) goto fail;
3185     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186     arg2 = (Atom) PyInt_AsLong(obj1);
3187     if (PyErr_Occurred()) SWIG_fail;
3188     if (arg1) (arg1)->net_wm_window_type_menu = arg2;
3189     
3190     Py_INCREF(Py_None); resultobj = Py_None;
3191     return resultobj;
3192     fail:
3193     return NULL;
3194 }
3195
3196
3197 static PyObject *_wrap_Atoms_net_wm_window_type_menu_get(PyObject *self, PyObject *args) {
3198     PyObject *resultobj;
3199     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3200     Atom result;
3201     PyObject * obj0  = 0 ;
3202     
3203     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_menu_get",&obj0)) goto fail;
3204     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3205     result = (Atom) ((arg1)->net_wm_window_type_menu);
3206     
3207     resultobj = PyInt_FromLong((long)result);
3208     return resultobj;
3209     fail:
3210     return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_Atoms_net_wm_window_type_utility_set(PyObject *self, PyObject *args) {
3215     PyObject *resultobj;
3216     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3217     Atom arg2 ;
3218     PyObject * obj0  = 0 ;
3219     PyObject * obj1  = 0 ;
3220     
3221     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_utility_set",&obj0,&obj1)) goto fail;
3222     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3223     arg2 = (Atom) PyInt_AsLong(obj1);
3224     if (PyErr_Occurred()) SWIG_fail;
3225     if (arg1) (arg1)->net_wm_window_type_utility = arg2;
3226     
3227     Py_INCREF(Py_None); resultobj = Py_None;
3228     return resultobj;
3229     fail:
3230     return NULL;
3231 }
3232
3233
3234 static PyObject *_wrap_Atoms_net_wm_window_type_utility_get(PyObject *self, PyObject *args) {
3235     PyObject *resultobj;
3236     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3237     Atom result;
3238     PyObject * obj0  = 0 ;
3239     
3240     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_utility_get",&obj0)) goto fail;
3241     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3242     result = (Atom) ((arg1)->net_wm_window_type_utility);
3243     
3244     resultobj = PyInt_FromLong((long)result);
3245     return resultobj;
3246     fail:
3247     return NULL;
3248 }
3249
3250
3251 static PyObject *_wrap_Atoms_net_wm_window_type_splash_set(PyObject *self, PyObject *args) {
3252     PyObject *resultobj;
3253     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3254     Atom arg2 ;
3255     PyObject * obj0  = 0 ;
3256     PyObject * obj1  = 0 ;
3257     
3258     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_splash_set",&obj0,&obj1)) goto fail;
3259     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260     arg2 = (Atom) PyInt_AsLong(obj1);
3261     if (PyErr_Occurred()) SWIG_fail;
3262     if (arg1) (arg1)->net_wm_window_type_splash = arg2;
3263     
3264     Py_INCREF(Py_None); resultobj = Py_None;
3265     return resultobj;
3266     fail:
3267     return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_Atoms_net_wm_window_type_splash_get(PyObject *self, PyObject *args) {
3272     PyObject *resultobj;
3273     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3274     Atom result;
3275     PyObject * obj0  = 0 ;
3276     
3277     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_splash_get",&obj0)) goto fail;
3278     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3279     result = (Atom) ((arg1)->net_wm_window_type_splash);
3280     
3281     resultobj = PyInt_FromLong((long)result);
3282     return resultobj;
3283     fail:
3284     return NULL;
3285 }
3286
3287
3288 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_set(PyObject *self, PyObject *args) {
3289     PyObject *resultobj;
3290     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3291     Atom arg2 ;
3292     PyObject * obj0  = 0 ;
3293     PyObject * obj1  = 0 ;
3294     
3295     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_dialog_set",&obj0,&obj1)) goto fail;
3296     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3297     arg2 = (Atom) PyInt_AsLong(obj1);
3298     if (PyErr_Occurred()) SWIG_fail;
3299     if (arg1) (arg1)->net_wm_window_type_dialog = arg2;
3300     
3301     Py_INCREF(Py_None); resultobj = Py_None;
3302     return resultobj;
3303     fail:
3304     return NULL;
3305 }
3306
3307
3308 static PyObject *_wrap_Atoms_net_wm_window_type_dialog_get(PyObject *self, PyObject *args) {
3309     PyObject *resultobj;
3310     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3311     Atom result;
3312     PyObject * obj0  = 0 ;
3313     
3314     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_dialog_get",&obj0)) goto fail;
3315     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316     result = (Atom) ((arg1)->net_wm_window_type_dialog);
3317     
3318     resultobj = PyInt_FromLong((long)result);
3319     return resultobj;
3320     fail:
3321     return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_Atoms_net_wm_window_type_normal_set(PyObject *self, PyObject *args) {
3326     PyObject *resultobj;
3327     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3328     Atom arg2 ;
3329     PyObject * obj0  = 0 ;
3330     PyObject * obj1  = 0 ;
3331     
3332     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_window_type_normal_set",&obj0,&obj1)) goto fail;
3333     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3334     arg2 = (Atom) PyInt_AsLong(obj1);
3335     if (PyErr_Occurred()) SWIG_fail;
3336     if (arg1) (arg1)->net_wm_window_type_normal = arg2;
3337     
3338     Py_INCREF(Py_None); resultobj = Py_None;
3339     return resultobj;
3340     fail:
3341     return NULL;
3342 }
3343
3344
3345 static PyObject *_wrap_Atoms_net_wm_window_type_normal_get(PyObject *self, PyObject *args) {
3346     PyObject *resultobj;
3347     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3348     Atom result;
3349     PyObject * obj0  = 0 ;
3350     
3351     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_window_type_normal_get",&obj0)) goto fail;
3352     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353     result = (Atom) ((arg1)->net_wm_window_type_normal);
3354     
3355     resultobj = PyInt_FromLong((long)result);
3356     return resultobj;
3357     fail:
3358     return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_set(PyObject *self, PyObject *args) {
3363     PyObject *resultobj;
3364     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3365     Atom arg2 ;
3366     PyObject * obj0  = 0 ;
3367     PyObject * obj1  = 0 ;
3368     
3369     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topleft_set",&obj0,&obj1)) goto fail;
3370     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371     arg2 = (Atom) PyInt_AsLong(obj1);
3372     if (PyErr_Occurred()) SWIG_fail;
3373     if (arg1) (arg1)->net_wm_moveresize_size_topleft = arg2;
3374     
3375     Py_INCREF(Py_None); resultobj = Py_None;
3376     return resultobj;
3377     fail:
3378     return NULL;
3379 }
3380
3381
3382 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topleft_get(PyObject *self, PyObject *args) {
3383     PyObject *resultobj;
3384     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3385     Atom result;
3386     PyObject * obj0  = 0 ;
3387     
3388     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topleft_get",&obj0)) goto fail;
3389     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3390     result = (Atom) ((arg1)->net_wm_moveresize_size_topleft);
3391     
3392     resultobj = PyInt_FromLong((long)result);
3393     return resultobj;
3394     fail:
3395     return NULL;
3396 }
3397
3398
3399 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_set(PyObject *self, PyObject *args) {
3400     PyObject *resultobj;
3401     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3402     Atom arg2 ;
3403     PyObject * obj0  = 0 ;
3404     PyObject * obj1  = 0 ;
3405     
3406     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_topright_set",&obj0,&obj1)) goto fail;
3407     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408     arg2 = (Atom) PyInt_AsLong(obj1);
3409     if (PyErr_Occurred()) SWIG_fail;
3410     if (arg1) (arg1)->net_wm_moveresize_size_topright = arg2;
3411     
3412     Py_INCREF(Py_None); resultobj = Py_None;
3413     return resultobj;
3414     fail:
3415     return NULL;
3416 }
3417
3418
3419 static PyObject *_wrap_Atoms_net_wm_moveresize_size_topright_get(PyObject *self, PyObject *args) {
3420     PyObject *resultobj;
3421     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3422     Atom result;
3423     PyObject * obj0  = 0 ;
3424     
3425     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_topright_get",&obj0)) goto fail;
3426     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427     result = (Atom) ((arg1)->net_wm_moveresize_size_topright);
3428     
3429     resultobj = PyInt_FromLong((long)result);
3430     return resultobj;
3431     fail:
3432     return NULL;
3433 }
3434
3435
3436 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_set(PyObject *self, PyObject *args) {
3437     PyObject *resultobj;
3438     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3439     Atom arg2 ;
3440     PyObject * obj0  = 0 ;
3441     PyObject * obj1  = 0 ;
3442     
3443     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomleft_set",&obj0,&obj1)) goto fail;
3444     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3445     arg2 = (Atom) PyInt_AsLong(obj1);
3446     if (PyErr_Occurred()) SWIG_fail;
3447     if (arg1) (arg1)->net_wm_moveresize_size_bottomleft = arg2;
3448     
3449     Py_INCREF(Py_None); resultobj = Py_None;
3450     return resultobj;
3451     fail:
3452     return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomleft_get(PyObject *self, PyObject *args) {
3457     PyObject *resultobj;
3458     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3459     Atom result;
3460     PyObject * obj0  = 0 ;
3461     
3462     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomleft_get",&obj0)) goto fail;
3463     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3464     result = (Atom) ((arg1)->net_wm_moveresize_size_bottomleft);
3465     
3466     resultobj = PyInt_FromLong((long)result);
3467     return resultobj;
3468     fail:
3469     return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_set(PyObject *self, PyObject *args) {
3474     PyObject *resultobj;
3475     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3476     Atom arg2 ;
3477     PyObject * obj0  = 0 ;
3478     PyObject * obj1  = 0 ;
3479     
3480     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_size_bottomright_set",&obj0,&obj1)) goto fail;
3481     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482     arg2 = (Atom) PyInt_AsLong(obj1);
3483     if (PyErr_Occurred()) SWIG_fail;
3484     if (arg1) (arg1)->net_wm_moveresize_size_bottomright = arg2;
3485     
3486     Py_INCREF(Py_None); resultobj = Py_None;
3487     return resultobj;
3488     fail:
3489     return NULL;
3490 }
3491
3492
3493 static PyObject *_wrap_Atoms_net_wm_moveresize_size_bottomright_get(PyObject *self, PyObject *args) {
3494     PyObject *resultobj;
3495     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3496     Atom result;
3497     PyObject * obj0  = 0 ;
3498     
3499     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_size_bottomright_get",&obj0)) goto fail;
3500     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3501     result = (Atom) ((arg1)->net_wm_moveresize_size_bottomright);
3502     
3503     resultobj = PyInt_FromLong((long)result);
3504     return resultobj;
3505     fail:
3506     return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_Atoms_net_wm_moveresize_move_set(PyObject *self, PyObject *args) {
3511     PyObject *resultobj;
3512     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3513     Atom arg2 ;
3514     PyObject * obj0  = 0 ;
3515     PyObject * obj1  = 0 ;
3516     
3517     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_moveresize_move_set",&obj0,&obj1)) goto fail;
3518     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519     arg2 = (Atom) PyInt_AsLong(obj1);
3520     if (PyErr_Occurred()) SWIG_fail;
3521     if (arg1) (arg1)->net_wm_moveresize_move = arg2;
3522     
3523     Py_INCREF(Py_None); resultobj = Py_None;
3524     return resultobj;
3525     fail:
3526     return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Atoms_net_wm_moveresize_move_get(PyObject *self, PyObject *args) {
3531     PyObject *resultobj;
3532     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3533     Atom result;
3534     PyObject * obj0  = 0 ;
3535     
3536     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_moveresize_move_get",&obj0)) goto fail;
3537     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538     result = (Atom) ((arg1)->net_wm_moveresize_move);
3539     
3540     resultobj = PyInt_FromLong((long)result);
3541     return resultobj;
3542     fail:
3543     return NULL;
3544 }
3545
3546
3547 static PyObject *_wrap_Atoms_net_wm_action_move_set(PyObject *self, PyObject *args) {
3548     PyObject *resultobj;
3549     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3550     Atom arg2 ;
3551     PyObject * obj0  = 0 ;
3552     PyObject * obj1  = 0 ;
3553     
3554     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_move_set",&obj0,&obj1)) goto fail;
3555     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556     arg2 = (Atom) PyInt_AsLong(obj1);
3557     if (PyErr_Occurred()) SWIG_fail;
3558     if (arg1) (arg1)->net_wm_action_move = arg2;
3559     
3560     Py_INCREF(Py_None); resultobj = Py_None;
3561     return resultobj;
3562     fail:
3563     return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Atoms_net_wm_action_move_get(PyObject *self, PyObject *args) {
3568     PyObject *resultobj;
3569     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3570     Atom result;
3571     PyObject * obj0  = 0 ;
3572     
3573     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_move_get",&obj0)) goto fail;
3574     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3575     result = (Atom) ((arg1)->net_wm_action_move);
3576     
3577     resultobj = PyInt_FromLong((long)result);
3578     return resultobj;
3579     fail:
3580     return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_Atoms_net_wm_action_resize_set(PyObject *self, PyObject *args) {
3585     PyObject *resultobj;
3586     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3587     Atom arg2 ;
3588     PyObject * obj0  = 0 ;
3589     PyObject * obj1  = 0 ;
3590     
3591     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_resize_set",&obj0,&obj1)) goto fail;
3592     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593     arg2 = (Atom) PyInt_AsLong(obj1);
3594     if (PyErr_Occurred()) SWIG_fail;
3595     if (arg1) (arg1)->net_wm_action_resize = arg2;
3596     
3597     Py_INCREF(Py_None); resultobj = Py_None;
3598     return resultobj;
3599     fail:
3600     return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_Atoms_net_wm_action_resize_get(PyObject *self, PyObject *args) {
3605     PyObject *resultobj;
3606     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3607     Atom result;
3608     PyObject * obj0  = 0 ;
3609     
3610     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_resize_get",&obj0)) goto fail;
3611     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3612     result = (Atom) ((arg1)->net_wm_action_resize);
3613     
3614     resultobj = PyInt_FromLong((long)result);
3615     return resultobj;
3616     fail:
3617     return NULL;
3618 }
3619
3620
3621 static PyObject *_wrap_Atoms_net_wm_action_shade_set(PyObject *self, PyObject *args) {
3622     PyObject *resultobj;
3623     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3624     Atom arg2 ;
3625     PyObject * obj0  = 0 ;
3626     PyObject * obj1  = 0 ;
3627     
3628     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_shade_set",&obj0,&obj1)) goto fail;
3629     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630     arg2 = (Atom) PyInt_AsLong(obj1);
3631     if (PyErr_Occurred()) SWIG_fail;
3632     if (arg1) (arg1)->net_wm_action_shade = arg2;
3633     
3634     Py_INCREF(Py_None); resultobj = Py_None;
3635     return resultobj;
3636     fail:
3637     return NULL;
3638 }
3639
3640
3641 static PyObject *_wrap_Atoms_net_wm_action_shade_get(PyObject *self, PyObject *args) {
3642     PyObject *resultobj;
3643     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3644     Atom result;
3645     PyObject * obj0  = 0 ;
3646     
3647     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_shade_get",&obj0)) goto fail;
3648     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3649     result = (Atom) ((arg1)->net_wm_action_shade);
3650     
3651     resultobj = PyInt_FromLong((long)result);
3652     return resultobj;
3653     fail:
3654     return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_set(PyObject *self, PyObject *args) {
3659     PyObject *resultobj;
3660     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3661     Atom arg2 ;
3662     PyObject * obj0  = 0 ;
3663     PyObject * obj1  = 0 ;
3664     
3665     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_horz_set",&obj0,&obj1)) goto fail;
3666     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3667     arg2 = (Atom) PyInt_AsLong(obj1);
3668     if (PyErr_Occurred()) SWIG_fail;
3669     if (arg1) (arg1)->net_wm_action_maximize_horz = arg2;
3670     
3671     Py_INCREF(Py_None); resultobj = Py_None;
3672     return resultobj;
3673     fail:
3674     return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_Atoms_net_wm_action_maximize_horz_get(PyObject *self, PyObject *args) {
3679     PyObject *resultobj;
3680     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3681     Atom result;
3682     PyObject * obj0  = 0 ;
3683     
3684     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_horz_get",&obj0)) goto fail;
3685     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3686     result = (Atom) ((arg1)->net_wm_action_maximize_horz);
3687     
3688     resultobj = PyInt_FromLong((long)result);
3689     return resultobj;
3690     fail:
3691     return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_set(PyObject *self, PyObject *args) {
3696     PyObject *resultobj;
3697     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3698     Atom arg2 ;
3699     PyObject * obj0  = 0 ;
3700     PyObject * obj1  = 0 ;
3701     
3702     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_maximize_vert_set",&obj0,&obj1)) goto fail;
3703     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3704     arg2 = (Atom) PyInt_AsLong(obj1);
3705     if (PyErr_Occurred()) SWIG_fail;
3706     if (arg1) (arg1)->net_wm_action_maximize_vert = arg2;
3707     
3708     Py_INCREF(Py_None); resultobj = Py_None;
3709     return resultobj;
3710     fail:
3711     return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Atoms_net_wm_action_maximize_vert_get(PyObject *self, PyObject *args) {
3716     PyObject *resultobj;
3717     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3718     Atom result;
3719     PyObject * obj0  = 0 ;
3720     
3721     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_maximize_vert_get",&obj0)) goto fail;
3722     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3723     result = (Atom) ((arg1)->net_wm_action_maximize_vert);
3724     
3725     resultobj = PyInt_FromLong((long)result);
3726     return resultobj;
3727     fail:
3728     return NULL;
3729 }
3730
3731
3732 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_set(PyObject *self, PyObject *args) {
3733     PyObject *resultobj;
3734     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3735     Atom arg2 ;
3736     PyObject * obj0  = 0 ;
3737     PyObject * obj1  = 0 ;
3738     
3739     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_change_desktop_set",&obj0,&obj1)) goto fail;
3740     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741     arg2 = (Atom) PyInt_AsLong(obj1);
3742     if (PyErr_Occurred()) SWIG_fail;
3743     if (arg1) (arg1)->net_wm_action_change_desktop = arg2;
3744     
3745     Py_INCREF(Py_None); resultobj = Py_None;
3746     return resultobj;
3747     fail:
3748     return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_Atoms_net_wm_action_change_desktop_get(PyObject *self, PyObject *args) {
3753     PyObject *resultobj;
3754     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3755     Atom result;
3756     PyObject * obj0  = 0 ;
3757     
3758     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_change_desktop_get",&obj0)) goto fail;
3759     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760     result = (Atom) ((arg1)->net_wm_action_change_desktop);
3761     
3762     resultobj = PyInt_FromLong((long)result);
3763     return resultobj;
3764     fail:
3765     return NULL;
3766 }
3767
3768
3769 static PyObject *_wrap_Atoms_net_wm_action_close_set(PyObject *self, PyObject *args) {
3770     PyObject *resultobj;
3771     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3772     Atom arg2 ;
3773     PyObject * obj0  = 0 ;
3774     PyObject * obj1  = 0 ;
3775     
3776     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_action_close_set",&obj0,&obj1)) goto fail;
3777     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778     arg2 = (Atom) PyInt_AsLong(obj1);
3779     if (PyErr_Occurred()) SWIG_fail;
3780     if (arg1) (arg1)->net_wm_action_close = arg2;
3781     
3782     Py_INCREF(Py_None); resultobj = Py_None;
3783     return resultobj;
3784     fail:
3785     return NULL;
3786 }
3787
3788
3789 static PyObject *_wrap_Atoms_net_wm_action_close_get(PyObject *self, PyObject *args) {
3790     PyObject *resultobj;
3791     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3792     Atom result;
3793     PyObject * obj0  = 0 ;
3794     
3795     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_action_close_get",&obj0)) goto fail;
3796     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797     result = (Atom) ((arg1)->net_wm_action_close);
3798     
3799     resultobj = PyInt_FromLong((long)result);
3800     return resultobj;
3801     fail:
3802     return NULL;
3803 }
3804
3805
3806 static PyObject *_wrap_Atoms_net_wm_state_modal_set(PyObject *self, PyObject *args) {
3807     PyObject *resultobj;
3808     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3809     Atom arg2 ;
3810     PyObject * obj0  = 0 ;
3811     PyObject * obj1  = 0 ;
3812     
3813     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_modal_set",&obj0,&obj1)) goto fail;
3814     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3815     arg2 = (Atom) PyInt_AsLong(obj1);
3816     if (PyErr_Occurred()) SWIG_fail;
3817     if (arg1) (arg1)->net_wm_state_modal = arg2;
3818     
3819     Py_INCREF(Py_None); resultobj = Py_None;
3820     return resultobj;
3821     fail:
3822     return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_Atoms_net_wm_state_modal_get(PyObject *self, PyObject *args) {
3827     PyObject *resultobj;
3828     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3829     Atom result;
3830     PyObject * obj0  = 0 ;
3831     
3832     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_modal_get",&obj0)) goto fail;
3833     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3834     result = (Atom) ((arg1)->net_wm_state_modal);
3835     
3836     resultobj = PyInt_FromLong((long)result);
3837     return resultobj;
3838     fail:
3839     return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_Atoms_net_wm_state_sticky_set(PyObject *self, PyObject *args) {
3844     PyObject *resultobj;
3845     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3846     Atom arg2 ;
3847     PyObject * obj0  = 0 ;
3848     PyObject * obj1  = 0 ;
3849     
3850     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_sticky_set",&obj0,&obj1)) goto fail;
3851     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3852     arg2 = (Atom) PyInt_AsLong(obj1);
3853     if (PyErr_Occurred()) SWIG_fail;
3854     if (arg1) (arg1)->net_wm_state_sticky = arg2;
3855     
3856     Py_INCREF(Py_None); resultobj = Py_None;
3857     return resultobj;
3858     fail:
3859     return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Atoms_net_wm_state_sticky_get(PyObject *self, PyObject *args) {
3864     PyObject *resultobj;
3865     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3866     Atom result;
3867     PyObject * obj0  = 0 ;
3868     
3869     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_sticky_get",&obj0)) goto fail;
3870     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871     result = (Atom) ((arg1)->net_wm_state_sticky);
3872     
3873     resultobj = PyInt_FromLong((long)result);
3874     return resultobj;
3875     fail:
3876     return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_set(PyObject *self, PyObject *args) {
3881     PyObject *resultobj;
3882     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3883     Atom arg2 ;
3884     PyObject * obj0  = 0 ;
3885     PyObject * obj1  = 0 ;
3886     
3887     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_vert_set",&obj0,&obj1)) goto fail;
3888     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889     arg2 = (Atom) PyInt_AsLong(obj1);
3890     if (PyErr_Occurred()) SWIG_fail;
3891     if (arg1) (arg1)->net_wm_state_maximized_vert = arg2;
3892     
3893     Py_INCREF(Py_None); resultobj = Py_None;
3894     return resultobj;
3895     fail:
3896     return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_Atoms_net_wm_state_maximized_vert_get(PyObject *self, PyObject *args) {
3901     PyObject *resultobj;
3902     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3903     Atom result;
3904     PyObject * obj0  = 0 ;
3905     
3906     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_vert_get",&obj0)) goto fail;
3907     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3908     result = (Atom) ((arg1)->net_wm_state_maximized_vert);
3909     
3910     resultobj = PyInt_FromLong((long)result);
3911     return resultobj;
3912     fail:
3913     return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_set(PyObject *self, PyObject *args) {
3918     PyObject *resultobj;
3919     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3920     Atom arg2 ;
3921     PyObject * obj0  = 0 ;
3922     PyObject * obj1  = 0 ;
3923     
3924     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_maximized_horz_set",&obj0,&obj1)) goto fail;
3925     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3926     arg2 = (Atom) PyInt_AsLong(obj1);
3927     if (PyErr_Occurred()) SWIG_fail;
3928     if (arg1) (arg1)->net_wm_state_maximized_horz = arg2;
3929     
3930     Py_INCREF(Py_None); resultobj = Py_None;
3931     return resultobj;
3932     fail:
3933     return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_Atoms_net_wm_state_maximized_horz_get(PyObject *self, PyObject *args) {
3938     PyObject *resultobj;
3939     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3940     Atom result;
3941     PyObject * obj0  = 0 ;
3942     
3943     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_maximized_horz_get",&obj0)) goto fail;
3944     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3945     result = (Atom) ((arg1)->net_wm_state_maximized_horz);
3946     
3947     resultobj = PyInt_FromLong((long)result);
3948     return resultobj;
3949     fail:
3950     return NULL;
3951 }
3952
3953
3954 static PyObject *_wrap_Atoms_net_wm_state_shaded_set(PyObject *self, PyObject *args) {
3955     PyObject *resultobj;
3956     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3957     Atom arg2 ;
3958     PyObject * obj0  = 0 ;
3959     PyObject * obj1  = 0 ;
3960     
3961     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_shaded_set",&obj0,&obj1)) goto fail;
3962     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3963     arg2 = (Atom) PyInt_AsLong(obj1);
3964     if (PyErr_Occurred()) SWIG_fail;
3965     if (arg1) (arg1)->net_wm_state_shaded = arg2;
3966     
3967     Py_INCREF(Py_None); resultobj = Py_None;
3968     return resultobj;
3969     fail:
3970     return NULL;
3971 }
3972
3973
3974 static PyObject *_wrap_Atoms_net_wm_state_shaded_get(PyObject *self, PyObject *args) {
3975     PyObject *resultobj;
3976     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3977     Atom result;
3978     PyObject * obj0  = 0 ;
3979     
3980     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_shaded_get",&obj0)) goto fail;
3981     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3982     result = (Atom) ((arg1)->net_wm_state_shaded);
3983     
3984     resultobj = PyInt_FromLong((long)result);
3985     return resultobj;
3986     fail:
3987     return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_set(PyObject *self, PyObject *args) {
3992     PyObject *resultobj;
3993     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
3994     Atom arg2 ;
3995     PyObject * obj0  = 0 ;
3996     PyObject * obj1  = 0 ;
3997     
3998     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_taskbar_set",&obj0,&obj1)) goto fail;
3999     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4000     arg2 = (Atom) PyInt_AsLong(obj1);
4001     if (PyErr_Occurred()) SWIG_fail;
4002     if (arg1) (arg1)->net_wm_state_skip_taskbar = arg2;
4003     
4004     Py_INCREF(Py_None); resultobj = Py_None;
4005     return resultobj;
4006     fail:
4007     return NULL;
4008 }
4009
4010
4011 static PyObject *_wrap_Atoms_net_wm_state_skip_taskbar_get(PyObject *self, PyObject *args) {
4012     PyObject *resultobj;
4013     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4014     Atom result;
4015     PyObject * obj0  = 0 ;
4016     
4017     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_taskbar_get",&obj0)) goto fail;
4018     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019     result = (Atom) ((arg1)->net_wm_state_skip_taskbar);
4020     
4021     resultobj = PyInt_FromLong((long)result);
4022     return resultobj;
4023     fail:
4024     return NULL;
4025 }
4026
4027
4028 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_set(PyObject *self, PyObject *args) {
4029     PyObject *resultobj;
4030     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4031     Atom arg2 ;
4032     PyObject * obj0  = 0 ;
4033     PyObject * obj1  = 0 ;
4034     
4035     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_skip_pager_set",&obj0,&obj1)) goto fail;
4036     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037     arg2 = (Atom) PyInt_AsLong(obj1);
4038     if (PyErr_Occurred()) SWIG_fail;
4039     if (arg1) (arg1)->net_wm_state_skip_pager = arg2;
4040     
4041     Py_INCREF(Py_None); resultobj = Py_None;
4042     return resultobj;
4043     fail:
4044     return NULL;
4045 }
4046
4047
4048 static PyObject *_wrap_Atoms_net_wm_state_skip_pager_get(PyObject *self, PyObject *args) {
4049     PyObject *resultobj;
4050     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4051     Atom result;
4052     PyObject * obj0  = 0 ;
4053     
4054     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_skip_pager_get",&obj0)) goto fail;
4055     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4056     result = (Atom) ((arg1)->net_wm_state_skip_pager);
4057     
4058     resultobj = PyInt_FromLong((long)result);
4059     return resultobj;
4060     fail:
4061     return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_Atoms_net_wm_state_hidden_set(PyObject *self, PyObject *args) {
4066     PyObject *resultobj;
4067     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4068     Atom arg2 ;
4069     PyObject * obj0  = 0 ;
4070     PyObject * obj1  = 0 ;
4071     
4072     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_hidden_set",&obj0,&obj1)) goto fail;
4073     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4074     arg2 = (Atom) PyInt_AsLong(obj1);
4075     if (PyErr_Occurred()) SWIG_fail;
4076     if (arg1) (arg1)->net_wm_state_hidden = arg2;
4077     
4078     Py_INCREF(Py_None); resultobj = Py_None;
4079     return resultobj;
4080     fail:
4081     return NULL;
4082 }
4083
4084
4085 static PyObject *_wrap_Atoms_net_wm_state_hidden_get(PyObject *self, PyObject *args) {
4086     PyObject *resultobj;
4087     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4088     Atom result;
4089     PyObject * obj0  = 0 ;
4090     
4091     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_hidden_get",&obj0)) goto fail;
4092     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4093     result = (Atom) ((arg1)->net_wm_state_hidden);
4094     
4095     resultobj = PyInt_FromLong((long)result);
4096     return resultobj;
4097     fail:
4098     return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_set(PyObject *self, PyObject *args) {
4103     PyObject *resultobj;
4104     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4105     Atom arg2 ;
4106     PyObject * obj0  = 0 ;
4107     PyObject * obj1  = 0 ;
4108     
4109     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_fullscreen_set",&obj0,&obj1)) goto fail;
4110     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4111     arg2 = (Atom) PyInt_AsLong(obj1);
4112     if (PyErr_Occurred()) SWIG_fail;
4113     if (arg1) (arg1)->net_wm_state_fullscreen = arg2;
4114     
4115     Py_INCREF(Py_None); resultobj = Py_None;
4116     return resultobj;
4117     fail:
4118     return NULL;
4119 }
4120
4121
4122 static PyObject *_wrap_Atoms_net_wm_state_fullscreen_get(PyObject *self, PyObject *args) {
4123     PyObject *resultobj;
4124     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4125     Atom result;
4126     PyObject * obj0  = 0 ;
4127     
4128     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_fullscreen_get",&obj0)) goto fail;
4129     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4130     result = (Atom) ((arg1)->net_wm_state_fullscreen);
4131     
4132     resultobj = PyInt_FromLong((long)result);
4133     return resultobj;
4134     fail:
4135     return NULL;
4136 }
4137
4138
4139 static PyObject *_wrap_Atoms_net_wm_state_above_set(PyObject *self, PyObject *args) {
4140     PyObject *resultobj;
4141     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4142     Atom arg2 ;
4143     PyObject * obj0  = 0 ;
4144     PyObject * obj1  = 0 ;
4145     
4146     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_above_set",&obj0,&obj1)) goto fail;
4147     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4148     arg2 = (Atom) PyInt_AsLong(obj1);
4149     if (PyErr_Occurred()) SWIG_fail;
4150     if (arg1) (arg1)->net_wm_state_above = arg2;
4151     
4152     Py_INCREF(Py_None); resultobj = Py_None;
4153     return resultobj;
4154     fail:
4155     return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_Atoms_net_wm_state_above_get(PyObject *self, PyObject *args) {
4160     PyObject *resultobj;
4161     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4162     Atom result;
4163     PyObject * obj0  = 0 ;
4164     
4165     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_above_get",&obj0)) goto fail;
4166     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4167     result = (Atom) ((arg1)->net_wm_state_above);
4168     
4169     resultobj = PyInt_FromLong((long)result);
4170     return resultobj;
4171     fail:
4172     return NULL;
4173 }
4174
4175
4176 static PyObject *_wrap_Atoms_net_wm_state_below_set(PyObject *self, PyObject *args) {
4177     PyObject *resultobj;
4178     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4179     Atom arg2 ;
4180     PyObject * obj0  = 0 ;
4181     PyObject * obj1  = 0 ;
4182     
4183     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_net_wm_state_below_set",&obj0,&obj1)) goto fail;
4184     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4185     arg2 = (Atom) PyInt_AsLong(obj1);
4186     if (PyErr_Occurred()) SWIG_fail;
4187     if (arg1) (arg1)->net_wm_state_below = arg2;
4188     
4189     Py_INCREF(Py_None); resultobj = Py_None;
4190     return resultobj;
4191     fail:
4192     return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_Atoms_net_wm_state_below_get(PyObject *self, PyObject *args) {
4197     PyObject *resultobj;
4198     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4199     Atom result;
4200     PyObject * obj0  = 0 ;
4201     
4202     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_net_wm_state_below_get",&obj0)) goto fail;
4203     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4204     result = (Atom) ((arg1)->net_wm_state_below);
4205     
4206     resultobj = PyInt_FromLong((long)result);
4207     return resultobj;
4208     fail:
4209     return NULL;
4210 }
4211
4212
4213 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_set(PyObject *self, PyObject *args) {
4214     PyObject *resultobj;
4215     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4216     Atom arg2 ;
4217     PyObject * obj0  = 0 ;
4218     PyObject * obj1  = 0 ;
4219     
4220     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_system_tray_windows_set",&obj0,&obj1)) goto fail;
4221     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4222     arg2 = (Atom) PyInt_AsLong(obj1);
4223     if (PyErr_Occurred()) SWIG_fail;
4224     if (arg1) (arg1)->kde_net_system_tray_windows = arg2;
4225     
4226     Py_INCREF(Py_None); resultobj = Py_None;
4227     return resultobj;
4228     fail:
4229     return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_Atoms_kde_net_system_tray_windows_get(PyObject *self, PyObject *args) {
4234     PyObject *resultobj;
4235     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4236     Atom result;
4237     PyObject * obj0  = 0 ;
4238     
4239     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_system_tray_windows_get",&obj0)) goto fail;
4240     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241     result = (Atom) ((arg1)->kde_net_system_tray_windows);
4242     
4243     resultobj = PyInt_FromLong((long)result);
4244     return resultobj;
4245     fail:
4246     return NULL;
4247 }
4248
4249
4250 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_set(PyObject *self, PyObject *args) {
4251     PyObject *resultobj;
4252     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4253     Atom arg2 ;
4254     PyObject * obj0  = 0 ;
4255     PyObject * obj1  = 0 ;
4256     
4257     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_system_tray_window_for_set",&obj0,&obj1)) goto fail;
4258     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259     arg2 = (Atom) PyInt_AsLong(obj1);
4260     if (PyErr_Occurred()) SWIG_fail;
4261     if (arg1) (arg1)->kde_net_wm_system_tray_window_for = arg2;
4262     
4263     Py_INCREF(Py_None); resultobj = Py_None;
4264     return resultobj;
4265     fail:
4266     return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_Atoms_kde_net_wm_system_tray_window_for_get(PyObject *self, PyObject *args) {
4271     PyObject *resultobj;
4272     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4273     Atom result;
4274     PyObject * obj0  = 0 ;
4275     
4276     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_system_tray_window_for_get",&obj0)) goto fail;
4277     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4278     result = (Atom) ((arg1)->kde_net_wm_system_tray_window_for);
4279     
4280     resultobj = PyInt_FromLong((long)result);
4281     return resultobj;
4282     fail:
4283     return NULL;
4284 }
4285
4286
4287 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_set(PyObject *self, PyObject *args) {
4288     PyObject *resultobj;
4289     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4290     Atom arg2 ;
4291     PyObject * obj0  = 0 ;
4292     PyObject * obj1  = 0 ;
4293     
4294     if(!PyArg_ParseTuple(args,(char *)"OO:Atoms_kde_net_wm_window_type_override_set",&obj0,&obj1)) goto fail;
4295     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296     arg2 = (Atom) PyInt_AsLong(obj1);
4297     if (PyErr_Occurred()) SWIG_fail;
4298     if (arg1) (arg1)->kde_net_wm_window_type_override = arg2;
4299     
4300     Py_INCREF(Py_None); resultobj = Py_None;
4301     return resultobj;
4302     fail:
4303     return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_Atoms_kde_net_wm_window_type_override_get(PyObject *self, PyObject *args) {
4308     PyObject *resultobj;
4309     otk::Atoms *arg1 = (otk::Atoms *) 0 ;
4310     Atom result;
4311     PyObject * obj0  = 0 ;
4312     
4313     if(!PyArg_ParseTuple(args,(char *)"O:Atoms_kde_net_wm_window_type_override_get",&obj0)) goto fail;
4314     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Atoms,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4315     result = (Atom) ((arg1)->kde_net_wm_window_type_override);
4316     
4317     resultobj = PyInt_FromLong((long)result);
4318     return resultobj;
4319     fail:
4320     return NULL;
4321 }
4322
4323
4324 static PyObject * Atoms_swigregister(PyObject *self, PyObject *args) {
4325     PyObject *obj;
4326     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4327     SWIG_TypeClientData(SWIGTYPE_p_otk__Atoms, obj);
4328     Py_INCREF(obj);
4329     return Py_BuildValue((char *)"");
4330 }
4331 static PyObject *_wrap_Property_initialize(PyObject *self, PyObject *args) {
4332     PyObject *resultobj;
4333     
4334     if(!PyArg_ParseTuple(args,(char *)":Property_initialize")) goto fail;
4335     otk::Property::initialize();
4336     
4337     Py_INCREF(Py_None); resultobj = Py_None;
4338     return resultobj;
4339     fail:
4340     return NULL;
4341 }
4342
4343
4344 static PyObject *_wrap_Property_set__SWIG_0(PyObject *self, PyObject *args) {
4345     PyObject *resultobj;
4346     Window arg1 ;
4347     Atom arg2 ;
4348     Atom arg3 ;
4349     unsigned long arg4 ;
4350     PyObject * obj0  = 0 ;
4351     PyObject * obj1  = 0 ;
4352     PyObject * obj2  = 0 ;
4353     PyObject * obj3  = 0 ;
4354     
4355     if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_set",&obj0,&obj1,&obj2,&obj3)) goto fail;
4356     arg1 = (Window) PyInt_AsLong(obj0);
4357     if (PyErr_Occurred()) SWIG_fail;
4358     arg2 = (Atom) PyInt_AsLong(obj1);
4359     if (PyErr_Occurred()) SWIG_fail;
4360     arg3 = (Atom) PyInt_AsLong(obj2);
4361     if (PyErr_Occurred()) SWIG_fail;
4362     arg4 = (unsigned long) PyInt_AsLong(obj3);
4363     if (PyErr_Occurred()) SWIG_fail;
4364     otk::Property::set(arg1,arg2,arg3,arg4);
4365     
4366     Py_INCREF(Py_None); resultobj = Py_None;
4367     return resultobj;
4368     fail:
4369     return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_Property_set__SWIG_1(PyObject *self, PyObject *args) {
4374     PyObject *resultobj;
4375     Window arg1 ;
4376     Atom arg2 ;
4377     Atom arg3 ;
4378     unsigned long *arg4 ;
4379     int arg5 ;
4380     PyObject * obj0  = 0 ;
4381     PyObject * obj1  = 0 ;
4382     PyObject * obj2  = 0 ;
4383     PyObject * obj3  = 0 ;
4384     
4385     if(!PyArg_ParseTuple(args,(char *)"OOOOi:Property_set",&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
4386     arg1 = (Window) PyInt_AsLong(obj0);
4387     if (PyErr_Occurred()) SWIG_fail;
4388     arg2 = (Atom) PyInt_AsLong(obj1);
4389     if (PyErr_Occurred()) SWIG_fail;
4390     arg3 = (Atom) PyInt_AsLong(obj2);
4391     if (PyErr_Occurred()) SWIG_fail;
4392     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4393     otk::Property::set(arg1,arg2,arg3,arg4,arg5);
4394     
4395     Py_INCREF(Py_None); resultobj = Py_None;
4396     return resultobj;
4397     fail:
4398     return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_Property_set__SWIG_2(PyObject *self, PyObject *args) {
4403     PyObject *resultobj;
4404     Window arg1 ;
4405     Atom arg2 ;
4406     int arg3 ;
4407     otk::ustring *arg4 = 0 ;
4408     otk::ustring temp4 ;
4409     PyObject * obj0  = 0 ;
4410     PyObject * obj1  = 0 ;
4411     PyObject * obj3  = 0 ;
4412     
4413     if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4414     arg1 = (Window) PyInt_AsLong(obj0);
4415     if (PyErr_Occurred()) SWIG_fail;
4416     arg2 = (Atom) PyInt_AsLong(obj1);
4417     if (PyErr_Occurred()) SWIG_fail;
4418     {
4419         if (PyString_Check(obj3)) {
4420             temp4 = otk::ustring(PyString_AsString(obj3));
4421             arg4 = &temp4;
4422         }else {
4423             SWIG_exception(SWIG_TypeError, "ustring expected");
4424         }
4425     }
4426     otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::ustring const &)*arg4);
4427     
4428     Py_INCREF(Py_None); resultobj = Py_None;
4429     return resultobj;
4430     fail:
4431     return NULL;
4432 }
4433
4434
4435 static PyObject *_wrap_Property_set__SWIG_3(PyObject *self, PyObject *args) {
4436     PyObject *resultobj;
4437     Window arg1 ;
4438     Atom arg2 ;
4439     int arg3 ;
4440     otk::Property::StringVect *arg4 = 0 ;
4441     PyObject * obj0  = 0 ;
4442     PyObject * obj1  = 0 ;
4443     PyObject * obj3  = 0 ;
4444     
4445     if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_set",&obj0,&obj1,&arg3,&obj3)) goto fail;
4446     arg1 = (Window) PyInt_AsLong(obj0);
4447     if (PyErr_Occurred()) SWIG_fail;
4448     arg2 = (Atom) PyInt_AsLong(obj1);
4449     if (PyErr_Occurred()) SWIG_fail;
4450     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451     if (arg4 == NULL) {
4452         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4453     }
4454     otk::Property::set(arg1,arg2,(otk::Property::StringType )arg3,(otk::Property::StringVect const &)*arg4);
4455     
4456     Py_INCREF(Py_None); resultobj = Py_None;
4457     return resultobj;
4458     fail:
4459     return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_Property_set(PyObject *self, PyObject *args) {
4464     int argc;
4465     PyObject *argv[6];
4466     int ii;
4467     
4468     argc = PyObject_Length(args);
4469     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4470         argv[ii] = PyTuple_GetItem(args,ii);
4471     }
4472     if (argc == 4) {
4473         int _v;
4474         {
4475             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4476         }
4477         if (_v) {
4478             {
4479                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4480             }
4481             if (_v) {
4482                 {
4483                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4484                 }
4485                 if (_v) {
4486                     {
4487                         void *ptr;
4488                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4489                             _v = 0;
4490                             PyErr_Clear();
4491                         }else {
4492                             _v = 1;
4493                         }
4494                     }
4495                     if (_v) {
4496                         return _wrap_Property_set__SWIG_3(self,args);
4497                     }
4498                 }
4499             }
4500         }
4501     }
4502     if (argc == 4) {
4503         int _v;
4504         {
4505             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4506         }
4507         if (_v) {
4508             {
4509                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4510             }
4511             if (_v) {
4512                 {
4513                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4514                 }
4515                 if (_v) {
4516                     {
4517                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4518                     }
4519                     if (_v) {
4520                         return _wrap_Property_set__SWIG_0(self,args);
4521                     }
4522                 }
4523             }
4524         }
4525     }
4526     if (argc == 4) {
4527         int _v;
4528         {
4529             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4530         }
4531         if (_v) {
4532             {
4533                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4534             }
4535             if (_v) {
4536                 {
4537                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4538                 }
4539                 if (_v) {
4540                     {
4541                         _v = PyString_Check(argv[3]) ? 1 : 0;
4542                     }
4543                     if (_v) {
4544                         return _wrap_Property_set__SWIG_2(self,args);
4545                     }
4546                 }
4547             }
4548         }
4549     }
4550     if (argc == 5) {
4551         int _v;
4552         {
4553             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4554         }
4555         if (_v) {
4556             {
4557                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4558             }
4559             if (_v) {
4560                 {
4561                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4562                 }
4563                 if (_v) {
4564                     {
4565                         void *ptr;
4566                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4567                             _v = 0;
4568                             PyErr_Clear();
4569                         }else {
4570                             _v = 1;
4571                         }
4572                     }
4573                     if (_v) {
4574                         {
4575                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
4576                         }
4577                         if (_v) {
4578                             return _wrap_Property_set__SWIG_1(self,args);
4579                         }
4580                     }
4581                 }
4582             }
4583         }
4584     }
4585     
4586     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_set'");
4587     return NULL;
4588 }
4589
4590
4591 static PyObject *_wrap_Property_get__SWIG_0(PyObject *self, PyObject *args) {
4592     PyObject *resultobj;
4593     Window arg1 ;
4594     Atom arg2 ;
4595     Atom arg3 ;
4596     unsigned long *arg4 = (unsigned long *) 0 ;
4597     unsigned long **arg5 = (unsigned long **) 0 ;
4598     bool result;
4599     PyObject * obj0  = 0 ;
4600     PyObject * obj1  = 0 ;
4601     PyObject * obj2  = 0 ;
4602     PyObject * obj3  = 0 ;
4603     PyObject * obj4  = 0 ;
4604     
4605     if(!PyArg_ParseTuple(args,(char *)"OOOOO:Property_get",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4606     arg1 = (Window) PyInt_AsLong(obj0);
4607     if (PyErr_Occurred()) SWIG_fail;
4608     arg2 = (Atom) PyInt_AsLong(obj1);
4609     if (PyErr_Occurred()) SWIG_fail;
4610     arg3 = (Atom) PyInt_AsLong(obj2);
4611     if (PyErr_Occurred()) SWIG_fail;
4612     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4613     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4614     result = (bool)otk::Property::get(arg1,arg2,arg3,arg4,arg5);
4615     
4616     resultobj = PyInt_FromLong((long)result);
4617     return resultobj;
4618     fail:
4619     return NULL;
4620 }
4621
4622
4623 static PyObject *_wrap_Property_get__SWIG_1(PyObject *self, PyObject *args) {
4624     PyObject *resultobj;
4625     Window arg1 ;
4626     Atom arg2 ;
4627     Atom arg3 ;
4628     unsigned long *arg4 = (unsigned long *) 0 ;
4629     bool result;
4630     PyObject * obj0  = 0 ;
4631     PyObject * obj1  = 0 ;
4632     PyObject * obj2  = 0 ;
4633     PyObject * obj3  = 0 ;
4634     
4635     if(!PyArg_ParseTuple(args,(char *)"OOOO:Property_get",&obj0,&obj1,&obj2,&obj3)) goto fail;
4636     arg1 = (Window) PyInt_AsLong(obj0);
4637     if (PyErr_Occurred()) SWIG_fail;
4638     arg2 = (Atom) PyInt_AsLong(obj1);
4639     if (PyErr_Occurred()) SWIG_fail;
4640     arg3 = (Atom) PyInt_AsLong(obj2);
4641     if (PyErr_Occurred()) SWIG_fail;
4642     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643     result = (bool)otk::Property::get(arg1,arg2,arg3,arg4);
4644     
4645     resultobj = PyInt_FromLong((long)result);
4646     return resultobj;
4647     fail:
4648     return NULL;
4649 }
4650
4651
4652 static PyObject *_wrap_Property_get__SWIG_2(PyObject *self, PyObject *args) {
4653     PyObject *resultobj;
4654     Window arg1 ;
4655     Atom arg2 ;
4656     int arg3 ;
4657     otk::ustring *arg4 = (otk::ustring *) 0 ;
4658     bool result;
4659     PyObject * obj0  = 0 ;
4660     PyObject * obj1  = 0 ;
4661     PyObject * obj3  = 0 ;
4662     
4663     if(!PyArg_ParseTuple(args,(char *)"OOiO:Property_get",&obj0,&obj1,&arg3,&obj3)) goto fail;
4664     arg1 = (Window) PyInt_AsLong(obj0);
4665     if (PyErr_Occurred()) SWIG_fail;
4666     arg2 = (Atom) PyInt_AsLong(obj1);
4667     if (PyErr_Occurred()) SWIG_fail;
4668     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__ustring,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669     result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4);
4670     
4671     resultobj = PyInt_FromLong((long)result);
4672     return resultobj;
4673     fail:
4674     return NULL;
4675 }
4676
4677
4678 static PyObject *_wrap_Property_get__SWIG_3(PyObject *self, PyObject *args) {
4679     PyObject *resultobj;
4680     Window arg1 ;
4681     Atom arg2 ;
4682     int arg3 ;
4683     unsigned long *arg4 = (unsigned long *) 0 ;
4684     otk::Property::StringVect *arg5 = (otk::Property::StringVect *) 0 ;
4685     bool result;
4686     PyObject * obj0  = 0 ;
4687     PyObject * obj1  = 0 ;
4688     PyObject * obj3  = 0 ;
4689     PyObject * obj4  = 0 ;
4690     
4691     if(!PyArg_ParseTuple(args,(char *)"OOiOO:Property_get",&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
4692     arg1 = (Window) PyInt_AsLong(obj0);
4693     if (PyErr_Occurred()) SWIG_fail;
4694     arg2 = (Atom) PyInt_AsLong(obj1);
4695     if (PyErr_Occurred()) SWIG_fail;
4696     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4697     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__Property__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698     result = (bool)otk::Property::get(arg1,arg2,(otk::Property::StringType )arg3,arg4,arg5);
4699     
4700     resultobj = PyInt_FromLong((long)result);
4701     return resultobj;
4702     fail:
4703     return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_Property_get(PyObject *self, PyObject *args) {
4708     int argc;
4709     PyObject *argv[6];
4710     int ii;
4711     
4712     argc = PyObject_Length(args);
4713     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
4714         argv[ii] = PyTuple_GetItem(args,ii);
4715     }
4716     if (argc == 4) {
4717         int _v;
4718         {
4719             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4720         }
4721         if (_v) {
4722             {
4723                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4724             }
4725             if (_v) {
4726                 {
4727                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4728                 }
4729                 if (_v) {
4730                     {
4731                         void *ptr;
4732                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4733                             _v = 0;
4734                             PyErr_Clear();
4735                         }else {
4736                             _v = 1;
4737                         }
4738                     }
4739                     if (_v) {
4740                         return _wrap_Property_get__SWIG_1(self,args);
4741                     }
4742                 }
4743             }
4744         }
4745     }
4746     if (argc == 4) {
4747         int _v;
4748         {
4749             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4750         }
4751         if (_v) {
4752             {
4753                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4754             }
4755             if (_v) {
4756                 {
4757                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4758                 }
4759                 if (_v) {
4760                     {
4761                         void *ptr;
4762                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_otk__ustring, 0) == -1) {
4763                             _v = 0;
4764                             PyErr_Clear();
4765                         }else {
4766                             _v = 1;
4767                         }
4768                     }
4769                     if (_v) {
4770                         return _wrap_Property_get__SWIG_2(self,args);
4771                     }
4772                 }
4773             }
4774         }
4775     }
4776     if (argc == 5) {
4777         int _v;
4778         {
4779             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4780         }
4781         if (_v) {
4782             {
4783                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4784             }
4785             if (_v) {
4786                 {
4787                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4788                 }
4789                 if (_v) {
4790                     {
4791                         void *ptr;
4792                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4793                             _v = 0;
4794                             PyErr_Clear();
4795                         }else {
4796                             _v = 1;
4797                         }
4798                     }
4799                     if (_v) {
4800                         {
4801                             void *ptr;
4802                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
4803                                 _v = 0;
4804                                 PyErr_Clear();
4805                             }else {
4806                                 _v = 1;
4807                             }
4808                         }
4809                         if (_v) {
4810                             return _wrap_Property_get__SWIG_0(self,args);
4811                         }
4812                     }
4813                 }
4814             }
4815         }
4816     }
4817     if (argc == 5) {
4818         int _v;
4819         {
4820             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4821         }
4822         if (_v) {
4823             {
4824                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4825             }
4826             if (_v) {
4827                 {
4828                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4829                 }
4830                 if (_v) {
4831                     {
4832                         void *ptr;
4833                         if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
4834                             _v = 0;
4835                             PyErr_Clear();
4836                         }else {
4837                             _v = 1;
4838                         }
4839                     }
4840                     if (_v) {
4841                         {
4842                             void *ptr;
4843                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__Property__StringVect, 0) == -1) {
4844                                 _v = 0;
4845                                 PyErr_Clear();
4846                             }else {
4847                                 _v = 1;
4848                             }
4849                         }
4850                         if (_v) {
4851                             return _wrap_Property_get__SWIG_3(self,args);
4852                         }
4853                     }
4854                 }
4855             }
4856         }
4857     }
4858     
4859     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Property_get'");
4860     return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_Property_erase(PyObject *self, PyObject *args) {
4865     PyObject *resultobj;
4866     Window arg1 ;
4867     Atom arg2 ;
4868     PyObject * obj0  = 0 ;
4869     PyObject * obj1  = 0 ;
4870     
4871     if(!PyArg_ParseTuple(args,(char *)"OO:Property_erase",&obj0,&obj1)) goto fail;
4872     arg1 = (Window) PyInt_AsLong(obj0);
4873     if (PyErr_Occurred()) SWIG_fail;
4874     arg2 = (Atom) PyInt_AsLong(obj1);
4875     if (PyErr_Occurred()) SWIG_fail;
4876     otk::Property::erase(arg1,arg2);
4877     
4878     Py_INCREF(Py_None); resultobj = Py_None;
4879     return resultobj;
4880     fail:
4881     return NULL;
4882 }
4883
4884
4885 static PyObject * Property_swigregister(PyObject *self, PyObject *args) {
4886     PyObject *obj;
4887     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4888     SWIG_TypeClientData(SWIGTYPE_p_otk__Property, obj);
4889     Py_INCREF(obj);
4890     return Py_BuildValue((char *)"");
4891 }
4892 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
4893     PyObject *resultobj;
4894     otk::Rect *result;
4895     
4896     if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
4897     result = (otk::Rect *)new otk::Rect();
4898     
4899     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
4900     return resultobj;
4901     fail:
4902     return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
4907     PyObject *resultobj;
4908     int arg1 ;
4909     int arg2 ;
4910     int arg3 ;
4911     int arg4 ;
4912     otk::Rect *result;
4913     
4914     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
4915     result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
4916     
4917     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
4918     return resultobj;
4919     fail:
4920     return NULL;
4921 }
4922
4923
4924 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
4925     PyObject *resultobj;
4926     otk::Point *arg1 = 0 ;
4927     otk::Point *arg2 = 0 ;
4928     otk::Rect *result;
4929     PyObject * obj0  = 0 ;
4930     PyObject * obj1  = 0 ;
4931     
4932     if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
4933     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4934     if (arg1 == NULL) {
4935         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4936     }
4937     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938     if (arg2 == NULL) {
4939         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4940     }
4941     result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
4942     
4943     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
4944     return resultobj;
4945     fail:
4946     return NULL;
4947 }
4948
4949
4950 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
4951     PyObject *resultobj;
4952     otk::Rect *arg1 = 0 ;
4953     otk::Rect *result;
4954     PyObject * obj0  = 0 ;
4955     
4956     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
4957     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958     if (arg1 == NULL) {
4959         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4960     }
4961     result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
4962     
4963     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
4964     return resultobj;
4965     fail:
4966     return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
4971     PyObject *resultobj;
4972     XRectangle *arg1 = 0 ;
4973     otk::Rect *result;
4974     PyObject * obj0  = 0 ;
4975     
4976     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
4977     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978     if (arg1 == NULL) {
4979         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4980     }
4981     result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
4982     
4983     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
4984     return resultobj;
4985     fail:
4986     return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
4991     int argc;
4992     PyObject *argv[5];
4993     int ii;
4994     
4995     argc = PyObject_Length(args);
4996     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4997         argv[ii] = PyTuple_GetItem(args,ii);
4998     }
4999     if (argc == 0) {
5000         return _wrap_new_Rect__SWIG_0(self,args);
5001     }
5002     if (argc == 1) {
5003         int _v;
5004         {
5005             void *ptr;
5006             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5007                 _v = 0;
5008                 PyErr_Clear();
5009             }else {
5010                 _v = 1;
5011             }
5012         }
5013         if (_v) {
5014             return _wrap_new_Rect__SWIG_3(self,args);
5015         }
5016     }
5017     if (argc == 1) {
5018         int _v;
5019         {
5020             void *ptr;
5021             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
5022                 _v = 0;
5023                 PyErr_Clear();
5024             }else {
5025                 _v = 1;
5026             }
5027         }
5028         if (_v) {
5029             return _wrap_new_Rect__SWIG_4(self,args);
5030         }
5031     }
5032     if (argc == 2) {
5033         int _v;
5034         {
5035             void *ptr;
5036             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5037                 _v = 0;
5038                 PyErr_Clear();
5039             }else {
5040                 _v = 1;
5041             }
5042         }
5043         if (_v) {
5044             {
5045                 void *ptr;
5046                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5047                     _v = 0;
5048                     PyErr_Clear();
5049                 }else {
5050                     _v = 1;
5051                 }
5052             }
5053             if (_v) {
5054                 return _wrap_new_Rect__SWIG_2(self,args);
5055             }
5056         }
5057     }
5058     if (argc == 4) {
5059         int _v;
5060         {
5061             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
5062         }
5063         if (_v) {
5064             {
5065                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5066             }
5067             if (_v) {
5068                 {
5069                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5070                 }
5071                 if (_v) {
5072                     {
5073                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5074                     }
5075                     if (_v) {
5076                         return _wrap_new_Rect__SWIG_1(self,args);
5077                     }
5078                 }
5079             }
5080         }
5081     }
5082     
5083     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
5084     return NULL;
5085 }
5086
5087
5088 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
5089     PyObject *resultobj;
5090     otk::Rect *arg1 = (otk::Rect *) 0 ;
5091     int result;
5092     PyObject * obj0  = 0 ;
5093     
5094     if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
5095     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096     result = (int)((otk::Rect const *)arg1)->left();
5097     
5098     resultobj = PyInt_FromLong((long)result);
5099     return resultobj;
5100     fail:
5101     return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
5106     PyObject *resultobj;
5107     otk::Rect *arg1 = (otk::Rect *) 0 ;
5108     int result;
5109     PyObject * obj0  = 0 ;
5110     
5111     if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
5112     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113     result = (int)((otk::Rect const *)arg1)->top();
5114     
5115     resultobj = PyInt_FromLong((long)result);
5116     return resultobj;
5117     fail:
5118     return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
5123     PyObject *resultobj;
5124     otk::Rect *arg1 = (otk::Rect *) 0 ;
5125     int result;
5126     PyObject * obj0  = 0 ;
5127     
5128     if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
5129     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5130     result = (int)((otk::Rect const *)arg1)->right();
5131     
5132     resultobj = PyInt_FromLong((long)result);
5133     return resultobj;
5134     fail:
5135     return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
5140     PyObject *resultobj;
5141     otk::Rect *arg1 = (otk::Rect *) 0 ;
5142     int result;
5143     PyObject * obj0  = 0 ;
5144     
5145     if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
5146     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147     result = (int)((otk::Rect const *)arg1)->bottom();
5148     
5149     resultobj = PyInt_FromLong((long)result);
5150     return resultobj;
5151     fail:
5152     return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
5157     PyObject *resultobj;
5158     otk::Rect *arg1 = (otk::Rect *) 0 ;
5159     int result;
5160     PyObject * obj0  = 0 ;
5161     
5162     if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
5163     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164     result = (int)((otk::Rect const *)arg1)->x();
5165     
5166     resultobj = PyInt_FromLong((long)result);
5167     return resultobj;
5168     fail:
5169     return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
5174     PyObject *resultobj;
5175     otk::Rect *arg1 = (otk::Rect *) 0 ;
5176     int result;
5177     PyObject * obj0  = 0 ;
5178     
5179     if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
5180     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5181     result = (int)((otk::Rect const *)arg1)->y();
5182     
5183     resultobj = PyInt_FromLong((long)result);
5184     return resultobj;
5185     fail:
5186     return NULL;
5187 }
5188
5189
5190 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
5191     PyObject *resultobj;
5192     otk::Rect *arg1 = (otk::Rect *) 0 ;
5193     otk::Point result;
5194     PyObject * obj0  = 0 ;
5195     
5196     if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
5197     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198     result = ((otk::Rect const *)arg1)->location();
5199     
5200     {
5201         otk::Point * resultptr;
5202         resultptr = new otk::Point((otk::Point &) result);
5203         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5204     }
5205     return resultobj;
5206     fail:
5207     return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
5212     PyObject *resultobj;
5213     otk::Rect *arg1 = (otk::Rect *) 0 ;
5214     int arg2 ;
5215     PyObject * obj0  = 0 ;
5216     
5217     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
5218     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5219     (arg1)->setX(arg2);
5220     
5221     Py_INCREF(Py_None); resultobj = Py_None;
5222     return resultobj;
5223     fail:
5224     return NULL;
5225 }
5226
5227
5228 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
5229     PyObject *resultobj;
5230     otk::Rect *arg1 = (otk::Rect *) 0 ;
5231     int arg2 ;
5232     PyObject * obj0  = 0 ;
5233     
5234     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
5235     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5236     (arg1)->setY(arg2);
5237     
5238     Py_INCREF(Py_None); resultobj = Py_None;
5239     return resultobj;
5240     fail:
5241     return NULL;
5242 }
5243
5244
5245 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
5246     PyObject *resultobj;
5247     otk::Rect *arg1 = (otk::Rect *) 0 ;
5248     int arg2 ;
5249     int arg3 ;
5250     PyObject * obj0  = 0 ;
5251     
5252     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
5253     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5254     (arg1)->setPos(arg2,arg3);
5255     
5256     Py_INCREF(Py_None); resultobj = Py_None;
5257     return resultobj;
5258     fail:
5259     return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
5264     PyObject *resultobj;
5265     otk::Rect *arg1 = (otk::Rect *) 0 ;
5266     otk::Point *arg2 = 0 ;
5267     PyObject * obj0  = 0 ;
5268     PyObject * obj1  = 0 ;
5269     
5270     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
5271     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5272     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5273     if (arg2 == NULL) {
5274         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5275     }
5276     (arg1)->setPos((otk::Point const &)*arg2);
5277     
5278     Py_INCREF(Py_None); resultobj = Py_None;
5279     return resultobj;
5280     fail:
5281     return NULL;
5282 }
5283
5284
5285 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
5286     int argc;
5287     PyObject *argv[4];
5288     int ii;
5289     
5290     argc = PyObject_Length(args);
5291     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5292         argv[ii] = PyTuple_GetItem(args,ii);
5293     }
5294     if (argc == 2) {
5295         int _v;
5296         {
5297             void *ptr;
5298             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5299                 _v = 0;
5300                 PyErr_Clear();
5301             }else {
5302                 _v = 1;
5303             }
5304         }
5305         if (_v) {
5306             {
5307                 void *ptr;
5308                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5309                     _v = 0;
5310                     PyErr_Clear();
5311                 }else {
5312                     _v = 1;
5313                 }
5314             }
5315             if (_v) {
5316                 return _wrap_Rect_setPos__SWIG_1(self,args);
5317             }
5318         }
5319     }
5320     if (argc == 3) {
5321         int _v;
5322         {
5323             void *ptr;
5324             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5325                 _v = 0;
5326                 PyErr_Clear();
5327             }else {
5328                 _v = 1;
5329             }
5330         }
5331         if (_v) {
5332             {
5333                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5334             }
5335             if (_v) {
5336                 {
5337                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5338                 }
5339                 if (_v) {
5340                     return _wrap_Rect_setPos__SWIG_0(self,args);
5341                 }
5342             }
5343         }
5344     }
5345     
5346     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
5347     return NULL;
5348 }
5349
5350
5351 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
5352     PyObject *resultobj;
5353     otk::Rect *arg1 = (otk::Rect *) 0 ;
5354     int result;
5355     PyObject * obj0  = 0 ;
5356     
5357     if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
5358     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359     result = (int)((otk::Rect const *)arg1)->width();
5360     
5361     resultobj = PyInt_FromLong((long)result);
5362     return resultobj;
5363     fail:
5364     return NULL;
5365 }
5366
5367
5368 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
5369     PyObject *resultobj;
5370     otk::Rect *arg1 = (otk::Rect *) 0 ;
5371     int result;
5372     PyObject * obj0  = 0 ;
5373     
5374     if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
5375     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376     result = (int)((otk::Rect const *)arg1)->height();
5377     
5378     resultobj = PyInt_FromLong((long)result);
5379     return resultobj;
5380     fail:
5381     return NULL;
5382 }
5383
5384
5385 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
5386     PyObject *resultobj;
5387     otk::Rect *arg1 = (otk::Rect *) 0 ;
5388     otk::Point result;
5389     PyObject * obj0  = 0 ;
5390     
5391     if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
5392     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5393     result = ((otk::Rect const *)arg1)->size();
5394     
5395     {
5396         otk::Point * resultptr;
5397         resultptr = new otk::Point((otk::Point &) result);
5398         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
5399     }
5400     return resultobj;
5401     fail:
5402     return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
5407     PyObject *resultobj;
5408     otk::Rect *arg1 = (otk::Rect *) 0 ;
5409     int arg2 ;
5410     PyObject * obj0  = 0 ;
5411     
5412     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
5413     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5414     (arg1)->setWidth(arg2);
5415     
5416     Py_INCREF(Py_None); resultobj = Py_None;
5417     return resultobj;
5418     fail:
5419     return NULL;
5420 }
5421
5422
5423 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
5424     PyObject *resultobj;
5425     otk::Rect *arg1 = (otk::Rect *) 0 ;
5426     int arg2 ;
5427     PyObject * obj0  = 0 ;
5428     
5429     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
5430     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431     (arg1)->setHeight(arg2);
5432     
5433     Py_INCREF(Py_None); resultobj = Py_None;
5434     return resultobj;
5435     fail:
5436     return NULL;
5437 }
5438
5439
5440 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
5441     PyObject *resultobj;
5442     otk::Rect *arg1 = (otk::Rect *) 0 ;
5443     int arg2 ;
5444     int arg3 ;
5445     PyObject * obj0  = 0 ;
5446     
5447     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
5448     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5449     (arg1)->setSize(arg2,arg3);
5450     
5451     Py_INCREF(Py_None); resultobj = Py_None;
5452     return resultobj;
5453     fail:
5454     return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
5459     PyObject *resultobj;
5460     otk::Rect *arg1 = (otk::Rect *) 0 ;
5461     otk::Point *arg2 = 0 ;
5462     PyObject * obj0  = 0 ;
5463     PyObject * obj1  = 0 ;
5464     
5465     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
5466     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5467     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5468     if (arg2 == NULL) {
5469         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5470     }
5471     (arg1)->setSize((otk::Point const &)*arg2);
5472     
5473     Py_INCREF(Py_None); resultobj = Py_None;
5474     return resultobj;
5475     fail:
5476     return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
5481     int argc;
5482     PyObject *argv[4];
5483     int ii;
5484     
5485     argc = PyObject_Length(args);
5486     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5487         argv[ii] = PyTuple_GetItem(args,ii);
5488     }
5489     if (argc == 2) {
5490         int _v;
5491         {
5492             void *ptr;
5493             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5494                 _v = 0;
5495                 PyErr_Clear();
5496             }else {
5497                 _v = 1;
5498             }
5499         }
5500         if (_v) {
5501             {
5502                 void *ptr;
5503                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5504                     _v = 0;
5505                     PyErr_Clear();
5506                 }else {
5507                     _v = 1;
5508                 }
5509             }
5510             if (_v) {
5511                 return _wrap_Rect_setSize__SWIG_1(self,args);
5512             }
5513         }
5514     }
5515     if (argc == 3) {
5516         int _v;
5517         {
5518             void *ptr;
5519             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5520                 _v = 0;
5521                 PyErr_Clear();
5522             }else {
5523                 _v = 1;
5524             }
5525         }
5526         if (_v) {
5527             {
5528                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5529             }
5530             if (_v) {
5531                 {
5532                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5533                 }
5534                 if (_v) {
5535                     return _wrap_Rect_setSize__SWIG_0(self,args);
5536                 }
5537             }
5538         }
5539     }
5540     
5541     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
5542     return NULL;
5543 }
5544
5545
5546 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
5547     PyObject *resultobj;
5548     otk::Rect *arg1 = (otk::Rect *) 0 ;
5549     int arg2 ;
5550     int arg3 ;
5551     int arg4 ;
5552     int arg5 ;
5553     PyObject * obj0  = 0 ;
5554     
5555     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5556     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5557     (arg1)->setRect(arg2,arg3,arg4,arg5);
5558     
5559     Py_INCREF(Py_None); resultobj = Py_None;
5560     return resultobj;
5561     fail:
5562     return NULL;
5563 }
5564
5565
5566 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
5567     PyObject *resultobj;
5568     otk::Rect *arg1 = (otk::Rect *) 0 ;
5569     otk::Point *arg2 = 0 ;
5570     otk::Point *arg3 = 0 ;
5571     PyObject * obj0  = 0 ;
5572     PyObject * obj1  = 0 ;
5573     PyObject * obj2  = 0 ;
5574     
5575     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
5576     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5577     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5578     if (arg2 == NULL) {
5579         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5580     }
5581     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5582     if (arg3 == NULL) {
5583         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5584     }
5585     (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5586     
5587     Py_INCREF(Py_None); resultobj = Py_None;
5588     return resultobj;
5589     fail:
5590     return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
5595     int argc;
5596     PyObject *argv[6];
5597     int ii;
5598     
5599     argc = PyObject_Length(args);
5600     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5601         argv[ii] = PyTuple_GetItem(args,ii);
5602     }
5603     if (argc == 3) {
5604         int _v;
5605         {
5606             void *ptr;
5607             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5608                 _v = 0;
5609                 PyErr_Clear();
5610             }else {
5611                 _v = 1;
5612             }
5613         }
5614         if (_v) {
5615             {
5616                 void *ptr;
5617                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5618                     _v = 0;
5619                     PyErr_Clear();
5620                 }else {
5621                     _v = 1;
5622                 }
5623             }
5624             if (_v) {
5625                 {
5626                     void *ptr;
5627                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5628                         _v = 0;
5629                         PyErr_Clear();
5630                     }else {
5631                         _v = 1;
5632                     }
5633                 }
5634                 if (_v) {
5635                     return _wrap_Rect_setRect__SWIG_1(self,args);
5636                 }
5637             }
5638         }
5639     }
5640     if (argc == 5) {
5641         int _v;
5642         {
5643             void *ptr;
5644             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5645                 _v = 0;
5646                 PyErr_Clear();
5647             }else {
5648                 _v = 1;
5649             }
5650         }
5651         if (_v) {
5652             {
5653                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5654             }
5655             if (_v) {
5656                 {
5657                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5658                 }
5659                 if (_v) {
5660                     {
5661                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5662                     }
5663                     if (_v) {
5664                         {
5665                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5666                         }
5667                         if (_v) {
5668                             return _wrap_Rect_setRect__SWIG_0(self,args);
5669                         }
5670                     }
5671                 }
5672             }
5673         }
5674     }
5675     
5676     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
5677     return NULL;
5678 }
5679
5680
5681 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
5682     PyObject *resultobj;
5683     otk::Rect *arg1 = (otk::Rect *) 0 ;
5684     int arg2 ;
5685     int arg3 ;
5686     int arg4 ;
5687     int arg5 ;
5688     PyObject * obj0  = 0 ;
5689     
5690     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
5691     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5692     (arg1)->setCoords(arg2,arg3,arg4,arg5);
5693     
5694     Py_INCREF(Py_None); resultobj = Py_None;
5695     return resultobj;
5696     fail:
5697     return NULL;
5698 }
5699
5700
5701 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
5702     PyObject *resultobj;
5703     otk::Rect *arg1 = (otk::Rect *) 0 ;
5704     otk::Point *arg2 = 0 ;
5705     otk::Point *arg3 = 0 ;
5706     PyObject * obj0  = 0 ;
5707     PyObject * obj1  = 0 ;
5708     PyObject * obj2  = 0 ;
5709     
5710     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
5711     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5712     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713     if (arg2 == NULL) {
5714         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5715     }
5716     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5717     if (arg3 == NULL) {
5718         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5719     }
5720     (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
5721     
5722     Py_INCREF(Py_None); resultobj = Py_None;
5723     return resultobj;
5724     fail:
5725     return NULL;
5726 }
5727
5728
5729 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
5730     int argc;
5731     PyObject *argv[6];
5732     int ii;
5733     
5734     argc = PyObject_Length(args);
5735     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
5736         argv[ii] = PyTuple_GetItem(args,ii);
5737     }
5738     if (argc == 3) {
5739         int _v;
5740         {
5741             void *ptr;
5742             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5743                 _v = 0;
5744                 PyErr_Clear();
5745             }else {
5746                 _v = 1;
5747             }
5748         }
5749         if (_v) {
5750             {
5751                 void *ptr;
5752                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5753                     _v = 0;
5754                     PyErr_Clear();
5755                 }else {
5756                     _v = 1;
5757                 }
5758             }
5759             if (_v) {
5760                 {
5761                     void *ptr;
5762                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
5763                         _v = 0;
5764                         PyErr_Clear();
5765                     }else {
5766                         _v = 1;
5767                     }
5768                 }
5769                 if (_v) {
5770                     return _wrap_Rect_setCoords__SWIG_1(self,args);
5771                 }
5772             }
5773         }
5774     }
5775     if (argc == 5) {
5776         int _v;
5777         {
5778             void *ptr;
5779             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
5780                 _v = 0;
5781                 PyErr_Clear();
5782             }else {
5783                 _v = 1;
5784             }
5785         }
5786         if (_v) {
5787             {
5788                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
5789             }
5790             if (_v) {
5791                 {
5792                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
5793                 }
5794                 if (_v) {
5795                     {
5796                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5797                     }
5798                     if (_v) {
5799                         {
5800                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5801                         }
5802                         if (_v) {
5803                             return _wrap_Rect_setCoords__SWIG_0(self,args);
5804                         }
5805                     }
5806                 }
5807             }
5808         }
5809     }
5810     
5811     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
5812     return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args) {
5817     PyObject *resultobj;
5818     otk::Rect *arg1 = (otk::Rect *) 0 ;
5819     otk::Rect *arg2 = 0 ;
5820     bool result;
5821     PyObject * obj0  = 0 ;
5822     PyObject * obj1  = 0 ;
5823     
5824     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___eq__",&obj0,&obj1)) goto fail;
5825     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5826     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5827     if (arg2 == NULL) {
5828         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5829     }
5830     result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
5831     
5832     resultobj = PyInt_FromLong((long)result);
5833     return resultobj;
5834     fail:
5835     return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args) {
5840     PyObject *resultobj;
5841     otk::Rect *arg1 = (otk::Rect *) 0 ;
5842     otk::Rect *arg2 = 0 ;
5843     bool result;
5844     PyObject * obj0  = 0 ;
5845     PyObject * obj1  = 0 ;
5846     
5847     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ne__",&obj0,&obj1)) goto fail;
5848     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5849     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5850     if (arg2 == NULL) {
5851         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5852     }
5853     result = (bool)(arg1)->operator !=((otk::Rect const &)*arg2);
5854     
5855     resultobj = PyInt_FromLong((long)result);
5856     return resultobj;
5857     fail:
5858     return NULL;
5859 }
5860
5861
5862 static PyObject *_wrap_Rect___or__(PyObject *self, PyObject *args) {
5863     PyObject *resultobj;
5864     otk::Rect *arg1 = (otk::Rect *) 0 ;
5865     otk::Rect *arg2 = 0 ;
5866     otk::Rect result;
5867     PyObject * obj0  = 0 ;
5868     PyObject * obj1  = 0 ;
5869     
5870     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___or__",&obj0,&obj1)) goto fail;
5871     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873     if (arg2 == NULL) {
5874         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5875     }
5876     result = ((otk::Rect const *)arg1)->operator |((otk::Rect const &)*arg2);
5877     
5878     {
5879         otk::Rect * resultptr;
5880         resultptr = new otk::Rect((otk::Rect &) result);
5881         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
5882     }
5883     return resultobj;
5884     fail:
5885     return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_Rect___and__(PyObject *self, PyObject *args) {
5890     PyObject *resultobj;
5891     otk::Rect *arg1 = (otk::Rect *) 0 ;
5892     otk::Rect *arg2 = 0 ;
5893     otk::Rect result;
5894     PyObject * obj0  = 0 ;
5895     PyObject * obj1  = 0 ;
5896     
5897     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___and__",&obj0,&obj1)) goto fail;
5898     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5899     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900     if (arg2 == NULL) {
5901         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5902     }
5903     result = ((otk::Rect const *)arg1)->operator &((otk::Rect const &)*arg2);
5904     
5905     {
5906         otk::Rect * resultptr;
5907         resultptr = new otk::Rect((otk::Rect &) result);
5908         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Rect, 1);
5909     }
5910     return resultobj;
5911     fail:
5912     return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_Rect___ior__(PyObject *self, PyObject *args) {
5917     PyObject *resultobj;
5918     otk::Rect *arg1 = (otk::Rect *) 0 ;
5919     otk::Rect *arg2 = 0 ;
5920     otk::Rect *result;
5921     PyObject * obj0  = 0 ;
5922     PyObject * obj1  = 0 ;
5923     
5924     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___ior__",&obj0,&obj1)) goto fail;
5925     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5926     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5927     if (arg2 == NULL) {
5928         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5929     }
5930     {
5931         otk::Rect &_result_ref = (arg1)->operator |=((otk::Rect const &)*arg2);
5932         result = (otk::Rect *) &_result_ref;
5933     }
5934     
5935     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
5936     return resultobj;
5937     fail:
5938     return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_Rect___iand__(PyObject *self, PyObject *args) {
5943     PyObject *resultobj;
5944     otk::Rect *arg1 = (otk::Rect *) 0 ;
5945     otk::Rect *arg2 = 0 ;
5946     otk::Rect *result;
5947     PyObject * obj0  = 0 ;
5948     PyObject * obj1  = 0 ;
5949     
5950     if(!PyArg_ParseTuple(args,(char *)"OO:Rect___iand__",&obj0,&obj1)) goto fail;
5951     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5952     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953     if (arg2 == NULL) {
5954         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5955     }
5956     {
5957         otk::Rect &_result_ref = (arg1)->operator &=((otk::Rect const &)*arg2);
5958         result = (otk::Rect *) &_result_ref;
5959     }
5960     
5961     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
5962     return resultobj;
5963     fail:
5964     return NULL;
5965 }
5966
5967
5968 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
5969     PyObject *resultobj;
5970     otk::Rect *arg1 = (otk::Rect *) 0 ;
5971     bool result;
5972     PyObject * obj0  = 0 ;
5973     
5974     if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
5975     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976     result = (bool)((otk::Rect const *)arg1)->valid();
5977     
5978     resultobj = PyInt_FromLong((long)result);
5979     return resultobj;
5980     fail:
5981     return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
5986     PyObject *resultobj;
5987     otk::Rect *arg1 = (otk::Rect *) 0 ;
5988     otk::Rect *arg2 = 0 ;
5989     bool result;
5990     PyObject * obj0  = 0 ;
5991     PyObject * obj1  = 0 ;
5992     
5993     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
5994     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996     if (arg2 == NULL) {
5997         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5998     }
5999     result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
6000     
6001     resultobj = PyInt_FromLong((long)result);
6002     return resultobj;
6003     fail:
6004     return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
6009     PyObject *resultobj;
6010     otk::Rect *arg1 = (otk::Rect *) 0 ;
6011     int arg2 ;
6012     int arg3 ;
6013     bool result;
6014     PyObject * obj0  = 0 ;
6015     
6016     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
6017     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6018     result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
6019     
6020     resultobj = PyInt_FromLong((long)result);
6021     return resultobj;
6022     fail:
6023     return NULL;
6024 }
6025
6026
6027 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
6028     PyObject *resultobj;
6029     otk::Rect *arg1 = (otk::Rect *) 0 ;
6030     otk::Point *arg2 = 0 ;
6031     bool result;
6032     PyObject * obj0  = 0 ;
6033     PyObject * obj1  = 0 ;
6034     
6035     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6036     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6037     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038     if (arg2 == NULL) {
6039         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6040     }
6041     result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
6042     
6043     resultobj = PyInt_FromLong((long)result);
6044     return resultobj;
6045     fail:
6046     return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
6051     PyObject *resultobj;
6052     otk::Rect *arg1 = (otk::Rect *) 0 ;
6053     otk::Rect *arg2 = 0 ;
6054     bool result;
6055     PyObject * obj0  = 0 ;
6056     PyObject * obj1  = 0 ;
6057     
6058     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
6059     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6060     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6061     if (arg2 == NULL) {
6062         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6063     }
6064     result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
6065     
6066     resultobj = PyInt_FromLong((long)result);
6067     return resultobj;
6068     fail:
6069     return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
6074     int argc;
6075     PyObject *argv[4];
6076     int ii;
6077     
6078     argc = PyObject_Length(args);
6079     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6080         argv[ii] = PyTuple_GetItem(args,ii);
6081     }
6082     if (argc == 2) {
6083         int _v;
6084         {
6085             void *ptr;
6086             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6087                 _v = 0;
6088                 PyErr_Clear();
6089             }else {
6090                 _v = 1;
6091             }
6092         }
6093         if (_v) {
6094             {
6095                 void *ptr;
6096                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
6097                     _v = 0;
6098                     PyErr_Clear();
6099                 }else {
6100                     _v = 1;
6101                 }
6102             }
6103             if (_v) {
6104                 return _wrap_Rect_contains__SWIG_1(self,args);
6105             }
6106         }
6107     }
6108     if (argc == 2) {
6109         int _v;
6110         {
6111             void *ptr;
6112             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6113                 _v = 0;
6114                 PyErr_Clear();
6115             }else {
6116                 _v = 1;
6117             }
6118         }
6119         if (_v) {
6120             {
6121                 void *ptr;
6122                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6123                     _v = 0;
6124                     PyErr_Clear();
6125                 }else {
6126                     _v = 1;
6127                 }
6128             }
6129             if (_v) {
6130                 return _wrap_Rect_contains__SWIG_2(self,args);
6131             }
6132         }
6133     }
6134     if (argc == 3) {
6135         int _v;
6136         {
6137             void *ptr;
6138             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
6139                 _v = 0;
6140                 PyErr_Clear();
6141             }else {
6142                 _v = 1;
6143             }
6144         }
6145         if (_v) {
6146             {
6147                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6148             }
6149             if (_v) {
6150                 {
6151                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6152                 }
6153                 if (_v) {
6154                     return _wrap_Rect_contains__SWIG_0(self,args);
6155                 }
6156             }
6157         }
6158     }
6159     
6160     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
6161     return NULL;
6162 }
6163
6164
6165 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
6166     PyObject *obj;
6167     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6168     SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
6169     Py_INCREF(obj);
6170     return Py_BuildValue((char *)"");
6171 }
6172 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
6173     PyObject *resultobj;
6174     unsigned int arg1 ;
6175     otk::ScreenInfo *result;
6176     PyObject * obj0  = 0 ;
6177     
6178     if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
6179     arg1 = (unsigned int) PyInt_AsLong(obj0);
6180     if (PyErr_Occurred()) SWIG_fail;
6181     result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
6182     
6183     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
6184     return resultobj;
6185     fail:
6186     return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
6191     PyObject *resultobj;
6192     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6193     Visual *result;
6194     PyObject * obj0  = 0 ;
6195     
6196     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
6197     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198     result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
6199     
6200     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6201     return resultobj;
6202     fail:
6203     return NULL;
6204 }
6205
6206
6207 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
6208     PyObject *resultobj;
6209     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6210     Window result;
6211     PyObject * obj0  = 0 ;
6212     
6213     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
6214     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6215     result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
6216     
6217     resultobj = PyInt_FromLong((long)result);
6218     return resultobj;
6219     fail:
6220     return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
6225     PyObject *resultobj;
6226     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6227     Colormap result;
6228     PyObject * obj0  = 0 ;
6229     
6230     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
6231     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6232     result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
6233     
6234     resultobj = PyInt_FromLong((long)result);
6235     return resultobj;
6236     fail:
6237     return NULL;
6238 }
6239
6240
6241 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
6242     PyObject *resultobj;
6243     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6244     int result;
6245     PyObject * obj0  = 0 ;
6246     
6247     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
6248     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249     result = (int)((otk::ScreenInfo const *)arg1)->depth();
6250     
6251     resultobj = PyInt_FromLong((long)result);
6252     return resultobj;
6253     fail:
6254     return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
6259     PyObject *resultobj;
6260     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6261     unsigned int result;
6262     PyObject * obj0  = 0 ;
6263     
6264     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
6265     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266     result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
6267     
6268     resultobj = PyInt_FromLong((long)result);
6269     return resultobj;
6270     fail:
6271     return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
6276     PyObject *resultobj;
6277     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6278     otk::Rect *result;
6279     PyObject * obj0  = 0 ;
6280     
6281     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
6282     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6283     {
6284         otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
6285         result = (otk::Rect *) &_result_ref;
6286     }
6287     
6288     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
6289     return resultobj;
6290     fail:
6291     return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
6296     PyObject *resultobj;
6297     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6298     unsigned int result;
6299     PyObject * obj0  = 0 ;
6300     
6301     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
6302     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303     result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
6304     
6305     resultobj = PyInt_FromLong((long)result);
6306     return resultobj;
6307     fail:
6308     return NULL;
6309 }
6310
6311
6312 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
6313     PyObject *resultobj;
6314     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6315     unsigned int result;
6316     PyObject * obj0  = 0 ;
6317     
6318     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
6319     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6320     result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
6321     
6322     resultobj = PyInt_FromLong((long)result);
6323     return resultobj;
6324     fail:
6325     return NULL;
6326 }
6327
6328
6329 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
6330     PyObject *resultobj;
6331     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
6332     std::string *result;
6333     PyObject * obj0  = 0 ;
6334     
6335     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
6336     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6337     {
6338         std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
6339         result = (std::string *) &_result_ref;
6340     }
6341     
6342     {
6343         resultobj = PyString_FromString(result->c_str());
6344     }
6345     return resultobj;
6346     fail:
6347     return NULL;
6348 }
6349
6350
6351 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
6352     PyObject *obj;
6353     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6354     SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
6355     Py_INCREF(obj);
6356     return Py_BuildValue((char *)"");
6357 }
6358 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
6359     PyObject *resultobj;
6360     otk::Strut *arg1 = (otk::Strut *) 0 ;
6361     unsigned int arg2 ;
6362     PyObject * obj0  = 0 ;
6363     PyObject * obj1  = 0 ;
6364     
6365     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
6366     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6367     arg2 = (unsigned int) PyInt_AsLong(obj1);
6368     if (PyErr_Occurred()) SWIG_fail;
6369     if (arg1) (arg1)->top = arg2;
6370     
6371     Py_INCREF(Py_None); resultobj = Py_None;
6372     return resultobj;
6373     fail:
6374     return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
6379     PyObject *resultobj;
6380     otk::Strut *arg1 = (otk::Strut *) 0 ;
6381     unsigned int result;
6382     PyObject * obj0  = 0 ;
6383     
6384     if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
6385     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386     result = (unsigned int) ((arg1)->top);
6387     
6388     resultobj = PyInt_FromLong((long)result);
6389     return resultobj;
6390     fail:
6391     return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
6396     PyObject *resultobj;
6397     otk::Strut *arg1 = (otk::Strut *) 0 ;
6398     unsigned int arg2 ;
6399     PyObject * obj0  = 0 ;
6400     PyObject * obj1  = 0 ;
6401     
6402     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
6403     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6404     arg2 = (unsigned int) PyInt_AsLong(obj1);
6405     if (PyErr_Occurred()) SWIG_fail;
6406     if (arg1) (arg1)->bottom = arg2;
6407     
6408     Py_INCREF(Py_None); resultobj = Py_None;
6409     return resultobj;
6410     fail:
6411     return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
6416     PyObject *resultobj;
6417     otk::Strut *arg1 = (otk::Strut *) 0 ;
6418     unsigned int result;
6419     PyObject * obj0  = 0 ;
6420     
6421     if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
6422     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6423     result = (unsigned int) ((arg1)->bottom);
6424     
6425     resultobj = PyInt_FromLong((long)result);
6426     return resultobj;
6427     fail:
6428     return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
6433     PyObject *resultobj;
6434     otk::Strut *arg1 = (otk::Strut *) 0 ;
6435     unsigned int arg2 ;
6436     PyObject * obj0  = 0 ;
6437     PyObject * obj1  = 0 ;
6438     
6439     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
6440     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6441     arg2 = (unsigned int) PyInt_AsLong(obj1);
6442     if (PyErr_Occurred()) SWIG_fail;
6443     if (arg1) (arg1)->left = arg2;
6444     
6445     Py_INCREF(Py_None); resultobj = Py_None;
6446     return resultobj;
6447     fail:
6448     return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
6453     PyObject *resultobj;
6454     otk::Strut *arg1 = (otk::Strut *) 0 ;
6455     unsigned int result;
6456     PyObject * obj0  = 0 ;
6457     
6458     if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
6459     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6460     result = (unsigned int) ((arg1)->left);
6461     
6462     resultobj = PyInt_FromLong((long)result);
6463     return resultobj;
6464     fail:
6465     return NULL;
6466 }
6467
6468
6469 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
6470     PyObject *resultobj;
6471     otk::Strut *arg1 = (otk::Strut *) 0 ;
6472     unsigned int arg2 ;
6473     PyObject * obj0  = 0 ;
6474     PyObject * obj1  = 0 ;
6475     
6476     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
6477     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6478     arg2 = (unsigned int) PyInt_AsLong(obj1);
6479     if (PyErr_Occurred()) SWIG_fail;
6480     if (arg1) (arg1)->right = arg2;
6481     
6482     Py_INCREF(Py_None); resultobj = Py_None;
6483     return resultobj;
6484     fail:
6485     return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
6490     PyObject *resultobj;
6491     otk::Strut *arg1 = (otk::Strut *) 0 ;
6492     unsigned int result;
6493     PyObject * obj0  = 0 ;
6494     
6495     if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
6496     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6497     result = (unsigned int) ((arg1)->right);
6498     
6499     resultobj = PyInt_FromLong((long)result);
6500     return resultobj;
6501     fail:
6502     return NULL;
6503 }
6504
6505
6506 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
6507     PyObject *resultobj;
6508     otk::Strut *result;
6509     
6510     if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
6511     result = (otk::Strut *)new otk::Strut();
6512     
6513     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6514     return resultobj;
6515     fail:
6516     return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
6521     PyObject *resultobj;
6522     int arg1 ;
6523     int arg2 ;
6524     int arg3 ;
6525     int arg4 ;
6526     otk::Strut *result;
6527     
6528     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
6529     result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
6530     
6531     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
6532     return resultobj;
6533     fail:
6534     return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
6539     int argc;
6540     PyObject *argv[5];
6541     int ii;
6542     
6543     argc = PyObject_Length(args);
6544     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6545         argv[ii] = PyTuple_GetItem(args,ii);
6546     }
6547     if (argc == 0) {
6548         return _wrap_new_Strut__SWIG_0(self,args);
6549     }
6550     if (argc == 4) {
6551         int _v;
6552         {
6553             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6554         }
6555         if (_v) {
6556             {
6557                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6558             }
6559             if (_v) {
6560                 {
6561                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
6562                 }
6563                 if (_v) {
6564                     {
6565                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6566                     }
6567                     if (_v) {
6568                         return _wrap_new_Strut__SWIG_1(self,args);
6569                     }
6570                 }
6571             }
6572         }
6573     }
6574     
6575     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
6576     return NULL;
6577 }
6578
6579
6580 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
6581     PyObject *obj;
6582     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6583     SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
6584     Py_INCREF(obj);
6585     return Py_BuildValue((char *)"");
6586 }
6587 static PyObject *_wrap_EventHandler_handle(PyObject *self, PyObject *args) {
6588     PyObject *resultobj;
6589     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6590     XEvent *arg2 = 0 ;
6591     PyObject * obj0  = 0 ;
6592     PyObject * obj1  = 0 ;
6593     
6594     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_handle",&obj0,&obj1)) goto fail;
6595     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6596     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597     if (arg2 == NULL) {
6598         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6599     }
6600     (arg1)->handle((XEvent const &)*arg2);
6601     
6602     Py_INCREF(Py_None); resultobj = Py_None;
6603     return resultobj;
6604     fail:
6605     return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_EventHandler_keyPressHandler(PyObject *self, PyObject *args) {
6610     PyObject *resultobj;
6611     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6612     XKeyEvent *arg2 = 0 ;
6613     PyObject * obj0  = 0 ;
6614     PyObject * obj1  = 0 ;
6615     
6616     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
6617     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619     if (arg2 == NULL) {
6620         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6621     }
6622     (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
6623     
6624     Py_INCREF(Py_None); resultobj = Py_None;
6625     return resultobj;
6626     fail:
6627     return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_EventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
6632     PyObject *resultobj;
6633     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6634     XKeyEvent *arg2 = 0 ;
6635     PyObject * obj0  = 0 ;
6636     PyObject * obj1  = 0 ;
6637     
6638     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
6639     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6640     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641     if (arg2 == NULL) {
6642         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6643     }
6644     (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
6645     
6646     Py_INCREF(Py_None); resultobj = Py_None;
6647     return resultobj;
6648     fail:
6649     return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_EventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
6654     PyObject *resultobj;
6655     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6656     XButtonEvent *arg2 = 0 ;
6657     PyObject * obj0  = 0 ;
6658     PyObject * obj1  = 0 ;
6659     
6660     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
6661     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6662     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6663     if (arg2 == NULL) {
6664         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6665     }
6666     (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
6667     
6668     Py_INCREF(Py_None); resultobj = Py_None;
6669     return resultobj;
6670     fail:
6671     return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_EventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
6676     PyObject *resultobj;
6677     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6678     XButtonEvent *arg2 = 0 ;
6679     PyObject * obj0  = 0 ;
6680     PyObject * obj1  = 0 ;
6681     
6682     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
6683     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6684     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685     if (arg2 == NULL) {
6686         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6687     }
6688     (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
6689     
6690     Py_INCREF(Py_None); resultobj = Py_None;
6691     return resultobj;
6692     fail:
6693     return NULL;
6694 }
6695
6696
6697 static PyObject *_wrap_EventHandler_motionHandler(PyObject *self, PyObject *args) {
6698     PyObject *resultobj;
6699     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6700     XMotionEvent *arg2 = 0 ;
6701     PyObject * obj0  = 0 ;
6702     PyObject * obj1  = 0 ;
6703     
6704     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_motionHandler",&obj0,&obj1)) goto fail;
6705     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6707     if (arg2 == NULL) {
6708         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6709     }
6710     (arg1)->motionHandler((XMotionEvent const &)*arg2);
6711     
6712     Py_INCREF(Py_None); resultobj = Py_None;
6713     return resultobj;
6714     fail:
6715     return NULL;
6716 }
6717
6718
6719 static PyObject *_wrap_EventHandler_enterHandler(PyObject *self, PyObject *args) {
6720     PyObject *resultobj;
6721     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6722     XCrossingEvent *arg2 = 0 ;
6723     PyObject * obj0  = 0 ;
6724     PyObject * obj1  = 0 ;
6725     
6726     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_enterHandler",&obj0,&obj1)) goto fail;
6727     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729     if (arg2 == NULL) {
6730         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6731     }
6732     (arg1)->enterHandler((XCrossingEvent const &)*arg2);
6733     
6734     Py_INCREF(Py_None); resultobj = Py_None;
6735     return resultobj;
6736     fail:
6737     return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_EventHandler_leaveHandler(PyObject *self, PyObject *args) {
6742     PyObject *resultobj;
6743     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6744     XCrossingEvent *arg2 = 0 ;
6745     PyObject * obj0  = 0 ;
6746     PyObject * obj1  = 0 ;
6747     
6748     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_leaveHandler",&obj0,&obj1)) goto fail;
6749     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6750     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6751     if (arg2 == NULL) {
6752         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6753     }
6754     (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
6755     
6756     Py_INCREF(Py_None); resultobj = Py_None;
6757     return resultobj;
6758     fail:
6759     return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_EventHandler_focusHandler(PyObject *self, PyObject *args) {
6764     PyObject *resultobj;
6765     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6766     XFocusChangeEvent *arg2 = 0 ;
6767     PyObject * obj0  = 0 ;
6768     PyObject * obj1  = 0 ;
6769     
6770     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_focusHandler",&obj0,&obj1)) goto fail;
6771     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6773     if (arg2 == NULL) {
6774         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6775     }
6776     (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
6777     
6778     Py_INCREF(Py_None); resultobj = Py_None;
6779     return resultobj;
6780     fail:
6781     return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_EventHandler_unfocusHandler(PyObject *self, PyObject *args) {
6786     PyObject *resultobj;
6787     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6788     XFocusChangeEvent *arg2 = 0 ;
6789     PyObject * obj0  = 0 ;
6790     PyObject * obj1  = 0 ;
6791     
6792     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
6793     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6795     if (arg2 == NULL) {
6796         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6797     }
6798     (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
6799     
6800     Py_INCREF(Py_None); resultobj = Py_None;
6801     return resultobj;
6802     fail:
6803     return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_EventHandler_exposeHandler(PyObject *self, PyObject *args) {
6808     PyObject *resultobj;
6809     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6810     XExposeEvent *arg2 = 0 ;
6811     PyObject * obj0  = 0 ;
6812     PyObject * obj1  = 0 ;
6813     
6814     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_exposeHandler",&obj0,&obj1)) goto fail;
6815     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6816     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6817     if (arg2 == NULL) {
6818         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6819     }
6820     (arg1)->exposeHandler((XExposeEvent const &)*arg2);
6821     
6822     Py_INCREF(Py_None); resultobj = Py_None;
6823     return resultobj;
6824     fail:
6825     return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_EventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
6830     PyObject *resultobj;
6831     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6832     XGraphicsExposeEvent *arg2 = 0 ;
6833     PyObject * obj0  = 0 ;
6834     PyObject * obj1  = 0 ;
6835     
6836     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
6837     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6838     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6839     if (arg2 == NULL) {
6840         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6841     }
6842     (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
6843     
6844     Py_INCREF(Py_None); resultobj = Py_None;
6845     return resultobj;
6846     fail:
6847     return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_EventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
6852     PyObject *resultobj;
6853     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6854     XNoExposeEvent *arg2 = 0 ;
6855     PyObject * obj0  = 0 ;
6856     PyObject * obj1  = 0 ;
6857     
6858     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
6859     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6860     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6861     if (arg2 == NULL) {
6862         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6863     }
6864     (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
6865     
6866     Py_INCREF(Py_None); resultobj = Py_None;
6867     return resultobj;
6868     fail:
6869     return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_EventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
6874     PyObject *resultobj;
6875     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6876     XCirculateRequestEvent *arg2 = 0 ;
6877     PyObject * obj0  = 0 ;
6878     PyObject * obj1  = 0 ;
6879     
6880     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
6881     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6882     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6883     if (arg2 == NULL) {
6884         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6885     }
6886     (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
6887     
6888     Py_INCREF(Py_None); resultobj = Py_None;
6889     return resultobj;
6890     fail:
6891     return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_EventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
6896     PyObject *resultobj;
6897     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6898     XConfigureRequestEvent *arg2 = 0 ;
6899     PyObject * obj0  = 0 ;
6900     PyObject * obj1  = 0 ;
6901     
6902     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
6903     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6904     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6905     if (arg2 == NULL) {
6906         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6907     }
6908     (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
6909     
6910     Py_INCREF(Py_None); resultobj = Py_None;
6911     return resultobj;
6912     fail:
6913     return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_EventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
6918     PyObject *resultobj;
6919     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6920     XMapRequestEvent *arg2 = 0 ;
6921     PyObject * obj0  = 0 ;
6922     PyObject * obj1  = 0 ;
6923     
6924     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
6925     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6926     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6927     if (arg2 == NULL) {
6928         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6929     }
6930     (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
6931     
6932     Py_INCREF(Py_None); resultobj = Py_None;
6933     return resultobj;
6934     fail:
6935     return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_EventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
6940     PyObject *resultobj;
6941     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6942     XResizeRequestEvent *arg2 = 0 ;
6943     PyObject * obj0  = 0 ;
6944     PyObject * obj1  = 0 ;
6945     
6946     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
6947     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949     if (arg2 == NULL) {
6950         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6951     }
6952     (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
6953     
6954     Py_INCREF(Py_None); resultobj = Py_None;
6955     return resultobj;
6956     fail:
6957     return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_EventHandler_circulateHandler(PyObject *self, PyObject *args) {
6962     PyObject *resultobj;
6963     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6964     XCirculateEvent *arg2 = 0 ;
6965     PyObject * obj0  = 0 ;
6966     PyObject * obj1  = 0 ;
6967     
6968     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_circulateHandler",&obj0,&obj1)) goto fail;
6969     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6970     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6971     if (arg2 == NULL) {
6972         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6973     }
6974     (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
6975     
6976     Py_INCREF(Py_None); resultobj = Py_None;
6977     return resultobj;
6978     fail:
6979     return NULL;
6980 }
6981
6982
6983 static PyObject *_wrap_EventHandler_configureHandler(PyObject *self, PyObject *args) {
6984     PyObject *resultobj;
6985     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
6986     XConfigureEvent *arg2 = 0 ;
6987     PyObject * obj0  = 0 ;
6988     PyObject * obj1  = 0 ;
6989     
6990     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_configureHandler",&obj0,&obj1)) goto fail;
6991     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993     if (arg2 == NULL) {
6994         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6995     }
6996     (arg1)->configureHandler((XConfigureEvent const &)*arg2);
6997     
6998     Py_INCREF(Py_None); resultobj = Py_None;
6999     return resultobj;
7000     fail:
7001     return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_EventHandler_createHandler(PyObject *self, PyObject *args) {
7006     PyObject *resultobj;
7007     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7008     XCreateWindowEvent *arg2 = 0 ;
7009     PyObject * obj0  = 0 ;
7010     PyObject * obj1  = 0 ;
7011     
7012     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_createHandler",&obj0,&obj1)) goto fail;
7013     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7014     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7015     if (arg2 == NULL) {
7016         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7017     }
7018     (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
7019     
7020     Py_INCREF(Py_None); resultobj = Py_None;
7021     return resultobj;
7022     fail:
7023     return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_EventHandler_destroyHandler(PyObject *self, PyObject *args) {
7028     PyObject *resultobj;
7029     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7030     XDestroyWindowEvent *arg2 = 0 ;
7031     PyObject * obj0  = 0 ;
7032     PyObject * obj1  = 0 ;
7033     
7034     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_destroyHandler",&obj0,&obj1)) goto fail;
7035     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037     if (arg2 == NULL) {
7038         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7039     }
7040     (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
7041     
7042     Py_INCREF(Py_None); resultobj = Py_None;
7043     return resultobj;
7044     fail:
7045     return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_EventHandler_gravityHandler(PyObject *self, PyObject *args) {
7050     PyObject *resultobj;
7051     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7052     XGravityEvent *arg2 = 0 ;
7053     PyObject * obj0  = 0 ;
7054     PyObject * obj1  = 0 ;
7055     
7056     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_gravityHandler",&obj0,&obj1)) goto fail;
7057     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7058     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059     if (arg2 == NULL) {
7060         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7061     }
7062     (arg1)->gravityHandler((XGravityEvent const &)*arg2);
7063     
7064     Py_INCREF(Py_None); resultobj = Py_None;
7065     return resultobj;
7066     fail:
7067     return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_EventHandler_mapHandler(PyObject *self, PyObject *args) {
7072     PyObject *resultobj;
7073     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7074     XMapEvent *arg2 = 0 ;
7075     PyObject * obj0  = 0 ;
7076     PyObject * obj1  = 0 ;
7077     
7078     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mapHandler",&obj0,&obj1)) goto fail;
7079     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7081     if (arg2 == NULL) {
7082         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7083     }
7084     (arg1)->mapHandler((XMapEvent const &)*arg2);
7085     
7086     Py_INCREF(Py_None); resultobj = Py_None;
7087     return resultobj;
7088     fail:
7089     return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_EventHandler_mappingHandler(PyObject *self, PyObject *args) {
7094     PyObject *resultobj;
7095     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7096     XMappingEvent *arg2 = 0 ;
7097     PyObject * obj0  = 0 ;
7098     PyObject * obj1  = 0 ;
7099     
7100     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_mappingHandler",&obj0,&obj1)) goto fail;
7101     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7103     if (arg2 == NULL) {
7104         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7105     }
7106     (arg1)->mappingHandler((XMappingEvent const &)*arg2);
7107     
7108     Py_INCREF(Py_None); resultobj = Py_None;
7109     return resultobj;
7110     fail:
7111     return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_EventHandler_reparentHandler(PyObject *self, PyObject *args) {
7116     PyObject *resultobj;
7117     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7118     XReparentEvent *arg2 = 0 ;
7119     PyObject * obj0  = 0 ;
7120     PyObject * obj1  = 0 ;
7121     
7122     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_reparentHandler",&obj0,&obj1)) goto fail;
7123     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7124     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125     if (arg2 == NULL) {
7126         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7127     }
7128     (arg1)->reparentHandler((XReparentEvent const &)*arg2);
7129     
7130     Py_INCREF(Py_None); resultobj = Py_None;
7131     return resultobj;
7132     fail:
7133     return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_EventHandler_unmapHandler(PyObject *self, PyObject *args) {
7138     PyObject *resultobj;
7139     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7140     XUnmapEvent *arg2 = 0 ;
7141     PyObject * obj0  = 0 ;
7142     PyObject * obj1  = 0 ;
7143     
7144     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_unmapHandler",&obj0,&obj1)) goto fail;
7145     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7147     if (arg2 == NULL) {
7148         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7149     }
7150     (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
7151     
7152     Py_INCREF(Py_None); resultobj = Py_None;
7153     return resultobj;
7154     fail:
7155     return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_EventHandler_visibilityHandler(PyObject *self, PyObject *args) {
7160     PyObject *resultobj;
7161     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7162     XVisibilityEvent *arg2 = 0 ;
7163     PyObject * obj0  = 0 ;
7164     PyObject * obj1  = 0 ;
7165     
7166     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
7167     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7168     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169     if (arg2 == NULL) {
7170         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7171     }
7172     (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
7173     
7174     Py_INCREF(Py_None); resultobj = Py_None;
7175     return resultobj;
7176     fail:
7177     return NULL;
7178 }
7179
7180
7181 static PyObject *_wrap_EventHandler_colorMapHandler(PyObject *self, PyObject *args) {
7182     PyObject *resultobj;
7183     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7184     XColormapEvent *arg2 = 0 ;
7185     PyObject * obj0  = 0 ;
7186     PyObject * obj1  = 0 ;
7187     
7188     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
7189     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7190     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7191     if (arg2 == NULL) {
7192         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7193     }
7194     (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
7195     
7196     Py_INCREF(Py_None); resultobj = Py_None;
7197     return resultobj;
7198     fail:
7199     return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_EventHandler_propertyHandler(PyObject *self, PyObject *args) {
7204     PyObject *resultobj;
7205     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7206     XPropertyEvent *arg2 = 0 ;
7207     PyObject * obj0  = 0 ;
7208     PyObject * obj1  = 0 ;
7209     
7210     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_propertyHandler",&obj0,&obj1)) goto fail;
7211     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7212     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7213     if (arg2 == NULL) {
7214         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7215     }
7216     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
7217     
7218     Py_INCREF(Py_None); resultobj = Py_None;
7219     return resultobj;
7220     fail:
7221     return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_EventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
7226     PyObject *resultobj;
7227     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7228     XSelectionClearEvent *arg2 = 0 ;
7229     PyObject * obj0  = 0 ;
7230     PyObject * obj1  = 0 ;
7231     
7232     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
7233     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235     if (arg2 == NULL) {
7236         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7237     }
7238     (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
7239     
7240     Py_INCREF(Py_None); resultobj = Py_None;
7241     return resultobj;
7242     fail:
7243     return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_EventHandler_selectionHandler(PyObject *self, PyObject *args) {
7248     PyObject *resultobj;
7249     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7250     XSelectionEvent *arg2 = 0 ;
7251     PyObject * obj0  = 0 ;
7252     PyObject * obj1  = 0 ;
7253     
7254     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionHandler",&obj0,&obj1)) goto fail;
7255     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257     if (arg2 == NULL) {
7258         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7259     }
7260     (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
7261     
7262     Py_INCREF(Py_None); resultobj = Py_None;
7263     return resultobj;
7264     fail:
7265     return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_EventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
7270     PyObject *resultobj;
7271     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7272     XSelectionRequestEvent *arg2 = 0 ;
7273     PyObject * obj0  = 0 ;
7274     PyObject * obj1  = 0 ;
7275     
7276     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
7277     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7278     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7279     if (arg2 == NULL) {
7280         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7281     }
7282     (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
7283     
7284     Py_INCREF(Py_None); resultobj = Py_None;
7285     return resultobj;
7286     fail:
7287     return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_EventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
7292     PyObject *resultobj;
7293     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7294     XClientMessageEvent *arg2 = 0 ;
7295     PyObject * obj0  = 0 ;
7296     PyObject * obj1  = 0 ;
7297     
7298     if(!PyArg_ParseTuple(args,(char *)"OO:EventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
7299     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7300     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7301     if (arg2 == NULL) {
7302         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7303     }
7304     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
7305     
7306     Py_INCREF(Py_None); resultobj = Py_None;
7307     return resultobj;
7308     fail:
7309     return NULL;
7310 }
7311
7312
7313 static PyObject *_wrap_delete_EventHandler(PyObject *self, PyObject *args) {
7314     PyObject *resultobj;
7315     otk::EventHandler *arg1 = (otk::EventHandler *) 0 ;
7316     PyObject * obj0  = 0 ;
7317     
7318     if(!PyArg_ParseTuple(args,(char *)"O:delete_EventHandler",&obj0)) goto fail;
7319     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7320     delete arg1;
7321     
7322     Py_INCREF(Py_None); resultobj = Py_None;
7323     return resultobj;
7324     fail:
7325     return NULL;
7326 }
7327
7328
7329 static PyObject * EventHandler_swigregister(PyObject *self, PyObject *args) {
7330     PyObject *obj;
7331     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7332     SWIG_TypeClientData(SWIGTYPE_p_otk__EventHandler, obj);
7333     Py_INCREF(obj);
7334     return Py_BuildValue((char *)"");
7335 }
7336 static PyObject *_wrap_new_EventDispatcher(PyObject *self, PyObject *args) {
7337     PyObject *resultobj;
7338     otk::EventDispatcher *result;
7339     
7340     if(!PyArg_ParseTuple(args,(char *)":new_EventDispatcher")) goto fail;
7341     result = (otk::EventDispatcher *)new otk::EventDispatcher();
7342     
7343     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventDispatcher, 1);
7344     return resultobj;
7345     fail:
7346     return NULL;
7347 }
7348
7349
7350 static PyObject *_wrap_delete_EventDispatcher(PyObject *self, PyObject *args) {
7351     PyObject *resultobj;
7352     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7353     PyObject * obj0  = 0 ;
7354     
7355     if(!PyArg_ParseTuple(args,(char *)"O:delete_EventDispatcher",&obj0)) goto fail;
7356     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7357     delete arg1;
7358     
7359     Py_INCREF(Py_None); resultobj = Py_None;
7360     return resultobj;
7361     fail:
7362     return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_EventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
7367     PyObject *resultobj;
7368     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7369     PyObject * obj0  = 0 ;
7370     
7371     if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_clearAllHandlers",&obj0)) goto fail;
7372     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7373     (arg1)->clearAllHandlers();
7374     
7375     Py_INCREF(Py_None); resultobj = Py_None;
7376     return resultobj;
7377     fail:
7378     return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_EventDispatcher_registerHandler(PyObject *self, PyObject *args) {
7383     PyObject *resultobj;
7384     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7385     Window arg2 ;
7386     otk::EventHandler *arg3 = (otk::EventHandler *) 0 ;
7387     PyObject * obj0  = 0 ;
7388     PyObject * obj1  = 0 ;
7389     PyObject * obj2  = 0 ;
7390     
7391     if(!PyArg_ParseTuple(args,(char *)"OOO:EventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
7392     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7393     arg2 = (Window) PyInt_AsLong(obj1);
7394     if (PyErr_Occurred()) SWIG_fail;
7395     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7396     (arg1)->registerHandler(arg2,arg3);
7397     
7398     Py_INCREF(Py_None); resultobj = Py_None;
7399     return resultobj;
7400     fail:
7401     return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_EventDispatcher_clearHandler(PyObject *self, PyObject *args) {
7406     PyObject *resultobj;
7407     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7408     Window arg2 ;
7409     PyObject * obj0  = 0 ;
7410     PyObject * obj1  = 0 ;
7411     
7412     if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
7413     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414     arg2 = (Window) PyInt_AsLong(obj1);
7415     if (PyErr_Occurred()) SWIG_fail;
7416     (arg1)->clearHandler(arg2);
7417     
7418     Py_INCREF(Py_None); resultobj = Py_None;
7419     return resultobj;
7420     fail:
7421     return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_EventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
7426     PyObject *resultobj;
7427     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7428     PyObject * obj0  = 0 ;
7429     
7430     if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_dispatchEvents",&obj0)) goto fail;
7431     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432     (arg1)->dispatchEvents();
7433     
7434     Py_INCREF(Py_None); resultobj = Py_None;
7435     return resultobj;
7436     fail:
7437     return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_EventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
7442     PyObject *resultobj;
7443     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7444     otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7445     PyObject * obj0  = 0 ;
7446     PyObject * obj1  = 0 ;
7447     
7448     if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
7449     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7450     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451     (arg1)->setFallbackHandler(arg2);
7452     
7453     Py_INCREF(Py_None); resultobj = Py_None;
7454     return resultobj;
7455     fail:
7456     return NULL;
7457 }
7458
7459
7460 static PyObject *_wrap_EventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
7461     PyObject *resultobj;
7462     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7463     otk::EventHandler *result;
7464     PyObject * obj0  = 0 ;
7465     
7466     if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getFallbackHandler",&obj0)) goto fail;
7467     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7468     result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getFallbackHandler();
7469     
7470     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7471     return resultobj;
7472     fail:
7473     return NULL;
7474 }
7475
7476
7477 static PyObject *_wrap_EventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
7478     PyObject *resultobj;
7479     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7480     otk::EventHandler *arg2 = (otk::EventHandler *) 0 ;
7481     PyObject * obj0  = 0 ;
7482     PyObject * obj1  = 0 ;
7483     
7484     if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
7485     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__EventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487     (arg1)->setMasterHandler(arg2);
7488     
7489     Py_INCREF(Py_None); resultobj = Py_None;
7490     return resultobj;
7491     fail:
7492     return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_EventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
7497     PyObject *resultobj;
7498     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7499     otk::EventHandler *result;
7500     PyObject * obj0  = 0 ;
7501     
7502     if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_getMasterHandler",&obj0)) goto fail;
7503     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504     result = (otk::EventHandler *)((otk::EventDispatcher const *)arg1)->getMasterHandler();
7505     
7506     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7507     return resultobj;
7508     fail:
7509     return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_EventDispatcher_findHandler(PyObject *self, PyObject *args) {
7514     PyObject *resultobj;
7515     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7516     Window arg2 ;
7517     otk::EventHandler *result;
7518     PyObject * obj0  = 0 ;
7519     PyObject * obj1  = 0 ;
7520     
7521     if(!PyArg_ParseTuple(args,(char *)"OO:EventDispatcher_findHandler",&obj0,&obj1)) goto fail;
7522     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7523     arg2 = (Window) PyInt_AsLong(obj1);
7524     if (PyErr_Occurred()) SWIG_fail;
7525     result = (otk::EventHandler *)(arg1)->findHandler(arg2);
7526     
7527     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__EventHandler, 0);
7528     return resultobj;
7529     fail:
7530     return NULL;
7531 }
7532
7533
7534 static PyObject *_wrap_EventDispatcher_lastTime(PyObject *self, PyObject *args) {
7535     PyObject *resultobj;
7536     otk::EventDispatcher *arg1 = (otk::EventDispatcher *) 0 ;
7537     Time result;
7538     PyObject * obj0  = 0 ;
7539     
7540     if(!PyArg_ParseTuple(args,(char *)"O:EventDispatcher_lastTime",&obj0)) goto fail;
7541     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__EventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7542     result = (Time)((otk::EventDispatcher const *)arg1)->lastTime();
7543     
7544     resultobj = PyInt_FromLong((long)result);
7545     return resultobj;
7546     fail:
7547     return NULL;
7548 }
7549
7550
7551 static PyObject * EventDispatcher_swigregister(PyObject *self, PyObject *args) {
7552     PyObject *obj;
7553     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7554     SWIG_TypeClientData(SWIGTYPE_p_otk__EventDispatcher, obj);
7555     Py_INCREF(obj);
7556     return Py_BuildValue((char *)"");
7557 }
7558 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
7559     PyObject *resultobj;
7560     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7561     Cursor arg2 ;
7562     PyObject * obj0  = 0 ;
7563     PyObject * obj1  = 0 ;
7564     
7565     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
7566     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7567     arg2 = (Cursor) PyInt_AsLong(obj1);
7568     if (PyErr_Occurred()) SWIG_fail;
7569     if (arg1) (arg1)->session = arg2;
7570     
7571     Py_INCREF(Py_None); resultobj = Py_None;
7572     return resultobj;
7573     fail:
7574     return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
7579     PyObject *resultobj;
7580     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7581     Cursor result;
7582     PyObject * obj0  = 0 ;
7583     
7584     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
7585     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7586     result = (Cursor) ((arg1)->session);
7587     
7588     resultobj = PyInt_FromLong((long)result);
7589     return resultobj;
7590     fail:
7591     return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
7596     PyObject *resultobj;
7597     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7598     Cursor arg2 ;
7599     PyObject * obj0  = 0 ;
7600     PyObject * obj1  = 0 ;
7601     
7602     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
7603     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604     arg2 = (Cursor) PyInt_AsLong(obj1);
7605     if (PyErr_Occurred()) SWIG_fail;
7606     if (arg1) (arg1)->move = arg2;
7607     
7608     Py_INCREF(Py_None); resultobj = Py_None;
7609     return resultobj;
7610     fail:
7611     return NULL;
7612 }
7613
7614
7615 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
7616     PyObject *resultobj;
7617     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7618     Cursor result;
7619     PyObject * obj0  = 0 ;
7620     
7621     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
7622     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7623     result = (Cursor) ((arg1)->move);
7624     
7625     resultobj = PyInt_FromLong((long)result);
7626     return resultobj;
7627     fail:
7628     return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
7633     PyObject *resultobj;
7634     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7635     Cursor arg2 ;
7636     PyObject * obj0  = 0 ;
7637     PyObject * obj1  = 0 ;
7638     
7639     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
7640     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641     arg2 = (Cursor) PyInt_AsLong(obj1);
7642     if (PyErr_Occurred()) SWIG_fail;
7643     if (arg1) (arg1)->ll_angle = arg2;
7644     
7645     Py_INCREF(Py_None); resultobj = Py_None;
7646     return resultobj;
7647     fail:
7648     return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
7653     PyObject *resultobj;
7654     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7655     Cursor result;
7656     PyObject * obj0  = 0 ;
7657     
7658     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
7659     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7660     result = (Cursor) ((arg1)->ll_angle);
7661     
7662     resultobj = PyInt_FromLong((long)result);
7663     return resultobj;
7664     fail:
7665     return NULL;
7666 }
7667
7668
7669 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
7670     PyObject *resultobj;
7671     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7672     Cursor arg2 ;
7673     PyObject * obj0  = 0 ;
7674     PyObject * obj1  = 0 ;
7675     
7676     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
7677     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7678     arg2 = (Cursor) PyInt_AsLong(obj1);
7679     if (PyErr_Occurred()) SWIG_fail;
7680     if (arg1) (arg1)->lr_angle = arg2;
7681     
7682     Py_INCREF(Py_None); resultobj = Py_None;
7683     return resultobj;
7684     fail:
7685     return NULL;
7686 }
7687
7688
7689 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
7690     PyObject *resultobj;
7691     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7692     Cursor result;
7693     PyObject * obj0  = 0 ;
7694     
7695     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
7696     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697     result = (Cursor) ((arg1)->lr_angle);
7698     
7699     resultobj = PyInt_FromLong((long)result);
7700     return resultobj;
7701     fail:
7702     return NULL;
7703 }
7704
7705
7706 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
7707     PyObject *resultobj;
7708     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7709     Cursor arg2 ;
7710     PyObject * obj0  = 0 ;
7711     PyObject * obj1  = 0 ;
7712     
7713     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
7714     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7715     arg2 = (Cursor) PyInt_AsLong(obj1);
7716     if (PyErr_Occurred()) SWIG_fail;
7717     if (arg1) (arg1)->ul_angle = arg2;
7718     
7719     Py_INCREF(Py_None); resultobj = Py_None;
7720     return resultobj;
7721     fail:
7722     return NULL;
7723 }
7724
7725
7726 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
7727     PyObject *resultobj;
7728     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7729     Cursor result;
7730     PyObject * obj0  = 0 ;
7731     
7732     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
7733     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7734     result = (Cursor) ((arg1)->ul_angle);
7735     
7736     resultobj = PyInt_FromLong((long)result);
7737     return resultobj;
7738     fail:
7739     return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
7744     PyObject *resultobj;
7745     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7746     Cursor arg2 ;
7747     PyObject * obj0  = 0 ;
7748     PyObject * obj1  = 0 ;
7749     
7750     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
7751     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7752     arg2 = (Cursor) PyInt_AsLong(obj1);
7753     if (PyErr_Occurred()) SWIG_fail;
7754     if (arg1) (arg1)->ur_angle = arg2;
7755     
7756     Py_INCREF(Py_None); resultobj = Py_None;
7757     return resultobj;
7758     fail:
7759     return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
7764     PyObject *resultobj;
7765     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
7766     Cursor result;
7767     PyObject * obj0  = 0 ;
7768     
7769     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
7770     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7771     result = (Cursor) ((arg1)->ur_angle);
7772     
7773     resultobj = PyInt_FromLong((long)result);
7774     return resultobj;
7775     fail:
7776     return NULL;
7777 }
7778
7779
7780 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
7781     PyObject *obj;
7782     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7783     SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
7784     Py_INCREF(obj);
7785     return Py_BuildValue((char *)"");
7786 }
7787 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
7788     PyObject *resultobj;
7789     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7790     int result;
7791     PyObject * obj0  = 0 ;
7792     
7793     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
7794     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795     result = (int)((ob::Openbox const *)arg1)->state();
7796     
7797     resultobj = PyInt_FromLong((long)result);
7798     return resultobj;
7799     fail:
7800     return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
7805     PyObject *resultobj;
7806     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7807     ob::Actions *result;
7808     PyObject * obj0  = 0 ;
7809     
7810     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
7811     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7812     result = (ob::Actions *)((ob::Openbox const *)arg1)->actions();
7813     
7814     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Actions, 0);
7815     return resultobj;
7816     fail:
7817     return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
7822     PyObject *resultobj;
7823     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7824     ob::Bindings *result;
7825     PyObject * obj0  = 0 ;
7826     
7827     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
7828     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7829     result = (ob::Bindings *)((ob::Openbox const *)arg1)->bindings();
7830     
7831     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Bindings, 0);
7832     return resultobj;
7833     fail:
7834     return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
7839     PyObject *resultobj;
7840     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7841     int arg2 ;
7842     ob::Screen *result;
7843     PyObject * obj0  = 0 ;
7844     
7845     if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
7846     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7847     result = (ob::Screen *)(arg1)->screen(arg2);
7848     
7849     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
7850     return resultobj;
7851     fail:
7852     return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
7857     PyObject *resultobj;
7858     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7859     int result;
7860     PyObject * obj0  = 0 ;
7861     
7862     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
7863     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7864     result = (int)((ob::Openbox const *)arg1)->screenCount();
7865     
7866     resultobj = PyInt_FromLong((long)result);
7867     return resultobj;
7868     fail:
7869     return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
7874     PyObject *resultobj;
7875     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7876     ob::Cursors *result;
7877     PyObject * obj0  = 0 ;
7878     
7879     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
7880     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7881     {
7882         ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
7883         result = (ob::Cursors *) &_result_ref;
7884     }
7885     
7886     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
7887     return resultobj;
7888     fail:
7889     return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
7894     PyObject *resultobj;
7895     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7896     Window arg2 ;
7897     ob::Client *arg3 = (ob::Client *) 0 ;
7898     PyObject * obj0  = 0 ;
7899     PyObject * obj1  = 0 ;
7900     PyObject * obj2  = 0 ;
7901     
7902     if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
7903     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7904     arg2 = (Window) PyInt_AsLong(obj1);
7905     if (PyErr_Occurred()) SWIG_fail;
7906     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7907     (arg1)->addClient(arg2,arg3);
7908     
7909     Py_INCREF(Py_None); resultobj = Py_None;
7910     return resultobj;
7911     fail:
7912     return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
7917     PyObject *resultobj;
7918     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7919     Window arg2 ;
7920     PyObject * obj0  = 0 ;
7921     PyObject * obj1  = 0 ;
7922     
7923     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
7924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7925     arg2 = (Window) PyInt_AsLong(obj1);
7926     if (PyErr_Occurred()) SWIG_fail;
7927     (arg1)->removeClient(arg2);
7928     
7929     Py_INCREF(Py_None); resultobj = Py_None;
7930     return resultobj;
7931     fail:
7932     return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
7937     PyObject *resultobj;
7938     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7939     Window arg2 ;
7940     ob::Client *result;
7941     PyObject * obj0  = 0 ;
7942     PyObject * obj1  = 0 ;
7943     
7944     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
7945     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946     arg2 = (Window) PyInt_AsLong(obj1);
7947     if (PyErr_Occurred()) SWIG_fail;
7948     result = (ob::Client *)(arg1)->findClient(arg2);
7949     
7950     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7951     return resultobj;
7952     fail:
7953     return NULL;
7954 }
7955
7956
7957 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
7958     PyObject *resultobj;
7959     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7960     ob::Client *result;
7961     PyObject * obj0  = 0 ;
7962     
7963     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
7964     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965     result = (ob::Client *)(arg1)->focusedClient();
7966     
7967     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
7968     return resultobj;
7969     fail:
7970     return NULL;
7971 }
7972
7973
7974 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
7975     PyObject *resultobj;
7976     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7977     ob::Client *arg2 = (ob::Client *) 0 ;
7978     PyObject * obj0  = 0 ;
7979     PyObject * obj1  = 0 ;
7980     
7981     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
7982     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7984     (arg1)->setFocusedClient(arg2);
7985     
7986     Py_INCREF(Py_None); resultobj = Py_None;
7987     return resultobj;
7988     fail:
7989     return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
7994     PyObject *resultobj;
7995     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
7996     ob::Screen *result;
7997     PyObject * obj0  = 0 ;
7998     
7999     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
8000     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8001     result = (ob::Screen *)(arg1)->focusedScreen();
8002     
8003     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Screen, 0);
8004     return resultobj;
8005     fail:
8006     return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
8011     PyObject *resultobj;
8012     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8013     PyObject * obj0  = 0 ;
8014     
8015     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
8016     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8017     (arg1)->shutdown();
8018     
8019     Py_INCREF(Py_None); resultobj = Py_None;
8020     return resultobj;
8021     fail:
8022     return NULL;
8023 }
8024
8025
8026 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
8027     PyObject *resultobj;
8028     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8029     std::string const &arg2_defvalue = "" ;
8030     std::string *arg2 = (std::string *) &arg2_defvalue ;
8031     std::string temp2 ;
8032     PyObject * obj0  = 0 ;
8033     PyObject * obj1  = 0 ;
8034     
8035     if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
8036     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8037     if (obj1) {
8038         {
8039             if (PyString_Check(obj1)) {
8040                 temp2 = std::string(PyString_AsString(obj1));
8041                 arg2 = &temp2;
8042             }else {
8043                 SWIG_exception(SWIG_TypeError, "string expected");
8044             }
8045         }
8046     }
8047     (arg1)->restart((std::string const &)*arg2);
8048     
8049     Py_INCREF(Py_None); resultobj = Py_None;
8050     return resultobj;
8051     fail:
8052     return NULL;
8053 }
8054
8055
8056 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
8057     PyObject *resultobj;
8058     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
8059     int arg2 ;
8060     std::string *arg3 = 0 ;
8061     std::string temp3 ;
8062     PyObject * obj0  = 0 ;
8063     PyObject * obj2  = 0 ;
8064     
8065     if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
8066     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8067     {
8068         if (PyString_Check(obj2)) {
8069             temp3 = std::string(PyString_AsString(obj2));
8070             arg3 = &temp3;
8071         }else {
8072             SWIG_exception(SWIG_TypeError, "string expected");
8073         }
8074     }
8075     (arg1)->execute(arg2,(std::string const &)*arg3);
8076     
8077     Py_INCREF(Py_None); resultobj = Py_None;
8078     return resultobj;
8079     fail:
8080     return NULL;
8081 }
8082
8083
8084 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
8085     PyObject *obj;
8086     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8087     SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
8088     Py_INCREF(obj);
8089     return Py_BuildValue((char *)"");
8090 }
8091 static PyObject *_wrap_Screen_client(PyObject *self, PyObject *args) {
8092     PyObject *resultobj;
8093     ob::Screen *arg1 = (ob::Screen *) 0 ;
8094     int arg2 ;
8095     ob::Client *result;
8096     PyObject * obj0  = 0 ;
8097     
8098     if(!PyArg_ParseTuple(args,(char *)"Oi:Screen_client",&obj0,&arg2)) goto fail;
8099     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8100     result = (ob::Client *)ob_Screen_client(arg1,arg2);
8101     
8102     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8103     return resultobj;
8104     fail:
8105     return NULL;
8106 }
8107
8108
8109 static PyObject *_wrap_Screen_clientCount(PyObject *self, PyObject *args) {
8110     PyObject *resultobj;
8111     ob::Screen *arg1 = (ob::Screen *) 0 ;
8112     int result;
8113     PyObject * obj0  = 0 ;
8114     
8115     if(!PyArg_ParseTuple(args,(char *)"O:Screen_clientCount",&obj0)) goto fail;
8116     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117     result = (int)ob_Screen_clientCount((ob::Screen const *)arg1);
8118     
8119     resultobj = PyInt_FromLong((long)result);
8120     return resultobj;
8121     fail:
8122     return NULL;
8123 }
8124
8125
8126 static PyObject *_wrap_Screen_number(PyObject *self, PyObject *args) {
8127     PyObject *resultobj;
8128     ob::Screen *arg1 = (ob::Screen *) 0 ;
8129     int result;
8130     PyObject * obj0  = 0 ;
8131     
8132     if(!PyArg_ParseTuple(args,(char *)"O:Screen_number",&obj0)) goto fail;
8133     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8134     result = (int)((ob::Screen const *)arg1)->number();
8135     
8136     resultobj = PyInt_FromLong((long)result);
8137     return resultobj;
8138     fail:
8139     return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_Screen_managed(PyObject *self, PyObject *args) {
8144     PyObject *resultobj;
8145     ob::Screen *arg1 = (ob::Screen *) 0 ;
8146     bool result;
8147     PyObject * obj0  = 0 ;
8148     
8149     if(!PyArg_ParseTuple(args,(char *)"O:Screen_managed",&obj0)) goto fail;
8150     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8151     result = (bool)((ob::Screen const *)arg1)->managed();
8152     
8153     resultobj = PyInt_FromLong((long)result);
8154     return resultobj;
8155     fail:
8156     return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_Screen_imageControl(PyObject *self, PyObject *args) {
8161     PyObject *resultobj;
8162     ob::Screen *arg1 = (ob::Screen *) 0 ;
8163     otk::ImageControl *result;
8164     PyObject * obj0  = 0 ;
8165     
8166     if(!PyArg_ParseTuple(args,(char *)"O:Screen_imageControl",&obj0)) goto fail;
8167     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168     result = (otk::ImageControl *)(arg1)->imageControl();
8169     
8170     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ImageControl, 0);
8171     return resultobj;
8172     fail:
8173     return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_Screen_area(PyObject *self, PyObject *args) {
8178     PyObject *resultobj;
8179     ob::Screen *arg1 = (ob::Screen *) 0 ;
8180     otk::Rect *result;
8181     PyObject * obj0  = 0 ;
8182     
8183     if(!PyArg_ParseTuple(args,(char *)"O:Screen_area",&obj0)) goto fail;
8184     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8185     {
8186         otk::Rect const &_result_ref = ((ob::Screen const *)arg1)->area();
8187         result = (otk::Rect *) &_result_ref;
8188     }
8189     
8190     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8191     return resultobj;
8192     fail:
8193     return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_Screen_style(PyObject *self, PyObject *args) {
8198     PyObject *resultobj;
8199     ob::Screen *arg1 = (ob::Screen *) 0 ;
8200     otk::Style *result;
8201     PyObject * obj0  = 0 ;
8202     
8203     if(!PyArg_ParseTuple(args,(char *)"O:Screen_style",&obj0)) goto fail;
8204     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205     result = (otk::Style *)((ob::Screen const *)arg1)->style();
8206     
8207     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
8208     return resultobj;
8209     fail:
8210     return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_Screen_focuswindow(PyObject *self, PyObject *args) {
8215     PyObject *resultobj;
8216     ob::Screen *arg1 = (ob::Screen *) 0 ;
8217     Window result;
8218     PyObject * obj0  = 0 ;
8219     
8220     if(!PyArg_ParseTuple(args,(char *)"O:Screen_focuswindow",&obj0)) goto fail;
8221     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8222     result = (Window)((ob::Screen const *)arg1)->focuswindow();
8223     
8224     resultobj = PyInt_FromLong((long)result);
8225     return resultobj;
8226     fail:
8227     return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_Screen_desktop(PyObject *self, PyObject *args) {
8232     PyObject *resultobj;
8233     ob::Screen *arg1 = (ob::Screen *) 0 ;
8234     long result;
8235     PyObject * obj0  = 0 ;
8236     
8237     if(!PyArg_ParseTuple(args,(char *)"O:Screen_desktop",&obj0)) goto fail;
8238     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239     result = (long)((ob::Screen const *)arg1)->desktop();
8240     
8241     resultobj = PyInt_FromLong((long)result);
8242     return resultobj;
8243     fail:
8244     return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_Screen_numDesktops(PyObject *self, PyObject *args) {
8249     PyObject *resultobj;
8250     ob::Screen *arg1 = (ob::Screen *) 0 ;
8251     long result;
8252     PyObject * obj0  = 0 ;
8253     
8254     if(!PyArg_ParseTuple(args,(char *)"O:Screen_numDesktops",&obj0)) goto fail;
8255     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8256     result = (long)((ob::Screen const *)arg1)->numDesktops();
8257     
8258     resultobj = PyInt_FromLong((long)result);
8259     return resultobj;
8260     fail:
8261     return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_Screen_updateStrut(PyObject *self, PyObject *args) {
8266     PyObject *resultobj;
8267     ob::Screen *arg1 = (ob::Screen *) 0 ;
8268     PyObject * obj0  = 0 ;
8269     
8270     if(!PyArg_ParseTuple(args,(char *)"O:Screen_updateStrut",&obj0)) goto fail;
8271     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272     (arg1)->updateStrut();
8273     
8274     Py_INCREF(Py_None); resultobj = Py_None;
8275     return resultobj;
8276     fail:
8277     return NULL;
8278 }
8279
8280
8281 static PyObject *_wrap_Screen_manageExisting(PyObject *self, PyObject *args) {
8282     PyObject *resultobj;
8283     ob::Screen *arg1 = (ob::Screen *) 0 ;
8284     PyObject * obj0  = 0 ;
8285     
8286     if(!PyArg_ParseTuple(args,(char *)"O:Screen_manageExisting",&obj0)) goto fail;
8287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288     (arg1)->manageExisting();
8289     
8290     Py_INCREF(Py_None); resultobj = Py_None;
8291     return resultobj;
8292     fail:
8293     return NULL;
8294 }
8295
8296
8297 static PyObject *_wrap_Screen_manageWindow(PyObject *self, PyObject *args) {
8298     PyObject *resultobj;
8299     ob::Screen *arg1 = (ob::Screen *) 0 ;
8300     Window arg2 ;
8301     PyObject * obj0  = 0 ;
8302     PyObject * obj1  = 0 ;
8303     
8304     if(!PyArg_ParseTuple(args,(char *)"OO:Screen_manageWindow",&obj0,&obj1)) goto fail;
8305     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8306     arg2 = (Window) PyInt_AsLong(obj1);
8307     if (PyErr_Occurred()) SWIG_fail;
8308     (arg1)->manageWindow(arg2);
8309     
8310     Py_INCREF(Py_None); resultobj = Py_None;
8311     return resultobj;
8312     fail:
8313     return NULL;
8314 }
8315
8316
8317 static PyObject *_wrap_Screen_unmanageWindow(PyObject *self, PyObject *args) {
8318     PyObject *resultobj;
8319     ob::Screen *arg1 = (ob::Screen *) 0 ;
8320     ob::Client *arg2 = (ob::Client *) 0 ;
8321     PyObject * obj0  = 0 ;
8322     PyObject * obj1  = 0 ;
8323     
8324     if(!PyArg_ParseTuple(args,(char *)"OO:Screen_unmanageWindow",&obj0,&obj1)) goto fail;
8325     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8326     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8327     (arg1)->unmanageWindow(arg2);
8328     
8329     Py_INCREF(Py_None); resultobj = Py_None;
8330     return resultobj;
8331     fail:
8332     return NULL;
8333 }
8334
8335
8336 static PyObject *_wrap_Screen_restack(PyObject *self, PyObject *args) {
8337     PyObject *resultobj;
8338     ob::Screen *arg1 = (ob::Screen *) 0 ;
8339     bool arg2 ;
8340     ob::Client *arg3 = (ob::Client *) 0 ;
8341     PyObject * obj0  = 0 ;
8342     PyObject * obj1  = 0 ;
8343     PyObject * obj2  = 0 ;
8344     
8345     if(!PyArg_ParseTuple(args,(char *)"OOO:Screen_restack",&obj0,&obj1,&obj2)) goto fail;
8346     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8347     arg2 = (bool) PyInt_AsLong(obj1);
8348     if (PyErr_Occurred()) SWIG_fail;
8349     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350     (arg1)->restack(arg2,arg3);
8351     
8352     Py_INCREF(Py_None); resultobj = Py_None;
8353     return resultobj;
8354     fail:
8355     return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_Screen_setDesktopName(PyObject *self, PyObject *args) {
8360     PyObject *resultobj;
8361     ob::Screen *arg1 = (ob::Screen *) 0 ;
8362     long arg2 ;
8363     otk::ustring *arg3 = 0 ;
8364     otk::ustring temp3 ;
8365     PyObject * obj0  = 0 ;
8366     PyObject * obj2  = 0 ;
8367     
8368     if(!PyArg_ParseTuple(args,(char *)"OlO:Screen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
8369     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370     {
8371         if (PyString_Check(obj2)) {
8372             temp3 = otk::ustring(PyString_AsString(obj2));
8373             arg3 = &temp3;
8374         }else {
8375             SWIG_exception(SWIG_TypeError, "ustring expected");
8376         }
8377     }
8378     (arg1)->setDesktopName(arg2,(otk::ustring const &)*arg3);
8379     
8380     Py_INCREF(Py_None); resultobj = Py_None;
8381     return resultobj;
8382     fail:
8383     return NULL;
8384 }
8385
8386
8387 static PyObject *_wrap_Screen_propertyHandler(PyObject *self, PyObject *args) {
8388     PyObject *resultobj;
8389     ob::Screen *arg1 = (ob::Screen *) 0 ;
8390     XPropertyEvent *arg2 = 0 ;
8391     PyObject * obj0  = 0 ;
8392     PyObject * obj1  = 0 ;
8393     
8394     if(!PyArg_ParseTuple(args,(char *)"OO:Screen_propertyHandler",&obj0,&obj1)) goto fail;
8395     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8396     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8397     if (arg2 == NULL) {
8398         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8399     }
8400     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
8401     
8402     Py_INCREF(Py_None); resultobj = Py_None;
8403     return resultobj;
8404     fail:
8405     return NULL;
8406 }
8407
8408
8409 static PyObject *_wrap_Screen_clientMessageHandler(PyObject *self, PyObject *args) {
8410     PyObject *resultobj;
8411     ob::Screen *arg1 = (ob::Screen *) 0 ;
8412     XClientMessageEvent *arg2 = 0 ;
8413     PyObject * obj0  = 0 ;
8414     PyObject * obj1  = 0 ;
8415     
8416     if(!PyArg_ParseTuple(args,(char *)"OO:Screen_clientMessageHandler",&obj0,&obj1)) goto fail;
8417     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8418     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419     if (arg2 == NULL) {
8420         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8421     }
8422     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
8423     
8424     Py_INCREF(Py_None); resultobj = Py_None;
8425     return resultobj;
8426     fail:
8427     return NULL;
8428 }
8429
8430
8431 static PyObject *_wrap_Screen_mapRequestHandler(PyObject *self, PyObject *args) {
8432     PyObject *resultobj;
8433     ob::Screen *arg1 = (ob::Screen *) 0 ;
8434     XMapRequestEvent *arg2 = 0 ;
8435     PyObject * obj0  = 0 ;
8436     PyObject * obj1  = 0 ;
8437     
8438     if(!PyArg_ParseTuple(args,(char *)"OO:Screen_mapRequestHandler",&obj0,&obj1)) goto fail;
8439     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Screen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441     if (arg2 == NULL) {
8442         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8443     }
8444     (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
8445     
8446     Py_INCREF(Py_None); resultobj = Py_None;
8447     return resultobj;
8448     fail:
8449     return NULL;
8450 }
8451
8452
8453 static PyObject * Screen_swigregister(PyObject *self, PyObject *args) {
8454     PyObject *obj;
8455     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8456     SWIG_TypeClientData(SWIGTYPE_p_ob__Screen, obj);
8457     Py_INCREF(obj);
8458     return Py_BuildValue((char *)"");
8459 }
8460 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
8461     PyObject *resultobj;
8462     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8463     unsigned long arg2 ;
8464     PyObject * obj0  = 0 ;
8465     PyObject * obj1  = 0 ;
8466     
8467     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
8468     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469     arg2 = (unsigned long) PyInt_AsLong(obj1);
8470     if (PyErr_Occurred()) SWIG_fail;
8471     if (arg1) (arg1)->flags = arg2;
8472     
8473     Py_INCREF(Py_None); resultobj = Py_None;
8474     return resultobj;
8475     fail:
8476     return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
8481     PyObject *resultobj;
8482     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8483     unsigned long result;
8484     PyObject * obj0  = 0 ;
8485     
8486     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
8487     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488     result = (unsigned long) ((arg1)->flags);
8489     
8490     resultobj = PyInt_FromLong((long)result);
8491     return resultobj;
8492     fail:
8493     return NULL;
8494 }
8495
8496
8497 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
8498     PyObject *resultobj;
8499     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8500     unsigned long arg2 ;
8501     PyObject * obj0  = 0 ;
8502     PyObject * obj1  = 0 ;
8503     
8504     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
8505     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506     arg2 = (unsigned long) PyInt_AsLong(obj1);
8507     if (PyErr_Occurred()) SWIG_fail;
8508     if (arg1) (arg1)->functions = arg2;
8509     
8510     Py_INCREF(Py_None); resultobj = Py_None;
8511     return resultobj;
8512     fail:
8513     return NULL;
8514 }
8515
8516
8517 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
8518     PyObject *resultobj;
8519     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8520     unsigned long result;
8521     PyObject * obj0  = 0 ;
8522     
8523     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
8524     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525     result = (unsigned long) ((arg1)->functions);
8526     
8527     resultobj = PyInt_FromLong((long)result);
8528     return resultobj;
8529     fail:
8530     return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
8535     PyObject *resultobj;
8536     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8537     unsigned long arg2 ;
8538     PyObject * obj0  = 0 ;
8539     PyObject * obj1  = 0 ;
8540     
8541     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
8542     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8543     arg2 = (unsigned long) PyInt_AsLong(obj1);
8544     if (PyErr_Occurred()) SWIG_fail;
8545     if (arg1) (arg1)->decorations = arg2;
8546     
8547     Py_INCREF(Py_None); resultobj = Py_None;
8548     return resultobj;
8549     fail:
8550     return NULL;
8551 }
8552
8553
8554 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
8555     PyObject *resultobj;
8556     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
8557     unsigned long result;
8558     PyObject * obj0  = 0 ;
8559     
8560     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
8561     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562     result = (unsigned long) ((arg1)->decorations);
8563     
8564     resultobj = PyInt_FromLong((long)result);
8565     return resultobj;
8566     fail:
8567     return NULL;
8568 }
8569
8570
8571 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
8572     PyObject *obj;
8573     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8574     SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
8575     Py_INCREF(obj);
8576     return Py_BuildValue((char *)"");
8577 }
8578 static PyObject *_wrap_Client_frame_set(PyObject *self, PyObject *args) {
8579     PyObject *resultobj;
8580     ob::Client *arg1 = (ob::Client *) 0 ;
8581     ob::Frame *arg2 = (ob::Frame *) 0 ;
8582     PyObject * obj0  = 0 ;
8583     PyObject * obj1  = 0 ;
8584     
8585     if(!PyArg_ParseTuple(args,(char *)"OO:Client_frame_set",&obj0,&obj1)) goto fail;
8586     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8587     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Frame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
8588     if (arg1) (arg1)->frame = arg2;
8589     
8590     Py_INCREF(Py_None); resultobj = Py_None;
8591     return resultobj;
8592     fail:
8593     return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_Client_frame_get(PyObject *self, PyObject *args) {
8598     PyObject *resultobj;
8599     ob::Client *arg1 = (ob::Client *) 0 ;
8600     ob::Frame *result;
8601     PyObject * obj0  = 0 ;
8602     
8603     if(!PyArg_ParseTuple(args,(char *)"O:Client_frame_get",&obj0)) goto fail;
8604     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8605     result = (ob::Frame *) ((arg1)->frame);
8606     
8607     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Frame, 0);
8608     return resultobj;
8609     fail:
8610     return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_Client_ignore_unmaps_set(PyObject *self, PyObject *args) {
8615     PyObject *resultobj;
8616     ob::Client *arg1 = (ob::Client *) 0 ;
8617     int arg2 ;
8618     PyObject * obj0  = 0 ;
8619     
8620     if(!PyArg_ParseTuple(args,(char *)"Oi:Client_ignore_unmaps_set",&obj0,&arg2)) goto fail;
8621     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8622     if (arg1) (arg1)->ignore_unmaps = arg2;
8623     
8624     Py_INCREF(Py_None); resultobj = Py_None;
8625     return resultobj;
8626     fail:
8627     return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_Client_ignore_unmaps_get(PyObject *self, PyObject *args) {
8632     PyObject *resultobj;
8633     ob::Client *arg1 = (ob::Client *) 0 ;
8634     int result;
8635     PyObject * obj0  = 0 ;
8636     
8637     if(!PyArg_ParseTuple(args,(char *)"O:Client_ignore_unmaps_get",&obj0)) goto fail;
8638     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639     result = (int) ((arg1)->ignore_unmaps);
8640     
8641     resultobj = PyInt_FromLong((long)result);
8642     return resultobj;
8643     fail:
8644     return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_Client_screen(PyObject *self, PyObject *args) {
8649     PyObject *resultobj;
8650     ob::Client *arg1 = (ob::Client *) 0 ;
8651     int result;
8652     PyObject * obj0  = 0 ;
8653     
8654     if(!PyArg_ParseTuple(args,(char *)"O:Client_screen",&obj0)) goto fail;
8655     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656     result = (int)((ob::Client const *)arg1)->screen();
8657     
8658     resultobj = PyInt_FromLong((long)result);
8659     return resultobj;
8660     fail:
8661     return NULL;
8662 }
8663
8664
8665 static PyObject *_wrap_Client_window(PyObject *self, PyObject *args) {
8666     PyObject *resultobj;
8667     ob::Client *arg1 = (ob::Client *) 0 ;
8668     Window result;
8669     PyObject * obj0  = 0 ;
8670     
8671     if(!PyArg_ParseTuple(args,(char *)"O:Client_window",&obj0)) goto fail;
8672     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8673     result = (Window)((ob::Client const *)arg1)->window();
8674     
8675     resultobj = PyInt_FromLong((long)result);
8676     return resultobj;
8677     fail:
8678     return NULL;
8679 }
8680
8681
8682 static PyObject *_wrap_Client_type(PyObject *self, PyObject *args) {
8683     PyObject *resultobj;
8684     ob::Client *arg1 = (ob::Client *) 0 ;
8685     int result;
8686     PyObject * obj0  = 0 ;
8687     
8688     if(!PyArg_ParseTuple(args,(char *)"O:Client_type",&obj0)) goto fail;
8689     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8690     result = (int)((ob::Client const *)arg1)->type();
8691     
8692     resultobj = PyInt_FromLong((long)result);
8693     return resultobj;
8694     fail:
8695     return NULL;
8696 }
8697
8698
8699 static PyObject *_wrap_Client_normal(PyObject *self, PyObject *args) {
8700     PyObject *resultobj;
8701     ob::Client *arg1 = (ob::Client *) 0 ;
8702     bool result;
8703     PyObject * obj0  = 0 ;
8704     
8705     if(!PyArg_ParseTuple(args,(char *)"O:Client_normal",&obj0)) goto fail;
8706     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707     result = (bool)((ob::Client const *)arg1)->normal();
8708     
8709     resultobj = PyInt_FromLong((long)result);
8710     return resultobj;
8711     fail:
8712     return NULL;
8713 }
8714
8715
8716 static PyObject *_wrap_Client_desktop(PyObject *self, PyObject *args) {
8717     PyObject *resultobj;
8718     ob::Client *arg1 = (ob::Client *) 0 ;
8719     long result;
8720     PyObject * obj0  = 0 ;
8721     
8722     if(!PyArg_ParseTuple(args,(char *)"O:Client_desktop",&obj0)) goto fail;
8723     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8724     result = (long)((ob::Client const *)arg1)->desktop();
8725     
8726     resultobj = PyInt_FromLong((long)result);
8727     return resultobj;
8728     fail:
8729     return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_Client_title(PyObject *self, PyObject *args) {
8734     PyObject *resultobj;
8735     ob::Client *arg1 = (ob::Client *) 0 ;
8736     otk::ustring *result;
8737     PyObject * obj0  = 0 ;
8738     
8739     if(!PyArg_ParseTuple(args,(char *)"O:Client_title",&obj0)) goto fail;
8740     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741     {
8742         otk::ustring const &_result_ref = ((ob::Client const *)arg1)->title();
8743         result = (otk::ustring *) &_result_ref;
8744     }
8745     
8746     {
8747         resultobj = PyString_FromString(result->c_str());
8748     }
8749     return resultobj;
8750     fail:
8751     return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_Client_iconTitle(PyObject *self, PyObject *args) {
8756     PyObject *resultobj;
8757     ob::Client *arg1 = (ob::Client *) 0 ;
8758     otk::ustring *result;
8759     PyObject * obj0  = 0 ;
8760     
8761     if(!PyArg_ParseTuple(args,(char *)"O:Client_iconTitle",&obj0)) goto fail;
8762     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763     {
8764         otk::ustring const &_result_ref = ((ob::Client const *)arg1)->iconTitle();
8765         result = (otk::ustring *) &_result_ref;
8766     }
8767     
8768     {
8769         resultobj = PyString_FromString(result->c_str());
8770     }
8771     return resultobj;
8772     fail:
8773     return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_Client_appName(PyObject *self, PyObject *args) {
8778     PyObject *resultobj;
8779     ob::Client *arg1 = (ob::Client *) 0 ;
8780     std::string *result;
8781     PyObject * obj0  = 0 ;
8782     
8783     if(!PyArg_ParseTuple(args,(char *)"O:Client_appName",&obj0)) goto fail;
8784     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8785     {
8786         std::string const &_result_ref = ((ob::Client const *)arg1)->appName();
8787         result = (std::string *) &_result_ref;
8788     }
8789     
8790     {
8791         resultobj = PyString_FromString(result->c_str());
8792     }
8793     return resultobj;
8794     fail:
8795     return NULL;
8796 }
8797
8798
8799 static PyObject *_wrap_Client_appClass(PyObject *self, PyObject *args) {
8800     PyObject *resultobj;
8801     ob::Client *arg1 = (ob::Client *) 0 ;
8802     std::string *result;
8803     PyObject * obj0  = 0 ;
8804     
8805     if(!PyArg_ParseTuple(args,(char *)"O:Client_appClass",&obj0)) goto fail;
8806     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807     {
8808         std::string const &_result_ref = ((ob::Client const *)arg1)->appClass();
8809         result = (std::string *) &_result_ref;
8810     }
8811     
8812     {
8813         resultobj = PyString_FromString(result->c_str());
8814     }
8815     return resultobj;
8816     fail:
8817     return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_Client_role(PyObject *self, PyObject *args) {
8822     PyObject *resultobj;
8823     ob::Client *arg1 = (ob::Client *) 0 ;
8824     std::string *result;
8825     PyObject * obj0  = 0 ;
8826     
8827     if(!PyArg_ParseTuple(args,(char *)"O:Client_role",&obj0)) goto fail;
8828     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8829     {
8830         std::string const &_result_ref = ((ob::Client const *)arg1)->role();
8831         result = (std::string *) &_result_ref;
8832     }
8833     
8834     {
8835         resultobj = PyString_FromString(result->c_str());
8836     }
8837     return resultobj;
8838     fail:
8839     return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_Client_canFocus(PyObject *self, PyObject *args) {
8844     PyObject *resultobj;
8845     ob::Client *arg1 = (ob::Client *) 0 ;
8846     bool result;
8847     PyObject * obj0  = 0 ;
8848     
8849     if(!PyArg_ParseTuple(args,(char *)"O:Client_canFocus",&obj0)) goto fail;
8850     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8851     result = (bool)((ob::Client const *)arg1)->canFocus();
8852     
8853     resultobj = PyInt_FromLong((long)result);
8854     return resultobj;
8855     fail:
8856     return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_Client_urgent(PyObject *self, PyObject *args) {
8861     PyObject *resultobj;
8862     ob::Client *arg1 = (ob::Client *) 0 ;
8863     bool result;
8864     PyObject * obj0  = 0 ;
8865     
8866     if(!PyArg_ParseTuple(args,(char *)"O:Client_urgent",&obj0)) goto fail;
8867     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8868     result = (bool)((ob::Client const *)arg1)->urgent();
8869     
8870     resultobj = PyInt_FromLong((long)result);
8871     return resultobj;
8872     fail:
8873     return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_Client_focusNotify(PyObject *self, PyObject *args) {
8878     PyObject *resultobj;
8879     ob::Client *arg1 = (ob::Client *) 0 ;
8880     bool result;
8881     PyObject * obj0  = 0 ;
8882     
8883     if(!PyArg_ParseTuple(args,(char *)"O:Client_focusNotify",&obj0)) goto fail;
8884     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8885     result = (bool)((ob::Client const *)arg1)->focusNotify();
8886     
8887     resultobj = PyInt_FromLong((long)result);
8888     return resultobj;
8889     fail:
8890     return NULL;
8891 }
8892
8893
8894 static PyObject *_wrap_Client_shaped(PyObject *self, PyObject *args) {
8895     PyObject *resultobj;
8896     ob::Client *arg1 = (ob::Client *) 0 ;
8897     bool result;
8898     PyObject * obj0  = 0 ;
8899     
8900     if(!PyArg_ParseTuple(args,(char *)"O:Client_shaped",&obj0)) goto fail;
8901     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902     result = (bool)((ob::Client const *)arg1)->shaped();
8903     
8904     resultobj = PyInt_FromLong((long)result);
8905     return resultobj;
8906     fail:
8907     return NULL;
8908 }
8909
8910
8911 static PyObject *_wrap_Client_gravity(PyObject *self, PyObject *args) {
8912     PyObject *resultobj;
8913     ob::Client *arg1 = (ob::Client *) 0 ;
8914     int result;
8915     PyObject * obj0  = 0 ;
8916     
8917     if(!PyArg_ParseTuple(args,(char *)"O:Client_gravity",&obj0)) goto fail;
8918     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8919     result = (int)((ob::Client const *)arg1)->gravity();
8920     
8921     resultobj = PyInt_FromLong((long)result);
8922     return resultobj;
8923     fail:
8924     return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_Client_positionRequested(PyObject *self, PyObject *args) {
8929     PyObject *resultobj;
8930     ob::Client *arg1 = (ob::Client *) 0 ;
8931     bool result;
8932     PyObject * obj0  = 0 ;
8933     
8934     if(!PyArg_ParseTuple(args,(char *)"O:Client_positionRequested",&obj0)) goto fail;
8935     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8936     result = (bool)((ob::Client const *)arg1)->positionRequested();
8937     
8938     resultobj = PyInt_FromLong((long)result);
8939     return resultobj;
8940     fail:
8941     return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_Client_decorations(PyObject *self, PyObject *args) {
8946     PyObject *resultobj;
8947     ob::Client *arg1 = (ob::Client *) 0 ;
8948     ob::Client::DecorationFlags result;
8949     PyObject * obj0  = 0 ;
8950     
8951     if(!PyArg_ParseTuple(args,(char *)"O:Client_decorations",&obj0)) goto fail;
8952     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953     result = (ob::Client::DecorationFlags)((ob::Client const *)arg1)->decorations();
8954     
8955     resultobj = PyInt_FromLong((long)result);
8956     return resultobj;
8957     fail:
8958     return NULL;
8959 }
8960
8961
8962 static PyObject *_wrap_Client_funtions(PyObject *self, PyObject *args) {
8963     PyObject *resultobj;
8964     ob::Client *arg1 = (ob::Client *) 0 ;
8965     ob::Client::FunctionFlags result;
8966     PyObject * obj0  = 0 ;
8967     
8968     if(!PyArg_ParseTuple(args,(char *)"O:Client_funtions",&obj0)) goto fail;
8969     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970     result = (ob::Client::FunctionFlags)((ob::Client const *)arg1)->funtions();
8971     
8972     resultobj = PyInt_FromLong((long)result);
8973     return resultobj;
8974     fail:
8975     return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_Client_transientFor(PyObject *self, PyObject *args) {
8980     PyObject *resultobj;
8981     ob::Client *arg1 = (ob::Client *) 0 ;
8982     ob::Client *result;
8983     PyObject * obj0  = 0 ;
8984     
8985     if(!PyArg_ParseTuple(args,(char *)"O:Client_transientFor",&obj0)) goto fail;
8986     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8987     result = (ob::Client *)((ob::Client const *)arg1)->transientFor();
8988     
8989     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
8990     return resultobj;
8991     fail:
8992     return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_Client_modal(PyObject *self, PyObject *args) {
8997     PyObject *resultobj;
8998     ob::Client *arg1 = (ob::Client *) 0 ;
8999     bool result;
9000     PyObject * obj0  = 0 ;
9001     
9002     if(!PyArg_ParseTuple(args,(char *)"O:Client_modal",&obj0)) goto fail;
9003     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004     result = (bool)((ob::Client const *)arg1)->modal();
9005     
9006     resultobj = PyInt_FromLong((long)result);
9007     return resultobj;
9008     fail:
9009     return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_Client_shaded(PyObject *self, PyObject *args) {
9014     PyObject *resultobj;
9015     ob::Client *arg1 = (ob::Client *) 0 ;
9016     bool result;
9017     PyObject * obj0  = 0 ;
9018     
9019     if(!PyArg_ParseTuple(args,(char *)"O:Client_shaded",&obj0)) goto fail;
9020     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021     result = (bool)((ob::Client const *)arg1)->shaded();
9022     
9023     resultobj = PyInt_FromLong((long)result);
9024     return resultobj;
9025     fail:
9026     return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_Client_iconic(PyObject *self, PyObject *args) {
9031     PyObject *resultobj;
9032     ob::Client *arg1 = (ob::Client *) 0 ;
9033     bool result;
9034     PyObject * obj0  = 0 ;
9035     
9036     if(!PyArg_ParseTuple(args,(char *)"O:Client_iconic",&obj0)) goto fail;
9037     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038     result = (bool)((ob::Client const *)arg1)->iconic();
9039     
9040     resultobj = PyInt_FromLong((long)result);
9041     return resultobj;
9042     fail:
9043     return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_Client_maxVert(PyObject *self, PyObject *args) {
9048     PyObject *resultobj;
9049     ob::Client *arg1 = (ob::Client *) 0 ;
9050     bool result;
9051     PyObject * obj0  = 0 ;
9052     
9053     if(!PyArg_ParseTuple(args,(char *)"O:Client_maxVert",&obj0)) goto fail;
9054     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055     result = (bool)((ob::Client const *)arg1)->maxVert();
9056     
9057     resultobj = PyInt_FromLong((long)result);
9058     return resultobj;
9059     fail:
9060     return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_Client_maxHorz(PyObject *self, PyObject *args) {
9065     PyObject *resultobj;
9066     ob::Client *arg1 = (ob::Client *) 0 ;
9067     bool result;
9068     PyObject * obj0  = 0 ;
9069     
9070     if(!PyArg_ParseTuple(args,(char *)"O:Client_maxHorz",&obj0)) goto fail;
9071     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072     result = (bool)((ob::Client const *)arg1)->maxHorz();
9073     
9074     resultobj = PyInt_FromLong((long)result);
9075     return resultobj;
9076     fail:
9077     return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_Client_layer(PyObject *self, PyObject *args) {
9082     PyObject *resultobj;
9083     ob::Client *arg1 = (ob::Client *) 0 ;
9084     int result;
9085     PyObject * obj0  = 0 ;
9086     
9087     if(!PyArg_ParseTuple(args,(char *)"O:Client_layer",&obj0)) goto fail;
9088     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089     result = (int)((ob::Client const *)arg1)->layer();
9090     
9091     resultobj = PyInt_FromLong((long)result);
9092     return resultobj;
9093     fail:
9094     return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_Client_toggleClientBorder(PyObject *self, PyObject *args) {
9099     PyObject *resultobj;
9100     ob::Client *arg1 = (ob::Client *) 0 ;
9101     bool arg2 ;
9102     PyObject * obj0  = 0 ;
9103     PyObject * obj1  = 0 ;
9104     
9105     if(!PyArg_ParseTuple(args,(char *)"OO:Client_toggleClientBorder",&obj0,&obj1)) goto fail;
9106     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9107     arg2 = (bool) PyInt_AsLong(obj1);
9108     if (PyErr_Occurred()) SWIG_fail;
9109     (arg1)->toggleClientBorder(arg2);
9110     
9111     Py_INCREF(Py_None); resultobj = Py_None;
9112     return resultobj;
9113     fail:
9114     return NULL;
9115 }
9116
9117
9118 static PyObject *_wrap_Client_area(PyObject *self, PyObject *args) {
9119     PyObject *resultobj;
9120     ob::Client *arg1 = (ob::Client *) 0 ;
9121     otk::Rect *result;
9122     PyObject * obj0  = 0 ;
9123     
9124     if(!PyArg_ParseTuple(args,(char *)"O:Client_area",&obj0)) goto fail;
9125     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126     {
9127         otk::Rect const &_result_ref = ((ob::Client const *)arg1)->area();
9128         result = (otk::Rect *) &_result_ref;
9129     }
9130     
9131     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9132     return resultobj;
9133     fail:
9134     return NULL;
9135 }
9136
9137
9138 static PyObject *_wrap_Client_strut(PyObject *self, PyObject *args) {
9139     PyObject *resultobj;
9140     ob::Client *arg1 = (ob::Client *) 0 ;
9141     otk::Strut *result;
9142     PyObject * obj0  = 0 ;
9143     
9144     if(!PyArg_ParseTuple(args,(char *)"O:Client_strut",&obj0)) goto fail;
9145     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9146     {
9147         otk::Strut const &_result_ref = ((ob::Client const *)arg1)->strut();
9148         result = (otk::Strut *) &_result_ref;
9149     }
9150     
9151     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
9152     return resultobj;
9153     fail:
9154     return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_Client_move(PyObject *self, PyObject *args) {
9159     PyObject *resultobj;
9160     ob::Client *arg1 = (ob::Client *) 0 ;
9161     int arg2 ;
9162     int arg3 ;
9163     PyObject * obj0  = 0 ;
9164     
9165     if(!PyArg_ParseTuple(args,(char *)"Oii:Client_move",&obj0,&arg2,&arg3)) goto fail;
9166     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9167     (arg1)->move(arg2,arg3);
9168     
9169     Py_INCREF(Py_None); resultobj = Py_None;
9170     return resultobj;
9171     fail:
9172     return NULL;
9173 }
9174
9175
9176 static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) {
9177     PyObject *resultobj;
9178     ob::Client *arg1 = (ob::Client *) 0 ;
9179     int arg2 ;
9180     int arg3 ;
9181     int arg4 ;
9182     int arg5 = (int) INT_MIN ;
9183     int arg6 = (int) INT_MIN ;
9184     PyObject * obj0  = 0 ;
9185     
9186     if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:Client_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
9187     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188     (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4,arg5,arg6);
9189     
9190     Py_INCREF(Py_None); resultobj = Py_None;
9191     return resultobj;
9192     fail:
9193     return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) {
9198     PyObject *resultobj;
9199     ob::Client *arg1 = (ob::Client *) 0 ;
9200     bool result;
9201     PyObject * obj0  = 0 ;
9202     
9203     if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail;
9204     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9205     result = (bool)((ob::Client const *)arg1)->focus();
9206     
9207     resultobj = PyInt_FromLong((long)result);
9208     return resultobj;
9209     fail:
9210     return NULL;
9211 }
9212
9213
9214 static PyObject *_wrap_Client_unfocus(PyObject *self, PyObject *args) {
9215     PyObject *resultobj;
9216     ob::Client *arg1 = (ob::Client *) 0 ;
9217     PyObject * obj0  = 0 ;
9218     
9219     if(!PyArg_ParseTuple(args,(char *)"O:Client_unfocus",&obj0)) goto fail;
9220     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221     ((ob::Client const *)arg1)->unfocus();
9222     
9223     Py_INCREF(Py_None); resultobj = Py_None;
9224     return resultobj;
9225     fail:
9226     return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_Client_focusHandler(PyObject *self, PyObject *args) {
9231     PyObject *resultobj;
9232     ob::Client *arg1 = (ob::Client *) 0 ;
9233     XFocusChangeEvent *arg2 = 0 ;
9234     PyObject * obj0  = 0 ;
9235     PyObject * obj1  = 0 ;
9236     
9237     if(!PyArg_ParseTuple(args,(char *)"OO:Client_focusHandler",&obj0,&obj1)) goto fail;
9238     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9239     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9240     if (arg2 == NULL) {
9241         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9242     }
9243     (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
9244     
9245     Py_INCREF(Py_None); resultobj = Py_None;
9246     return resultobj;
9247     fail:
9248     return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_Client_unfocusHandler(PyObject *self, PyObject *args) {
9253     PyObject *resultobj;
9254     ob::Client *arg1 = (ob::Client *) 0 ;
9255     XFocusChangeEvent *arg2 = 0 ;
9256     PyObject * obj0  = 0 ;
9257     PyObject * obj1  = 0 ;
9258     
9259     if(!PyArg_ParseTuple(args,(char *)"OO:Client_unfocusHandler",&obj0,&obj1)) goto fail;
9260     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9262     if (arg2 == NULL) {
9263         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9264     }
9265     (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
9266     
9267     Py_INCREF(Py_None); resultobj = Py_None;
9268     return resultobj;
9269     fail:
9270     return NULL;
9271 }
9272
9273
9274 static PyObject *_wrap_Client_propertyHandler(PyObject *self, PyObject *args) {
9275     PyObject *resultobj;
9276     ob::Client *arg1 = (ob::Client *) 0 ;
9277     XPropertyEvent *arg2 = 0 ;
9278     PyObject * obj0  = 0 ;
9279     PyObject * obj1  = 0 ;
9280     
9281     if(!PyArg_ParseTuple(args,(char *)"OO:Client_propertyHandler",&obj0,&obj1)) goto fail;
9282     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9283     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9284     if (arg2 == NULL) {
9285         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9286     }
9287     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
9288     
9289     Py_INCREF(Py_None); resultobj = Py_None;
9290     return resultobj;
9291     fail:
9292     return NULL;
9293 }
9294
9295
9296 static PyObject *_wrap_Client_clientMessageHandler(PyObject *self, PyObject *args) {
9297     PyObject *resultobj;
9298     ob::Client *arg1 = (ob::Client *) 0 ;
9299     XClientMessageEvent *arg2 = 0 ;
9300     PyObject * obj0  = 0 ;
9301     PyObject * obj1  = 0 ;
9302     
9303     if(!PyArg_ParseTuple(args,(char *)"OO:Client_clientMessageHandler",&obj0,&obj1)) goto fail;
9304     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9305     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9306     if (arg2 == NULL) {
9307         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9308     }
9309     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
9310     
9311     Py_INCREF(Py_None); resultobj = Py_None;
9312     return resultobj;
9313     fail:
9314     return NULL;
9315 }
9316
9317
9318 static PyObject *_wrap_Client_configureRequestHandler(PyObject *self, PyObject *args) {
9319     PyObject *resultobj;
9320     ob::Client *arg1 = (ob::Client *) 0 ;
9321     XConfigureRequestEvent *arg2 = 0 ;
9322     PyObject * obj0  = 0 ;
9323     PyObject * obj1  = 0 ;
9324     
9325     if(!PyArg_ParseTuple(args,(char *)"OO:Client_configureRequestHandler",&obj0,&obj1)) goto fail;
9326     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9327     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328     if (arg2 == NULL) {
9329         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9330     }
9331     (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
9332     
9333     Py_INCREF(Py_None); resultobj = Py_None;
9334     return resultobj;
9335     fail:
9336     return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_Client_unmapHandler(PyObject *self, PyObject *args) {
9341     PyObject *resultobj;
9342     ob::Client *arg1 = (ob::Client *) 0 ;
9343     XUnmapEvent *arg2 = 0 ;
9344     PyObject * obj0  = 0 ;
9345     PyObject * obj1  = 0 ;
9346     
9347     if(!PyArg_ParseTuple(args,(char *)"OO:Client_unmapHandler",&obj0,&obj1)) goto fail;
9348     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9349     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9350     if (arg2 == NULL) {
9351         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9352     }
9353     (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
9354     
9355     Py_INCREF(Py_None); resultobj = Py_None;
9356     return resultobj;
9357     fail:
9358     return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_Client_destroyHandler(PyObject *self, PyObject *args) {
9363     PyObject *resultobj;
9364     ob::Client *arg1 = (ob::Client *) 0 ;
9365     XDestroyWindowEvent *arg2 = 0 ;
9366     PyObject * obj0  = 0 ;
9367     PyObject * obj1  = 0 ;
9368     
9369     if(!PyArg_ParseTuple(args,(char *)"OO:Client_destroyHandler",&obj0,&obj1)) goto fail;
9370     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9371     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372     if (arg2 == NULL) {
9373         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9374     }
9375     (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
9376     
9377     Py_INCREF(Py_None); resultobj = Py_None;
9378     return resultobj;
9379     fail:
9380     return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_Client_reparentHandler(PyObject *self, PyObject *args) {
9385     PyObject *resultobj;
9386     ob::Client *arg1 = (ob::Client *) 0 ;
9387     XReparentEvent *arg2 = 0 ;
9388     PyObject * obj0  = 0 ;
9389     PyObject * obj1  = 0 ;
9390     
9391     if(!PyArg_ParseTuple(args,(char *)"OO:Client_reparentHandler",&obj0,&obj1)) goto fail;
9392     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9393     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394     if (arg2 == NULL) {
9395         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9396     }
9397     (arg1)->reparentHandler((XReparentEvent const &)*arg2);
9398     
9399     Py_INCREF(Py_None); resultobj = Py_None;
9400     return resultobj;
9401     fail:
9402     return NULL;
9403 }
9404
9405
9406 static PyObject * Client_swigregister(PyObject *self, PyObject *args) {
9407     PyObject *obj;
9408     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9409     SWIG_TypeClientData(SWIGTYPE_p_ob__Client, obj);
9410     Py_INCREF(obj);
9411     return Py_BuildValue((char *)"");
9412 }
9413 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
9414     PyObject *resultobj;
9415     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9416     int arg2 ;
9417     PyObject * obj0  = 0 ;
9418     
9419     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
9420     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421     if (arg1) (arg1)->screen = arg2;
9422     
9423     Py_INCREF(Py_None); resultobj = Py_None;
9424     return resultobj;
9425     fail:
9426     return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
9431     PyObject *resultobj;
9432     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9433     int result;
9434     PyObject * obj0  = 0 ;
9435     
9436     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
9437     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9438     result = (int) ((arg1)->screen);
9439     
9440     resultobj = PyInt_FromLong((long)result);
9441     return resultobj;
9442     fail:
9443     return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
9448     PyObject *resultobj;
9449     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9450     ob::Client *arg2 = (ob::Client *) 0 ;
9451     PyObject * obj0  = 0 ;
9452     PyObject * obj1  = 0 ;
9453     
9454     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
9455     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9457     if (arg1) (arg1)->client = arg2;
9458     
9459     Py_INCREF(Py_None); resultobj = Py_None;
9460     return resultobj;
9461     fail:
9462     return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
9467     PyObject *resultobj;
9468     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9469     ob::Client *result;
9470     PyObject * obj0  = 0 ;
9471     
9472     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
9473     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474     result = (ob::Client *) ((arg1)->client);
9475     
9476     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
9477     return resultobj;
9478     fail:
9479     return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
9484     PyObject *resultobj;
9485     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9486     Time arg2 ;
9487     PyObject * obj0  = 0 ;
9488     PyObject * obj1  = 0 ;
9489     
9490     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
9491     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492     arg2 = (Time) PyInt_AsLong(obj1);
9493     if (PyErr_Occurred()) SWIG_fail;
9494     if (arg1) (arg1)->time = arg2;
9495     
9496     Py_INCREF(Py_None); resultobj = Py_None;
9497     return resultobj;
9498     fail:
9499     return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
9504     PyObject *resultobj;
9505     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9506     Time result;
9507     PyObject * obj0  = 0 ;
9508     
9509     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
9510     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511     result = (Time) ((arg1)->time);
9512     
9513     resultobj = PyInt_FromLong((long)result);
9514     return resultobj;
9515     fail:
9516     return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
9521     PyObject *resultobj;
9522     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9523     unsigned int arg2 ;
9524     PyObject * obj0  = 0 ;
9525     PyObject * obj1  = 0 ;
9526     
9527     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
9528     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529     arg2 = (unsigned int) PyInt_AsLong(obj1);
9530     if (PyErr_Occurred()) SWIG_fail;
9531     if (arg1) (arg1)->state = arg2;
9532     
9533     Py_INCREF(Py_None); resultobj = Py_None;
9534     return resultobj;
9535     fail:
9536     return NULL;
9537 }
9538
9539
9540 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
9541     PyObject *resultobj;
9542     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9543     unsigned int result;
9544     PyObject * obj0  = 0 ;
9545     
9546     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
9547     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9548     result = (unsigned int) ((arg1)->state);
9549     
9550     resultobj = PyInt_FromLong((long)result);
9551     return resultobj;
9552     fail:
9553     return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
9558     PyObject *resultobj;
9559     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9560     unsigned int arg2 ;
9561     PyObject * obj0  = 0 ;
9562     PyObject * obj1  = 0 ;
9563     
9564     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
9565     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566     arg2 = (unsigned int) PyInt_AsLong(obj1);
9567     if (PyErr_Occurred()) SWIG_fail;
9568     if (arg1) (arg1)->button = arg2;
9569     
9570     Py_INCREF(Py_None); resultobj = Py_None;
9571     return resultobj;
9572     fail:
9573     return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
9578     PyObject *resultobj;
9579     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9580     unsigned int result;
9581     PyObject * obj0  = 0 ;
9582     
9583     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
9584     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9585     result = (unsigned int) ((arg1)->button);
9586     
9587     resultobj = PyInt_FromLong((long)result);
9588     return resultobj;
9589     fail:
9590     return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
9595     PyObject *resultobj;
9596     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9597     int arg2 ;
9598     PyObject * obj0  = 0 ;
9599     
9600     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
9601     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9602     if (arg1) (arg1)->context = (ob::MouseContext )arg2;
9603     
9604     Py_INCREF(Py_None); resultobj = Py_None;
9605     return resultobj;
9606     fail:
9607     return NULL;
9608 }
9609
9610
9611 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
9612     PyObject *resultobj;
9613     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9614     int result;
9615     PyObject * obj0  = 0 ;
9616     
9617     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
9618     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619     result = (int) ((arg1)->context);
9620     
9621     resultobj = PyInt_FromLong((long)result);
9622     return resultobj;
9623     fail:
9624     return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
9629     PyObject *resultobj;
9630     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9631     int arg2 ;
9632     PyObject * obj0  = 0 ;
9633     
9634     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
9635     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636     if (arg1) (arg1)->action = (ob::MouseAction )arg2;
9637     
9638     Py_INCREF(Py_None); resultobj = Py_None;
9639     return resultobj;
9640     fail:
9641     return NULL;
9642 }
9643
9644
9645 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
9646     PyObject *resultobj;
9647     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9648     int result;
9649     PyObject * obj0  = 0 ;
9650     
9651     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
9652     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9653     result = (int) ((arg1)->action);
9654     
9655     resultobj = PyInt_FromLong((long)result);
9656     return resultobj;
9657     fail:
9658     return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
9663     PyObject *resultobj;
9664     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9665     int arg2 ;
9666     PyObject * obj0  = 0 ;
9667     
9668     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
9669     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670     if (arg1) (arg1)->xroot = arg2;
9671     
9672     Py_INCREF(Py_None); resultobj = Py_None;
9673     return resultobj;
9674     fail:
9675     return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
9680     PyObject *resultobj;
9681     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9682     int result;
9683     PyObject * obj0  = 0 ;
9684     
9685     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
9686     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9687     result = (int) ((arg1)->xroot);
9688     
9689     resultobj = PyInt_FromLong((long)result);
9690     return resultobj;
9691     fail:
9692     return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
9697     PyObject *resultobj;
9698     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9699     int arg2 ;
9700     PyObject * obj0  = 0 ;
9701     
9702     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
9703     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9704     if (arg1) (arg1)->yroot = arg2;
9705     
9706     Py_INCREF(Py_None); resultobj = Py_None;
9707     return resultobj;
9708     fail:
9709     return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
9714     PyObject *resultobj;
9715     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9716     int result;
9717     PyObject * obj0  = 0 ;
9718     
9719     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
9720     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721     result = (int) ((arg1)->yroot);
9722     
9723     resultobj = PyInt_FromLong((long)result);
9724     return resultobj;
9725     fail:
9726     return NULL;
9727 }
9728
9729
9730 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
9731     PyObject *resultobj;
9732     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9733     int arg2 ;
9734     PyObject * obj0  = 0 ;
9735     
9736     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
9737     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9738     if (arg1) (arg1)->pressx = arg2;
9739     
9740     Py_INCREF(Py_None); resultobj = Py_None;
9741     return resultobj;
9742     fail:
9743     return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
9748     PyObject *resultobj;
9749     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9750     int result;
9751     PyObject * obj0  = 0 ;
9752     
9753     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
9754     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9755     result = (int) ((arg1)->pressx);
9756     
9757     resultobj = PyInt_FromLong((long)result);
9758     return resultobj;
9759     fail:
9760     return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
9765     PyObject *resultobj;
9766     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9767     int arg2 ;
9768     PyObject * obj0  = 0 ;
9769     
9770     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
9771     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772     if (arg1) (arg1)->pressy = arg2;
9773     
9774     Py_INCREF(Py_None); resultobj = Py_None;
9775     return resultobj;
9776     fail:
9777     return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
9782     PyObject *resultobj;
9783     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9784     int result;
9785     PyObject * obj0  = 0 ;
9786     
9787     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
9788     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789     result = (int) ((arg1)->pressy);
9790     
9791     resultobj = PyInt_FromLong((long)result);
9792     return resultobj;
9793     fail:
9794     return NULL;
9795 }
9796
9797
9798 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
9799     PyObject *resultobj;
9800     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9801     int arg2 ;
9802     PyObject * obj0  = 0 ;
9803     
9804     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
9805     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9806     if (arg1) (arg1)->press_clientx = arg2;
9807     
9808     Py_INCREF(Py_None); resultobj = Py_None;
9809     return resultobj;
9810     fail:
9811     return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
9816     PyObject *resultobj;
9817     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9818     int result;
9819     PyObject * obj0  = 0 ;
9820     
9821     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
9822     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9823     result = (int) ((arg1)->press_clientx);
9824     
9825     resultobj = PyInt_FromLong((long)result);
9826     return resultobj;
9827     fail:
9828     return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
9833     PyObject *resultobj;
9834     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9835     int arg2 ;
9836     PyObject * obj0  = 0 ;
9837     
9838     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
9839     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9840     if (arg1) (arg1)->press_clienty = arg2;
9841     
9842     Py_INCREF(Py_None); resultobj = Py_None;
9843     return resultobj;
9844     fail:
9845     return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
9850     PyObject *resultobj;
9851     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9852     int result;
9853     PyObject * obj0  = 0 ;
9854     
9855     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
9856     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857     result = (int) ((arg1)->press_clienty);
9858     
9859     resultobj = PyInt_FromLong((long)result);
9860     return resultobj;
9861     fail:
9862     return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
9867     PyObject *resultobj;
9868     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9869     int arg2 ;
9870     PyObject * obj0  = 0 ;
9871     
9872     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
9873     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874     if (arg1) (arg1)->press_clientwidth = arg2;
9875     
9876     Py_INCREF(Py_None); resultobj = Py_None;
9877     return resultobj;
9878     fail:
9879     return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
9884     PyObject *resultobj;
9885     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9886     int result;
9887     PyObject * obj0  = 0 ;
9888     
9889     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
9890     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9891     result = (int) ((arg1)->press_clientwidth);
9892     
9893     resultobj = PyInt_FromLong((long)result);
9894     return resultobj;
9895     fail:
9896     return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
9901     PyObject *resultobj;
9902     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9903     int arg2 ;
9904     PyObject * obj0  = 0 ;
9905     
9906     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
9907     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9908     if (arg1) (arg1)->press_clientheight = arg2;
9909     
9910     Py_INCREF(Py_None); resultobj = Py_None;
9911     return resultobj;
9912     fail:
9913     return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
9918     PyObject *resultobj;
9919     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
9920     int result;
9921     PyObject * obj0  = 0 ;
9922     
9923     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
9924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925     result = (int) ((arg1)->press_clientheight);
9926     
9927     resultobj = PyInt_FromLong((long)result);
9928     return resultobj;
9929     fail:
9930     return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
9935     PyObject *resultobj;
9936     int arg1 ;
9937     ob::Client *arg2 = (ob::Client *) 0 ;
9938     Time arg3 ;
9939     unsigned int arg4 ;
9940     unsigned int arg5 ;
9941     int arg6 ;
9942     int arg7 ;
9943     int arg8 ;
9944     int arg9 ;
9945     otk::Point *arg10 = 0 ;
9946     otk::Rect *arg11 = 0 ;
9947     ob::MouseData *result;
9948     PyObject * obj1  = 0 ;
9949     PyObject * obj2  = 0 ;
9950     PyObject * obj3  = 0 ;
9951     PyObject * obj4  = 0 ;
9952     PyObject * obj9  = 0 ;
9953     PyObject * obj10  = 0 ;
9954     
9955     if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
9956     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9957     arg3 = (Time) PyInt_AsLong(obj2);
9958     if (PyErr_Occurred()) SWIG_fail;
9959     arg4 = (unsigned int) PyInt_AsLong(obj3);
9960     if (PyErr_Occurred()) SWIG_fail;
9961     arg5 = (unsigned int) PyInt_AsLong(obj4);
9962     if (PyErr_Occurred()) SWIG_fail;
9963     if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964     if (arg10 == NULL) {
9965         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9966     }
9967     if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968     if (arg11 == NULL) {
9969         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
9970     }
9971     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);
9972     
9973     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
9974     return resultobj;
9975     fail:
9976     return NULL;
9977 }
9978
9979
9980 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
9981     PyObject *resultobj;
9982     int arg1 ;
9983     ob::Client *arg2 = (ob::Client *) 0 ;
9984     Time arg3 ;
9985     unsigned int arg4 ;
9986     unsigned int arg5 ;
9987     int arg6 ;
9988     int arg7 ;
9989     ob::MouseData *result;
9990     PyObject * obj1  = 0 ;
9991     PyObject * obj2  = 0 ;
9992     PyObject * obj3  = 0 ;
9993     PyObject * obj4  = 0 ;
9994     
9995     if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
9996     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9997     arg3 = (Time) PyInt_AsLong(obj2);
9998     if (PyErr_Occurred()) SWIG_fail;
9999     arg4 = (unsigned int) PyInt_AsLong(obj3);
10000     if (PyErr_Occurred()) SWIG_fail;
10001     arg5 = (unsigned int) PyInt_AsLong(obj4);
10002     if (PyErr_Occurred()) SWIG_fail;
10003     result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
10004     
10005     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
10006     return resultobj;
10007     fail:
10008     return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
10013     int argc;
10014     PyObject *argv[12];
10015     int ii;
10016     
10017     argc = PyObject_Length(args);
10018     for (ii = 0; (ii < argc) && (ii < 11); ii++) {
10019         argv[ii] = PyTuple_GetItem(args,ii);
10020     }
10021     if (argc == 7) {
10022         int _v;
10023         {
10024             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10025         }
10026         if (_v) {
10027             {
10028                 void *ptr;
10029                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10030                     _v = 0;
10031                     PyErr_Clear();
10032                 }else {
10033                     _v = 1;
10034                 }
10035             }
10036             if (_v) {
10037                 {
10038                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10039                 }
10040                 if (_v) {
10041                     {
10042                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10043                     }
10044                     if (_v) {
10045                         {
10046                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10047                         }
10048                         if (_v) {
10049                             {
10050                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10051                             }
10052                             if (_v) {
10053                                 {
10054                                     _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10055                                 }
10056                                 if (_v) {
10057                                     return _wrap_new_MouseData__SWIG_1(self,args);
10058                                 }
10059                             }
10060                         }
10061                     }
10062                 }
10063             }
10064         }
10065     }
10066     if (argc == 11) {
10067         int _v;
10068         {
10069             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
10070         }
10071         if (_v) {
10072             {
10073                 void *ptr;
10074                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__Client, 0) == -1) {
10075                     _v = 0;
10076                     PyErr_Clear();
10077                 }else {
10078                     _v = 1;
10079                 }
10080             }
10081             if (_v) {
10082                 {
10083                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
10084                 }
10085                 if (_v) {
10086                     {
10087                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
10088                     }
10089                     if (_v) {
10090                         {
10091                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
10092                         }
10093                         if (_v) {
10094                             {
10095                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
10096                             }
10097                             if (_v) {
10098                                 {
10099                                     _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
10100                                 }
10101                                 if (_v) {
10102                                     {
10103                                         _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
10104                                     }
10105                                     if (_v) {
10106                                         {
10107                                             _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
10108                                         }
10109                                         if (_v) {
10110                                             {
10111                                                 void *ptr;
10112                                                 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
10113                                                     _v = 0;
10114                                                     PyErr_Clear();
10115                                                 }else {
10116                                                     _v = 1;
10117                                                 }
10118                                             }
10119                                             if (_v) {
10120                                                 {
10121                                                     void *ptr;
10122                                                     if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
10123                                                         _v = 0;
10124                                                         PyErr_Clear();
10125                                                     }else {
10126                                                         _v = 1;
10127                                                     }
10128                                                 }
10129                                                 if (_v) {
10130                                                     return _wrap_new_MouseData__SWIG_0(self,args);
10131                                                 }
10132                                             }
10133                                         }
10134                                     }
10135                                 }
10136                             }
10137                         }
10138                     }
10139                 }
10140             }
10141         }
10142     }
10143     
10144     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
10145     return NULL;
10146 }
10147
10148
10149 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
10150     PyObject *obj;
10151     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10152     SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
10153     Py_INCREF(obj);
10154     return Py_BuildValue((char *)"");
10155 }
10156 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
10157     PyObject *resultobj;
10158     ob::EventData *arg1 = (ob::EventData *) 0 ;
10159     int arg2 ;
10160     PyObject * obj0  = 0 ;
10161     
10162     if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
10163     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164     if (arg1) (arg1)->screen = arg2;
10165     
10166     Py_INCREF(Py_None); resultobj = Py_None;
10167     return resultobj;
10168     fail:
10169     return NULL;
10170 }
10171
10172
10173 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
10174     PyObject *resultobj;
10175     ob::EventData *arg1 = (ob::EventData *) 0 ;
10176     int result;
10177     PyObject * obj0  = 0 ;
10178     
10179     if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
10180     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10181     result = (int) ((arg1)->screen);
10182     
10183     resultobj = PyInt_FromLong((long)result);
10184     return resultobj;
10185     fail:
10186     return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
10191     PyObject *resultobj;
10192     ob::EventData *arg1 = (ob::EventData *) 0 ;
10193     ob::Client *arg2 = (ob::Client *) 0 ;
10194     PyObject * obj0  = 0 ;
10195     PyObject * obj1  = 0 ;
10196     
10197     if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
10198     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10200     if (arg1) (arg1)->client = arg2;
10201     
10202     Py_INCREF(Py_None); resultobj = Py_None;
10203     return resultobj;
10204     fail:
10205     return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
10210     PyObject *resultobj;
10211     ob::EventData *arg1 = (ob::EventData *) 0 ;
10212     ob::Client *result;
10213     PyObject * obj0  = 0 ;
10214     
10215     if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
10216     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10217     result = (ob::Client *) ((arg1)->client);
10218     
10219     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10220     return resultobj;
10221     fail:
10222     return NULL;
10223 }
10224
10225
10226 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
10227     PyObject *resultobj;
10228     ob::EventData *arg1 = (ob::EventData *) 0 ;
10229     unsigned int arg2 ;
10230     PyObject * obj0  = 0 ;
10231     PyObject * obj1  = 0 ;
10232     
10233     if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
10234     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10235     arg2 = (unsigned int) PyInt_AsLong(obj1);
10236     if (PyErr_Occurred()) SWIG_fail;
10237     if (arg1) (arg1)->state = arg2;
10238     
10239     Py_INCREF(Py_None); resultobj = Py_None;
10240     return resultobj;
10241     fail:
10242     return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
10247     PyObject *resultobj;
10248     ob::EventData *arg1 = (ob::EventData *) 0 ;
10249     unsigned int result;
10250     PyObject * obj0  = 0 ;
10251     
10252     if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
10253     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10254     result = (unsigned int) ((arg1)->state);
10255     
10256     resultobj = PyInt_FromLong((long)result);
10257     return resultobj;
10258     fail:
10259     return NULL;
10260 }
10261
10262
10263 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
10264     PyObject *resultobj;
10265     ob::EventData *arg1 = (ob::EventData *) 0 ;
10266     int arg2 ;
10267     PyObject * obj0  = 0 ;
10268     
10269     if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
10270     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10271     if (arg1) (arg1)->action = (ob::EventAction )arg2;
10272     
10273     Py_INCREF(Py_None); resultobj = Py_None;
10274     return resultobj;
10275     fail:
10276     return NULL;
10277 }
10278
10279
10280 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
10281     PyObject *resultobj;
10282     ob::EventData *arg1 = (ob::EventData *) 0 ;
10283     int result;
10284     PyObject * obj0  = 0 ;
10285     
10286     if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
10287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10288     result = (int) ((arg1)->action);
10289     
10290     resultobj = PyInt_FromLong((long)result);
10291     return resultobj;
10292     fail:
10293     return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
10298     PyObject *resultobj;
10299     int arg1 ;
10300     ob::Client *arg2 = (ob::Client *) 0 ;
10301     int arg3 ;
10302     unsigned int arg4 ;
10303     ob::EventData *result;
10304     PyObject * obj1  = 0 ;
10305     PyObject * obj3  = 0 ;
10306     
10307     if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
10308     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10309     arg4 = (unsigned int) PyInt_AsLong(obj3);
10310     if (PyErr_Occurred()) SWIG_fail;
10311     result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
10312     
10313     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
10314     return resultobj;
10315     fail:
10316     return NULL;
10317 }
10318
10319
10320 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
10321     PyObject *obj;
10322     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10323     SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
10324     Py_INCREF(obj);
10325     return Py_BuildValue((char *)"");
10326 }
10327 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
10328     PyObject *resultobj;
10329     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10330     int arg2 ;
10331     PyObject * obj0  = 0 ;
10332     
10333     if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
10334     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335     if (arg1) (arg1)->screen = arg2;
10336     
10337     Py_INCREF(Py_None); resultobj = Py_None;
10338     return resultobj;
10339     fail:
10340     return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
10345     PyObject *resultobj;
10346     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10347     int result;
10348     PyObject * obj0  = 0 ;
10349     
10350     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
10351     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10352     result = (int) ((arg1)->screen);
10353     
10354     resultobj = PyInt_FromLong((long)result);
10355     return resultobj;
10356     fail:
10357     return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
10362     PyObject *resultobj;
10363     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10364     ob::Client *arg2 = (ob::Client *) 0 ;
10365     PyObject * obj0  = 0 ;
10366     PyObject * obj1  = 0 ;
10367     
10368     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
10369     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10370     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
10371     if (arg1) (arg1)->client = arg2;
10372     
10373     Py_INCREF(Py_None); resultobj = Py_None;
10374     return resultobj;
10375     fail:
10376     return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
10381     PyObject *resultobj;
10382     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10383     ob::Client *result;
10384     PyObject * obj0  = 0 ;
10385     
10386     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
10387     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10388     result = (ob::Client *) ((arg1)->client);
10389     
10390     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Client, 0);
10391     return resultobj;
10392     fail:
10393     return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
10398     PyObject *resultobj;
10399     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10400     Time arg2 ;
10401     PyObject * obj0  = 0 ;
10402     PyObject * obj1  = 0 ;
10403     
10404     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
10405     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406     arg2 = (Time) PyInt_AsLong(obj1);
10407     if (PyErr_Occurred()) SWIG_fail;
10408     if (arg1) (arg1)->time = arg2;
10409     
10410     Py_INCREF(Py_None); resultobj = Py_None;
10411     return resultobj;
10412     fail:
10413     return NULL;
10414 }
10415
10416
10417 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
10418     PyObject *resultobj;
10419     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10420     Time result;
10421     PyObject * obj0  = 0 ;
10422     
10423     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
10424     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10425     result = (Time) ((arg1)->time);
10426     
10427     resultobj = PyInt_FromLong((long)result);
10428     return resultobj;
10429     fail:
10430     return NULL;
10431 }
10432
10433
10434 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
10435     PyObject *resultobj;
10436     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10437     unsigned int arg2 ;
10438     PyObject * obj0  = 0 ;
10439     PyObject * obj1  = 0 ;
10440     
10441     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
10442     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443     arg2 = (unsigned int) PyInt_AsLong(obj1);
10444     if (PyErr_Occurred()) SWIG_fail;
10445     if (arg1) (arg1)->state = arg2;
10446     
10447     Py_INCREF(Py_None); resultobj = Py_None;
10448     return resultobj;
10449     fail:
10450     return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
10455     PyObject *resultobj;
10456     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10457     unsigned int result;
10458     PyObject * obj0  = 0 ;
10459     
10460     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
10461     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10462     result = (unsigned int) ((arg1)->state);
10463     
10464     resultobj = PyInt_FromLong((long)result);
10465     return resultobj;
10466     fail:
10467     return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
10472     PyObject *resultobj;
10473     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10474     std::string *arg2 = (std::string *) 0 ;
10475     PyObject * obj0  = 0 ;
10476     PyObject * obj1  = 0 ;
10477     
10478     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
10479     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10481     if (arg1) (arg1)->key = *arg2;
10482     
10483     Py_INCREF(Py_None); resultobj = Py_None;
10484     return resultobj;
10485     fail:
10486     return NULL;
10487 }
10488
10489
10490 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
10491     PyObject *resultobj;
10492     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
10493     std::string *result;
10494     PyObject * obj0  = 0 ;
10495     
10496     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
10497     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10498     result = (std::string *)& ((arg1)->key);
10499     
10500     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
10501     return resultobj;
10502     fail:
10503     return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
10508     PyObject *resultobj;
10509     int arg1 ;
10510     ob::Client *arg2 = (ob::Client *) 0 ;
10511     Time arg3 ;
10512     unsigned int arg4 ;
10513     unsigned int arg5 ;
10514     ob::KeyData *result;
10515     PyObject * obj1  = 0 ;
10516     PyObject * obj2  = 0 ;
10517     PyObject * obj3  = 0 ;
10518     PyObject * obj4  = 0 ;
10519     
10520     if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
10521     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10522     arg3 = (Time) PyInt_AsLong(obj2);
10523     if (PyErr_Occurred()) SWIG_fail;
10524     arg4 = (unsigned int) PyInt_AsLong(obj3);
10525     if (PyErr_Occurred()) SWIG_fail;
10526     arg5 = (unsigned int) PyInt_AsLong(obj4);
10527     if (PyErr_Occurred()) SWIG_fail;
10528     result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
10529     
10530     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
10531     return resultobj;
10532     fail:
10533     return NULL;
10534 }
10535
10536
10537 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
10538     PyObject *obj;
10539     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10540     SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
10541     Py_INCREF(obj);
10542     return Py_BuildValue((char *)"");
10543 }
10544 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
10545     PyObject *resultobj;
10546     std::string *arg1 = 0 ;
10547     int arg2 ;
10548     int arg3 ;
10549     PyObject *arg4 = (PyObject *) 0 ;
10550     PyObject *result;
10551     std::string temp1 ;
10552     PyObject * obj0  = 0 ;
10553     PyObject * obj3  = 0 ;
10554     
10555     if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
10556     {
10557         if (PyString_Check(obj0)) {
10558             temp1 = std::string(PyString_AsString(obj0));
10559             arg1 = &temp1;
10560         }else {
10561             SWIG_exception(SWIG_TypeError, "string expected");
10562         }
10563     }
10564     arg4 = obj3;
10565     result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
10566     
10567     resultobj = result;
10568     return resultobj;
10569     fail:
10570     return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
10575     PyObject *resultobj;
10576     PyObject *arg1 = (PyObject *) 0 ;
10577     int arg2 ;
10578     PyObject *arg3 = (PyObject *) 0 ;
10579     PyObject *result;
10580     PyObject * obj0  = 0 ;
10581     PyObject * obj2  = 0 ;
10582     
10583     if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
10584     arg1 = obj0;
10585     arg3 = obj2;
10586     result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
10587     
10588     resultobj = result;
10589     return resultobj;
10590     fail:
10591     return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
10596     PyObject *resultobj;
10597     int arg1 ;
10598     PyObject *arg2 = (PyObject *) 0 ;
10599     PyObject *result;
10600     PyObject * obj1  = 0 ;
10601     
10602     if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
10603     arg2 = obj1;
10604     result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
10605     
10606     resultobj = result;
10607     return resultobj;
10608     fail:
10609     return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
10614     PyObject *resultobj;
10615     std::string *arg1 = 0 ;
10616     std::string temp1 ;
10617     PyObject * obj0  = 0 ;
10618     
10619     if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
10620     {
10621         if (PyString_Check(obj0)) {
10622             temp1 = std::string(PyString_AsString(obj0));
10623             arg1 = &temp1;
10624         }else {
10625             SWIG_exception(SWIG_TypeError, "string expected");
10626         }
10627     }
10628     ob::set_reset_key((std::string const &)*arg1);
10629     
10630     Py_INCREF(Py_None); resultobj = Py_None;
10631     return resultobj;
10632     fail:
10633     return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
10638     PyObject *resultobj;
10639     Window arg1 ;
10640     Atom arg2 ;
10641     Window arg3 ;
10642     long arg4 ;
10643     long arg5 = (long) 0 ;
10644     long arg6 = (long) 0 ;
10645     long arg7 = (long) 0 ;
10646     long arg8 = (long) 0 ;
10647     PyObject *result;
10648     PyObject * obj0  = 0 ;
10649     PyObject * obj1  = 0 ;
10650     PyObject * obj2  = 0 ;
10651     
10652     if(!PyArg_ParseTuple(args,(char *)"OOOl|llll:send_client_msg",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
10653     arg1 = (Window) PyInt_AsLong(obj0);
10654     if (PyErr_Occurred()) SWIG_fail;
10655     arg2 = (Atom) PyInt_AsLong(obj1);
10656     if (PyErr_Occurred()) SWIG_fail;
10657     arg3 = (Window) PyInt_AsLong(obj2);
10658     if (PyErr_Occurred()) SWIG_fail;
10659     result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
10660     
10661     resultobj = result;
10662     return resultobj;
10663     fail:
10664     return NULL;
10665 }
10666
10667
10668 static PyMethodDef SwigMethods[] = {
10669          { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
10670          { (char *)"Display_instance", _wrap_Display_instance, METH_VARARGS },
10671          { (char *)"Property_atoms", _wrap_Property_atoms, METH_VARARGS },
10672          { (char *)"new_Display", _wrap_new_Display, METH_VARARGS },
10673          { (char *)"delete_Display", _wrap_delete_Display, METH_VARARGS },
10674          { (char *)"Display_gcCache", _wrap_Display_gcCache, METH_VARARGS },
10675          { (char *)"Display_screenInfo", _wrap_Display_screenInfo, METH_VARARGS },
10676          { (char *)"Display_findScreen", _wrap_Display_findScreen, METH_VARARGS },
10677          { (char *)"Display_xkb", _wrap_Display_xkb, METH_VARARGS },
10678          { (char *)"Display_xkbEventBase", _wrap_Display_xkbEventBase, METH_VARARGS },
10679          { (char *)"Display_shape", _wrap_Display_shape, METH_VARARGS },
10680          { (char *)"Display_shapeEventBase", _wrap_Display_shapeEventBase, METH_VARARGS },
10681          { (char *)"Display_xinerama", _wrap_Display_xinerama, METH_VARARGS },
10682          { (char *)"Display_numLockMask", _wrap_Display_numLockMask, METH_VARARGS },
10683          { (char *)"Display_scrollLockMask", _wrap_Display_scrollLockMask, METH_VARARGS },
10684          { (char *)"Display___mul__", _wrap_Display___mul__, METH_VARARGS },
10685          { (char *)"Display_grab", _wrap_Display_grab, METH_VARARGS },
10686          { (char *)"Display_ungrab", _wrap_Display_ungrab, METH_VARARGS },
10687          { (char *)"Display_grabButton", _wrap_Display_grabButton, METH_VARARGS },
10688          { (char *)"Display_ungrabButton", _wrap_Display_ungrabButton, METH_VARARGS },
10689          { (char *)"Display_grabKey", _wrap_Display_grabKey, METH_VARARGS },
10690          { (char *)"Display_ungrabKey", _wrap_Display_ungrabKey, METH_VARARGS },
10691          { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
10692          { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
10693          { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
10694          { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
10695          { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
10696          { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
10697          { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
10698          { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
10699          { (char *)"Atoms_cardinal_set", _wrap_Atoms_cardinal_set, METH_VARARGS },
10700          { (char *)"Atoms_cardinal_get", _wrap_Atoms_cardinal_get, METH_VARARGS },
10701          { (char *)"Atoms_window_set", _wrap_Atoms_window_set, METH_VARARGS },
10702          { (char *)"Atoms_window_get", _wrap_Atoms_window_get, METH_VARARGS },
10703          { (char *)"Atoms_pixmap_set", _wrap_Atoms_pixmap_set, METH_VARARGS },
10704          { (char *)"Atoms_pixmap_get", _wrap_Atoms_pixmap_get, METH_VARARGS },
10705          { (char *)"Atoms_atom_set", _wrap_Atoms_atom_set, METH_VARARGS },
10706          { (char *)"Atoms_atom_get", _wrap_Atoms_atom_get, METH_VARARGS },
10707          { (char *)"Atoms_string_set", _wrap_Atoms_string_set, METH_VARARGS },
10708          { (char *)"Atoms_string_get", _wrap_Atoms_string_get, METH_VARARGS },
10709          { (char *)"Atoms_utf8_set", _wrap_Atoms_utf8_set, METH_VARARGS },
10710          { (char *)"Atoms_utf8_get", _wrap_Atoms_utf8_get, METH_VARARGS },
10711          { (char *)"Atoms_openbox_pid_set", _wrap_Atoms_openbox_pid_set, METH_VARARGS },
10712          { (char *)"Atoms_openbox_pid_get", _wrap_Atoms_openbox_pid_get, METH_VARARGS },
10713          { (char *)"Atoms_wm_colormap_windows_set", _wrap_Atoms_wm_colormap_windows_set, METH_VARARGS },
10714          { (char *)"Atoms_wm_colormap_windows_get", _wrap_Atoms_wm_colormap_windows_get, METH_VARARGS },
10715          { (char *)"Atoms_wm_protocols_set", _wrap_Atoms_wm_protocols_set, METH_VARARGS },
10716          { (char *)"Atoms_wm_protocols_get", _wrap_Atoms_wm_protocols_get, METH_VARARGS },
10717          { (char *)"Atoms_wm_state_set", _wrap_Atoms_wm_state_set, METH_VARARGS },
10718          { (char *)"Atoms_wm_state_get", _wrap_Atoms_wm_state_get, METH_VARARGS },
10719          { (char *)"Atoms_wm_delete_window_set", _wrap_Atoms_wm_delete_window_set, METH_VARARGS },
10720          { (char *)"Atoms_wm_delete_window_get", _wrap_Atoms_wm_delete_window_get, METH_VARARGS },
10721          { (char *)"Atoms_wm_take_focus_set", _wrap_Atoms_wm_take_focus_set, METH_VARARGS },
10722          { (char *)"Atoms_wm_take_focus_get", _wrap_Atoms_wm_take_focus_get, METH_VARARGS },
10723          { (char *)"Atoms_wm_change_state_set", _wrap_Atoms_wm_change_state_set, METH_VARARGS },
10724          { (char *)"Atoms_wm_change_state_get", _wrap_Atoms_wm_change_state_get, METH_VARARGS },
10725          { (char *)"Atoms_wm_name_set", _wrap_Atoms_wm_name_set, METH_VARARGS },
10726          { (char *)"Atoms_wm_name_get", _wrap_Atoms_wm_name_get, METH_VARARGS },
10727          { (char *)"Atoms_wm_icon_name_set", _wrap_Atoms_wm_icon_name_set, METH_VARARGS },
10728          { (char *)"Atoms_wm_icon_name_get", _wrap_Atoms_wm_icon_name_get, METH_VARARGS },
10729          { (char *)"Atoms_wm_class_set", _wrap_Atoms_wm_class_set, METH_VARARGS },
10730          { (char *)"Atoms_wm_class_get", _wrap_Atoms_wm_class_get, METH_VARARGS },
10731          { (char *)"Atoms_wm_window_role_set", _wrap_Atoms_wm_window_role_set, METH_VARARGS },
10732          { (char *)"Atoms_wm_window_role_get", _wrap_Atoms_wm_window_role_get, METH_VARARGS },
10733          { (char *)"Atoms_motif_wm_hints_set", _wrap_Atoms_motif_wm_hints_set, METH_VARARGS },
10734          { (char *)"Atoms_motif_wm_hints_get", _wrap_Atoms_motif_wm_hints_get, METH_VARARGS },
10735          { (char *)"Atoms_openbox_show_root_menu_set", _wrap_Atoms_openbox_show_root_menu_set, METH_VARARGS },
10736          { (char *)"Atoms_openbox_show_root_menu_get", _wrap_Atoms_openbox_show_root_menu_get, METH_VARARGS },
10737          { (char *)"Atoms_openbox_show_workspace_menu_set", _wrap_Atoms_openbox_show_workspace_menu_set, METH_VARARGS },
10738          { (char *)"Atoms_openbox_show_workspace_menu_get", _wrap_Atoms_openbox_show_workspace_menu_get, METH_VARARGS },
10739          { (char *)"Atoms_net_supported_set", _wrap_Atoms_net_supported_set, METH_VARARGS },
10740          { (char *)"Atoms_net_supported_get", _wrap_Atoms_net_supported_get, METH_VARARGS },
10741          { (char *)"Atoms_net_client_list_set", _wrap_Atoms_net_client_list_set, METH_VARARGS },
10742          { (char *)"Atoms_net_client_list_get", _wrap_Atoms_net_client_list_get, METH_VARARGS },
10743          { (char *)"Atoms_net_client_list_stacking_set", _wrap_Atoms_net_client_list_stacking_set, METH_VARARGS },
10744          { (char *)"Atoms_net_client_list_stacking_get", _wrap_Atoms_net_client_list_stacking_get, METH_VARARGS },
10745          { (char *)"Atoms_net_number_of_desktops_set", _wrap_Atoms_net_number_of_desktops_set, METH_VARARGS },
10746          { (char *)"Atoms_net_number_of_desktops_get", _wrap_Atoms_net_number_of_desktops_get, METH_VARARGS },
10747          { (char *)"Atoms_net_desktop_geometry_set", _wrap_Atoms_net_desktop_geometry_set, METH_VARARGS },
10748          { (char *)"Atoms_net_desktop_geometry_get", _wrap_Atoms_net_desktop_geometry_get, METH_VARARGS },
10749          { (char *)"Atoms_net_desktop_viewport_set", _wrap_Atoms_net_desktop_viewport_set, METH_VARARGS },
10750          { (char *)"Atoms_net_desktop_viewport_get", _wrap_Atoms_net_desktop_viewport_get, METH_VARARGS },
10751          { (char *)"Atoms_net_current_desktop_set", _wrap_Atoms_net_current_desktop_set, METH_VARARGS },
10752          { (char *)"Atoms_net_current_desktop_get", _wrap_Atoms_net_current_desktop_get, METH_VARARGS },
10753          { (char *)"Atoms_net_desktop_names_set", _wrap_Atoms_net_desktop_names_set, METH_VARARGS },
10754          { (char *)"Atoms_net_desktop_names_get", _wrap_Atoms_net_desktop_names_get, METH_VARARGS },
10755          { (char *)"Atoms_net_active_window_set", _wrap_Atoms_net_active_window_set, METH_VARARGS },
10756          { (char *)"Atoms_net_active_window_get", _wrap_Atoms_net_active_window_get, METH_VARARGS },
10757          { (char *)"Atoms_net_workarea_set", _wrap_Atoms_net_workarea_set, METH_VARARGS },
10758          { (char *)"Atoms_net_workarea_get", _wrap_Atoms_net_workarea_get, METH_VARARGS },
10759          { (char *)"Atoms_net_supporting_wm_check_set", _wrap_Atoms_net_supporting_wm_check_set, METH_VARARGS },
10760          { (char *)"Atoms_net_supporting_wm_check_get", _wrap_Atoms_net_supporting_wm_check_get, METH_VARARGS },
10761          { (char *)"Atoms_net_close_window_set", _wrap_Atoms_net_close_window_set, METH_VARARGS },
10762          { (char *)"Atoms_net_close_window_get", _wrap_Atoms_net_close_window_get, METH_VARARGS },
10763          { (char *)"Atoms_net_wm_moveresize_set", _wrap_Atoms_net_wm_moveresize_set, METH_VARARGS },
10764          { (char *)"Atoms_net_wm_moveresize_get", _wrap_Atoms_net_wm_moveresize_get, METH_VARARGS },
10765          { (char *)"Atoms_net_wm_name_set", _wrap_Atoms_net_wm_name_set, METH_VARARGS },
10766          { (char *)"Atoms_net_wm_name_get", _wrap_Atoms_net_wm_name_get, METH_VARARGS },
10767          { (char *)"Atoms_net_wm_visible_name_set", _wrap_Atoms_net_wm_visible_name_set, METH_VARARGS },
10768          { (char *)"Atoms_net_wm_visible_name_get", _wrap_Atoms_net_wm_visible_name_get, METH_VARARGS },
10769          { (char *)"Atoms_net_wm_icon_name_set", _wrap_Atoms_net_wm_icon_name_set, METH_VARARGS },
10770          { (char *)"Atoms_net_wm_icon_name_get", _wrap_Atoms_net_wm_icon_name_get, METH_VARARGS },
10771          { (char *)"Atoms_net_wm_visible_icon_name_set", _wrap_Atoms_net_wm_visible_icon_name_set, METH_VARARGS },
10772          { (char *)"Atoms_net_wm_visible_icon_name_get", _wrap_Atoms_net_wm_visible_icon_name_get, METH_VARARGS },
10773          { (char *)"Atoms_net_wm_desktop_set", _wrap_Atoms_net_wm_desktop_set, METH_VARARGS },
10774          { (char *)"Atoms_net_wm_desktop_get", _wrap_Atoms_net_wm_desktop_get, METH_VARARGS },
10775          { (char *)"Atoms_net_wm_window_type_set", _wrap_Atoms_net_wm_window_type_set, METH_VARARGS },
10776          { (char *)"Atoms_net_wm_window_type_get", _wrap_Atoms_net_wm_window_type_get, METH_VARARGS },
10777          { (char *)"Atoms_net_wm_state_set", _wrap_Atoms_net_wm_state_set, METH_VARARGS },
10778          { (char *)"Atoms_net_wm_state_get", _wrap_Atoms_net_wm_state_get, METH_VARARGS },
10779          { (char *)"Atoms_net_wm_strut_set", _wrap_Atoms_net_wm_strut_set, METH_VARARGS },
10780          { (char *)"Atoms_net_wm_strut_get", _wrap_Atoms_net_wm_strut_get, METH_VARARGS },
10781          { (char *)"Atoms_net_wm_allowed_actions_set", _wrap_Atoms_net_wm_allowed_actions_set, METH_VARARGS },
10782          { (char *)"Atoms_net_wm_allowed_actions_get", _wrap_Atoms_net_wm_allowed_actions_get, METH_VARARGS },
10783          { (char *)"Atoms_net_wm_window_type_desktop_set", _wrap_Atoms_net_wm_window_type_desktop_set, METH_VARARGS },
10784          { (char *)"Atoms_net_wm_window_type_desktop_get", _wrap_Atoms_net_wm_window_type_desktop_get, METH_VARARGS },
10785          { (char *)"Atoms_net_wm_window_type_dock_set", _wrap_Atoms_net_wm_window_type_dock_set, METH_VARARGS },
10786          { (char *)"Atoms_net_wm_window_type_dock_get", _wrap_Atoms_net_wm_window_type_dock_get, METH_VARARGS },
10787          { (char *)"Atoms_net_wm_window_type_toolbar_set", _wrap_Atoms_net_wm_window_type_toolbar_set, METH_VARARGS },
10788          { (char *)"Atoms_net_wm_window_type_toolbar_get", _wrap_Atoms_net_wm_window_type_toolbar_get, METH_VARARGS },
10789          { (char *)"Atoms_net_wm_window_type_menu_set", _wrap_Atoms_net_wm_window_type_menu_set, METH_VARARGS },
10790          { (char *)"Atoms_net_wm_window_type_menu_get", _wrap_Atoms_net_wm_window_type_menu_get, METH_VARARGS },
10791          { (char *)"Atoms_net_wm_window_type_utility_set", _wrap_Atoms_net_wm_window_type_utility_set, METH_VARARGS },
10792          { (char *)"Atoms_net_wm_window_type_utility_get", _wrap_Atoms_net_wm_window_type_utility_get, METH_VARARGS },
10793          { (char *)"Atoms_net_wm_window_type_splash_set", _wrap_Atoms_net_wm_window_type_splash_set, METH_VARARGS },
10794          { (char *)"Atoms_net_wm_window_type_splash_get", _wrap_Atoms_net_wm_window_type_splash_get, METH_VARARGS },
10795          { (char *)"Atoms_net_wm_window_type_dialog_set", _wrap_Atoms_net_wm_window_type_dialog_set, METH_VARARGS },
10796          { (char *)"Atoms_net_wm_window_type_dialog_get", _wrap_Atoms_net_wm_window_type_dialog_get, METH_VARARGS },
10797          { (char *)"Atoms_net_wm_window_type_normal_set", _wrap_Atoms_net_wm_window_type_normal_set, METH_VARARGS },
10798          { (char *)"Atoms_net_wm_window_type_normal_get", _wrap_Atoms_net_wm_window_type_normal_get, METH_VARARGS },
10799          { (char *)"Atoms_net_wm_moveresize_size_topleft_set", _wrap_Atoms_net_wm_moveresize_size_topleft_set, METH_VARARGS },
10800          { (char *)"Atoms_net_wm_moveresize_size_topleft_get", _wrap_Atoms_net_wm_moveresize_size_topleft_get, METH_VARARGS },
10801          { (char *)"Atoms_net_wm_moveresize_size_topright_set", _wrap_Atoms_net_wm_moveresize_size_topright_set, METH_VARARGS },
10802          { (char *)"Atoms_net_wm_moveresize_size_topright_get", _wrap_Atoms_net_wm_moveresize_size_topright_get, METH_VARARGS },
10803          { (char *)"Atoms_net_wm_moveresize_size_bottomleft_set", _wrap_Atoms_net_wm_moveresize_size_bottomleft_set, METH_VARARGS },
10804          { (char *)"Atoms_net_wm_moveresize_size_bottomleft_get", _wrap_Atoms_net_wm_moveresize_size_bottomleft_get, METH_VARARGS },
10805          { (char *)"Atoms_net_wm_moveresize_size_bottomright_set", _wrap_Atoms_net_wm_moveresize_size_bottomright_set, METH_VARARGS },
10806          { (char *)"Atoms_net_wm_moveresize_size_bottomright_get", _wrap_Atoms_net_wm_moveresize_size_bottomright_get, METH_VARARGS },
10807          { (char *)"Atoms_net_wm_moveresize_move_set", _wrap_Atoms_net_wm_moveresize_move_set, METH_VARARGS },
10808          { (char *)"Atoms_net_wm_moveresize_move_get", _wrap_Atoms_net_wm_moveresize_move_get, METH_VARARGS },
10809          { (char *)"Atoms_net_wm_action_move_set", _wrap_Atoms_net_wm_action_move_set, METH_VARARGS },
10810          { (char *)"Atoms_net_wm_action_move_get", _wrap_Atoms_net_wm_action_move_get, METH_VARARGS },
10811          { (char *)"Atoms_net_wm_action_resize_set", _wrap_Atoms_net_wm_action_resize_set, METH_VARARGS },
10812          { (char *)"Atoms_net_wm_action_resize_get", _wrap_Atoms_net_wm_action_resize_get, METH_VARARGS },
10813          { (char *)"Atoms_net_wm_action_shade_set", _wrap_Atoms_net_wm_action_shade_set, METH_VARARGS },
10814          { (char *)"Atoms_net_wm_action_shade_get", _wrap_Atoms_net_wm_action_shade_get, METH_VARARGS },
10815          { (char *)"Atoms_net_wm_action_maximize_horz_set", _wrap_Atoms_net_wm_action_maximize_horz_set, METH_VARARGS },
10816          { (char *)"Atoms_net_wm_action_maximize_horz_get", _wrap_Atoms_net_wm_action_maximize_horz_get, METH_VARARGS },
10817          { (char *)"Atoms_net_wm_action_maximize_vert_set", _wrap_Atoms_net_wm_action_maximize_vert_set, METH_VARARGS },
10818          { (char *)"Atoms_net_wm_action_maximize_vert_get", _wrap_Atoms_net_wm_action_maximize_vert_get, METH_VARARGS },
10819          { (char *)"Atoms_net_wm_action_change_desktop_set", _wrap_Atoms_net_wm_action_change_desktop_set, METH_VARARGS },
10820          { (char *)"Atoms_net_wm_action_change_desktop_get", _wrap_Atoms_net_wm_action_change_desktop_get, METH_VARARGS },
10821          { (char *)"Atoms_net_wm_action_close_set", _wrap_Atoms_net_wm_action_close_set, METH_VARARGS },
10822          { (char *)"Atoms_net_wm_action_close_get", _wrap_Atoms_net_wm_action_close_get, METH_VARARGS },
10823          { (char *)"Atoms_net_wm_state_modal_set", _wrap_Atoms_net_wm_state_modal_set, METH_VARARGS },
10824          { (char *)"Atoms_net_wm_state_modal_get", _wrap_Atoms_net_wm_state_modal_get, METH_VARARGS },
10825          { (char *)"Atoms_net_wm_state_sticky_set", _wrap_Atoms_net_wm_state_sticky_set, METH_VARARGS },
10826          { (char *)"Atoms_net_wm_state_sticky_get", _wrap_Atoms_net_wm_state_sticky_get, METH_VARARGS },
10827          { (char *)"Atoms_net_wm_state_maximized_vert_set", _wrap_Atoms_net_wm_state_maximized_vert_set, METH_VARARGS },
10828          { (char *)"Atoms_net_wm_state_maximized_vert_get", _wrap_Atoms_net_wm_state_maximized_vert_get, METH_VARARGS },
10829          { (char *)"Atoms_net_wm_state_maximized_horz_set", _wrap_Atoms_net_wm_state_maximized_horz_set, METH_VARARGS },
10830          { (char *)"Atoms_net_wm_state_maximized_horz_get", _wrap_Atoms_net_wm_state_maximized_horz_get, METH_VARARGS },
10831          { (char *)"Atoms_net_wm_state_shaded_set", _wrap_Atoms_net_wm_state_shaded_set, METH_VARARGS },
10832          { (char *)"Atoms_net_wm_state_shaded_get", _wrap_Atoms_net_wm_state_shaded_get, METH_VARARGS },
10833          { (char *)"Atoms_net_wm_state_skip_taskbar_set", _wrap_Atoms_net_wm_state_skip_taskbar_set, METH_VARARGS },
10834          { (char *)"Atoms_net_wm_state_skip_taskbar_get", _wrap_Atoms_net_wm_state_skip_taskbar_get, METH_VARARGS },
10835          { (char *)"Atoms_net_wm_state_skip_pager_set", _wrap_Atoms_net_wm_state_skip_pager_set, METH_VARARGS },
10836          { (char *)"Atoms_net_wm_state_skip_pager_get", _wrap_Atoms_net_wm_state_skip_pager_get, METH_VARARGS },
10837          { (char *)"Atoms_net_wm_state_hidden_set", _wrap_Atoms_net_wm_state_hidden_set, METH_VARARGS },
10838          { (char *)"Atoms_net_wm_state_hidden_get", _wrap_Atoms_net_wm_state_hidden_get, METH_VARARGS },
10839          { (char *)"Atoms_net_wm_state_fullscreen_set", _wrap_Atoms_net_wm_state_fullscreen_set, METH_VARARGS },
10840          { (char *)"Atoms_net_wm_state_fullscreen_get", _wrap_Atoms_net_wm_state_fullscreen_get, METH_VARARGS },
10841          { (char *)"Atoms_net_wm_state_above_set", _wrap_Atoms_net_wm_state_above_set, METH_VARARGS },
10842          { (char *)"Atoms_net_wm_state_above_get", _wrap_Atoms_net_wm_state_above_get, METH_VARARGS },
10843          { (char *)"Atoms_net_wm_state_below_set", _wrap_Atoms_net_wm_state_below_set, METH_VARARGS },
10844          { (char *)"Atoms_net_wm_state_below_get", _wrap_Atoms_net_wm_state_below_get, METH_VARARGS },
10845          { (char *)"Atoms_kde_net_system_tray_windows_set", _wrap_Atoms_kde_net_system_tray_windows_set, METH_VARARGS },
10846          { (char *)"Atoms_kde_net_system_tray_windows_get", _wrap_Atoms_kde_net_system_tray_windows_get, METH_VARARGS },
10847          { (char *)"Atoms_kde_net_wm_system_tray_window_for_set", _wrap_Atoms_kde_net_wm_system_tray_window_for_set, METH_VARARGS },
10848          { (char *)"Atoms_kde_net_wm_system_tray_window_for_get", _wrap_Atoms_kde_net_wm_system_tray_window_for_get, METH_VARARGS },
10849          { (char *)"Atoms_kde_net_wm_window_type_override_set", _wrap_Atoms_kde_net_wm_window_type_override_set, METH_VARARGS },
10850          { (char *)"Atoms_kde_net_wm_window_type_override_get", _wrap_Atoms_kde_net_wm_window_type_override_get, METH_VARARGS },
10851          { (char *)"Atoms_swigregister", Atoms_swigregister, METH_VARARGS },
10852          { (char *)"Property_initialize", _wrap_Property_initialize, METH_VARARGS },
10853          { (char *)"Property_set", _wrap_Property_set, METH_VARARGS },
10854          { (char *)"Property_get", _wrap_Property_get, METH_VARARGS },
10855          { (char *)"Property_erase", _wrap_Property_erase, METH_VARARGS },
10856          { (char *)"Property_swigregister", Property_swigregister, METH_VARARGS },
10857          { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
10858          { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
10859          { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
10860          { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
10861          { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
10862          { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
10863          { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
10864          { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
10865          { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
10866          { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
10867          { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
10868          { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
10869          { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
10870          { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
10871          { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
10872          { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
10873          { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
10874          { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
10875          { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
10876          { (char *)"Rect___eq__", _wrap_Rect___eq__, METH_VARARGS },
10877          { (char *)"Rect___ne__", _wrap_Rect___ne__, METH_VARARGS },
10878          { (char *)"Rect___or__", _wrap_Rect___or__, METH_VARARGS },
10879          { (char *)"Rect___and__", _wrap_Rect___and__, METH_VARARGS },
10880          { (char *)"Rect___ior__", _wrap_Rect___ior__, METH_VARARGS },
10881          { (char *)"Rect___iand__", _wrap_Rect___iand__, METH_VARARGS },
10882          { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
10883          { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
10884          { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
10885          { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
10886          { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
10887          { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
10888          { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
10889          { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
10890          { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
10891          { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
10892          { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
10893          { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
10894          { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
10895          { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
10896          { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
10897          { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
10898          { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
10899          { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
10900          { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
10901          { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
10902          { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
10903          { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
10904          { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
10905          { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
10906          { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
10907          { (char *)"EventHandler_handle", _wrap_EventHandler_handle, METH_VARARGS },
10908          { (char *)"EventHandler_keyPressHandler", _wrap_EventHandler_keyPressHandler, METH_VARARGS },
10909          { (char *)"EventHandler_keyReleaseHandler", _wrap_EventHandler_keyReleaseHandler, METH_VARARGS },
10910          { (char *)"EventHandler_buttonPressHandler", _wrap_EventHandler_buttonPressHandler, METH_VARARGS },
10911          { (char *)"EventHandler_buttonReleaseHandler", _wrap_EventHandler_buttonReleaseHandler, METH_VARARGS },
10912          { (char *)"EventHandler_motionHandler", _wrap_EventHandler_motionHandler, METH_VARARGS },
10913          { (char *)"EventHandler_enterHandler", _wrap_EventHandler_enterHandler, METH_VARARGS },
10914          { (char *)"EventHandler_leaveHandler", _wrap_EventHandler_leaveHandler, METH_VARARGS },
10915          { (char *)"EventHandler_focusHandler", _wrap_EventHandler_focusHandler, METH_VARARGS },
10916          { (char *)"EventHandler_unfocusHandler", _wrap_EventHandler_unfocusHandler, METH_VARARGS },
10917          { (char *)"EventHandler_exposeHandler", _wrap_EventHandler_exposeHandler, METH_VARARGS },
10918          { (char *)"EventHandler_graphicsExposeHandler", _wrap_EventHandler_graphicsExposeHandler, METH_VARARGS },
10919          { (char *)"EventHandler_noExposeEventHandler", _wrap_EventHandler_noExposeEventHandler, METH_VARARGS },
10920          { (char *)"EventHandler_circulateRequestHandler", _wrap_EventHandler_circulateRequestHandler, METH_VARARGS },
10921          { (char *)"EventHandler_configureRequestHandler", _wrap_EventHandler_configureRequestHandler, METH_VARARGS },
10922          { (char *)"EventHandler_mapRequestHandler", _wrap_EventHandler_mapRequestHandler, METH_VARARGS },
10923          { (char *)"EventHandler_resizeRequestHandler", _wrap_EventHandler_resizeRequestHandler, METH_VARARGS },
10924          { (char *)"EventHandler_circulateHandler", _wrap_EventHandler_circulateHandler, METH_VARARGS },
10925          { (char *)"EventHandler_configureHandler", _wrap_EventHandler_configureHandler, METH_VARARGS },
10926          { (char *)"EventHandler_createHandler", _wrap_EventHandler_createHandler, METH_VARARGS },
10927          { (char *)"EventHandler_destroyHandler", _wrap_EventHandler_destroyHandler, METH_VARARGS },
10928          { (char *)"EventHandler_gravityHandler", _wrap_EventHandler_gravityHandler, METH_VARARGS },
10929          { (char *)"EventHandler_mapHandler", _wrap_EventHandler_mapHandler, METH_VARARGS },
10930          { (char *)"EventHandler_mappingHandler", _wrap_EventHandler_mappingHandler, METH_VARARGS },
10931          { (char *)"EventHandler_reparentHandler", _wrap_EventHandler_reparentHandler, METH_VARARGS },
10932          { (char *)"EventHandler_unmapHandler", _wrap_EventHandler_unmapHandler, METH_VARARGS },
10933          { (char *)"EventHandler_visibilityHandler", _wrap_EventHandler_visibilityHandler, METH_VARARGS },
10934          { (char *)"EventHandler_colorMapHandler", _wrap_EventHandler_colorMapHandler, METH_VARARGS },
10935          { (char *)"EventHandler_propertyHandler", _wrap_EventHandler_propertyHandler, METH_VARARGS },
10936          { (char *)"EventHandler_selectionClearHandler", _wrap_EventHandler_selectionClearHandler, METH_VARARGS },
10937          { (char *)"EventHandler_selectionHandler", _wrap_EventHandler_selectionHandler, METH_VARARGS },
10938          { (char *)"EventHandler_selectionRequestHandler", _wrap_EventHandler_selectionRequestHandler, METH_VARARGS },
10939          { (char *)"EventHandler_clientMessageHandler", _wrap_EventHandler_clientMessageHandler, METH_VARARGS },
10940          { (char *)"delete_EventHandler", _wrap_delete_EventHandler, METH_VARARGS },
10941          { (char *)"EventHandler_swigregister", EventHandler_swigregister, METH_VARARGS },
10942          { (char *)"new_EventDispatcher", _wrap_new_EventDispatcher, METH_VARARGS },
10943          { (char *)"delete_EventDispatcher", _wrap_delete_EventDispatcher, METH_VARARGS },
10944          { (char *)"EventDispatcher_clearAllHandlers", _wrap_EventDispatcher_clearAllHandlers, METH_VARARGS },
10945          { (char *)"EventDispatcher_registerHandler", _wrap_EventDispatcher_registerHandler, METH_VARARGS },
10946          { (char *)"EventDispatcher_clearHandler", _wrap_EventDispatcher_clearHandler, METH_VARARGS },
10947          { (char *)"EventDispatcher_dispatchEvents", _wrap_EventDispatcher_dispatchEvents, METH_VARARGS },
10948          { (char *)"EventDispatcher_setFallbackHandler", _wrap_EventDispatcher_setFallbackHandler, METH_VARARGS },
10949          { (char *)"EventDispatcher_getFallbackHandler", _wrap_EventDispatcher_getFallbackHandler, METH_VARARGS },
10950          { (char *)"EventDispatcher_setMasterHandler", _wrap_EventDispatcher_setMasterHandler, METH_VARARGS },
10951          { (char *)"EventDispatcher_getMasterHandler", _wrap_EventDispatcher_getMasterHandler, METH_VARARGS },
10952          { (char *)"EventDispatcher_findHandler", _wrap_EventDispatcher_findHandler, METH_VARARGS },
10953          { (char *)"EventDispatcher_lastTime", _wrap_EventDispatcher_lastTime, METH_VARARGS },
10954          { (char *)"EventDispatcher_swigregister", EventDispatcher_swigregister, METH_VARARGS },
10955          { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
10956          { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
10957          { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
10958          { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
10959          { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
10960          { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
10961          { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
10962          { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
10963          { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
10964          { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
10965          { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
10966          { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
10967          { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
10968          { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
10969          { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
10970          { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
10971          { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
10972          { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
10973          { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
10974          { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
10975          { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
10976          { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
10977          { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
10978          { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
10979          { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
10980          { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
10981          { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
10982          { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
10983          { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
10984          { (char *)"Screen_client", _wrap_Screen_client, METH_VARARGS },
10985          { (char *)"Screen_clientCount", _wrap_Screen_clientCount, METH_VARARGS },
10986          { (char *)"Screen_number", _wrap_Screen_number, METH_VARARGS },
10987          { (char *)"Screen_managed", _wrap_Screen_managed, METH_VARARGS },
10988          { (char *)"Screen_imageControl", _wrap_Screen_imageControl, METH_VARARGS },
10989          { (char *)"Screen_area", _wrap_Screen_area, METH_VARARGS },
10990          { (char *)"Screen_style", _wrap_Screen_style, METH_VARARGS },
10991          { (char *)"Screen_focuswindow", _wrap_Screen_focuswindow, METH_VARARGS },
10992          { (char *)"Screen_desktop", _wrap_Screen_desktop, METH_VARARGS },
10993          { (char *)"Screen_numDesktops", _wrap_Screen_numDesktops, METH_VARARGS },
10994          { (char *)"Screen_updateStrut", _wrap_Screen_updateStrut, METH_VARARGS },
10995          { (char *)"Screen_manageExisting", _wrap_Screen_manageExisting, METH_VARARGS },
10996          { (char *)"Screen_manageWindow", _wrap_Screen_manageWindow, METH_VARARGS },
10997          { (char *)"Screen_unmanageWindow", _wrap_Screen_unmanageWindow, METH_VARARGS },
10998          { (char *)"Screen_restack", _wrap_Screen_restack, METH_VARARGS },
10999          { (char *)"Screen_setDesktopName", _wrap_Screen_setDesktopName, METH_VARARGS },
11000          { (char *)"Screen_propertyHandler", _wrap_Screen_propertyHandler, METH_VARARGS },
11001          { (char *)"Screen_clientMessageHandler", _wrap_Screen_clientMessageHandler, METH_VARARGS },
11002          { (char *)"Screen_mapRequestHandler", _wrap_Screen_mapRequestHandler, METH_VARARGS },
11003          { (char *)"Screen_swigregister", Screen_swigregister, METH_VARARGS },
11004          { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
11005          { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
11006          { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
11007          { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
11008          { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
11009          { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
11010          { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
11011          { (char *)"Client_frame_set", _wrap_Client_frame_set, METH_VARARGS },
11012          { (char *)"Client_frame_get", _wrap_Client_frame_get, METH_VARARGS },
11013          { (char *)"Client_ignore_unmaps_set", _wrap_Client_ignore_unmaps_set, METH_VARARGS },
11014          { (char *)"Client_ignore_unmaps_get", _wrap_Client_ignore_unmaps_get, METH_VARARGS },
11015          { (char *)"Client_screen", _wrap_Client_screen, METH_VARARGS },
11016          { (char *)"Client_window", _wrap_Client_window, METH_VARARGS },
11017          { (char *)"Client_type", _wrap_Client_type, METH_VARARGS },
11018          { (char *)"Client_normal", _wrap_Client_normal, METH_VARARGS },
11019          { (char *)"Client_desktop", _wrap_Client_desktop, METH_VARARGS },
11020          { (char *)"Client_title", _wrap_Client_title, METH_VARARGS },
11021          { (char *)"Client_iconTitle", _wrap_Client_iconTitle, METH_VARARGS },
11022          { (char *)"Client_appName", _wrap_Client_appName, METH_VARARGS },
11023          { (char *)"Client_appClass", _wrap_Client_appClass, METH_VARARGS },
11024          { (char *)"Client_role", _wrap_Client_role, METH_VARARGS },
11025          { (char *)"Client_canFocus", _wrap_Client_canFocus, METH_VARARGS },
11026          { (char *)"Client_urgent", _wrap_Client_urgent, METH_VARARGS },
11027          { (char *)"Client_focusNotify", _wrap_Client_focusNotify, METH_VARARGS },
11028          { (char *)"Client_shaped", _wrap_Client_shaped, METH_VARARGS },
11029          { (char *)"Client_gravity", _wrap_Client_gravity, METH_VARARGS },
11030          { (char *)"Client_positionRequested", _wrap_Client_positionRequested, METH_VARARGS },
11031          { (char *)"Client_decorations", _wrap_Client_decorations, METH_VARARGS },
11032          { (char *)"Client_funtions", _wrap_Client_funtions, METH_VARARGS },
11033          { (char *)"Client_transientFor", _wrap_Client_transientFor, METH_VARARGS },
11034          { (char *)"Client_modal", _wrap_Client_modal, METH_VARARGS },
11035          { (char *)"Client_shaded", _wrap_Client_shaded, METH_VARARGS },
11036          { (char *)"Client_iconic", _wrap_Client_iconic, METH_VARARGS },
11037          { (char *)"Client_maxVert", _wrap_Client_maxVert, METH_VARARGS },
11038          { (char *)"Client_maxHorz", _wrap_Client_maxHorz, METH_VARARGS },
11039          { (char *)"Client_layer", _wrap_Client_layer, METH_VARARGS },
11040          { (char *)"Client_toggleClientBorder", _wrap_Client_toggleClientBorder, METH_VARARGS },
11041          { (char *)"Client_area", _wrap_Client_area, METH_VARARGS },
11042          { (char *)"Client_strut", _wrap_Client_strut, METH_VARARGS },
11043          { (char *)"Client_move", _wrap_Client_move, METH_VARARGS },
11044          { (char *)"Client_resize", _wrap_Client_resize, METH_VARARGS },
11045          { (char *)"Client_focus", _wrap_Client_focus, METH_VARARGS },
11046          { (char *)"Client_unfocus", _wrap_Client_unfocus, METH_VARARGS },
11047          { (char *)"Client_focusHandler", _wrap_Client_focusHandler, METH_VARARGS },
11048          { (char *)"Client_unfocusHandler", _wrap_Client_unfocusHandler, METH_VARARGS },
11049          { (char *)"Client_propertyHandler", _wrap_Client_propertyHandler, METH_VARARGS },
11050          { (char *)"Client_clientMessageHandler", _wrap_Client_clientMessageHandler, METH_VARARGS },
11051          { (char *)"Client_configureRequestHandler", _wrap_Client_configureRequestHandler, METH_VARARGS },
11052          { (char *)"Client_unmapHandler", _wrap_Client_unmapHandler, METH_VARARGS },
11053          { (char *)"Client_destroyHandler", _wrap_Client_destroyHandler, METH_VARARGS },
11054          { (char *)"Client_reparentHandler", _wrap_Client_reparentHandler, METH_VARARGS },
11055          { (char *)"Client_swigregister", Client_swigregister, METH_VARARGS },
11056          { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
11057          { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
11058          { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
11059          { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
11060          { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
11061          { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
11062          { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
11063          { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
11064          { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
11065          { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
11066          { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
11067          { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
11068          { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
11069          { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
11070          { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
11071          { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
11072          { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
11073          { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
11074          { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
11075          { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
11076          { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
11077          { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
11078          { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
11079          { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
11080          { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
11081          { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
11082          { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
11083          { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
11084          { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
11085          { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
11086          { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
11087          { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
11088          { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
11089          { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
11090          { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
11091          { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
11092          { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
11093          { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
11094          { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
11095          { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
11096          { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
11097          { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
11098          { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
11099          { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
11100          { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
11101          { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
11102          { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
11103          { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
11104          { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
11105          { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
11106          { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
11107          { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
11108          { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
11109          { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
11110          { (char *)"mbind", _wrap_mbind, METH_VARARGS },
11111          { (char *)"kbind", _wrap_kbind, METH_VARARGS },
11112          { (char *)"ebind", _wrap_ebind, METH_VARARGS },
11113          { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
11114          { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
11115          { NULL, NULL }
11116 };
11117
11118
11119 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11120
11121 static void *_p_ob__ActionsTo_p_otk__EventHandler(void *x) {
11122     return (void *)((otk::EventHandler *)  ((ob::Actions *) x));
11123 }
11124 static void *_p_ob__OpenboxTo_p_otk__EventHandler(void *x) {
11125     return (void *)((otk::EventHandler *)  ((ob::Openbox *) x));
11126 }
11127 static void *_p_ob__ScreenTo_p_otk__EventHandler(void *x) {
11128     return (void *)((otk::EventHandler *)  ((ob::Screen *) x));
11129 }
11130 static void *_p_ob__ClientTo_p_otk__EventHandler(void *x) {
11131     return (void *)((otk::EventHandler *)  ((ob::Client *) x));
11132 }
11133 static void *_p_ob__OpenboxTo_p_otk__EventDispatcher(void *x) {
11134     return (void *)((otk::EventDispatcher *)  ((ob::Openbox *) x));
11135 }
11136 static void *_p_ob__ScreenTo_p_ob__WidgetBase(void *x) {
11137     return (void *)((ob::WidgetBase *)  ((ob::Screen *) x));
11138 }
11139 static void *_p_ob__ClientTo_p_ob__WidgetBase(void *x) {
11140     return (void *)((ob::WidgetBase *)  ((ob::Client *) x));
11141 }
11142 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
11143 static swig_type_info _swigt__p_ob__Client[] = {{"_p_ob__Client", 0, "ob::Client *", 0},{"_p_ob__Client"},{0}};
11144 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
11145 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
11146 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
11147 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
11148 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
11149 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
11150 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
11151 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
11152 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
11153 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
11154 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
11155 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
11156 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
11157 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
11158 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
11159 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
11160 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
11161 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
11162 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
11163 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
11164 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
11165 static swig_type_info _swigt__p_otk__ImageControl[] = {{"_p_otk__ImageControl", 0, "otk::ImageControl *", 0},{"_p_otk__ImageControl"},{0}};
11166 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
11167 static swig_type_info _swigt__p_ob__Screen[] = {{"_p_ob__Screen", 0, "ob::Screen *", 0},{"_p_ob__Screen"},{0}};
11168 static swig_type_info _swigt__p_ob__Frame[] = {{"_p_ob__Frame", 0, "ob::Frame *", 0},{"_p_ob__Frame"},{0}};
11169 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
11170 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
11171 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
11172 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
11173 static swig_type_info _swigt__p_otk__ustring[] = {{"_p_otk__ustring", 0, "otk::ustring *", 0},{"_p_otk__ustring"},{0}};
11174 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
11175 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
11176 static swig_type_info _swigt__p_otk__Display[] = {{"_p_otk__Display", 0, "otk::Display *", 0},{"_p_otk__Display"},{0}};
11177 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
11178 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
11179 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
11180 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}};
11181 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
11182 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}};
11183 static swig_type_info _swigt__p_otk__GCCache[] = {{"_p_otk__GCCache", 0, "otk::GCCache *", 0},{"_p_otk__GCCache"},{0}};
11184 static swig_type_info _swigt__p_ob__Bindings[] = {{"_p_ob__Bindings", 0, "ob::Bindings *", 0},{"_p_ob__Bindings"},{0}};
11185 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
11186 static swig_type_info _swigt__p_ob__Actions[] = {{"_p_ob__Actions", 0, "ob::Actions *", 0},{"_p_ob__Actions"},{0}};
11187 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
11188 static swig_type_info _swigt__p_otk__Property[] = {{"_p_otk__Property", 0, "otk::Property *", 0},{"_p_otk__Property"},{0}};
11189 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
11190 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
11191 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
11192 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
11193 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
11194 static swig_type_info _swigt__p_otk__Property__StringVect[] = {{"_p_otk__Property__StringVect", 0, "otk::Property::StringVect *", 0},{"_p_otk__Property__StringVect"},{0}};
11195 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}};
11196 static swig_type_info _swigt__p_otk__Atoms[] = {{"_p_otk__Atoms", 0, "otk::Atoms *", 0},{"_p_otk__Atoms"},{0}};
11197 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
11198 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
11199 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
11200 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
11201 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
11202 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
11203 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
11204
11205 static swig_type_info *swig_types_initial[] = {
11206 _swigt__p_otk__Point, 
11207 _swigt__p_ob__Client, 
11208 _swigt__p_XMapEvent, 
11209 _swigt__p_XUnmapEvent, 
11210 _swigt__p_XColormapEvent, 
11211 _swigt__p_XNoExposeEvent, 
11212 _swigt__p_XGraphicsExposeEvent, 
11213 _swigt__p_XExposeEvent, 
11214 _swigt__p_XFocusChangeEvent, 
11215 _swigt__p_XClientMessageEvent, 
11216 _swigt__p_ob__MouseData, 
11217 _swigt__p_XSelectionClearEvent, 
11218 _swigt__p_otk__Rect, 
11219 _swigt__p_Visual, 
11220 _swigt__p_XResizeRequestEvent, 
11221 _swigt__p_XMapRequestEvent, 
11222 _swigt__p_XConfigureRequestEvent, 
11223 _swigt__p_XCirculateRequestEvent, 
11224 _swigt__p_XGravityEvent, 
11225 _swigt__p_XVisibilityEvent, 
11226 _swigt__p_XPropertyEvent, 
11227 _swigt__p_XSelectionRequestEvent, 
11228 _swigt__p_ob__Cursors, 
11229 _swigt__p_otk__ImageControl, 
11230 _swigt__p_ob__MwmHints, 
11231 _swigt__p_ob__Screen, 
11232 _swigt__p_ob__Frame, 
11233 _swigt__p_ob__KeyData, 
11234 _swigt__p_XConfigureEvent, 
11235 _swigt__p_XCirculateEvent, 
11236 _swigt__p_XRectangle, 
11237 _swigt__p_otk__ustring, 
11238 _swigt__p_std__string, 
11239 _swigt__p_XCrossingEvent, 
11240 _swigt__p_otk__Display, 
11241 _swigt__p_Display, 
11242 _swigt__p_XMappingEvent, 
11243 _swigt__p_otk__Style, 
11244 _swigt__p_otk__EventHandler, 
11245 _swigt__p_XReparentEvent, 
11246 _swigt__p_otk__EventDispatcher, 
11247 _swigt__p_otk__GCCache, 
11248 _swigt__p_ob__Bindings, 
11249 _swigt__p_ob__Openbox, 
11250 _swigt__p_ob__Actions, 
11251 _swigt__p_XEvent, 
11252 _swigt__p_otk__Property, 
11253 _swigt__p_PyObject, 
11254 _swigt__p_otk__ScreenInfo, 
11255 _swigt__p_ob__EventData, 
11256 _swigt__p_XCreateWindowEvent, 
11257 _swigt__p_XDestroyWindowEvent, 
11258 _swigt__p_otk__Property__StringVect, 
11259 _swigt__p_ob__WidgetBase, 
11260 _swigt__p_otk__Atoms, 
11261 _swigt__p_XKeyEvent, 
11262 _swigt__p_otk__Strut, 
11263 _swigt__p_unsigned_long, 
11264 _swigt__p_p_unsigned_long, 
11265 _swigt__p_XMotionEvent, 
11266 _swigt__p_XButtonEvent, 
11267 _swigt__p_XSelectionEvent, 
11268 0
11269 };
11270
11271
11272 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11273
11274 static swig_const_info swig_const_table[] = {
11275 { SWIG_PY_INT,     (char *)"Property_ascii", (long) otk::Property::ascii, 0, 0, 0},
11276 { SWIG_PY_INT,     (char *)"Property_utf8", (long) otk::Property::utf8, 0, 0, 0},
11277 { SWIG_PY_INT,     (char *)"Property_NUM_STRING_TYPE", (long) otk::Property::NUM_STRING_TYPE, 0, 0, 0},
11278 { SWIG_PY_INT,     (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
11279 { SWIG_PY_INT,     (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
11280 { SWIG_PY_INT,     (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
11281 { SWIG_PY_INT,     (char *)"Screen_event_mask", (long) ob::Screen::event_mask, 0, 0, 0},
11282 { SWIG_PY_INT,     (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
11283 { SWIG_PY_INT,     (char *)"Client_Layer_Icon", (long) ob::Client::Layer_Icon, 0, 0, 0},
11284 { SWIG_PY_INT,     (char *)"Client_Layer_Desktop", (long) ob::Client::Layer_Desktop, 0, 0, 0},
11285 { SWIG_PY_INT,     (char *)"Client_Layer_Below", (long) ob::Client::Layer_Below, 0, 0, 0},
11286 { SWIG_PY_INT,     (char *)"Client_Layer_Normal", (long) ob::Client::Layer_Normal, 0, 0, 0},
11287 { SWIG_PY_INT,     (char *)"Client_Layer_Above", (long) ob::Client::Layer_Above, 0, 0, 0},
11288 { SWIG_PY_INT,     (char *)"Client_Layer_Top", (long) ob::Client::Layer_Top, 0, 0, 0},
11289 { SWIG_PY_INT,     (char *)"Client_Layer_Fullscreen", (long) ob::Client::Layer_Fullscreen, 0, 0, 0},
11290 { SWIG_PY_INT,     (char *)"Client_Layer_Internal", (long) ob::Client::Layer_Internal, 0, 0, 0},
11291 { SWIG_PY_INT,     (char *)"Client_NUM_LAYERS", (long) ob::Client::NUM_LAYERS, 0, 0, 0},
11292 { SWIG_PY_INT,     (char *)"Client_TopLeft", (long) ob::Client::TopLeft, 0, 0, 0},
11293 { SWIG_PY_INT,     (char *)"Client_TopRight", (long) ob::Client::TopRight, 0, 0, 0},
11294 { SWIG_PY_INT,     (char *)"Client_BottomLeft", (long) ob::Client::BottomLeft, 0, 0, 0},
11295 { SWIG_PY_INT,     (char *)"Client_BottomRight", (long) ob::Client::BottomRight, 0, 0, 0},
11296 { SWIG_PY_INT,     (char *)"Client_Type_Desktop", (long) ob::Client::Type_Desktop, 0, 0, 0},
11297 { SWIG_PY_INT,     (char *)"Client_Type_Dock", (long) ob::Client::Type_Dock, 0, 0, 0},
11298 { SWIG_PY_INT,     (char *)"Client_Type_Toolbar", (long) ob::Client::Type_Toolbar, 0, 0, 0},
11299 { SWIG_PY_INT,     (char *)"Client_Type_Menu", (long) ob::Client::Type_Menu, 0, 0, 0},
11300 { SWIG_PY_INT,     (char *)"Client_Type_Utility", (long) ob::Client::Type_Utility, 0, 0, 0},
11301 { SWIG_PY_INT,     (char *)"Client_Type_Splash", (long) ob::Client::Type_Splash, 0, 0, 0},
11302 { SWIG_PY_INT,     (char *)"Client_Type_Dialog", (long) ob::Client::Type_Dialog, 0, 0, 0},
11303 { SWIG_PY_INT,     (char *)"Client_Type_Normal", (long) ob::Client::Type_Normal, 0, 0, 0},
11304 { SWIG_PY_INT,     (char *)"Client_MwmFlag_Functions", (long) ob::Client::MwmFlag_Functions, 0, 0, 0},
11305 { SWIG_PY_INT,     (char *)"Client_MwmFlag_Decorations", (long) ob::Client::MwmFlag_Decorations, 0, 0, 0},
11306 { SWIG_PY_INT,     (char *)"Client_MwmFunc_All", (long) ob::Client::MwmFunc_All, 0, 0, 0},
11307 { SWIG_PY_INT,     (char *)"Client_MwmFunc_Resize", (long) ob::Client::MwmFunc_Resize, 0, 0, 0},
11308 { SWIG_PY_INT,     (char *)"Client_MwmFunc_Move", (long) ob::Client::MwmFunc_Move, 0, 0, 0},
11309 { SWIG_PY_INT,     (char *)"Client_MwmFunc_Iconify", (long) ob::Client::MwmFunc_Iconify, 0, 0, 0},
11310 { SWIG_PY_INT,     (char *)"Client_MwmFunc_Maximize", (long) ob::Client::MwmFunc_Maximize, 0, 0, 0},
11311 { SWIG_PY_INT,     (char *)"Client_MwmDecor_All", (long) ob::Client::MwmDecor_All, 0, 0, 0},
11312 { SWIG_PY_INT,     (char *)"Client_MwmDecor_Border", (long) ob::Client::MwmDecor_Border, 0, 0, 0},
11313 { SWIG_PY_INT,     (char *)"Client_MwmDecor_Handle", (long) ob::Client::MwmDecor_Handle, 0, 0, 0},
11314 { SWIG_PY_INT,     (char *)"Client_MwmDecor_Title", (long) ob::Client::MwmDecor_Title, 0, 0, 0},
11315 { SWIG_PY_INT,     (char *)"Client_MwmDecor_Iconify", (long) ob::Client::MwmDecor_Iconify, 0, 0, 0},
11316 { SWIG_PY_INT,     (char *)"Client_MwmDecor_Maximize", (long) ob::Client::MwmDecor_Maximize, 0, 0, 0},
11317 { SWIG_PY_INT,     (char *)"Client_Func_Resize", (long) ob::Client::Func_Resize, 0, 0, 0},
11318 { SWIG_PY_INT,     (char *)"Client_Func_Move", (long) ob::Client::Func_Move, 0, 0, 0},
11319 { SWIG_PY_INT,     (char *)"Client_Func_Iconify", (long) ob::Client::Func_Iconify, 0, 0, 0},
11320 { SWIG_PY_INT,     (char *)"Client_Func_Maximize", (long) ob::Client::Func_Maximize, 0, 0, 0},
11321 { SWIG_PY_INT,     (char *)"Client_Func_Close", (long) ob::Client::Func_Close, 0, 0, 0},
11322 { SWIG_PY_INT,     (char *)"Client_Decor_Titlebar", (long) ob::Client::Decor_Titlebar, 0, 0, 0},
11323 { SWIG_PY_INT,     (char *)"Client_Decor_Handle", (long) ob::Client::Decor_Handle, 0, 0, 0},
11324 { SWIG_PY_INT,     (char *)"Client_Decor_Border", (long) ob::Client::Decor_Border, 0, 0, 0},
11325 { SWIG_PY_INT,     (char *)"Client_Decor_Iconify", (long) ob::Client::Decor_Iconify, 0, 0, 0},
11326 { SWIG_PY_INT,     (char *)"Client_Decor_Maximize", (long) ob::Client::Decor_Maximize, 0, 0, 0},
11327 { SWIG_PY_INT,     (char *)"Client_Decor_Sticky", (long) ob::Client::Decor_Sticky, 0, 0, 0},
11328 { SWIG_PY_INT,     (char *)"Client_Decor_Close", (long) ob::Client::Decor_Close, 0, 0, 0},
11329 { SWIG_PY_INT,     (char *)"Client_State_Remove", (long) ob::Client::State_Remove, 0, 0, 0},
11330 { SWIG_PY_INT,     (char *)"Client_State_Add", (long) ob::Client::State_Add, 0, 0, 0},
11331 { SWIG_PY_INT,     (char *)"Client_State_Toggle", (long) ob::Client::State_Toggle, 0, 0, 0},
11332 { SWIG_PY_INT,     (char *)"Client_event_mask", (long) ob::Client::event_mask, 0, 0, 0},
11333 { SWIG_PY_INT,     (char *)"Client_no_propagate_mask", (long) ob::Client::no_propagate_mask, 0, 0, 0},
11334 { SWIG_PY_INT,     (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
11335 { SWIG_PY_INT,     (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
11336 { SWIG_PY_INT,     (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
11337 { SWIG_PY_INT,     (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
11338 { SWIG_PY_INT,     (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
11339 { SWIG_PY_INT,     (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
11340 { SWIG_PY_INT,     (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
11341 { SWIG_PY_INT,     (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
11342 { SWIG_PY_INT,     (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
11343 { SWIG_PY_INT,     (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
11344 { SWIG_PY_INT,     (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
11345 { SWIG_PY_INT,     (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
11346 { SWIG_PY_INT,     (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
11347 { SWIG_PY_INT,     (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
11348 { SWIG_PY_INT,     (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
11349 { SWIG_PY_INT,     (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
11350 { SWIG_PY_INT,     (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
11351 { SWIG_PY_INT,     (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
11352 { SWIG_PY_INT,     (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
11353 { SWIG_PY_INT,     (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
11354 { SWIG_PY_INT,     (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
11355 { SWIG_PY_INT,     (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
11356 { SWIG_PY_INT,     (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
11357 { SWIG_PY_INT,     (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
11358 { SWIG_PY_INT,     (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
11359 { SWIG_PY_INT,     (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
11360 { SWIG_PY_INT,     (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
11361 { SWIG_PY_INT,     (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
11362 { SWIG_PY_INT,     (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
11363 { SWIG_PY_INT,     (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
11364 { SWIG_PY_INT,     (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
11365 { SWIG_PY_INT,     (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
11366 { SWIG_PY_INT,     (char *)"None", (long) 0L, 0, 0, 0},
11367 { SWIG_PY_INT,     (char *)"ParentRelative", (long) 1L, 0, 0, 0},
11368 { SWIG_PY_INT,     (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
11369 { SWIG_PY_INT,     (char *)"PointerWindow", (long) 0L, 0, 0, 0},
11370 { SWIG_PY_INT,     (char *)"InputFocus", (long) 1L, 0, 0, 0},
11371 { SWIG_PY_INT,     (char *)"PointerRoot", (long) 1L, 0, 0, 0},
11372 { SWIG_PY_INT,     (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
11373 { SWIG_PY_INT,     (char *)"AnyKey", (long) 0L, 0, 0, 0},
11374 { SWIG_PY_INT,     (char *)"AnyButton", (long) 0L, 0, 0, 0},
11375 { SWIG_PY_INT,     (char *)"AllTemporary", (long) 0L, 0, 0, 0},
11376 { SWIG_PY_INT,     (char *)"CurrentTime", (long) 0L, 0, 0, 0},
11377 { SWIG_PY_INT,     (char *)"NoSymbol", (long) 0L, 0, 0, 0},
11378 { SWIG_PY_INT,     (char *)"NoEventMask", (long) 0L, 0, 0, 0},
11379 { SWIG_PY_INT,     (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
11380 { SWIG_PY_INT,     (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
11381 { SWIG_PY_INT,     (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
11382 { SWIG_PY_INT,     (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
11383 { SWIG_PY_INT,     (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
11384 { SWIG_PY_INT,     (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
11385 { SWIG_PY_INT,     (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
11386 { SWIG_PY_INT,     (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
11387 { SWIG_PY_INT,     (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
11388 { SWIG_PY_INT,     (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
11389 { SWIG_PY_INT,     (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
11390 { SWIG_PY_INT,     (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
11391 { SWIG_PY_INT,     (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
11392 { SWIG_PY_INT,     (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
11393 { SWIG_PY_INT,     (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
11394 { SWIG_PY_INT,     (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
11395 { SWIG_PY_INT,     (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
11396 { SWIG_PY_INT,     (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
11397 { SWIG_PY_INT,     (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
11398 { SWIG_PY_INT,     (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
11399 { SWIG_PY_INT,     (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
11400 { SWIG_PY_INT,     (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
11401 { SWIG_PY_INT,     (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
11402 { SWIG_PY_INT,     (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
11403 { SWIG_PY_INT,     (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
11404 { SWIG_PY_INT,     (char *)"KeyPress", (long) 2, 0, 0, 0},
11405 { SWIG_PY_INT,     (char *)"KeyRelease", (long) 3, 0, 0, 0},
11406 { SWIG_PY_INT,     (char *)"ButtonPress", (long) 4, 0, 0, 0},
11407 { SWIG_PY_INT,     (char *)"ButtonRelease", (long) 5, 0, 0, 0},
11408 { SWIG_PY_INT,     (char *)"MotionNotify", (long) 6, 0, 0, 0},
11409 { SWIG_PY_INT,     (char *)"EnterNotify", (long) 7, 0, 0, 0},
11410 { SWIG_PY_INT,     (char *)"LeaveNotify", (long) 8, 0, 0, 0},
11411 { SWIG_PY_INT,     (char *)"FocusIn", (long) 9, 0, 0, 0},
11412 { SWIG_PY_INT,     (char *)"FocusOut", (long) 10, 0, 0, 0},
11413 { SWIG_PY_INT,     (char *)"KeymapNotify", (long) 11, 0, 0, 0},
11414 { SWIG_PY_INT,     (char *)"Expose", (long) 12, 0, 0, 0},
11415 { SWIG_PY_INT,     (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
11416 { SWIG_PY_INT,     (char *)"NoExpose", (long) 14, 0, 0, 0},
11417 { SWIG_PY_INT,     (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
11418 { SWIG_PY_INT,     (char *)"CreateNotify", (long) 16, 0, 0, 0},
11419 { SWIG_PY_INT,     (char *)"DestroyNotify", (long) 17, 0, 0, 0},
11420 { SWIG_PY_INT,     (char *)"UnmapNotify", (long) 18, 0, 0, 0},
11421 { SWIG_PY_INT,     (char *)"MapNotify", (long) 19, 0, 0, 0},
11422 { SWIG_PY_INT,     (char *)"MapRequest", (long) 20, 0, 0, 0},
11423 { SWIG_PY_INT,     (char *)"ReparentNotify", (long) 21, 0, 0, 0},
11424 { SWIG_PY_INT,     (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
11425 { SWIG_PY_INT,     (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
11426 { SWIG_PY_INT,     (char *)"GravityNotify", (long) 24, 0, 0, 0},
11427 { SWIG_PY_INT,     (char *)"ResizeRequest", (long) 25, 0, 0, 0},
11428 { SWIG_PY_INT,     (char *)"CirculateNotify", (long) 26, 0, 0, 0},
11429 { SWIG_PY_INT,     (char *)"CirculateRequest", (long) 27, 0, 0, 0},
11430 { SWIG_PY_INT,     (char *)"PropertyNotify", (long) 28, 0, 0, 0},
11431 { SWIG_PY_INT,     (char *)"SelectionClear", (long) 29, 0, 0, 0},
11432 { SWIG_PY_INT,     (char *)"SelectionRequest", (long) 30, 0, 0, 0},
11433 { SWIG_PY_INT,     (char *)"SelectionNotify", (long) 31, 0, 0, 0},
11434 { SWIG_PY_INT,     (char *)"ColormapNotify", (long) 32, 0, 0, 0},
11435 { SWIG_PY_INT,     (char *)"ClientMessage", (long) 33, 0, 0, 0},
11436 { SWIG_PY_INT,     (char *)"MappingNotify", (long) 34, 0, 0, 0},
11437 { SWIG_PY_INT,     (char *)"LASTEvent", (long) 35, 0, 0, 0},
11438 { SWIG_PY_INT,     (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
11439 { SWIG_PY_INT,     (char *)"LockMask", (long) (1<<1), 0, 0, 0},
11440 { SWIG_PY_INT,     (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
11441 { SWIG_PY_INT,     (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
11442 { SWIG_PY_INT,     (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
11443 { SWIG_PY_INT,     (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
11444 { SWIG_PY_INT,     (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
11445 { SWIG_PY_INT,     (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
11446 { SWIG_PY_INT,     (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
11447 { SWIG_PY_INT,     (char *)"LockMapIndex", (long) 1, 0, 0, 0},
11448 { SWIG_PY_INT,     (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
11449 { SWIG_PY_INT,     (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
11450 { SWIG_PY_INT,     (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
11451 { SWIG_PY_INT,     (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
11452 { SWIG_PY_INT,     (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
11453 { SWIG_PY_INT,     (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
11454 { SWIG_PY_INT,     (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
11455 { SWIG_PY_INT,     (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
11456 { SWIG_PY_INT,     (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
11457 { SWIG_PY_INT,     (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
11458 { SWIG_PY_INT,     (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
11459 { SWIG_PY_INT,     (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
11460 { SWIG_PY_INT,     (char *)"Button1", (long) 1, 0, 0, 0},
11461 { SWIG_PY_INT,     (char *)"Button2", (long) 2, 0, 0, 0},
11462 { SWIG_PY_INT,     (char *)"Button3", (long) 3, 0, 0, 0},
11463 { SWIG_PY_INT,     (char *)"Button4", (long) 4, 0, 0, 0},
11464 { SWIG_PY_INT,     (char *)"Button5", (long) 5, 0, 0, 0},
11465 { SWIG_PY_INT,     (char *)"NotifyNormal", (long) 0, 0, 0, 0},
11466 { SWIG_PY_INT,     (char *)"NotifyGrab", (long) 1, 0, 0, 0},
11467 { SWIG_PY_INT,     (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
11468 { SWIG_PY_INT,     (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
11469 { SWIG_PY_INT,     (char *)"NotifyHint", (long) 1, 0, 0, 0},
11470 { SWIG_PY_INT,     (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
11471 { SWIG_PY_INT,     (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
11472 { SWIG_PY_INT,     (char *)"NotifyInferior", (long) 2, 0, 0, 0},
11473 { SWIG_PY_INT,     (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
11474 { SWIG_PY_INT,     (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
11475 { SWIG_PY_INT,     (char *)"NotifyPointer", (long) 5, 0, 0, 0},
11476 { SWIG_PY_INT,     (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
11477 { SWIG_PY_INT,     (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
11478 { SWIG_PY_INT,     (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
11479 { SWIG_PY_INT,     (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
11480 { SWIG_PY_INT,     (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
11481 { SWIG_PY_INT,     (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
11482 { SWIG_PY_INT,     (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
11483 { SWIG_PY_INT,     (char *)"FamilyInternet", (long) 0, 0, 0, 0},
11484 { SWIG_PY_INT,     (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
11485 { SWIG_PY_INT,     (char *)"FamilyChaos", (long) 2, 0, 0, 0},
11486 { SWIG_PY_INT,     (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
11487 { SWIG_PY_INT,     (char *)"PropertyDelete", (long) 1, 0, 0, 0},
11488 { SWIG_PY_INT,     (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
11489 { SWIG_PY_INT,     (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
11490 { SWIG_PY_INT,     (char *)"GrabModeSync", (long) 0, 0, 0, 0},
11491 { SWIG_PY_INT,     (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
11492 { SWIG_PY_INT,     (char *)"GrabSuccess", (long) 0, 0, 0, 0},
11493 { SWIG_PY_INT,     (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
11494 { SWIG_PY_INT,     (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
11495 { SWIG_PY_INT,     (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
11496 { SWIG_PY_INT,     (char *)"GrabFrozen", (long) 4, 0, 0, 0},
11497 { SWIG_PY_INT,     (char *)"AsyncPointer", (long) 0, 0, 0, 0},
11498 { SWIG_PY_INT,     (char *)"SyncPointer", (long) 1, 0, 0, 0},
11499 { SWIG_PY_INT,     (char *)"ReplayPointer", (long) 2, 0, 0, 0},
11500 { SWIG_PY_INT,     (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
11501 { SWIG_PY_INT,     (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
11502 { SWIG_PY_INT,     (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
11503 { SWIG_PY_INT,     (char *)"AsyncBoth", (long) 6, 0, 0, 0},
11504 { SWIG_PY_INT,     (char *)"SyncBoth", (long) 7, 0, 0, 0},
11505 { SWIG_PY_INT,     (char *)"RevertToParent", (long) 2, 0, 0, 0},
11506 { SWIG_PY_INT,     (char *)"Success", (long) 0, 0, 0, 0},
11507 { SWIG_PY_INT,     (char *)"BadRequest", (long) 1, 0, 0, 0},
11508 { SWIG_PY_INT,     (char *)"BadValue", (long) 2, 0, 0, 0},
11509 { SWIG_PY_INT,     (char *)"BadWindow", (long) 3, 0, 0, 0},
11510 { SWIG_PY_INT,     (char *)"BadPixmap", (long) 4, 0, 0, 0},
11511 { SWIG_PY_INT,     (char *)"BadAtom", (long) 5, 0, 0, 0},
11512 { SWIG_PY_INT,     (char *)"BadCursor", (long) 6, 0, 0, 0},
11513 { SWIG_PY_INT,     (char *)"BadFont", (long) 7, 0, 0, 0},
11514 { SWIG_PY_INT,     (char *)"BadMatch", (long) 8, 0, 0, 0},
11515 { SWIG_PY_INT,     (char *)"BadDrawable", (long) 9, 0, 0, 0},
11516 { SWIG_PY_INT,     (char *)"BadAccess", (long) 10, 0, 0, 0},
11517 { SWIG_PY_INT,     (char *)"BadAlloc", (long) 11, 0, 0, 0},
11518 { SWIG_PY_INT,     (char *)"BadColor", (long) 12, 0, 0, 0},
11519 { SWIG_PY_INT,     (char *)"BadGC", (long) 13, 0, 0, 0},
11520 { SWIG_PY_INT,     (char *)"BadIDChoice", (long) 14, 0, 0, 0},
11521 { SWIG_PY_INT,     (char *)"BadName", (long) 15, 0, 0, 0},
11522 { SWIG_PY_INT,     (char *)"BadLength", (long) 16, 0, 0, 0},
11523 { SWIG_PY_INT,     (char *)"BadImplementation", (long) 17, 0, 0, 0},
11524 { SWIG_PY_INT,     (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
11525 { SWIG_PY_INT,     (char *)"LastExtensionError", (long) 255, 0, 0, 0},
11526 { SWIG_PY_INT,     (char *)"InputOutput", (long) 1, 0, 0, 0},
11527 { SWIG_PY_INT,     (char *)"InputOnly", (long) 2, 0, 0, 0},
11528 { SWIG_PY_INT,     (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
11529 { SWIG_PY_INT,     (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
11530 { SWIG_PY_INT,     (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
11531 { SWIG_PY_INT,     (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
11532 { SWIG_PY_INT,     (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
11533 { SWIG_PY_INT,     (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
11534 { SWIG_PY_INT,     (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
11535 { SWIG_PY_INT,     (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
11536 { SWIG_PY_INT,     (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
11537 { SWIG_PY_INT,     (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
11538 { SWIG_PY_INT,     (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
11539 { SWIG_PY_INT,     (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
11540 { SWIG_PY_INT,     (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
11541 { SWIG_PY_INT,     (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
11542 { SWIG_PY_INT,     (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
11543 { SWIG_PY_INT,     (char *)"CWX", (long) (1<<0), 0, 0, 0},
11544 { SWIG_PY_INT,     (char *)"CWY", (long) (1<<1), 0, 0, 0},
11545 { SWIG_PY_INT,     (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
11546 { SWIG_PY_INT,     (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
11547 { SWIG_PY_INT,     (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
11548 { SWIG_PY_INT,     (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
11549 { SWIG_PY_INT,     (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
11550 { SWIG_PY_INT,     (char *)"ForgetGravity", (long) 0, 0, 0, 0},
11551 { SWIG_PY_INT,     (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
11552 { SWIG_PY_INT,     (char *)"NorthGravity", (long) 2, 0, 0, 0},
11553 { SWIG_PY_INT,     (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
11554 { SWIG_PY_INT,     (char *)"WestGravity", (long) 4, 0, 0, 0},
11555 { SWIG_PY_INT,     (char *)"CenterGravity", (long) 5, 0, 0, 0},
11556 { SWIG_PY_INT,     (char *)"EastGravity", (long) 6, 0, 0, 0},
11557 { SWIG_PY_INT,     (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
11558 { SWIG_PY_INT,     (char *)"SouthGravity", (long) 8, 0, 0, 0},
11559 { SWIG_PY_INT,     (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
11560 { SWIG_PY_INT,     (char *)"StaticGravity", (long) 10, 0, 0, 0},
11561 { SWIG_PY_INT,     (char *)"UnmapGravity", (long) 0, 0, 0, 0},
11562 { SWIG_PY_INT,     (char *)"NotUseful", (long) 0, 0, 0, 0},
11563 { SWIG_PY_INT,     (char *)"WhenMapped", (long) 1, 0, 0, 0},
11564 { SWIG_PY_INT,     (char *)"Always", (long) 2, 0, 0, 0},
11565 { SWIG_PY_INT,     (char *)"IsUnmapped", (long) 0, 0, 0, 0},
11566 { SWIG_PY_INT,     (char *)"IsUnviewable", (long) 1, 0, 0, 0},
11567 { SWIG_PY_INT,     (char *)"IsViewable", (long) 2, 0, 0, 0},
11568 { SWIG_PY_INT,     (char *)"SetModeInsert", (long) 0, 0, 0, 0},
11569 { SWIG_PY_INT,     (char *)"SetModeDelete", (long) 1, 0, 0, 0},
11570 { SWIG_PY_INT,     (char *)"DestroyAll", (long) 0, 0, 0, 0},
11571 { SWIG_PY_INT,     (char *)"RetainPermanent", (long) 1, 0, 0, 0},
11572 { SWIG_PY_INT,     (char *)"RetainTemporary", (long) 2, 0, 0, 0},
11573 { SWIG_PY_INT,     (char *)"Above", (long) 0, 0, 0, 0},
11574 { SWIG_PY_INT,     (char *)"Below", (long) 1, 0, 0, 0},
11575 { SWIG_PY_INT,     (char *)"TopIf", (long) 2, 0, 0, 0},
11576 { SWIG_PY_INT,     (char *)"BottomIf", (long) 3, 0, 0, 0},
11577 { SWIG_PY_INT,     (char *)"Opposite", (long) 4, 0, 0, 0},
11578 { SWIG_PY_INT,     (char *)"RaiseLowest", (long) 0, 0, 0, 0},
11579 { SWIG_PY_INT,     (char *)"LowerHighest", (long) 1, 0, 0, 0},
11580 { SWIG_PY_INT,     (char *)"PropModeReplace", (long) 0, 0, 0, 0},
11581 { SWIG_PY_INT,     (char *)"PropModePrepend", (long) 1, 0, 0, 0},
11582 { SWIG_PY_INT,     (char *)"PropModeAppend", (long) 2, 0, 0, 0},
11583 { SWIG_PY_INT,     (char *)"GXclear", (long) 0x0, 0, 0, 0},
11584 { SWIG_PY_INT,     (char *)"GXand", (long) 0x1, 0, 0, 0},
11585 { SWIG_PY_INT,     (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
11586 { SWIG_PY_INT,     (char *)"GXcopy", (long) 0x3, 0, 0, 0},
11587 { SWIG_PY_INT,     (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
11588 { SWIG_PY_INT,     (char *)"GXnoop", (long) 0x5, 0, 0, 0},
11589 { SWIG_PY_INT,     (char *)"GXxor", (long) 0x6, 0, 0, 0},
11590 { SWIG_PY_INT,     (char *)"GXor", (long) 0x7, 0, 0, 0},
11591 { SWIG_PY_INT,     (char *)"GXnor", (long) 0x8, 0, 0, 0},
11592 { SWIG_PY_INT,     (char *)"GXequiv", (long) 0x9, 0, 0, 0},
11593 { SWIG_PY_INT,     (char *)"GXinvert", (long) 0xa, 0, 0, 0},
11594 { SWIG_PY_INT,     (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
11595 { SWIG_PY_INT,     (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
11596 { SWIG_PY_INT,     (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
11597 { SWIG_PY_INT,     (char *)"GXnand", (long) 0xe, 0, 0, 0},
11598 { SWIG_PY_INT,     (char *)"GXset", (long) 0xf, 0, 0, 0},
11599 { SWIG_PY_INT,     (char *)"LineSolid", (long) 0, 0, 0, 0},
11600 { SWIG_PY_INT,     (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
11601 { SWIG_PY_INT,     (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
11602 { SWIG_PY_INT,     (char *)"CapNotLast", (long) 0, 0, 0, 0},
11603 { SWIG_PY_INT,     (char *)"CapButt", (long) 1, 0, 0, 0},
11604 { SWIG_PY_INT,     (char *)"CapRound", (long) 2, 0, 0, 0},
11605 { SWIG_PY_INT,     (char *)"CapProjecting", (long) 3, 0, 0, 0},
11606 { SWIG_PY_INT,     (char *)"JoinMiter", (long) 0, 0, 0, 0},
11607 { SWIG_PY_INT,     (char *)"JoinRound", (long) 1, 0, 0, 0},
11608 { SWIG_PY_INT,     (char *)"JoinBevel", (long) 2, 0, 0, 0},
11609 { SWIG_PY_INT,     (char *)"FillSolid", (long) 0, 0, 0, 0},
11610 { SWIG_PY_INT,     (char *)"FillTiled", (long) 1, 0, 0, 0},
11611 { SWIG_PY_INT,     (char *)"FillStippled", (long) 2, 0, 0, 0},
11612 { SWIG_PY_INT,     (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
11613 { SWIG_PY_INT,     (char *)"EvenOddRule", (long) 0, 0, 0, 0},
11614 { SWIG_PY_INT,     (char *)"WindingRule", (long) 1, 0, 0, 0},
11615 { SWIG_PY_INT,     (char *)"ClipByChildren", (long) 0, 0, 0, 0},
11616 { SWIG_PY_INT,     (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
11617 { SWIG_PY_INT,     (char *)"Unsorted", (long) 0, 0, 0, 0},
11618 { SWIG_PY_INT,     (char *)"YSorted", (long) 1, 0, 0, 0},
11619 { SWIG_PY_INT,     (char *)"YXSorted", (long) 2, 0, 0, 0},
11620 { SWIG_PY_INT,     (char *)"YXBanded", (long) 3, 0, 0, 0},
11621 { SWIG_PY_INT,     (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
11622 { SWIG_PY_INT,     (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
11623 { SWIG_PY_INT,     (char *)"Complex", (long) 0, 0, 0, 0},
11624 { SWIG_PY_INT,     (char *)"Nonconvex", (long) 1, 0, 0, 0},
11625 { SWIG_PY_INT,     (char *)"Convex", (long) 2, 0, 0, 0},
11626 { SWIG_PY_INT,     (char *)"ArcChord", (long) 0, 0, 0, 0},
11627 { SWIG_PY_INT,     (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
11628 { SWIG_PY_INT,     (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
11629 { SWIG_PY_INT,     (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
11630 { SWIG_PY_INT,     (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
11631 { SWIG_PY_INT,     (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
11632 { SWIG_PY_INT,     (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
11633 { SWIG_PY_INT,     (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
11634 { SWIG_PY_INT,     (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
11635 { SWIG_PY_INT,     (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
11636 { SWIG_PY_INT,     (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
11637 { SWIG_PY_INT,     (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
11638 { SWIG_PY_INT,     (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
11639 { SWIG_PY_INT,     (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
11640 { SWIG_PY_INT,     (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
11641 { SWIG_PY_INT,     (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
11642 { SWIG_PY_INT,     (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
11643 { SWIG_PY_INT,     (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
11644 { SWIG_PY_INT,     (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
11645 { SWIG_PY_INT,     (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
11646 { SWIG_PY_INT,     (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
11647 { SWIG_PY_INT,     (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
11648 { SWIG_PY_INT,     (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
11649 { SWIG_PY_INT,     (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
11650 { SWIG_PY_INT,     (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
11651 { SWIG_PY_INT,     (char *)"GCLastBit", (long) 22, 0, 0, 0},
11652 { SWIG_PY_INT,     (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
11653 { SWIG_PY_INT,     (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
11654 { SWIG_PY_INT,     (char *)"FontChange", (long) 255, 0, 0, 0},
11655 { SWIG_PY_INT,     (char *)"XYBitmap", (long) 0, 0, 0, 0},
11656 { SWIG_PY_INT,     (char *)"XYPixmap", (long) 1, 0, 0, 0},
11657 { SWIG_PY_INT,     (char *)"ZPixmap", (long) 2, 0, 0, 0},
11658 { SWIG_PY_INT,     (char *)"AllocNone", (long) 0, 0, 0, 0},
11659 { SWIG_PY_INT,     (char *)"AllocAll", (long) 1, 0, 0, 0},
11660 { SWIG_PY_INT,     (char *)"DoRed", (long) (1<<0), 0, 0, 0},
11661 { SWIG_PY_INT,     (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
11662 { SWIG_PY_INT,     (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
11663 { SWIG_PY_INT,     (char *)"CursorShape", (long) 0, 0, 0, 0},
11664 { SWIG_PY_INT,     (char *)"TileShape", (long) 1, 0, 0, 0},
11665 { SWIG_PY_INT,     (char *)"StippleShape", (long) 2, 0, 0, 0},
11666 { SWIG_PY_INT,     (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
11667 { SWIG_PY_INT,     (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
11668 { SWIG_PY_INT,     (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
11669 { SWIG_PY_INT,     (char *)"LedModeOff", (long) 0, 0, 0, 0},
11670 { SWIG_PY_INT,     (char *)"LedModeOn", (long) 1, 0, 0, 0},
11671 { SWIG_PY_INT,     (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
11672 { SWIG_PY_INT,     (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
11673 { SWIG_PY_INT,     (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
11674 { SWIG_PY_INT,     (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
11675 { SWIG_PY_INT,     (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
11676 { SWIG_PY_INT,     (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
11677 { SWIG_PY_INT,     (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
11678 { SWIG_PY_INT,     (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
11679 { SWIG_PY_INT,     (char *)"MappingSuccess", (long) 0, 0, 0, 0},
11680 { SWIG_PY_INT,     (char *)"MappingBusy", (long) 1, 0, 0, 0},
11681 { SWIG_PY_INT,     (char *)"MappingFailed", (long) 2, 0, 0, 0},
11682 { SWIG_PY_INT,     (char *)"MappingModifier", (long) 0, 0, 0, 0},
11683 { SWIG_PY_INT,     (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
11684 { SWIG_PY_INT,     (char *)"MappingPointer", (long) 2, 0, 0, 0},
11685 { SWIG_PY_INT,     (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
11686 { SWIG_PY_INT,     (char *)"PreferBlanking", (long) 1, 0, 0, 0},
11687 { SWIG_PY_INT,     (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
11688 { SWIG_PY_INT,     (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
11689 { SWIG_PY_INT,     (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
11690 { SWIG_PY_INT,     (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
11691 { SWIG_PY_INT,     (char *)"AllowExposures", (long) 1, 0, 0, 0},
11692 { SWIG_PY_INT,     (char *)"DefaultExposures", (long) 2, 0, 0, 0},
11693 { SWIG_PY_INT,     (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
11694 { SWIG_PY_INT,     (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
11695 { SWIG_PY_INT,     (char *)"HostInsert", (long) 0, 0, 0, 0},
11696 { SWIG_PY_INT,     (char *)"HostDelete", (long) 1, 0, 0, 0},
11697 { SWIG_PY_INT,     (char *)"EnableAccess", (long) 1, 0, 0, 0},
11698 { SWIG_PY_INT,     (char *)"DisableAccess", (long) 0, 0, 0, 0},
11699 { SWIG_PY_INT,     (char *)"StaticGray", (long) 0, 0, 0, 0},
11700 { SWIG_PY_INT,     (char *)"GrayScale", (long) 1, 0, 0, 0},
11701 { SWIG_PY_INT,     (char *)"StaticColor", (long) 2, 0, 0, 0},
11702 { SWIG_PY_INT,     (char *)"PseudoColor", (long) 3, 0, 0, 0},
11703 { SWIG_PY_INT,     (char *)"TrueColor", (long) 4, 0, 0, 0},
11704 { SWIG_PY_INT,     (char *)"DirectColor", (long) 5, 0, 0, 0},
11705 { SWIG_PY_INT,     (char *)"LSBFirst", (long) 0, 0, 0, 0},
11706 { SWIG_PY_INT,     (char *)"MSBFirst", (long) 1, 0, 0, 0},
11707 {0}};
11708
11709 #ifdef __cplusplus
11710 }
11711 #endif
11712
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 SWIGEXPORT(void) SWIG_init(void) {
11717     static PyObject *SWIG_globals = 0; 
11718     static int       typeinit = 0;
11719     PyObject *m, *d;
11720     int       i;
11721     if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
11722     m = Py_InitModule((char *) SWIG_name, SwigMethods);
11723     d = PyModule_GetDict(m);
11724     
11725     if (!typeinit) {
11726         for (i = 0; swig_types_initial[i]; i++) {
11727             swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
11728         }
11729         typeinit = 1;
11730     }
11731     SWIG_InstallConstants(d,swig_const_table);
11732     
11733 }
11734