]> icculus.org git repositories - dana/openbox.git/blob - src/openbox_wrap.cc
include the all otk stuff into the openbox python module. rename widget.hh to stop...
[dana/openbox.git] / src / openbox_wrap.cc
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 1.3.17u-20021226-0459
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__OBProperty__StringVect swig_types[0] 
649 #define  SWIGTYPE_p_otk__BGCCache swig_types[1] 
650 #define  SWIGTYPE_p_otk__BColor swig_types[2] 
651 #define  SWIGTYPE_p_XFontStruct swig_types[3] 
652 #define  SWIGTYPE_p_otk__Configuration swig_types[4] 
653 #define  SWIGTYPE_p_otk__PixmapMask swig_types[5] 
654 #define  SWIGTYPE_p_otk__PointerAssassin swig_types[6] 
655 #define  SWIGTYPE_p_otk__BImage swig_types[7] 
656 #define  SWIGTYPE_p_otk__OBTimer swig_types[8] 
657 #define  SWIGTYPE_p_ob__OBFrame swig_types[9] 
658 #define  SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[10] 
659 #define  SWIGTYPE_p_ob__EventData swig_types[11] 
660 #define  SWIGTYPE_p_bool swig_types[12] 
661 #define  SWIGTYPE_p_otk__OBDisplay swig_types[13] 
662 #define  SWIGTYPE_p_Display swig_types[14] 
663 #define  SWIGTYPE_p_p_XColor swig_types[15] 
664 #define  SWIGTYPE_p_ob__Cursors swig_types[16] 
665 #define  SWIGTYPE_p_XReparentEvent swig_types[17] 
666 #define  SWIGTYPE_p_otk__BPen swig_types[18] 
667 #define  SWIGTYPE_p_otk__BImageControl swig_types[19] 
668 #define  SWIGTYPE_p_otk__OtkButton swig_types[20] 
669 #define  SWIGTYPE_p_otk__Rect swig_types[21] 
670 #define  SWIGTYPE_p_ob__MwmHints swig_types[22] 
671 #define  SWIGTYPE_p_otk__Style swig_types[23] 
672 #define  SWIGTYPE_p_XSelectionClearEvent swig_types[24] 
673 #define  SWIGTYPE_p_Visual swig_types[25] 
674 #define  SWIGTYPE_p_timeval swig_types[26] 
675 #define  SWIGTYPE_p_ob__OBActions swig_types[27] 
676 #define  SWIGTYPE_p_int swig_types[28] 
677 #define  SWIGTYPE_p_otk__Strut swig_types[29] 
678 #define  SWIGTYPE_p_otk__OtkApplication swig_types[30] 
679 #define  SWIGTYPE_p_XRectangle swig_types[31] 
680 #define  SWIGTYPE_p_otk__OtkFocusWidget swig_types[32] 
681 #define  SWIGTYPE_p_otk__OtkWidget swig_types[33] 
682 #define  SWIGTYPE_p_PyObject swig_types[34] 
683 #define  SWIGTYPE_p_XGravityEvent swig_types[35] 
684 #define  SWIGTYPE_p_XVisibilityEvent swig_types[36] 
685 #define  SWIGTYPE_p_XPropertyEvent swig_types[37] 
686 #define  SWIGTYPE_p_ob__OBScreen swig_types[38] 
687 #define  SWIGTYPE_p_otk__BGCCacheContext swig_types[39] 
688 #define  SWIGTYPE_p_XCreateWindowEvent swig_types[40] 
689 #define  SWIGTYPE_p_XDestroyWindowEvent swig_types[41] 
690 #define  SWIGTYPE_p_XCirculateEvent swig_types[42] 
691 #define  SWIGTYPE_p_XConfigureEvent swig_types[43] 
692 #define  SWIGTYPE_p_otk__OBProperty swig_types[44] 
693 #define  SWIGTYPE_p_long swig_types[45] 
694 #define  SWIGTYPE_p_XTextProperty swig_types[46] 
695 #define  SWIGTYPE_p_otk__OtkEventHandler swig_types[47] 
696 #define  SWIGTYPE_p_XSelectionRequestEvent swig_types[48] 
697 #define  SWIGTYPE_p_XCirculateRequestEvent swig_types[49] 
698 #define  SWIGTYPE_p_XConfigureRequestEvent swig_types[50] 
699 #define  SWIGTYPE_p_XMapRequestEvent swig_types[51] 
700 #define  SWIGTYPE_p_XResizeRequestEvent swig_types[52] 
701 #define  SWIGTYPE_otk__OBTimeoutHandler swig_types[53] 
702 #define  SWIGTYPE_p_XftDraw swig_types[54] 
703 #define  SWIGTYPE_p_otk__ScreenInfo swig_types[55] 
704 #define  SWIGTYPE_p_otk__OtkFocusLabel swig_types[56] 
705 #define  SWIGTYPE_p_otk__BTexture swig_types[57] 
706 #define  SWIGTYPE_p_otk__OtkEventDispatcher swig_types[58] 
707 #define  SWIGTYPE_p_otk__BFont swig_types[59] 
708 #define  SWIGTYPE_p_otk__Point swig_types[60] 
709 #define  SWIGTYPE_p_p_char swig_types[61] 
710 #define  SWIGTYPE_p_ob__MouseData swig_types[62] 
711 #define  SWIGTYPE_p_XSelectionEvent swig_types[63] 
712 #define  SWIGTYPE_p_XMotionEvent swig_types[64] 
713 #define  SWIGTYPE_p_XButtonEvent swig_types[65] 
714 #define  SWIGTYPE_p_GC swig_types[66] 
715 #define  SWIGTYPE_p_otk__OBTimerQueueManager swig_types[67] 
716 #define  SWIGTYPE_p_otk__OtkAppWidget swig_types[68] 
717 #define  SWIGTYPE_p_ob__OBWidget swig_types[69] 
718 #define  SWIGTYPE_p_XKeyEvent swig_types[70] 
719 #define  SWIGTYPE_p_unsigned_long swig_types[71] 
720 #define  SWIGTYPE_p_XEvent swig_types[72] 
721 #define  SWIGTYPE_p_p_unsigned_long swig_types[73] 
722 #define  SWIGTYPE_p_std__string swig_types[74] 
723 #define  SWIGTYPE_p_XCrossingEvent swig_types[75] 
724 #define  SWIGTYPE_p_XMappingEvent swig_types[76] 
725 #define  SWIGTYPE_p_ob__OBBindings swig_types[77] 
726 #define  SWIGTYPE_p_ob__OBClient swig_types[78] 
727 #define  SWIGTYPE_p_otk__BGCCacheItem swig_types[79] 
728 #define  SWIGTYPE_p_p_unsigned_int swig_types[80] 
729 #define  SWIGTYPE_p_unsigned_int swig_types[81] 
730 #define  SWIGTYPE_p_p_unsigned_char swig_types[82] 
731 #define  SWIGTYPE_p_XClientMessageEvent swig_types[83] 
732 #define  SWIGTYPE_p_XFocusChangeEvent swig_types[84] 
733 #define  SWIGTYPE_p_XExposeEvent swig_types[85] 
734 #define  SWIGTYPE_p_XGraphicsExposeEvent swig_types[86] 
735 #define  SWIGTYPE_p_XNoExposeEvent swig_types[87] 
736 #define  SWIGTYPE_p_ob__KeyData swig_types[88] 
737 #define  SWIGTYPE_p_ob__Openbox swig_types[89] 
738 #define  SWIGTYPE_p_XMapEvent swig_types[90] 
739 #define  SWIGTYPE_p_XUnmapEvent swig_types[91] 
740 #define  SWIGTYPE_p_XColormapEvent swig_types[92] 
741 static swig_type_info *swig_types[94];
742
743 /* -------- TYPES TABLE (END) -------- */
744
745
746 /*-----------------------------------------------
747               @(target):= _openbox.so
748   ------------------------------------------------*/
749 #define SWIG_init    init_openbox
750
751 #define SWIG_name    "_openbox"
752
753 #ifdef HAVE_CONFIG_H
754 #  include "../config.h"
755 #endif
756
757 #include "openbox.hh"
758 #include "screen.hh"
759 #include "client.hh"
760 #include "bindings.hh"
761 #include "actions.hh"
762 #include "python.hh"
763 #include "otk/display.hh"
764
765
766 #define  SWIG_MemoryError    1
767 #define  SWIG_IOError        2
768 #define  SWIG_RuntimeError   3
769 #define  SWIG_IndexError     4
770 #define  SWIG_TypeError      5
771 #define  SWIG_DivisionByZero 6
772 #define  SWIG_OverflowError  7
773 #define  SWIG_SyntaxError    8
774 #define  SWIG_ValueError     9
775 #define  SWIG_SystemError   10
776 #define  SWIG_UnknownError  99
777
778
779 static void _SWIG_exception(int code, const char *msg) {
780   switch(code) {
781   case SWIG_MemoryError:
782     PyErr_SetString(PyExc_MemoryError,msg);
783     break;
784   case SWIG_IOError:
785     PyErr_SetString(PyExc_IOError,msg);
786     break;
787   case SWIG_RuntimeError:
788     PyErr_SetString(PyExc_RuntimeError,msg);
789     break;
790   case SWIG_IndexError:
791     PyErr_SetString(PyExc_IndexError,msg);
792     break;
793   case SWIG_TypeError:
794     PyErr_SetString(PyExc_TypeError,msg);
795     break;
796   case SWIG_DivisionByZero:
797     PyErr_SetString(PyExc_ZeroDivisionError,msg);
798     break;
799   case SWIG_OverflowError:
800     PyErr_SetString(PyExc_OverflowError,msg);
801     break;
802   case SWIG_SyntaxError:
803     PyErr_SetString(PyExc_SyntaxError,msg);
804     break;
805   case SWIG_ValueError:
806     PyErr_SetString(PyExc_ValueError,msg);
807     break;
808   case SWIG_SystemError:
809     PyErr_SetString(PyExc_SystemError,msg);
810     break;
811   default:
812     PyErr_SetString(PyExc_RuntimeError,msg);
813     break;
814   }
815 }
816
817 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
818
819
820 #include <string>
821
822
823 #include <string>
824
825 static PyObject* SwigInt_FromBool(bool b) {
826     return PyInt_FromLong(b ? 1L : 0L);
827 }
828 static double SwigNumber_Check(PyObject* o) {
829     return PyFloat_Check(o) || PyInt_Check(o);
830 }
831 static double SwigNumber_AsDouble(PyObject* o) {
832     return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
833 }
834 static PyObject* SwigString_FromString(const std::string& s) {
835     return PyString_FromString(s.c_str());
836 }
837 static std::string SwigString_AsString(PyObject* o) {
838     return std::string(PyString_AsString(o));
839 }
840
841
842 #include <vector>
843 #include <algorithm>
844 #include <stdexcept>
845
846
847   ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
848
849
850 namespace ob {
851 void python_callback(PyObject *func, MouseData *data)
852 {
853   PyObject *arglist;
854   PyObject *result;
855
856   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
857                                                     SWIGTYPE_p_ob__MouseData,
858                                                     0));
859   
860   // call the callback
861   result = PyEval_CallObject(func, arglist);
862   if (!result || PyErr_Occurred()) {
863     // an exception occured in the script, display it
864     PyErr_Print();
865   }
866
867   Py_XDECREF(result);
868   Py_DECREF(arglist);
869 }
870
871 void python_callback(PyObject *func, EventData *data)
872 {
873   PyObject *arglist;
874   PyObject *result;
875
876   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
877                                                     SWIGTYPE_p_ob__EventData,
878                                                     0));
879   
880   // call the callback
881   result = PyEval_CallObject(func, arglist);
882   if (!result || PyErr_Occurred()) {
883     // an exception occured in the script, display it
884     PyErr_Print();
885   }
886
887   Py_XDECREF(result);
888   Py_DECREF(arglist);
889 }
890
891 void python_callback(PyObject *func, KeyData *data)
892 {
893   PyObject *arglist;
894   PyObject *result;
895
896   arglist = Py_BuildValue("(O)", SWIG_NewPointerObj((void *) data,
897                                                     SWIGTYPE_p_ob__KeyData,
898                                                     0));
899   
900   // call the callback
901   result = PyEval_CallObject(func, arglist);
902   if (!result || PyErr_Occurred()) {
903     // an exception occured in the script, display it
904     PyErr_Print();
905   }
906
907   Py_XDECREF(result);
908   Py_DECREF(arglist);
909 }
910
911 }
912
913
914   #include <iterator>
915
916
917 #ifdef HAVE_CONFIG_H
918 #  include "../config.h"
919 #endif
920
921 #include "application.hh"
922 #include "appwidget.hh"
923 #include "assassin.hh"
924 #include "button.hh"
925 #include "color.hh"
926 #include "configuration.hh"
927 #include "display.hh"
928 #include "eventdispatcher.hh"
929 #include "eventhandler.hh"
930 #include "focuslabel.hh"
931 #include "focuswidget.hh"
932 #include "font.hh"
933 #include "gccache.hh"
934 #include "image.hh"
935 #include "label.hh"
936 #include "point.hh"
937 #include "property.hh"
938 #include "rect.hh"
939 #include "screeninfo.hh"
940 #include "strut.hh"
941 #include "style.hh"
942 #include "texture.hh"
943 #include "timer.hh"
944 #include "timerqueue.hh"
945 #include "timerqueuemanager.hh"
946 #include "util.hh"
947 #include "widget.hh"
948
949
950   static Display *OBDisplay_display() { return otk::OBDisplay::display; }
951
952 ob::OBClient *ob_OBScreen_client(ob::OBScreen *self,int i){
953     if (i >= (int)self->clients.size())
954       return NULL;
955     ob::OBClient::List::iterator it = self->clients.begin();
956     std::advance(it,i);
957     return *it;
958   }
959 int ob_OBScreen_clientCount(ob::OBScreen const *self){
960     return (int) self->clients.size();
961   }
962 #ifdef __cplusplus
963 extern "C" {
964 #endif
965 static PyObject *_wrap_Openbox_instance(PyObject *self, PyObject *args) {
966     PyObject *resultobj;
967     ob::Openbox *result;
968     
969     if(!PyArg_ParseTuple(args,(char *)":Openbox_instance")) goto fail;
970     result = (ob::Openbox *)Openbox_instance();
971     
972     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Openbox, 0);
973     return resultobj;
974     fail:
975     return NULL;
976 }
977
978
979 static PyObject *_wrap_OBDisplay_display(PyObject *self, PyObject *args) {
980     PyObject *resultobj;
981     Display *result;
982     
983     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_display")) goto fail;
984     result = (Display *)OBDisplay_display();
985     
986     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
987     return resultobj;
988     fail:
989     return NULL;
990 }
991
992
993 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
994     PyObject *resultobj;
995     otk::OtkEventDispatcher *result;
996     
997     if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
998     result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
999     
1000     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
1001     return resultobj;
1002     fail:
1003     return NULL;
1004 }
1005
1006
1007 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
1008     PyObject *resultobj;
1009     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1010     PyObject * obj0  = 0 ;
1011     
1012     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
1013     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014     delete arg1;
1015     
1016     Py_INCREF(Py_None); resultobj = Py_None;
1017     return resultobj;
1018     fail:
1019     return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
1024     PyObject *resultobj;
1025     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1026     PyObject * obj0  = 0 ;
1027     
1028     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
1029     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030     (arg1)->clearAllHandlers();
1031     
1032     Py_INCREF(Py_None); resultobj = Py_None;
1033     return resultobj;
1034     fail:
1035     return NULL;
1036 }
1037
1038
1039 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
1040     PyObject *resultobj;
1041     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1042     Window arg2 ;
1043     otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
1044     PyObject * obj0  = 0 ;
1045     PyObject * obj1  = 0 ;
1046     PyObject * obj2  = 0 ;
1047     
1048     if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
1049     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1050     arg2 = (Window) PyInt_AsLong(obj1);
1051     if (PyErr_Occurred()) SWIG_fail;
1052     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1053     (arg1)->registerHandler(arg2,arg3);
1054     
1055     Py_INCREF(Py_None); resultobj = Py_None;
1056     return resultobj;
1057     fail:
1058     return NULL;
1059 }
1060
1061
1062 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
1063     PyObject *resultobj;
1064     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1065     Window arg2 ;
1066     PyObject * obj0  = 0 ;
1067     PyObject * obj1  = 0 ;
1068     
1069     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
1070     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1071     arg2 = (Window) PyInt_AsLong(obj1);
1072     if (PyErr_Occurred()) SWIG_fail;
1073     (arg1)->clearHandler(arg2);
1074     
1075     Py_INCREF(Py_None); resultobj = Py_None;
1076     return resultobj;
1077     fail:
1078     return NULL;
1079 }
1080
1081
1082 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
1083     PyObject *resultobj;
1084     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1085     PyObject * obj0  = 0 ;
1086     
1087     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
1088     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1089     (arg1)->dispatchEvents();
1090     
1091     Py_INCREF(Py_None); resultobj = Py_None;
1092     return resultobj;
1093     fail:
1094     return NULL;
1095 }
1096
1097
1098 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
1099     PyObject *resultobj;
1100     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1101     otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1102     PyObject * obj0  = 0 ;
1103     PyObject * obj1  = 0 ;
1104     
1105     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
1106     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1107     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108     (arg1)->setFallbackHandler(arg2);
1109     
1110     Py_INCREF(Py_None); resultobj = Py_None;
1111     return resultobj;
1112     fail:
1113     return NULL;
1114 }
1115
1116
1117 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
1118     PyObject *resultobj;
1119     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1120     otk::OtkEventHandler *result;
1121     PyObject * obj0  = 0 ;
1122     
1123     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
1124     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1125     result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
1126     
1127     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1128     return resultobj;
1129     fail:
1130     return NULL;
1131 }
1132
1133
1134 static PyObject *_wrap_OtkEventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
1135     PyObject *resultobj;
1136     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1137     otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1138     PyObject * obj0  = 0 ;
1139     PyObject * obj1  = 0 ;
1140     
1141     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
1142     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1143     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144     (arg1)->setMasterHandler(arg2);
1145     
1146     Py_INCREF(Py_None); resultobj = Py_None;
1147     return resultobj;
1148     fail:
1149     return NULL;
1150 }
1151
1152
1153 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1154     PyObject *resultobj;
1155     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1156     otk::OtkEventHandler *result;
1157     PyObject * obj0  = 0 ;
1158     
1159     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1160     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1161     result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1162     
1163     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1164     return resultobj;
1165     fail:
1166     return NULL;
1167 }
1168
1169
1170 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1171     PyObject *resultobj;
1172     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1173     Window arg2 ;
1174     otk::OtkEventHandler *result;
1175     PyObject * obj0  = 0 ;
1176     PyObject * obj1  = 0 ;
1177     
1178     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1179     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180     arg2 = (Window) PyInt_AsLong(obj1);
1181     if (PyErr_Occurred()) SWIG_fail;
1182     result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1183     
1184     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1185     return resultobj;
1186     fail:
1187     return NULL;
1188 }
1189
1190
1191 static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) {
1192     PyObject *resultobj;
1193     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1194     Time result;
1195     PyObject * obj0  = 0 ;
1196     
1197     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail;
1198     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1199     result = (Time)((otk::OtkEventDispatcher const *)arg1)->lastTime();
1200     
1201     resultobj = PyInt_FromLong((long)result);
1202     return resultobj;
1203     fail:
1204     return NULL;
1205 }
1206
1207
1208 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1209     PyObject *obj;
1210     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1211     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1212     Py_INCREF(obj);
1213     return Py_BuildValue((char *)"");
1214 }
1215 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1216     PyObject *resultobj;
1217     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1218     XEvent *arg2 = 0 ;
1219     PyObject * obj0  = 0 ;
1220     PyObject * obj1  = 0 ;
1221     
1222     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1223     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1225     if (arg2 == NULL) {
1226         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1227     }
1228     (arg1)->handle((XEvent const &)*arg2);
1229     
1230     Py_INCREF(Py_None); resultobj = Py_None;
1231     return resultobj;
1232     fail:
1233     return NULL;
1234 }
1235
1236
1237 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1238     PyObject *resultobj;
1239     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1240     XKeyEvent *arg2 = 0 ;
1241     PyObject * obj0  = 0 ;
1242     PyObject * obj1  = 0 ;
1243     
1244     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1245     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1246     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1247     if (arg2 == NULL) {
1248         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1249     }
1250     (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1251     
1252     Py_INCREF(Py_None); resultobj = Py_None;
1253     return resultobj;
1254     fail:
1255     return NULL;
1256 }
1257
1258
1259 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1260     PyObject *resultobj;
1261     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1262     XKeyEvent *arg2 = 0 ;
1263     PyObject * obj0  = 0 ;
1264     PyObject * obj1  = 0 ;
1265     
1266     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1267     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1268     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269     if (arg2 == NULL) {
1270         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1271     }
1272     (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1273     
1274     Py_INCREF(Py_None); resultobj = Py_None;
1275     return resultobj;
1276     fail:
1277     return NULL;
1278 }
1279
1280
1281 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1282     PyObject *resultobj;
1283     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1284     XButtonEvent *arg2 = 0 ;
1285     PyObject * obj0  = 0 ;
1286     PyObject * obj1  = 0 ;
1287     
1288     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1289     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1290     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1291     if (arg2 == NULL) {
1292         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1293     }
1294     (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1295     
1296     Py_INCREF(Py_None); resultobj = Py_None;
1297     return resultobj;
1298     fail:
1299     return NULL;
1300 }
1301
1302
1303 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1304     PyObject *resultobj;
1305     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1306     XButtonEvent *arg2 = 0 ;
1307     PyObject * obj0  = 0 ;
1308     PyObject * obj1  = 0 ;
1309     
1310     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1311     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1312     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1313     if (arg2 == NULL) {
1314         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1315     }
1316     (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1317     
1318     Py_INCREF(Py_None); resultobj = Py_None;
1319     return resultobj;
1320     fail:
1321     return NULL;
1322 }
1323
1324
1325 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1326     PyObject *resultobj;
1327     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1328     XMotionEvent *arg2 = 0 ;
1329     PyObject * obj0  = 0 ;
1330     PyObject * obj1  = 0 ;
1331     
1332     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1333     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1334     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335     if (arg2 == NULL) {
1336         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1337     }
1338     (arg1)->motionHandler((XMotionEvent const &)*arg2);
1339     
1340     Py_INCREF(Py_None); resultobj = Py_None;
1341     return resultobj;
1342     fail:
1343     return NULL;
1344 }
1345
1346
1347 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1348     PyObject *resultobj;
1349     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1350     XCrossingEvent *arg2 = 0 ;
1351     PyObject * obj0  = 0 ;
1352     PyObject * obj1  = 0 ;
1353     
1354     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1355     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357     if (arg2 == NULL) {
1358         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1359     }
1360     (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1361     
1362     Py_INCREF(Py_None); resultobj = Py_None;
1363     return resultobj;
1364     fail:
1365     return NULL;
1366 }
1367
1368
1369 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1370     PyObject *resultobj;
1371     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1372     XCrossingEvent *arg2 = 0 ;
1373     PyObject * obj0  = 0 ;
1374     PyObject * obj1  = 0 ;
1375     
1376     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1377     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1378     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1379     if (arg2 == NULL) {
1380         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1381     }
1382     (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1383     
1384     Py_INCREF(Py_None); resultobj = Py_None;
1385     return resultobj;
1386     fail:
1387     return NULL;
1388 }
1389
1390
1391 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1392     PyObject *resultobj;
1393     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1394     XFocusChangeEvent *arg2 = 0 ;
1395     PyObject * obj0  = 0 ;
1396     PyObject * obj1  = 0 ;
1397     
1398     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1399     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1400     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1401     if (arg2 == NULL) {
1402         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1403     }
1404     (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1405     
1406     Py_INCREF(Py_None); resultobj = Py_None;
1407     return resultobj;
1408     fail:
1409     return NULL;
1410 }
1411
1412
1413 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1414     PyObject *resultobj;
1415     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1416     XFocusChangeEvent *arg2 = 0 ;
1417     PyObject * obj0  = 0 ;
1418     PyObject * obj1  = 0 ;
1419     
1420     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1421     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423     if (arg2 == NULL) {
1424         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1425     }
1426     (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1427     
1428     Py_INCREF(Py_None); resultobj = Py_None;
1429     return resultobj;
1430     fail:
1431     return NULL;
1432 }
1433
1434
1435 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1436     PyObject *resultobj;
1437     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1438     XExposeEvent *arg2 = 0 ;
1439     PyObject * obj0  = 0 ;
1440     PyObject * obj1  = 0 ;
1441     
1442     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1443     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445     if (arg2 == NULL) {
1446         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1447     }
1448     (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1449     
1450     Py_INCREF(Py_None); resultobj = Py_None;
1451     return resultobj;
1452     fail:
1453     return NULL;
1454 }
1455
1456
1457 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1458     PyObject *resultobj;
1459     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1460     XGraphicsExposeEvent *arg2 = 0 ;
1461     PyObject * obj0  = 0 ;
1462     PyObject * obj1  = 0 ;
1463     
1464     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1465     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1467     if (arg2 == NULL) {
1468         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1469     }
1470     (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1471     
1472     Py_INCREF(Py_None); resultobj = Py_None;
1473     return resultobj;
1474     fail:
1475     return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1480     PyObject *resultobj;
1481     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1482     XNoExposeEvent *arg2 = 0 ;
1483     PyObject * obj0  = 0 ;
1484     PyObject * obj1  = 0 ;
1485     
1486     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1487     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1488     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1489     if (arg2 == NULL) {
1490         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1491     }
1492     (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1493     
1494     Py_INCREF(Py_None); resultobj = Py_None;
1495     return resultobj;
1496     fail:
1497     return NULL;
1498 }
1499
1500
1501 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1502     PyObject *resultobj;
1503     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1504     XCirculateRequestEvent *arg2 = 0 ;
1505     PyObject * obj0  = 0 ;
1506     PyObject * obj1  = 0 ;
1507     
1508     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1509     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1511     if (arg2 == NULL) {
1512         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1513     }
1514     (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1515     
1516     Py_INCREF(Py_None); resultobj = Py_None;
1517     return resultobj;
1518     fail:
1519     return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1524     PyObject *resultobj;
1525     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1526     XConfigureRequestEvent *arg2 = 0 ;
1527     PyObject * obj0  = 0 ;
1528     PyObject * obj1  = 0 ;
1529     
1530     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1531     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1532     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1533     if (arg2 == NULL) {
1534         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1535     }
1536     (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1537     
1538     Py_INCREF(Py_None); resultobj = Py_None;
1539     return resultobj;
1540     fail:
1541     return NULL;
1542 }
1543
1544
1545 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1546     PyObject *resultobj;
1547     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1548     XMapRequestEvent *arg2 = 0 ;
1549     PyObject * obj0  = 0 ;
1550     PyObject * obj1  = 0 ;
1551     
1552     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1553     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1554     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1555     if (arg2 == NULL) {
1556         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1557     }
1558     (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1559     
1560     Py_INCREF(Py_None); resultobj = Py_None;
1561     return resultobj;
1562     fail:
1563     return NULL;
1564 }
1565
1566
1567 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1568     PyObject *resultobj;
1569     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1570     XResizeRequestEvent *arg2 = 0 ;
1571     PyObject * obj0  = 0 ;
1572     PyObject * obj1  = 0 ;
1573     
1574     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1575     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577     if (arg2 == NULL) {
1578         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1579     }
1580     (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1581     
1582     Py_INCREF(Py_None); resultobj = Py_None;
1583     return resultobj;
1584     fail:
1585     return NULL;
1586 }
1587
1588
1589 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1590     PyObject *resultobj;
1591     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1592     XCirculateEvent *arg2 = 0 ;
1593     PyObject * obj0  = 0 ;
1594     PyObject * obj1  = 0 ;
1595     
1596     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1597     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1599     if (arg2 == NULL) {
1600         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1601     }
1602     (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1603     
1604     Py_INCREF(Py_None); resultobj = Py_None;
1605     return resultobj;
1606     fail:
1607     return NULL;
1608 }
1609
1610
1611 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1612     PyObject *resultobj;
1613     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1614     XConfigureEvent *arg2 = 0 ;
1615     PyObject * obj0  = 0 ;
1616     PyObject * obj1  = 0 ;
1617     
1618     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1619     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621     if (arg2 == NULL) {
1622         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1623     }
1624     (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1625     
1626     Py_INCREF(Py_None); resultobj = Py_None;
1627     return resultobj;
1628     fail:
1629     return NULL;
1630 }
1631
1632
1633 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1634     PyObject *resultobj;
1635     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1636     XCreateWindowEvent *arg2 = 0 ;
1637     PyObject * obj0  = 0 ;
1638     PyObject * obj1  = 0 ;
1639     
1640     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1641     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1642     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1643     if (arg2 == NULL) {
1644         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1645     }
1646     (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1647     
1648     Py_INCREF(Py_None); resultobj = Py_None;
1649     return resultobj;
1650     fail:
1651     return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1656     PyObject *resultobj;
1657     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1658     XDestroyWindowEvent *arg2 = 0 ;
1659     PyObject * obj0  = 0 ;
1660     PyObject * obj1  = 0 ;
1661     
1662     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1663     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1665     if (arg2 == NULL) {
1666         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1667     }
1668     (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1669     
1670     Py_INCREF(Py_None); resultobj = Py_None;
1671     return resultobj;
1672     fail:
1673     return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1678     PyObject *resultobj;
1679     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1680     XGravityEvent *arg2 = 0 ;
1681     PyObject * obj0  = 0 ;
1682     PyObject * obj1  = 0 ;
1683     
1684     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1685     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1687     if (arg2 == NULL) {
1688         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1689     }
1690     (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1691     
1692     Py_INCREF(Py_None); resultobj = Py_None;
1693     return resultobj;
1694     fail:
1695     return NULL;
1696 }
1697
1698
1699 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1700     PyObject *resultobj;
1701     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1702     XMapEvent *arg2 = 0 ;
1703     PyObject * obj0  = 0 ;
1704     PyObject * obj1  = 0 ;
1705     
1706     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1707     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1708     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1709     if (arg2 == NULL) {
1710         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1711     }
1712     (arg1)->mapHandler((XMapEvent const &)*arg2);
1713     
1714     Py_INCREF(Py_None); resultobj = Py_None;
1715     return resultobj;
1716     fail:
1717     return NULL;
1718 }
1719
1720
1721 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1722     PyObject *resultobj;
1723     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1724     XMappingEvent *arg2 = 0 ;
1725     PyObject * obj0  = 0 ;
1726     PyObject * obj1  = 0 ;
1727     
1728     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1729     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1730     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731     if (arg2 == NULL) {
1732         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1733     }
1734     (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1735     
1736     Py_INCREF(Py_None); resultobj = Py_None;
1737     return resultobj;
1738     fail:
1739     return NULL;
1740 }
1741
1742
1743 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1744     PyObject *resultobj;
1745     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1746     XReparentEvent *arg2 = 0 ;
1747     PyObject * obj0  = 0 ;
1748     PyObject * obj1  = 0 ;
1749     
1750     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1751     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1752     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1753     if (arg2 == NULL) {
1754         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1755     }
1756     (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1757     
1758     Py_INCREF(Py_None); resultobj = Py_None;
1759     return resultobj;
1760     fail:
1761     return NULL;
1762 }
1763
1764
1765 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1766     PyObject *resultobj;
1767     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1768     XUnmapEvent *arg2 = 0 ;
1769     PyObject * obj0  = 0 ;
1770     PyObject * obj1  = 0 ;
1771     
1772     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1773     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1774     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1775     if (arg2 == NULL) {
1776         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1777     }
1778     (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1779     
1780     Py_INCREF(Py_None); resultobj = Py_None;
1781     return resultobj;
1782     fail:
1783     return NULL;
1784 }
1785
1786
1787 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1788     PyObject *resultobj;
1789     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1790     XVisibilityEvent *arg2 = 0 ;
1791     PyObject * obj0  = 0 ;
1792     PyObject * obj1  = 0 ;
1793     
1794     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1795     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1796     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1797     if (arg2 == NULL) {
1798         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1799     }
1800     (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1801     
1802     Py_INCREF(Py_None); resultobj = Py_None;
1803     return resultobj;
1804     fail:
1805     return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1810     PyObject *resultobj;
1811     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1812     XColormapEvent *arg2 = 0 ;
1813     PyObject * obj0  = 0 ;
1814     PyObject * obj1  = 0 ;
1815     
1816     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1817     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1818     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1819     if (arg2 == NULL) {
1820         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1821     }
1822     (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1823     
1824     Py_INCREF(Py_None); resultobj = Py_None;
1825     return resultobj;
1826     fail:
1827     return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1832     PyObject *resultobj;
1833     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1834     XPropertyEvent *arg2 = 0 ;
1835     PyObject * obj0  = 0 ;
1836     PyObject * obj1  = 0 ;
1837     
1838     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1839     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1840     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1841     if (arg2 == NULL) {
1842         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1843     }
1844     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1845     
1846     Py_INCREF(Py_None); resultobj = Py_None;
1847     return resultobj;
1848     fail:
1849     return NULL;
1850 }
1851
1852
1853 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1854     PyObject *resultobj;
1855     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1856     XSelectionClearEvent *arg2 = 0 ;
1857     PyObject * obj0  = 0 ;
1858     PyObject * obj1  = 0 ;
1859     
1860     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1861     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1862     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1863     if (arg2 == NULL) {
1864         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1865     }
1866     (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1867     
1868     Py_INCREF(Py_None); resultobj = Py_None;
1869     return resultobj;
1870     fail:
1871     return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1876     PyObject *resultobj;
1877     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1878     XSelectionEvent *arg2 = 0 ;
1879     PyObject * obj0  = 0 ;
1880     PyObject * obj1  = 0 ;
1881     
1882     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1883     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885     if (arg2 == NULL) {
1886         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1887     }
1888     (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1889     
1890     Py_INCREF(Py_None); resultobj = Py_None;
1891     return resultobj;
1892     fail:
1893     return NULL;
1894 }
1895
1896
1897 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1898     PyObject *resultobj;
1899     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1900     XSelectionRequestEvent *arg2 = 0 ;
1901     PyObject * obj0  = 0 ;
1902     PyObject * obj1  = 0 ;
1903     
1904     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1905     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907     if (arg2 == NULL) {
1908         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1909     }
1910     (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1911     
1912     Py_INCREF(Py_None); resultobj = Py_None;
1913     return resultobj;
1914     fail:
1915     return NULL;
1916 }
1917
1918
1919 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1920     PyObject *resultobj;
1921     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1922     XClientMessageEvent *arg2 = 0 ;
1923     PyObject * obj0  = 0 ;
1924     PyObject * obj1  = 0 ;
1925     
1926     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1927     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1928     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1929     if (arg2 == NULL) {
1930         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1931     }
1932     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1933     
1934     Py_INCREF(Py_None); resultobj = Py_None;
1935     return resultobj;
1936     fail:
1937     return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1942     PyObject *resultobj;
1943     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1944     PyObject * obj0  = 0 ;
1945     
1946     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1947     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1948     delete arg1;
1949     
1950     Py_INCREF(Py_None); resultobj = Py_None;
1951     return resultobj;
1952     fail:
1953     return NULL;
1954 }
1955
1956
1957 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1958     PyObject *obj;
1959     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1960     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1961     Py_INCREF(obj);
1962     return Py_BuildValue((char *)"");
1963 }
1964 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1965     PyObject *resultobj;
1966     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1967     int arg2 = (int) otk::OtkWidget::Horizontal ;
1968     otk::OtkWidget *result;
1969     PyObject * obj0  = 0 ;
1970     
1971     if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973     result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1974     
1975     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1976     return resultobj;
1977     fail:
1978     return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1983     PyObject *resultobj;
1984     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1985     otk::Style *arg2 = (otk::Style *) 0 ;
1986     int arg3 = (int) otk::OtkWidget::Horizontal ;
1987     Cursor arg4 = (Cursor) 0 ;
1988     int arg5 = (int) 1 ;
1989     bool arg6 = (bool) false ;
1990     otk::OtkWidget *result;
1991     PyObject * obj0  = 0 ;
1992     PyObject * obj1  = 0 ;
1993     PyObject * obj3  = 0 ;
1994     PyObject * obj5  = 0 ;
1995     
1996     if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail;
1997     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1998     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1999     if (obj3) {
2000         arg4 = (Cursor) PyInt_AsLong(obj3);
2001         if (PyErr_Occurred()) SWIG_fail;
2002     }
2003     if (obj5) {
2004         arg6 = (bool) PyInt_AsLong(obj5);
2005         if (PyErr_Occurred()) SWIG_fail;
2006     }
2007     result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);
2008     
2009     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
2010     return resultobj;
2011     fail:
2012     return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
2017     int argc;
2018     PyObject *argv[7];
2019     int ii;
2020     
2021     argc = PyObject_Length(args);
2022     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
2023         argv[ii] = PyTuple_GetItem(args,ii);
2024     }
2025     if ((argc >= 1) && (argc <= 2)) {
2026         int _v;
2027         {
2028             void *ptr;
2029             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2030                 _v = 0;
2031                 PyErr_Clear();
2032             }else {
2033                 _v = 1;
2034             }
2035         }
2036         if (_v) {
2037             if (argc <= 1) {
2038                 return _wrap_new_OtkWidget__SWIG_0(self,args);
2039             }
2040             {
2041                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2042             }
2043             if (_v) {
2044                 return _wrap_new_OtkWidget__SWIG_0(self,args);
2045             }
2046         }
2047     }
2048     if ((argc >= 2) && (argc <= 6)) {
2049         int _v;
2050         {
2051             void *ptr;
2052             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
2053                 _v = 0;
2054                 PyErr_Clear();
2055             }else {
2056                 _v = 1;
2057             }
2058         }
2059         if (_v) {
2060             {
2061                 void *ptr;
2062                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
2063                     _v = 0;
2064                     PyErr_Clear();
2065                 }else {
2066                     _v = 1;
2067                 }
2068             }
2069             if (_v) {
2070                 if (argc <= 2) {
2071                     return _wrap_new_OtkWidget__SWIG_1(self,args);
2072                 }
2073                 {
2074                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2075                 }
2076                 if (_v) {
2077                     if (argc <= 3) {
2078                         return _wrap_new_OtkWidget__SWIG_1(self,args);
2079                     }
2080                     {
2081                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2082                     }
2083                     if (_v) {
2084                         if (argc <= 4) {
2085                             return _wrap_new_OtkWidget__SWIG_1(self,args);
2086                         }
2087                         {
2088                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2089                         }
2090                         if (_v) {
2091                             if (argc <= 5) {
2092                                 return _wrap_new_OtkWidget__SWIG_1(self,args);
2093                             }
2094                             {
2095                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
2096                             }
2097                             if (_v) {
2098                                 return _wrap_new_OtkWidget__SWIG_1(self,args);
2099                             }
2100                         }
2101                     }
2102                 }
2103             }
2104         }
2105     }
2106     
2107     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
2108     return NULL;
2109 }
2110
2111
2112 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
2113     PyObject *resultobj;
2114     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2115     PyObject * obj0  = 0 ;
2116     
2117     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
2118     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2119     delete arg1;
2120     
2121     Py_INCREF(Py_None); resultobj = Py_None;
2122     return resultobj;
2123     fail:
2124     return NULL;
2125 }
2126
2127
2128 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
2129     PyObject *resultobj;
2130     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2131     PyObject * obj0  = 0 ;
2132     
2133     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
2134     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135     (arg1)->update();
2136     
2137     Py_INCREF(Py_None); resultobj = Py_None;
2138     return resultobj;
2139     fail:
2140     return NULL;
2141 }
2142
2143
2144 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
2145     PyObject *resultobj;
2146     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2147     XExposeEvent *arg2 = 0 ;
2148     PyObject * obj0  = 0 ;
2149     PyObject * obj1  = 0 ;
2150     
2151     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
2152     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2153     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2154     if (arg2 == NULL) {
2155         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2156     }
2157     (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2158     
2159     Py_INCREF(Py_None); resultobj = Py_None;
2160     return resultobj;
2161     fail:
2162     return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2167     PyObject *resultobj;
2168     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2169     XConfigureEvent *arg2 = 0 ;
2170     PyObject * obj0  = 0 ;
2171     PyObject * obj1  = 0 ;
2172     
2173     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2174     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2176     if (arg2 == NULL) {
2177         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2178     }
2179     (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2180     
2181     Py_INCREF(Py_None); resultobj = Py_None;
2182     return resultobj;
2183     fail:
2184     return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2189     PyObject *resultobj;
2190     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2191     Window result;
2192     PyObject * obj0  = 0 ;
2193     
2194     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2195     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196     result = (Window)((otk::OtkWidget const *)arg1)->window();
2197     
2198     resultobj = PyInt_FromLong((long)result);
2199     return resultobj;
2200     fail:
2201     return NULL;
2202 }
2203
2204
2205 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2206     PyObject *resultobj;
2207     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2208     otk::OtkWidget *result;
2209     PyObject * obj0  = 0 ;
2210     
2211     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2212     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2213     result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2214     
2215     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2216     return resultobj;
2217     fail:
2218     return NULL;
2219 }
2220
2221
2222 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2223     PyObject *resultobj;
2224     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2225     otk::OtkWidget::OtkWidgetList *result;
2226     PyObject * obj0  = 0 ;
2227     
2228     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2229     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2230     {
2231         otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2232         result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2233     }
2234     
2235     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2236     return resultobj;
2237     fail:
2238     return NULL;
2239 }
2240
2241
2242 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2243     PyObject *resultobj;
2244     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2245     unsigned int result;
2246     PyObject * obj0  = 0 ;
2247     
2248     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2249     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250     result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2251     
2252     resultobj = PyInt_FromLong((long)result);
2253     return resultobj;
2254     fail:
2255     return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2260     PyObject *resultobj;
2261     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2262     otk::Rect *result;
2263     PyObject * obj0  = 0 ;
2264     
2265     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2266     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2267     {
2268         otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2269         result = (otk::Rect *) &_result_ref;
2270     }
2271     
2272     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2273     return resultobj;
2274     fail:
2275     return NULL;
2276 }
2277
2278
2279 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2280     PyObject *resultobj;
2281     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2282     otk::Point *arg2 = 0 ;
2283     PyObject * obj0  = 0 ;
2284     PyObject * obj1  = 0 ;
2285     
2286     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2288     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2289     if (arg2 == NULL) {
2290         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2291     }
2292     (arg1)->move((otk::Point const &)*arg2);
2293     
2294     Py_INCREF(Py_None); resultobj = Py_None;
2295     return resultobj;
2296     fail:
2297     return NULL;
2298 }
2299
2300
2301 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2302     PyObject *resultobj;
2303     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2304     int arg2 ;
2305     int arg3 ;
2306     PyObject * obj0  = 0 ;
2307     
2308     if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2309     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310     (arg1)->move(arg2,arg3);
2311     
2312     Py_INCREF(Py_None); resultobj = Py_None;
2313     return resultobj;
2314     fail:
2315     return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2320     int argc;
2321     PyObject *argv[4];
2322     int ii;
2323     
2324     argc = PyObject_Length(args);
2325     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2326         argv[ii] = PyTuple_GetItem(args,ii);
2327     }
2328     if (argc == 2) {
2329         int _v;
2330         {
2331             void *ptr;
2332             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2333                 _v = 0;
2334                 PyErr_Clear();
2335             }else {
2336                 _v = 1;
2337             }
2338         }
2339         if (_v) {
2340             {
2341                 void *ptr;
2342                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2343                     _v = 0;
2344                     PyErr_Clear();
2345                 }else {
2346                     _v = 1;
2347                 }
2348             }
2349             if (_v) {
2350                 return _wrap_OtkWidget_move__SWIG_0(self,args);
2351             }
2352         }
2353     }
2354     if (argc == 3) {
2355         int _v;
2356         {
2357             void *ptr;
2358             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2359                 _v = 0;
2360                 PyErr_Clear();
2361             }else {
2362                 _v = 1;
2363             }
2364         }
2365         if (_v) {
2366             {
2367                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2368             }
2369             if (_v) {
2370                 {
2371                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2372                 }
2373                 if (_v) {
2374                     return _wrap_OtkWidget_move__SWIG_1(self,args);
2375                 }
2376             }
2377         }
2378     }
2379     
2380     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2381     return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2386     PyObject *resultobj;
2387     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2388     int arg2 ;
2389     PyObject * obj0  = 0 ;
2390     
2391     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2392     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2393     (arg1)->setWidth(arg2);
2394     
2395     Py_INCREF(Py_None); resultobj = Py_None;
2396     return resultobj;
2397     fail:
2398     return NULL;
2399 }
2400
2401
2402 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2403     PyObject *resultobj;
2404     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2405     int arg2 ;
2406     PyObject * obj0  = 0 ;
2407     
2408     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2409     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410     (arg1)->setHeight(arg2);
2411     
2412     Py_INCREF(Py_None); resultobj = Py_None;
2413     return resultobj;
2414     fail:
2415     return NULL;
2416 }
2417
2418
2419 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2420     PyObject *resultobj;
2421     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2422     int result;
2423     PyObject * obj0  = 0 ;
2424     
2425     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2426     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427     result = (int)((otk::OtkWidget const *)arg1)->width();
2428     
2429     resultobj = PyInt_FromLong((long)result);
2430     return resultobj;
2431     fail:
2432     return NULL;
2433 }
2434
2435
2436 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2437     PyObject *resultobj;
2438     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2439     int result;
2440     PyObject * obj0  = 0 ;
2441     
2442     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2443     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2444     result = (int)((otk::OtkWidget const *)arg1)->height();
2445     
2446     resultobj = PyInt_FromLong((long)result);
2447     return resultobj;
2448     fail:
2449     return NULL;
2450 }
2451
2452
2453 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2454     PyObject *resultobj;
2455     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2456     otk::Point *arg2 = 0 ;
2457     PyObject * obj0  = 0 ;
2458     PyObject * obj1  = 0 ;
2459     
2460     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2461     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2463     if (arg2 == NULL) {
2464         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2465     }
2466     (arg1)->resize((otk::Point const &)*arg2);
2467     
2468     Py_INCREF(Py_None); resultobj = Py_None;
2469     return resultobj;
2470     fail:
2471     return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2476     PyObject *resultobj;
2477     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2478     int arg2 ;
2479     int arg3 ;
2480     PyObject * obj0  = 0 ;
2481     
2482     if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2483     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484     (arg1)->resize(arg2,arg3);
2485     
2486     Py_INCREF(Py_None); resultobj = Py_None;
2487     return resultobj;
2488     fail:
2489     return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2494     int argc;
2495     PyObject *argv[4];
2496     int ii;
2497     
2498     argc = PyObject_Length(args);
2499     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2500         argv[ii] = PyTuple_GetItem(args,ii);
2501     }
2502     if (argc == 2) {
2503         int _v;
2504         {
2505             void *ptr;
2506             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2507                 _v = 0;
2508                 PyErr_Clear();
2509             }else {
2510                 _v = 1;
2511             }
2512         }
2513         if (_v) {
2514             {
2515                 void *ptr;
2516                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2517                     _v = 0;
2518                     PyErr_Clear();
2519                 }else {
2520                     _v = 1;
2521                 }
2522             }
2523             if (_v) {
2524                 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2525             }
2526         }
2527     }
2528     if (argc == 3) {
2529         int _v;
2530         {
2531             void *ptr;
2532             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2533                 _v = 0;
2534                 PyErr_Clear();
2535             }else {
2536                 _v = 1;
2537             }
2538         }
2539         if (_v) {
2540             {
2541                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2542             }
2543             if (_v) {
2544                 {
2545                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2546                 }
2547                 if (_v) {
2548                     return _wrap_OtkWidget_resize__SWIG_1(self,args);
2549                 }
2550             }
2551         }
2552     }
2553     
2554     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2555     return NULL;
2556 }
2557
2558
2559 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2560     PyObject *resultobj;
2561     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2562     otk::Rect *arg2 = 0 ;
2563     PyObject * obj0  = 0 ;
2564     PyObject * obj1  = 0 ;
2565     
2566     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2567     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2569     if (arg2 == NULL) {
2570         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2571     }
2572     (arg1)->setGeometry((otk::Rect const &)*arg2);
2573     
2574     Py_INCREF(Py_None); resultobj = Py_None;
2575     return resultobj;
2576     fail:
2577     return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2582     PyObject *resultobj;
2583     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2584     otk::Point *arg2 = 0 ;
2585     int arg3 ;
2586     int arg4 ;
2587     PyObject * obj0  = 0 ;
2588     PyObject * obj1  = 0 ;
2589     
2590     if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2591     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2592     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2593     if (arg2 == NULL) {
2594         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2595     }
2596     (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2597     
2598     Py_INCREF(Py_None); resultobj = Py_None;
2599     return resultobj;
2600     fail:
2601     return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2606     PyObject *resultobj;
2607     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2608     int arg2 ;
2609     int arg3 ;
2610     int arg4 ;
2611     int arg5 ;
2612     PyObject * obj0  = 0 ;
2613     
2614     if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2615     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2616     (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2617     
2618     Py_INCREF(Py_None); resultobj = Py_None;
2619     return resultobj;
2620     fail:
2621     return NULL;
2622 }
2623
2624
2625 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2626     int argc;
2627     PyObject *argv[6];
2628     int ii;
2629     
2630     argc = PyObject_Length(args);
2631     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2632         argv[ii] = PyTuple_GetItem(args,ii);
2633     }
2634     if (argc == 2) {
2635         int _v;
2636         {
2637             void *ptr;
2638             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2639                 _v = 0;
2640                 PyErr_Clear();
2641             }else {
2642                 _v = 1;
2643             }
2644         }
2645         if (_v) {
2646             {
2647                 void *ptr;
2648                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2649                     _v = 0;
2650                     PyErr_Clear();
2651                 }else {
2652                     _v = 1;
2653                 }
2654             }
2655             if (_v) {
2656                 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2657             }
2658         }
2659     }
2660     if (argc == 4) {
2661         int _v;
2662         {
2663             void *ptr;
2664             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2665                 _v = 0;
2666                 PyErr_Clear();
2667             }else {
2668                 _v = 1;
2669             }
2670         }
2671         if (_v) {
2672             {
2673                 void *ptr;
2674                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2675                     _v = 0;
2676                     PyErr_Clear();
2677                 }else {
2678                     _v = 1;
2679                 }
2680             }
2681             if (_v) {
2682                 {
2683                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2684                 }
2685                 if (_v) {
2686                     {
2687                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2688                     }
2689                     if (_v) {
2690                         return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2691                     }
2692                 }
2693             }
2694         }
2695     }
2696     if (argc == 5) {
2697         int _v;
2698         {
2699             void *ptr;
2700             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2701                 _v = 0;
2702                 PyErr_Clear();
2703             }else {
2704                 _v = 1;
2705             }
2706         }
2707         if (_v) {
2708             {
2709                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2710             }
2711             if (_v) {
2712                 {
2713                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2714                 }
2715                 if (_v) {
2716                     {
2717                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2718                     }
2719                     if (_v) {
2720                         {
2721                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2722                         }
2723                         if (_v) {
2724                             return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2725                         }
2726                     }
2727                 }
2728             }
2729         }
2730     }
2731     
2732     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2733     return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2738     PyObject *resultobj;
2739     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2740     bool result;
2741     PyObject * obj0  = 0 ;
2742     
2743     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2744     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745     result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2746     
2747     resultobj = PyInt_FromLong((long)result);
2748     return resultobj;
2749     fail:
2750     return NULL;
2751 }
2752
2753
2754 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2755     PyObject *resultobj;
2756     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2757     bool arg2 = (bool) false ;
2758     PyObject * obj0  = 0 ;
2759     PyObject * obj1  = 0 ;
2760     
2761     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2762     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2763     if (obj1) {
2764         arg2 = (bool) PyInt_AsLong(obj1);
2765         if (PyErr_Occurred()) SWIG_fail;
2766     }
2767     (arg1)->show(arg2);
2768     
2769     Py_INCREF(Py_None); resultobj = Py_None;
2770     return resultobj;
2771     fail:
2772     return NULL;
2773 }
2774
2775
2776 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2777     PyObject *resultobj;
2778     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2779     bool arg2 = (bool) false ;
2780     PyObject * obj0  = 0 ;
2781     PyObject * obj1  = 0 ;
2782     
2783     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2784     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2785     if (obj1) {
2786         arg2 = (bool) PyInt_AsLong(obj1);
2787         if (PyErr_Occurred()) SWIG_fail;
2788     }
2789     (arg1)->hide(arg2);
2790     
2791     Py_INCREF(Py_None); resultobj = Py_None;
2792     return resultobj;
2793     fail:
2794     return NULL;
2795 }
2796
2797
2798 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2799     PyObject *resultobj;
2800     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2801     bool result;
2802     PyObject * obj0  = 0 ;
2803     
2804     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2805     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806     result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2807     
2808     resultobj = PyInt_FromLong((long)result);
2809     return resultobj;
2810     fail:
2811     return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2816     PyObject *resultobj;
2817     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2818     PyObject * obj0  = 0 ;
2819     
2820     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2821     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2822     (arg1)->focus();
2823     
2824     Py_INCREF(Py_None); resultobj = Py_None;
2825     return resultobj;
2826     fail:
2827     return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2832     PyObject *resultobj;
2833     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2834     PyObject * obj0  = 0 ;
2835     
2836     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2837     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2838     (arg1)->unfocus();
2839     
2840     Py_INCREF(Py_None); resultobj = Py_None;
2841     return resultobj;
2842     fail:
2843     return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2848     PyObject *resultobj;
2849     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2850     bool result;
2851     PyObject * obj0  = 0 ;
2852     
2853     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2854     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2855     result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2856     
2857     resultobj = PyInt_FromLong((long)result);
2858     return resultobj;
2859     fail:
2860     return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2865     PyObject *resultobj;
2866     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2867     bool result;
2868     PyObject * obj0  = 0 ;
2869     
2870     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2871     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2872     result = (bool)(arg1)->grabMouse();
2873     
2874     resultobj = PyInt_FromLong((long)result);
2875     return resultobj;
2876     fail:
2877     return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2882     PyObject *resultobj;
2883     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2884     PyObject * obj0  = 0 ;
2885     
2886     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2887     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888     (arg1)->ungrabMouse();
2889     
2890     Py_INCREF(Py_None); resultobj = Py_None;
2891     return resultobj;
2892     fail:
2893     return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2898     PyObject *resultobj;
2899     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2900     bool result;
2901     PyObject * obj0  = 0 ;
2902     
2903     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2904     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2905     result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2906     
2907     resultobj = PyInt_FromLong((long)result);
2908     return resultobj;
2909     fail:
2910     return NULL;
2911 }
2912
2913
2914 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2915     PyObject *resultobj;
2916     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2917     bool result;
2918     PyObject * obj0  = 0 ;
2919     
2920     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2921     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2922     result = (bool)(arg1)->grabKeyboard();
2923     
2924     resultobj = PyInt_FromLong((long)result);
2925     return resultobj;
2926     fail:
2927     return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2932     PyObject *resultobj;
2933     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2934     PyObject * obj0  = 0 ;
2935     
2936     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2937     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938     (arg1)->ungrabKeyboard();
2939     
2940     Py_INCREF(Py_None); resultobj = Py_None;
2941     return resultobj;
2942     fail:
2943     return NULL;
2944 }
2945
2946
2947 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2948     PyObject *resultobj;
2949     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2950     otk::BTexture *result;
2951     PyObject * obj0  = 0 ;
2952     
2953     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2954     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2955     result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2956     
2957     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2958     return resultobj;
2959     fail:
2960     return NULL;
2961 }
2962
2963
2964 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2965     PyObject *resultobj;
2966     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2967     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2968     PyObject * obj0  = 0 ;
2969     PyObject * obj1  = 0 ;
2970     
2971     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2973     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2974     (arg1)->setTexture(arg2);
2975     
2976     Py_INCREF(Py_None); resultobj = Py_None;
2977     return resultobj;
2978     fail:
2979     return NULL;
2980 }
2981
2982
2983 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2984     PyObject *resultobj;
2985     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2986     otk::BColor *result;
2987     PyObject * obj0  = 0 ;
2988     
2989     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2990     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991     result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2992     
2993     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2994     return resultobj;
2995     fail:
2996     return NULL;
2997 }
2998
2999
3000 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
3001     PyObject *resultobj;
3002     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3003     otk::BColor *arg2 = (otk::BColor *) 0 ;
3004     PyObject * obj0  = 0 ;
3005     PyObject * obj1  = 0 ;
3006     
3007     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
3008     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3009     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010     (arg1)->setBorderColor((otk::BColor const *)arg2);
3011     
3012     Py_INCREF(Py_None); resultobj = Py_None;
3013     return resultobj;
3014     fail:
3015     return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
3020     PyObject *resultobj;
3021     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3022     int result;
3023     PyObject * obj0  = 0 ;
3024     
3025     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
3026     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3027     result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
3028     
3029     resultobj = PyInt_FromLong((long)result);
3030     return resultobj;
3031     fail:
3032     return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
3037     PyObject *resultobj;
3038     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3039     int arg2 ;
3040     PyObject * obj0  = 0 ;
3041     
3042     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
3043     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3044     (arg1)->setBorderWidth(arg2);
3045     
3046     Py_INCREF(Py_None); resultobj = Py_None;
3047     return resultobj;
3048     fail:
3049     return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
3054     PyObject *resultobj;
3055     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3056     otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
3057     bool arg3 = (bool) false ;
3058     PyObject * obj0  = 0 ;
3059     PyObject * obj1  = 0 ;
3060     PyObject * obj2  = 0 ;
3061     
3062     if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
3063     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3065     if (obj2) {
3066         arg3 = (bool) PyInt_AsLong(obj2);
3067         if (PyErr_Occurred()) SWIG_fail;
3068     }
3069     (arg1)->addChild(arg2,arg3);
3070     
3071     Py_INCREF(Py_None); resultobj = Py_None;
3072     return resultobj;
3073     fail:
3074     return NULL;
3075 }
3076
3077
3078 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
3079     PyObject *resultobj;
3080     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3081     otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
3082     PyObject * obj0  = 0 ;
3083     PyObject * obj1  = 0 ;
3084     
3085     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
3086     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3087     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3088     (arg1)->removeChild(arg2);
3089     
3090     Py_INCREF(Py_None); resultobj = Py_None;
3091     return resultobj;
3092     fail:
3093     return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
3098     PyObject *resultobj;
3099     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3100     bool result;
3101     PyObject * obj0  = 0 ;
3102     
3103     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
3104     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3105     result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
3106     
3107     resultobj = PyInt_FromLong((long)result);
3108     return resultobj;
3109     fail:
3110     return NULL;
3111 }
3112
3113
3114 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
3115     PyObject *resultobj;
3116     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3117     bool arg2 = (bool) true ;
3118     PyObject * obj0  = 0 ;
3119     PyObject * obj1  = 0 ;
3120     
3121     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
3122     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3123     if (obj1) {
3124         arg2 = (bool) PyInt_AsLong(obj1);
3125         if (PyErr_Occurred()) SWIG_fail;
3126     }
3127     (arg1)->setStretchableHorz(arg2);
3128     
3129     Py_INCREF(Py_None); resultobj = Py_None;
3130     return resultobj;
3131     fail:
3132     return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
3137     PyObject *resultobj;
3138     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3139     bool result;
3140     PyObject * obj0  = 0 ;
3141     
3142     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
3143     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3144     result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
3145     
3146     resultobj = PyInt_FromLong((long)result);
3147     return resultobj;
3148     fail:
3149     return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3154     PyObject *resultobj;
3155     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3156     bool arg2 = (bool) true ;
3157     PyObject * obj0  = 0 ;
3158     PyObject * obj1  = 0 ;
3159     
3160     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3161     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3162     if (obj1) {
3163         arg2 = (bool) PyInt_AsLong(obj1);
3164         if (PyErr_Occurred()) SWIG_fail;
3165     }
3166     (arg1)->setStretchableVert(arg2);
3167     
3168     Py_INCREF(Py_None); resultobj = Py_None;
3169     return resultobj;
3170     fail:
3171     return NULL;
3172 }
3173
3174
3175 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3176     PyObject *resultobj;
3177     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3178     Cursor result;
3179     PyObject * obj0  = 0 ;
3180     
3181     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3182     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183     result = (Cursor)((otk::OtkWidget const *)arg1)->cursor();
3184     
3185     resultobj = PyInt_FromLong((long)result);
3186     return resultobj;
3187     fail:
3188     return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3193     PyObject *resultobj;
3194     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3195     Cursor arg2 ;
3196     PyObject * obj0  = 0 ;
3197     PyObject * obj1  = 0 ;
3198     
3199     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3200     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201     arg2 = (Cursor) PyInt_AsLong(obj1);
3202     if (PyErr_Occurred()) SWIG_fail;
3203     (arg1)->setCursor(arg2);
3204     
3205     Py_INCREF(Py_None); resultobj = Py_None;
3206     return resultobj;
3207     fail:
3208     return NULL;
3209 }
3210
3211
3212 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3213     PyObject *resultobj;
3214     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3215     int result;
3216     PyObject * obj0  = 0 ;
3217     
3218     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3219     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220     result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3221     
3222     resultobj = PyInt_FromLong((long)result);
3223     return resultobj;
3224     fail:
3225     return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3230     PyObject *resultobj;
3231     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3232     int arg2 ;
3233     PyObject * obj0  = 0 ;
3234     
3235     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3236     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3237     (arg1)->setBevelWidth(arg2);
3238     
3239     Py_INCREF(Py_None); resultobj = Py_None;
3240     return resultobj;
3241     fail:
3242     return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3247     PyObject *resultobj;
3248     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3249     int result;
3250     PyObject * obj0  = 0 ;
3251     
3252     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3253     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254     result = (int)((otk::OtkWidget const *)arg1)->direction();
3255     
3256     resultobj = PyInt_FromLong((long)result);
3257     return resultobj;
3258     fail:
3259     return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3264     PyObject *resultobj;
3265     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3266     int arg2 ;
3267     PyObject * obj0  = 0 ;
3268     
3269     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3270     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271     (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3272     
3273     Py_INCREF(Py_None); resultobj = Py_None;
3274     return resultobj;
3275     fail:
3276     return NULL;
3277 }
3278
3279
3280 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3281     PyObject *resultobj;
3282     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3283     otk::Style *result;
3284     PyObject * obj0  = 0 ;
3285     
3286     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288     result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3289     
3290     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3291     return resultobj;
3292     fail:
3293     return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3298     PyObject *resultobj;
3299     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3300     otk::Style *arg2 = (otk::Style *) 0 ;
3301     PyObject * obj0  = 0 ;
3302     PyObject * obj1  = 0 ;
3303     
3304     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3305     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3306     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307     (arg1)->setStyle(arg2);
3308     
3309     Py_INCREF(Py_None); resultobj = Py_None;
3310     return resultobj;
3311     fail:
3312     return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3317     PyObject *resultobj;
3318     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3319     otk::OtkEventDispatcher *result;
3320     PyObject * obj0  = 0 ;
3321     
3322     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3323     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324     result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3325     
3326     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3327     return resultobj;
3328     fail:
3329     return NULL;
3330 }
3331
3332
3333 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3334     PyObject *resultobj;
3335     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3336     otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3337     PyObject * obj0  = 0 ;
3338     PyObject * obj1  = 0 ;
3339     
3340     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3341     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3342     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3343     (arg1)->setEventDispatcher(arg2);
3344     
3345     Py_INCREF(Py_None); resultobj = Py_None;
3346     return resultobj;
3347     fail:
3348     return NULL;
3349 }
3350
3351
3352 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3353     PyObject *obj;
3354     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3355     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3356     Py_INCREF(obj);
3357     return Py_BuildValue((char *)"");
3358 }
3359 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3360     PyObject *resultobj;
3361     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3362     int arg2 = (int) otk::OtkWidget::Horizontal ;
3363     otk::OtkFocusWidget *result;
3364     PyObject * obj0  = 0 ;
3365     
3366     if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3367     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368     result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3369     
3370     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3371     return resultobj;
3372     fail:
3373     return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3378     PyObject *resultobj;
3379     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3380     PyObject * obj0  = 0 ;
3381     
3382     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3383     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3384     delete arg1;
3385     
3386     Py_INCREF(Py_None); resultobj = Py_None;
3387     return resultobj;
3388     fail:
3389     return NULL;
3390 }
3391
3392
3393 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3394     PyObject *resultobj;
3395     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3396     PyObject * obj0  = 0 ;
3397     
3398     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3399     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3400     (arg1)->focus();
3401     
3402     Py_INCREF(Py_None); resultobj = Py_None;
3403     return resultobj;
3404     fail:
3405     return NULL;
3406 }
3407
3408
3409 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3410     PyObject *resultobj;
3411     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3412     PyObject * obj0  = 0 ;
3413     
3414     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3415     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3416     (arg1)->unfocus();
3417     
3418     Py_INCREF(Py_None); resultobj = Py_None;
3419     return resultobj;
3420     fail:
3421     return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3426     PyObject *resultobj;
3427     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3428     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3429     PyObject * obj0  = 0 ;
3430     PyObject * obj1  = 0 ;
3431     
3432     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3433     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3434     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3435     (arg1)->setTexture(arg2);
3436     
3437     Py_INCREF(Py_None); resultobj = Py_None;
3438     return resultobj;
3439     fail:
3440     return NULL;
3441 }
3442
3443
3444 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3445     PyObject *resultobj;
3446     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3447     otk::BColor *arg2 = (otk::BColor *) 0 ;
3448     PyObject * obj0  = 0 ;
3449     PyObject * obj1  = 0 ;
3450     
3451     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3452     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3453     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454     (arg1)->setBorderColor((otk::BColor const *)arg2);
3455     
3456     Py_INCREF(Py_None); resultobj = Py_None;
3457     return resultobj;
3458     fail:
3459     return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3464     PyObject *resultobj;
3465     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3466     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3467     PyObject * obj0  = 0 ;
3468     PyObject * obj1  = 0 ;
3469     
3470     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3471     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473     (arg1)->setUnfocusTexture(arg2);
3474     
3475     Py_INCREF(Py_None); resultobj = Py_None;
3476     return resultobj;
3477     fail:
3478     return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3483     PyObject *resultobj;
3484     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3485     otk::BTexture *result;
3486     PyObject * obj0  = 0 ;
3487     
3488     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3489     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3490     result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3491     
3492     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3493     return resultobj;
3494     fail:
3495     return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3500     PyObject *resultobj;
3501     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3502     otk::BColor *arg2 = (otk::BColor *) 0 ;
3503     PyObject * obj0  = 0 ;
3504     PyObject * obj1  = 0 ;
3505     
3506     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3507     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3508     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509     (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3510     
3511     Py_INCREF(Py_None); resultobj = Py_None;
3512     return resultobj;
3513     fail:
3514     return NULL;
3515 }
3516
3517
3518 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3519     PyObject *resultobj;
3520     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3521     otk::BColor *result;
3522     PyObject * obj0  = 0 ;
3523     
3524     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3525     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3526     result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3527     
3528     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3529     return resultobj;
3530     fail:
3531     return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3536     PyObject *resultobj;
3537     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3538     bool result;
3539     PyObject * obj0  = 0 ;
3540     
3541     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3542     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3543     result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3544     
3545     resultobj = PyInt_FromLong((long)result);
3546     return resultobj;
3547     fail:
3548     return NULL;
3549 }
3550
3551
3552 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3553     PyObject *resultobj;
3554     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3555     bool result;
3556     PyObject * obj0  = 0 ;
3557     
3558     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3559     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3560     result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3561     
3562     resultobj = PyInt_FromLong((long)result);
3563     return resultobj;
3564     fail:
3565     return NULL;
3566 }
3567
3568
3569 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3570     PyObject *obj;
3571     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3572     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3573     Py_INCREF(obj);
3574     return Py_BuildValue((char *)"");
3575 }
3576 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3577     PyObject *resultobj;
3578     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3579     otk::OtkFocusLabel *result;
3580     PyObject * obj0  = 0 ;
3581     
3582     if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3583     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3584     result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3585     
3586     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3587     return resultobj;
3588     fail:
3589     return NULL;
3590 }
3591
3592
3593 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3594     PyObject *resultobj;
3595     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3596     PyObject * obj0  = 0 ;
3597     
3598     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3599     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3600     delete arg1;
3601     
3602     Py_INCREF(Py_None); resultobj = Py_None;
3603     return resultobj;
3604     fail:
3605     return NULL;
3606 }
3607
3608
3609 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3610     PyObject *resultobj;
3611     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3612     std::string *result;
3613     PyObject * obj0  = 0 ;
3614     
3615     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3616     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3617     {
3618         std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3619         result = (std::string *) &_result_ref;
3620     }
3621     
3622     {
3623         resultobj = PyString_FromString(result->c_str());
3624     }
3625     return resultobj;
3626     fail:
3627     return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3632     PyObject *resultobj;
3633     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3634     std::string *arg2 = 0 ;
3635     std::string temp2 ;
3636     PyObject * obj0  = 0 ;
3637     PyObject * obj1  = 0 ;
3638     
3639     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3640     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641     {
3642         if (PyString_Check(obj1)) {
3643             temp2 = std::string(PyString_AsString(obj1));
3644             arg2 = &temp2;
3645         }else {
3646             SWIG_exception(SWIG_TypeError, "string expected");
3647         }
3648     }
3649     (arg1)->setText((std::string const &)*arg2);
3650     
3651     Py_INCREF(Py_None); resultobj = Py_None;
3652     return resultobj;
3653     fail:
3654     return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3659     PyObject *resultobj;
3660     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3661     PyObject * obj0  = 0 ;
3662     
3663     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3664     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665     (arg1)->update();
3666     
3667     Py_INCREF(Py_None); resultobj = Py_None;
3668     return resultobj;
3669     fail:
3670     return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3675     PyObject *resultobj;
3676     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3677     otk::Style *arg2 = (otk::Style *) 0 ;
3678     PyObject * obj0  = 0 ;
3679     PyObject * obj1  = 0 ;
3680     
3681     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3682     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3683     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684     (arg1)->setStyle(arg2);
3685     
3686     Py_INCREF(Py_None); resultobj = Py_None;
3687     return resultobj;
3688     fail:
3689     return NULL;
3690 }
3691
3692
3693 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3694     PyObject *obj;
3695     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3696     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3697     Py_INCREF(obj);
3698     return Py_BuildValue((char *)"");
3699 }
3700 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3701     PyObject *resultobj;
3702     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3703     int arg2 = (int) otk::OtkWidget::Horizontal ;
3704     Cursor arg3 = (Cursor) 0 ;
3705     int arg4 = (int) 1 ;
3706     otk::OtkAppWidget *result;
3707     PyObject * obj0  = 0 ;
3708     PyObject * obj2  = 0 ;
3709     
3710     if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3711     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712     if (obj2) {
3713         arg3 = (Cursor) PyInt_AsLong(obj2);
3714         if (PyErr_Occurred()) SWIG_fail;
3715     }
3716     result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3717     
3718     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3719     return resultobj;
3720     fail:
3721     return NULL;
3722 }
3723
3724
3725 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3726     PyObject *resultobj;
3727     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3728     PyObject * obj0  = 0 ;
3729     
3730     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3731     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3732     delete arg1;
3733     
3734     Py_INCREF(Py_None); resultobj = Py_None;
3735     return resultobj;
3736     fail:
3737     return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3742     PyObject *resultobj;
3743     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3744     PyObject * obj0  = 0 ;
3745     
3746     if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3747     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3748     (arg1)->show();
3749     
3750     Py_INCREF(Py_None); resultobj = Py_None;
3751     return resultobj;
3752     fail:
3753     return NULL;
3754 }
3755
3756
3757 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3758     PyObject *resultobj;
3759     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3760     PyObject * obj0  = 0 ;
3761     
3762     if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3763     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764     (arg1)->hide();
3765     
3766     Py_INCREF(Py_None); resultobj = Py_None;
3767     return resultobj;
3768     fail:
3769     return NULL;
3770 }
3771
3772
3773 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3774     PyObject *resultobj;
3775     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3776     XClientMessageEvent *arg2 = 0 ;
3777     PyObject * obj0  = 0 ;
3778     PyObject * obj1  = 0 ;
3779     
3780     if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3781     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3782     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3783     if (arg2 == NULL) {
3784         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
3785     }
3786     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3787     
3788     Py_INCREF(Py_None); resultobj = Py_None;
3789     return resultobj;
3790     fail:
3791     return NULL;
3792 }
3793
3794
3795 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3796     PyObject *obj;
3797     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3798     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3799     Py_INCREF(obj);
3800     return Py_BuildValue((char *)"");
3801 }
3802 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3803     PyObject *resultobj;
3804     int arg1 ;
3805     char **arg2 = (char **) 0 ;
3806     otk::OtkApplication *result;
3807     PyObject * obj1  = 0 ;
3808     
3809     if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3810     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811     result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3812     
3813     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3814     return resultobj;
3815     fail:
3816     return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3821     PyObject *resultobj;
3822     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3823     PyObject * obj0  = 0 ;
3824     
3825     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3826     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3827     delete arg1;
3828     
3829     Py_INCREF(Py_None); resultobj = Py_None;
3830     return resultobj;
3831     fail:
3832     return NULL;
3833 }
3834
3835
3836 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3837     PyObject *resultobj;
3838     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3839     PyObject * obj0  = 0 ;
3840     
3841     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3842     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3843     (arg1)->run();
3844     
3845     Py_INCREF(Py_None); resultobj = Py_None;
3846     return resultobj;
3847     fail:
3848     return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3853     PyObject *resultobj;
3854     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3855     bool arg2 ;
3856     PyObject * obj0  = 0 ;
3857     PyObject * obj1  = 0 ;
3858     
3859     if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3860     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3861     arg2 = (bool) PyInt_AsLong(obj1);
3862     if (PyErr_Occurred()) SWIG_fail;
3863     (arg1)->setDockable(arg2);
3864     
3865     Py_INCREF(Py_None); resultobj = Py_None;
3866     return resultobj;
3867     fail:
3868     return NULL;
3869 }
3870
3871
3872 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3873     PyObject *resultobj;
3874     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3875     bool result;
3876     PyObject * obj0  = 0 ;
3877     
3878     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3879     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3880     result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3881     
3882     resultobj = PyInt_FromLong((long)result);
3883     return resultobj;
3884     fail:
3885     return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3890     PyObject *resultobj;
3891     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3892     otk::Style *result;
3893     PyObject * obj0  = 0 ;
3894     
3895     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3896     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3897     result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3898     
3899     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3900     return resultobj;
3901     fail:
3902     return NULL;
3903 }
3904
3905
3906 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3907     PyObject *obj;
3908     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3909     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3910     Py_INCREF(obj);
3911     return Py_BuildValue((char *)"");
3912 }
3913 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3914     PyObject *obj;
3915     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3916     SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3917     Py_INCREF(obj);
3918     return Py_BuildValue((char *)"");
3919 }
3920 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3921     PyObject *resultobj;
3922     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3923     otk::OtkButton *result;
3924     PyObject * obj0  = 0 ;
3925     
3926     if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3927     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3928     result = (otk::OtkButton *)new otk::OtkButton(arg1);
3929     
3930     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3931     return resultobj;
3932     fail:
3933     return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3938     PyObject *resultobj;
3939     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3940     PyObject * obj0  = 0 ;
3941     
3942     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3943     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944     delete arg1;
3945     
3946     Py_INCREF(Py_None); resultobj = Py_None;
3947     return resultobj;
3948     fail:
3949     return NULL;
3950 }
3951
3952
3953 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3954     PyObject *resultobj;
3955     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3956     otk::BTexture *result;
3957     PyObject * obj0  = 0 ;
3958     
3959     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3960     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3961     result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3962     
3963     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3964     return resultobj;
3965     fail:
3966     return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3971     PyObject *resultobj;
3972     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3973     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3974     PyObject * obj0  = 0 ;
3975     PyObject * obj1  = 0 ;
3976     
3977     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3978     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3979     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3980     (arg1)->setPressedFocusTexture(arg2);
3981     
3982     Py_INCREF(Py_None); resultobj = Py_None;
3983     return resultobj;
3984     fail:
3985     return NULL;
3986 }
3987
3988
3989 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3990     PyObject *resultobj;
3991     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3992     otk::BTexture *result;
3993     PyObject * obj0  = 0 ;
3994     
3995     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3996     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997     result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3998     
3999     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
4000     return resultobj;
4001     fail:
4002     return NULL;
4003 }
4004
4005
4006 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
4007     PyObject *resultobj;
4008     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4009     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4010     PyObject * obj0  = 0 ;
4011     PyObject * obj1  = 0 ;
4012     
4013     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
4014     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4015     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016     (arg1)->setPressedUnfocusTexture(arg2);
4017     
4018     Py_INCREF(Py_None); resultobj = Py_None;
4019     return resultobj;
4020     fail:
4021     return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
4026     PyObject *resultobj;
4027     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4028     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4029     PyObject * obj0  = 0 ;
4030     PyObject * obj1  = 0 ;
4031     
4032     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
4033     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4034     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4035     (arg1)->setTexture(arg2);
4036     
4037     Py_INCREF(Py_None); resultobj = Py_None;
4038     return resultobj;
4039     fail:
4040     return NULL;
4041 }
4042
4043
4044 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
4045     PyObject *resultobj;
4046     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4047     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
4048     PyObject * obj0  = 0 ;
4049     PyObject * obj1  = 0 ;
4050     
4051     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
4052     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054     (arg1)->setUnfocusTexture(arg2);
4055     
4056     Py_INCREF(Py_None); resultobj = Py_None;
4057     return resultobj;
4058     fail:
4059     return NULL;
4060 }
4061
4062
4063 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
4064     PyObject *resultobj;
4065     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4066     bool result;
4067     PyObject * obj0  = 0 ;
4068     
4069     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
4070     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4071     result = (bool)((otk::OtkButton const *)arg1)->isPressed();
4072     
4073     resultobj = PyInt_FromLong((long)result);
4074     return resultobj;
4075     fail:
4076     return NULL;
4077 }
4078
4079
4080 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
4081     PyObject *resultobj;
4082     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4083     unsigned int arg2 ;
4084     PyObject * obj0  = 0 ;
4085     PyObject * obj1  = 0 ;
4086     
4087     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
4088     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4089     arg2 = (unsigned int) PyInt_AsLong(obj1);
4090     if (PyErr_Occurred()) SWIG_fail;
4091     (arg1)->press(arg2);
4092     
4093     Py_INCREF(Py_None); resultobj = Py_None;
4094     return resultobj;
4095     fail:
4096     return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4101     PyObject *resultobj;
4102     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4103     unsigned int arg2 ;
4104     PyObject * obj0  = 0 ;
4105     PyObject * obj1  = 0 ;
4106     
4107     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4108     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109     arg2 = (unsigned int) PyInt_AsLong(obj1);
4110     if (PyErr_Occurred()) SWIG_fail;
4111     (arg1)->release(arg2);
4112     
4113     Py_INCREF(Py_None); resultobj = Py_None;
4114     return resultobj;
4115     fail:
4116     return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4121     PyObject *resultobj;
4122     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4123     XButtonEvent *arg2 = 0 ;
4124     PyObject * obj0  = 0 ;
4125     PyObject * obj1  = 0 ;
4126     
4127     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4128     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4130     if (arg2 == NULL) {
4131         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4132     }
4133     (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4134     
4135     Py_INCREF(Py_None); resultobj = Py_None;
4136     return resultobj;
4137     fail:
4138     return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4143     PyObject *resultobj;
4144     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4145     XButtonEvent *arg2 = 0 ;
4146     PyObject * obj0  = 0 ;
4147     PyObject * obj1  = 0 ;
4148     
4149     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4150     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4151     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4152     if (arg2 == NULL) {
4153         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4154     }
4155     (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4156     
4157     Py_INCREF(Py_None); resultobj = Py_None;
4158     return resultobj;
4159     fail:
4160     return NULL;
4161 }
4162
4163
4164 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4165     PyObject *resultobj;
4166     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4167     otk::Style *arg2 = (otk::Style *) 0 ;
4168     PyObject * obj0  = 0 ;
4169     PyObject * obj1  = 0 ;
4170     
4171     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4172     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4173     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4174     (arg1)->setStyle(arg2);
4175     
4176     Py_INCREF(Py_None); resultobj = Py_None;
4177     return resultobj;
4178     fail:
4179     return NULL;
4180 }
4181
4182
4183 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4184     PyObject *obj;
4185     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4186     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4187     Py_INCREF(obj);
4188     return Py_BuildValue((char *)"");
4189 }
4190 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4191     PyObject *resultobj;
4192     unsigned int arg1 = (unsigned int) ~(0u) ;
4193     otk::BColor *result;
4194     PyObject * obj0  = 0 ;
4195     
4196     if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4197     if (obj0) {
4198         arg1 = (unsigned int) PyInt_AsLong(obj0);
4199         if (PyErr_Occurred()) SWIG_fail;
4200     }
4201     result = (otk::BColor *)new otk::BColor(arg1);
4202     
4203     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4204     return resultobj;
4205     fail:
4206     return NULL;
4207 }
4208
4209
4210 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4211     PyObject *resultobj;
4212     int arg1 ;
4213     int arg2 ;
4214     int arg3 ;
4215     unsigned int arg4 = (unsigned int) ~(0u) ;
4216     otk::BColor *result;
4217     PyObject * obj3  = 0 ;
4218     
4219     if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4220     if (obj3) {
4221         arg4 = (unsigned int) PyInt_AsLong(obj3);
4222         if (PyErr_Occurred()) SWIG_fail;
4223     }
4224     result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4225     
4226     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4227     return resultobj;
4228     fail:
4229     return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4234     PyObject *resultobj;
4235     std::string *arg1 = 0 ;
4236     unsigned int arg2 = (unsigned int) ~(0u) ;
4237     otk::BColor *result;
4238     std::string temp1 ;
4239     PyObject * obj0  = 0 ;
4240     PyObject * obj1  = 0 ;
4241     
4242     if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4243     {
4244         if (PyString_Check(obj0)) {
4245             temp1 = std::string(PyString_AsString(obj0));
4246             arg1 = &temp1;
4247         }else {
4248             SWIG_exception(SWIG_TypeError, "string expected");
4249         }
4250     }
4251     if (obj1) {
4252         arg2 = (unsigned int) PyInt_AsLong(obj1);
4253         if (PyErr_Occurred()) SWIG_fail;
4254     }
4255     result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4256     
4257     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4258     return resultobj;
4259     fail:
4260     return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4265     int argc;
4266     PyObject *argv[5];
4267     int ii;
4268     
4269     argc = PyObject_Length(args);
4270     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4271         argv[ii] = PyTuple_GetItem(args,ii);
4272     }
4273     if ((argc >= 0) && (argc <= 1)) {
4274         int _v;
4275         if (argc <= 0) {
4276             return _wrap_new_BColor__SWIG_0(self,args);
4277         }
4278         {
4279             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4280         }
4281         if (_v) {
4282             return _wrap_new_BColor__SWIG_0(self,args);
4283         }
4284     }
4285     if ((argc >= 1) && (argc <= 2)) {
4286         int _v;
4287         {
4288             _v = PyString_Check(argv[0]) ? 1 : 0;
4289         }
4290         if (_v) {
4291             if (argc <= 1) {
4292                 return _wrap_new_BColor__SWIG_2(self,args);
4293             }
4294             {
4295                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4296             }
4297             if (_v) {
4298                 return _wrap_new_BColor__SWIG_2(self,args);
4299             }
4300         }
4301     }
4302     if ((argc >= 3) && (argc <= 4)) {
4303         int _v;
4304         {
4305             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4306         }
4307         if (_v) {
4308             {
4309                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4310             }
4311             if (_v) {
4312                 {
4313                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4314                 }
4315                 if (_v) {
4316                     if (argc <= 3) {
4317                         return _wrap_new_BColor__SWIG_1(self,args);
4318                     }
4319                     {
4320                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4321                     }
4322                     if (_v) {
4323                         return _wrap_new_BColor__SWIG_1(self,args);
4324                     }
4325                 }
4326             }
4327         }
4328     }
4329     
4330     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4331     return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4336     PyObject *resultobj;
4337     otk::BColor *arg1 = (otk::BColor *) 0 ;
4338     PyObject * obj0  = 0 ;
4339     
4340     if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4341     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4342     delete arg1;
4343     
4344     Py_INCREF(Py_None); resultobj = Py_None;
4345     return resultobj;
4346     fail:
4347     return NULL;
4348 }
4349
4350
4351 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4352     PyObject *resultobj;
4353     otk::BColor *arg1 = (otk::BColor *) 0 ;
4354     std::string *result;
4355     PyObject * obj0  = 0 ;
4356     
4357     if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4358     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4359     {
4360         std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4361         result = (std::string *) &_result_ref;
4362     }
4363     
4364     {
4365         resultobj = PyString_FromString(result->c_str());
4366     }
4367     return resultobj;
4368     fail:
4369     return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4374     PyObject *resultobj;
4375     otk::BColor *arg1 = (otk::BColor *) 0 ;
4376     int result;
4377     PyObject * obj0  = 0 ;
4378     
4379     if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4380     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4381     result = (int)((otk::BColor const *)arg1)->red();
4382     
4383     resultobj = PyInt_FromLong((long)result);
4384     return resultobj;
4385     fail:
4386     return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4391     PyObject *resultobj;
4392     otk::BColor *arg1 = (otk::BColor *) 0 ;
4393     int result;
4394     PyObject * obj0  = 0 ;
4395     
4396     if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4397     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4398     result = (int)((otk::BColor const *)arg1)->green();
4399     
4400     resultobj = PyInt_FromLong((long)result);
4401     return resultobj;
4402     fail:
4403     return NULL;
4404 }
4405
4406
4407 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4408     PyObject *resultobj;
4409     otk::BColor *arg1 = (otk::BColor *) 0 ;
4410     int result;
4411     PyObject * obj0  = 0 ;
4412     
4413     if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4414     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415     result = (int)((otk::BColor const *)arg1)->blue();
4416     
4417     resultobj = PyInt_FromLong((long)result);
4418     return resultobj;
4419     fail:
4420     return NULL;
4421 }
4422
4423
4424 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4425     PyObject *resultobj;
4426     otk::BColor *arg1 = (otk::BColor *) 0 ;
4427     int arg2 ;
4428     int arg3 ;
4429     int arg4 ;
4430     PyObject * obj0  = 0 ;
4431     
4432     if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4433     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434     (arg1)->setRGB(arg2,arg3,arg4);
4435     
4436     Py_INCREF(Py_None); resultobj = Py_None;
4437     return resultobj;
4438     fail:
4439     return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4444     PyObject *resultobj;
4445     otk::BColor *arg1 = (otk::BColor *) 0 ;
4446     unsigned int result;
4447     PyObject * obj0  = 0 ;
4448     
4449     if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4450     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4451     result = (unsigned int)((otk::BColor const *)arg1)->screen();
4452     
4453     resultobj = PyInt_FromLong((long)result);
4454     return resultobj;
4455     fail:
4456     return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4461     PyObject *resultobj;
4462     otk::BColor *arg1 = (otk::BColor *) 0 ;
4463     unsigned int arg2 = (unsigned int) ~(0u) ;
4464     PyObject * obj0  = 0 ;
4465     PyObject * obj1  = 0 ;
4466     
4467     if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4468     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4469     if (obj1) {
4470         arg2 = (unsigned int) PyInt_AsLong(obj1);
4471         if (PyErr_Occurred()) SWIG_fail;
4472     }
4473     (arg1)->setScreen(arg2);
4474     
4475     Py_INCREF(Py_None); resultobj = Py_None;
4476     return resultobj;
4477     fail:
4478     return NULL;
4479 }
4480
4481
4482 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4483     PyObject *resultobj;
4484     otk::BColor *arg1 = (otk::BColor *) 0 ;
4485     bool result;
4486     PyObject * obj0  = 0 ;
4487     
4488     if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4489     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4490     result = (bool)((otk::BColor const *)arg1)->isAllocated();
4491     
4492     resultobj = PyInt_FromLong((long)result);
4493     return resultobj;
4494     fail:
4495     return NULL;
4496 }
4497
4498
4499 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4500     PyObject *resultobj;
4501     otk::BColor *arg1 = (otk::BColor *) 0 ;
4502     bool result;
4503     PyObject * obj0  = 0 ;
4504     
4505     if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4506     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507     result = (bool)((otk::BColor const *)arg1)->isValid();
4508     
4509     resultobj = PyInt_FromLong((long)result);
4510     return resultobj;
4511     fail:
4512     return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4517     PyObject *resultobj;
4518     otk::BColor *arg1 = (otk::BColor *) 0 ;
4519     unsigned long result;
4520     PyObject * obj0  = 0 ;
4521     
4522     if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4523     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524     result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4525     
4526     resultobj = PyInt_FromLong((long)result);
4527     return resultobj;
4528     fail:
4529     return NULL;
4530 }
4531
4532
4533 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4534     PyObject *resultobj;
4535     otk::BColor *arg1 = (otk::BColor *) 0 ;
4536     otk::BColor *arg2 = 0 ;
4537     bool result;
4538     PyObject * obj0  = 0 ;
4539     PyObject * obj1  = 0 ;
4540     
4541     if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4542     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4544     if (arg2 == NULL) {
4545         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4546     }
4547     result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4548     
4549     resultobj = PyInt_FromLong((long)result);
4550     return resultobj;
4551     fail:
4552     return NULL;
4553 }
4554
4555
4556 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4557     PyObject *resultobj;
4558     
4559     if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4560     otk::BColor::cleanupColorCache();
4561     
4562     Py_INCREF(Py_None); resultobj = Py_None;
4563     return resultobj;
4564     fail:
4565     return NULL;
4566 }
4567
4568
4569 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4570     PyObject *obj;
4571     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4572     SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4573     Py_INCREF(obj);
4574     return Py_BuildValue((char *)"");
4575 }
4576 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4577     PyObject *resultobj;
4578     std::string *arg1 = 0 ;
4579     bool arg2 = (bool) True ;
4580     otk::Configuration *result;
4581     std::string temp1 ;
4582     PyObject * obj0  = 0 ;
4583     PyObject * obj1  = 0 ;
4584     
4585     if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4586     {
4587         if (PyString_Check(obj0)) {
4588             temp1 = std::string(PyString_AsString(obj0));
4589             arg1 = &temp1;
4590         }else {
4591             SWIG_exception(SWIG_TypeError, "string expected");
4592         }
4593     }
4594     if (obj1) {
4595         arg2 = (bool) PyInt_AsLong(obj1);
4596         if (PyErr_Occurred()) SWIG_fail;
4597     }
4598     result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4599     
4600     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4601     return resultobj;
4602     fail:
4603     return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4608     PyObject *resultobj;
4609     bool arg1 = (bool) True ;
4610     otk::Configuration *result;
4611     PyObject * obj0  = 0 ;
4612     
4613     if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4614     if (obj0) {
4615         arg1 = (bool) PyInt_AsLong(obj0);
4616         if (PyErr_Occurred()) SWIG_fail;
4617     }
4618     result = (otk::Configuration *)new otk::Configuration(arg1);
4619     
4620     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4621     return resultobj;
4622     fail:
4623     return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4628     int argc;
4629     PyObject *argv[3];
4630     int ii;
4631     
4632     argc = PyObject_Length(args);
4633     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4634         argv[ii] = PyTuple_GetItem(args,ii);
4635     }
4636     if ((argc >= 0) && (argc <= 1)) {
4637         int _v;
4638         if (argc <= 0) {
4639             return _wrap_new_Configuration__SWIG_1(self,args);
4640         }
4641         {
4642             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4643         }
4644         if (_v) {
4645             return _wrap_new_Configuration__SWIG_1(self,args);
4646         }
4647     }
4648     if ((argc >= 1) && (argc <= 2)) {
4649         int _v;
4650         {
4651             _v = PyString_Check(argv[0]) ? 1 : 0;
4652         }
4653         if (_v) {
4654             if (argc <= 1) {
4655                 return _wrap_new_Configuration__SWIG_0(self,args);
4656             }
4657             {
4658                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4659             }
4660             if (_v) {
4661                 return _wrap_new_Configuration__SWIG_0(self,args);
4662             }
4663         }
4664     }
4665     
4666     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4667     return NULL;
4668 }
4669
4670
4671 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4672     PyObject *resultobj;
4673     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4674     PyObject * obj0  = 0 ;
4675     
4676     if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4677     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4678     delete arg1;
4679     
4680     Py_INCREF(Py_None); resultobj = Py_None;
4681     return resultobj;
4682     fail:
4683     return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4688     PyObject *resultobj;
4689     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4690     std::string *result;
4691     PyObject * obj0  = 0 ;
4692     
4693     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4694     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695     {
4696         std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4697         result = (std::string *) &_result_ref;
4698     }
4699     
4700     {
4701         resultobj = PyString_FromString(result->c_str());
4702     }
4703     return resultobj;
4704     fail:
4705     return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4710     PyObject *resultobj;
4711     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4712     std::string *arg2 = 0 ;
4713     std::string temp2 ;
4714     PyObject * obj0  = 0 ;
4715     PyObject * obj1  = 0 ;
4716     
4717     if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4718     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4719     {
4720         if (PyString_Check(obj1)) {
4721             temp2 = std::string(PyString_AsString(obj1));
4722             arg2 = &temp2;
4723         }else {
4724             SWIG_exception(SWIG_TypeError, "string expected");
4725         }
4726     }
4727     (arg1)->setFile((std::string const &)*arg2);
4728     
4729     Py_INCREF(Py_None); resultobj = Py_None;
4730     return resultobj;
4731     fail:
4732     return NULL;
4733 }
4734
4735
4736 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4737     PyObject *resultobj;
4738     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4739     bool result;
4740     PyObject * obj0  = 0 ;
4741     
4742     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4743     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744     result = (bool)((otk::Configuration const *)arg1)->autoSave();
4745     
4746     resultobj = PyInt_FromLong((long)result);
4747     return resultobj;
4748     fail:
4749     return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4754     PyObject *resultobj;
4755     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4756     bool arg2 ;
4757     PyObject * obj0  = 0 ;
4758     PyObject * obj1  = 0 ;
4759     
4760     if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4761     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4762     arg2 = (bool) PyInt_AsLong(obj1);
4763     if (PyErr_Occurred()) SWIG_fail;
4764     (arg1)->setAutoSave(arg2);
4765     
4766     Py_INCREF(Py_None); resultobj = Py_None;
4767     return resultobj;
4768     fail:
4769     return NULL;
4770 }
4771
4772
4773 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4774     PyObject *resultobj;
4775     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4776     bool result;
4777     PyObject * obj0  = 0 ;
4778     
4779     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4780     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4781     result = (bool)((otk::Configuration const *)arg1)->isModified();
4782     
4783     resultobj = PyInt_FromLong((long)result);
4784     return resultobj;
4785     fail:
4786     return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4791     PyObject *resultobj;
4792     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4793     PyObject * obj0  = 0 ;
4794     
4795     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4796     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4797     (arg1)->save();
4798     
4799     Py_INCREF(Py_None); resultobj = Py_None;
4800     return resultobj;
4801     fail:
4802     return NULL;
4803 }
4804
4805
4806 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4807     PyObject *resultobj;
4808     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4809     bool result;
4810     PyObject * obj0  = 0 ;
4811     
4812     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4813     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4814     result = (bool)(arg1)->load();
4815     
4816     resultobj = PyInt_FromLong((long)result);
4817     return resultobj;
4818     fail:
4819     return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4824     PyObject *resultobj;
4825     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4826     std::string *arg2 = 0 ;
4827     bool arg3 = (bool) False ;
4828     bool result;
4829     std::string temp2 ;
4830     PyObject * obj0  = 0 ;
4831     PyObject * obj1  = 0 ;
4832     PyObject * obj2  = 0 ;
4833     
4834     if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4835     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836     {
4837         if (PyString_Check(obj1)) {
4838             temp2 = std::string(PyString_AsString(obj1));
4839             arg2 = &temp2;
4840         }else {
4841             SWIG_exception(SWIG_TypeError, "string expected");
4842         }
4843     }
4844     if (obj2) {
4845         arg3 = (bool) PyInt_AsLong(obj2);
4846         if (PyErr_Occurred()) SWIG_fail;
4847     }
4848     result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4849     
4850     resultobj = PyInt_FromLong((long)result);
4851     return resultobj;
4852     fail:
4853     return NULL;
4854 }
4855
4856
4857 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4858     PyObject *resultobj;
4859     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4860     PyObject * obj0  = 0 ;
4861     
4862     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4863     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864     (arg1)->create();
4865     
4866     Py_INCREF(Py_None); resultobj = Py_None;
4867     return resultobj;
4868     fail:
4869     return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4874     PyObject *resultobj;
4875     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4876     std::string *arg2 = 0 ;
4877     bool arg3 ;
4878     std::string temp2 ;
4879     PyObject * obj0  = 0 ;
4880     PyObject * obj1  = 0 ;
4881     PyObject * obj2  = 0 ;
4882     
4883     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4884     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4885     {
4886         if (PyString_Check(obj1)) {
4887             temp2 = std::string(PyString_AsString(obj1));
4888             arg2 = &temp2;
4889         }else {
4890             SWIG_exception(SWIG_TypeError, "string expected");
4891         }
4892     }
4893     arg3 = (bool) PyInt_AsLong(obj2);
4894     if (PyErr_Occurred()) SWIG_fail;
4895     (arg1)->setValue((std::string const &)*arg2,arg3);
4896     
4897     Py_INCREF(Py_None); resultobj = Py_None;
4898     return resultobj;
4899     fail:
4900     return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4905     PyObject *resultobj;
4906     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4907     std::string *arg2 = 0 ;
4908     int arg3 ;
4909     std::string temp2 ;
4910     PyObject * obj0  = 0 ;
4911     PyObject * obj1  = 0 ;
4912     
4913     if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4914     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4915     {
4916         if (PyString_Check(obj1)) {
4917             temp2 = std::string(PyString_AsString(obj1));
4918             arg2 = &temp2;
4919         }else {
4920             SWIG_exception(SWIG_TypeError, "string expected");
4921         }
4922     }
4923     (arg1)->setValue((std::string const &)*arg2,arg3);
4924     
4925     Py_INCREF(Py_None); resultobj = Py_None;
4926     return resultobj;
4927     fail:
4928     return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4933     PyObject *resultobj;
4934     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4935     std::string *arg2 = 0 ;
4936     unsigned int arg3 ;
4937     std::string temp2 ;
4938     PyObject * obj0  = 0 ;
4939     PyObject * obj1  = 0 ;
4940     PyObject * obj2  = 0 ;
4941     
4942     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4943     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4944     {
4945         if (PyString_Check(obj1)) {
4946             temp2 = std::string(PyString_AsString(obj1));
4947             arg2 = &temp2;
4948         }else {
4949             SWIG_exception(SWIG_TypeError, "string expected");
4950         }
4951     }
4952     arg3 = (unsigned int) PyInt_AsLong(obj2);
4953     if (PyErr_Occurred()) SWIG_fail;
4954     (arg1)->setValue((std::string const &)*arg2,arg3);
4955     
4956     Py_INCREF(Py_None); resultobj = Py_None;
4957     return resultobj;
4958     fail:
4959     return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4964     PyObject *resultobj;
4965     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4966     std::string *arg2 = 0 ;
4967     long arg3 ;
4968     std::string temp2 ;
4969     PyObject * obj0  = 0 ;
4970     PyObject * obj1  = 0 ;
4971     
4972     if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4973     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974     {
4975         if (PyString_Check(obj1)) {
4976             temp2 = std::string(PyString_AsString(obj1));
4977             arg2 = &temp2;
4978         }else {
4979             SWIG_exception(SWIG_TypeError, "string expected");
4980         }
4981     }
4982     (arg1)->setValue((std::string const &)*arg2,arg3);
4983     
4984     Py_INCREF(Py_None); resultobj = Py_None;
4985     return resultobj;
4986     fail:
4987     return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4992     PyObject *resultobj;
4993     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4994     std::string *arg2 = 0 ;
4995     unsigned long arg3 ;
4996     std::string temp2 ;
4997     PyObject * obj0  = 0 ;
4998     PyObject * obj1  = 0 ;
4999     PyObject * obj2  = 0 ;
5000     
5001     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
5002     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003     {
5004         if (PyString_Check(obj1)) {
5005             temp2 = std::string(PyString_AsString(obj1));
5006             arg2 = &temp2;
5007         }else {
5008             SWIG_exception(SWIG_TypeError, "string expected");
5009         }
5010     }
5011     arg3 = (unsigned long) PyInt_AsLong(obj2);
5012     if (PyErr_Occurred()) SWIG_fail;
5013     (arg1)->setValue((std::string const &)*arg2,arg3);
5014     
5015     Py_INCREF(Py_None); resultobj = Py_None;
5016     return resultobj;
5017     fail:
5018     return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
5023     PyObject *resultobj;
5024     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5025     std::string *arg2 = 0 ;
5026     std::string *arg3 = 0 ;
5027     std::string temp2 ;
5028     std::string temp3 ;
5029     PyObject * obj0  = 0 ;
5030     PyObject * obj1  = 0 ;
5031     PyObject * obj2  = 0 ;
5032     
5033     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
5034     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5035     {
5036         if (PyString_Check(obj1)) {
5037             temp2 = std::string(PyString_AsString(obj1));
5038             arg2 = &temp2;
5039         }else {
5040             SWIG_exception(SWIG_TypeError, "string expected");
5041         }
5042     }
5043     {
5044         if (PyString_Check(obj2)) {
5045             temp3 = std::string(PyString_AsString(obj2));
5046             arg3 = &temp3;
5047         }else {
5048             SWIG_exception(SWIG_TypeError, "string expected");
5049         }
5050     }
5051     (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
5052     
5053     Py_INCREF(Py_None); resultobj = Py_None;
5054     return resultobj;
5055     fail:
5056     return NULL;
5057 }
5058
5059
5060 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
5061     PyObject *resultobj;
5062     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5063     std::string *arg2 = 0 ;
5064     char *arg3 ;
5065     std::string temp2 ;
5066     PyObject * obj0  = 0 ;
5067     PyObject * obj1  = 0 ;
5068     
5069     if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
5070     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5071     {
5072         if (PyString_Check(obj1)) {
5073             temp2 = std::string(PyString_AsString(obj1));
5074             arg2 = &temp2;
5075         }else {
5076             SWIG_exception(SWIG_TypeError, "string expected");
5077         }
5078     }
5079     (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
5080     
5081     Py_INCREF(Py_None); resultobj = Py_None;
5082     return resultobj;
5083     fail:
5084     return NULL;
5085 }
5086
5087
5088 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
5089     PyObject *resultobj;
5090     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5091     std::string *arg2 = 0 ;
5092     bool *arg3 = 0 ;
5093     bool result;
5094     std::string temp2 ;
5095     PyObject * obj0  = 0 ;
5096     PyObject * obj1  = 0 ;
5097     PyObject * obj2  = 0 ;
5098     
5099     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5100     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101     {
5102         if (PyString_Check(obj1)) {
5103             temp2 = std::string(PyString_AsString(obj1));
5104             arg2 = &temp2;
5105         }else {
5106             SWIG_exception(SWIG_TypeError, "string expected");
5107         }
5108     }
5109     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5110     if (arg3 == NULL) {
5111         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5112     }
5113     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5114     
5115     resultobj = PyInt_FromLong((long)result);
5116     return resultobj;
5117     fail:
5118     return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5123     PyObject *resultobj;
5124     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5125     std::string *arg2 = 0 ;
5126     int *arg3 = 0 ;
5127     bool result;
5128     std::string temp2 ;
5129     PyObject * obj0  = 0 ;
5130     PyObject * obj1  = 0 ;
5131     PyObject * obj2  = 0 ;
5132     
5133     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5134     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135     {
5136         if (PyString_Check(obj1)) {
5137             temp2 = std::string(PyString_AsString(obj1));
5138             arg2 = &temp2;
5139         }else {
5140             SWIG_exception(SWIG_TypeError, "string expected");
5141         }
5142     }
5143     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5144     if (arg3 == NULL) {
5145         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5146     }
5147     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5148     
5149     resultobj = PyInt_FromLong((long)result);
5150     return resultobj;
5151     fail:
5152     return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5157     PyObject *resultobj;
5158     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5159     std::string *arg2 = 0 ;
5160     unsigned int *arg3 = 0 ;
5161     bool result;
5162     std::string temp2 ;
5163     PyObject * obj0  = 0 ;
5164     PyObject * obj1  = 0 ;
5165     PyObject * obj2  = 0 ;
5166     
5167     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5168     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169     {
5170         if (PyString_Check(obj1)) {
5171             temp2 = std::string(PyString_AsString(obj1));
5172             arg2 = &temp2;
5173         }else {
5174             SWIG_exception(SWIG_TypeError, "string expected");
5175         }
5176     }
5177     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5178     if (arg3 == NULL) {
5179         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5180     }
5181     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5182     
5183     resultobj = PyInt_FromLong((long)result);
5184     return resultobj;
5185     fail:
5186     return NULL;
5187 }
5188
5189
5190 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5191     PyObject *resultobj;
5192     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5193     std::string *arg2 = 0 ;
5194     long *arg3 = 0 ;
5195     bool result;
5196     std::string temp2 ;
5197     PyObject * obj0  = 0 ;
5198     PyObject * obj1  = 0 ;
5199     PyObject * obj2  = 0 ;
5200     
5201     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5202     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5203     {
5204         if (PyString_Check(obj1)) {
5205             temp2 = std::string(PyString_AsString(obj1));
5206             arg2 = &temp2;
5207         }else {
5208             SWIG_exception(SWIG_TypeError, "string expected");
5209         }
5210     }
5211     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5212     if (arg3 == NULL) {
5213         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5214     }
5215     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5216     
5217     resultobj = PyInt_FromLong((long)result);
5218     return resultobj;
5219     fail:
5220     return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5225     PyObject *resultobj;
5226     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5227     std::string *arg2 = 0 ;
5228     unsigned long *arg3 = 0 ;
5229     bool result;
5230     std::string temp2 ;
5231     PyObject * obj0  = 0 ;
5232     PyObject * obj1  = 0 ;
5233     PyObject * obj2  = 0 ;
5234     
5235     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5236     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5237     {
5238         if (PyString_Check(obj1)) {
5239             temp2 = std::string(PyString_AsString(obj1));
5240             arg2 = &temp2;
5241         }else {
5242             SWIG_exception(SWIG_TypeError, "string expected");
5243         }
5244     }
5245     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5246     if (arg3 == NULL) {
5247         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5248     }
5249     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5250     
5251     resultobj = PyInt_FromLong((long)result);
5252     return resultobj;
5253     fail:
5254     return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5259     PyObject *resultobj;
5260     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5261     std::string *arg2 = 0 ;
5262     std::string *arg3 = 0 ;
5263     bool result;
5264     std::string temp2 ;
5265     PyObject * obj0  = 0 ;
5266     PyObject * obj1  = 0 ;
5267     PyObject * obj2  = 0 ;
5268     
5269     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5270     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271     {
5272         if (PyString_Check(obj1)) {
5273             temp2 = std::string(PyString_AsString(obj1));
5274             arg2 = &temp2;
5275         }else {
5276             SWIG_exception(SWIG_TypeError, "string expected");
5277         }
5278     }
5279     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5280     if (arg3 == NULL) {
5281         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5282     }
5283     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5284     
5285     resultobj = PyInt_FromLong((long)result);
5286     return resultobj;
5287     fail:
5288     return NULL;
5289 }
5290
5291
5292 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5293     int argc;
5294     PyObject *argv[4];
5295     int ii;
5296     
5297     argc = PyObject_Length(args);
5298     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5299         argv[ii] = PyTuple_GetItem(args,ii);
5300     }
5301     if (argc == 3) {
5302         int _v;
5303         {
5304             void *ptr;
5305             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5306                 _v = 0;
5307                 PyErr_Clear();
5308             }else {
5309                 _v = 1;
5310             }
5311         }
5312         if (_v) {
5313             {
5314                 _v = PyString_Check(argv[1]) ? 1 : 0;
5315             }
5316             if (_v) {
5317                 {
5318                     void *ptr;
5319                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5320                         _v = 0;
5321                         PyErr_Clear();
5322                     }else {
5323                         _v = 1;
5324                     }
5325                 }
5326                 if (_v) {
5327                     return _wrap_Configuration_getValue__SWIG_0(self,args);
5328                 }
5329             }
5330         }
5331     }
5332     if (argc == 3) {
5333         int _v;
5334         {
5335             void *ptr;
5336             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5337                 _v = 0;
5338                 PyErr_Clear();
5339             }else {
5340                 _v = 1;
5341             }
5342         }
5343         if (_v) {
5344             {
5345                 _v = PyString_Check(argv[1]) ? 1 : 0;
5346             }
5347             if (_v) {
5348                 {
5349                     void *ptr;
5350                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5351                         _v = 0;
5352                         PyErr_Clear();
5353                     }else {
5354                         _v = 1;
5355                     }
5356                 }
5357                 if (_v) {
5358                     return _wrap_Configuration_getValue__SWIG_1(self,args);
5359                 }
5360             }
5361         }
5362     }
5363     if (argc == 3) {
5364         int _v;
5365         {
5366             void *ptr;
5367             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5368                 _v = 0;
5369                 PyErr_Clear();
5370             }else {
5371                 _v = 1;
5372             }
5373         }
5374         if (_v) {
5375             {
5376                 _v = PyString_Check(argv[1]) ? 1 : 0;
5377             }
5378             if (_v) {
5379                 {
5380                     void *ptr;
5381                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5382                         _v = 0;
5383                         PyErr_Clear();
5384                     }else {
5385                         _v = 1;
5386                     }
5387                 }
5388                 if (_v) {
5389                     return _wrap_Configuration_getValue__SWIG_2(self,args);
5390                 }
5391             }
5392         }
5393     }
5394     if (argc == 3) {
5395         int _v;
5396         {
5397             void *ptr;
5398             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5399                 _v = 0;
5400                 PyErr_Clear();
5401             }else {
5402                 _v = 1;
5403             }
5404         }
5405         if (_v) {
5406             {
5407                 _v = PyString_Check(argv[1]) ? 1 : 0;
5408             }
5409             if (_v) {
5410                 {
5411                     void *ptr;
5412                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5413                         _v = 0;
5414                         PyErr_Clear();
5415                     }else {
5416                         _v = 1;
5417                     }
5418                 }
5419                 if (_v) {
5420                     return _wrap_Configuration_getValue__SWIG_3(self,args);
5421                 }
5422             }
5423         }
5424     }
5425     if (argc == 3) {
5426         int _v;
5427         {
5428             void *ptr;
5429             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5430                 _v = 0;
5431                 PyErr_Clear();
5432             }else {
5433                 _v = 1;
5434             }
5435         }
5436         if (_v) {
5437             {
5438                 _v = PyString_Check(argv[1]) ? 1 : 0;
5439             }
5440             if (_v) {
5441                 {
5442                     void *ptr;
5443                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5444                         _v = 0;
5445                         PyErr_Clear();
5446                     }else {
5447                         _v = 1;
5448                     }
5449                 }
5450                 if (_v) {
5451                     return _wrap_Configuration_getValue__SWIG_4(self,args);
5452                 }
5453             }
5454         }
5455     }
5456     if (argc == 3) {
5457         int _v;
5458         {
5459             void *ptr;
5460             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5461                 _v = 0;
5462                 PyErr_Clear();
5463             }else {
5464                 _v = 1;
5465             }
5466         }
5467         if (_v) {
5468             {
5469                 _v = PyString_Check(argv[1]) ? 1 : 0;
5470             }
5471             if (_v) {
5472                 {
5473                     void *ptr;
5474                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5475                         _v = 0;
5476                         PyErr_Clear();
5477                     }else {
5478                         _v = 1;
5479                     }
5480                 }
5481                 if (_v) {
5482                     return _wrap_Configuration_getValue__SWIG_5(self,args);
5483                 }
5484             }
5485         }
5486     }
5487     
5488     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5489     return NULL;
5490 }
5491
5492
5493 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5494     PyObject *obj;
5495     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5496     SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5497     Py_INCREF(obj);
5498     return Py_BuildValue((char *)"");
5499 }
5500 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5501     PyObject *resultobj;
5502     char *arg1 ;
5503     
5504     if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5505     otk::OBDisplay::initialize(arg1);
5506     
5507     Py_INCREF(Py_None); resultobj = Py_None;
5508     return resultobj;
5509     fail:
5510     return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5515     PyObject *resultobj;
5516     
5517     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5518     otk::OBDisplay::destroy();
5519     
5520     Py_INCREF(Py_None); resultobj = Py_None;
5521     return resultobj;
5522     fail:
5523     return NULL;
5524 }
5525
5526
5527 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5528     PyObject *resultobj;
5529     otk::BGCCache *result;
5530     
5531     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5532     result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5533     
5534     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5535     return resultobj;
5536     fail:
5537     return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5542     PyObject *resultobj;
5543     int arg1 ;
5544     otk::ScreenInfo *result;
5545     
5546     if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5547     result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5548     
5549     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5550     return resultobj;
5551     fail:
5552     return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_OBDisplay_findScreen(PyObject *self, PyObject *args) {
5557     PyObject *resultobj;
5558     Window arg1 ;
5559     otk::ScreenInfo *result;
5560     PyObject * obj0  = 0 ;
5561     
5562     if(!PyArg_ParseTuple(args,(char *)"O:OBDisplay_findScreen",&obj0)) goto fail;
5563     arg1 = (Window) PyInt_AsLong(obj0);
5564     if (PyErr_Occurred()) SWIG_fail;
5565     result = (otk::ScreenInfo *)otk::OBDisplay::findScreen(arg1);
5566     
5567     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5568     return resultobj;
5569     fail:
5570     return NULL;
5571 }
5572
5573
5574 static PyObject *_wrap_OBDisplay_xkb(PyObject *self, PyObject *args) {
5575     PyObject *resultobj;
5576     bool result;
5577     
5578     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkb")) goto fail;
5579     result = (bool)otk::OBDisplay::xkb();
5580     
5581     resultobj = PyInt_FromLong((long)result);
5582     return resultobj;
5583     fail:
5584     return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_OBDisplay_xkbEventBase(PyObject *self, PyObject *args) {
5589     PyObject *resultobj;
5590     int result;
5591     
5592     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkbEventBase")) goto fail;
5593     result = (int)otk::OBDisplay::xkbEventBase();
5594     
5595     resultobj = PyInt_FromLong((long)result);
5596     return resultobj;
5597     fail:
5598     return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5603     PyObject *resultobj;
5604     bool result;
5605     
5606     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5607     result = (bool)otk::OBDisplay::shape();
5608     
5609     resultobj = PyInt_FromLong((long)result);
5610     return resultobj;
5611     fail:
5612     return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5617     PyObject *resultobj;
5618     int result;
5619     
5620     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5621     result = (int)otk::OBDisplay::shapeEventBase();
5622     
5623     resultobj = PyInt_FromLong((long)result);
5624     return resultobj;
5625     fail:
5626     return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5631     PyObject *resultobj;
5632     bool result;
5633     
5634     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5635     result = (bool)otk::OBDisplay::xinerama();
5636     
5637     resultobj = PyInt_FromLong((long)result);
5638     return resultobj;
5639     fail:
5640     return NULL;
5641 }
5642
5643
5644 static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) {
5645     PyObject *resultobj;
5646     unsigned int result;
5647     
5648     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail;
5649     result = (unsigned int)otk::OBDisplay::numLockMask();
5650     
5651     resultobj = PyInt_FromLong((long)result);
5652     return resultobj;
5653     fail:
5654     return NULL;
5655 }
5656
5657
5658 static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) {
5659     PyObject *resultobj;
5660     unsigned int result;
5661     
5662     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail;
5663     result = (unsigned int)otk::OBDisplay::scrollLockMask();
5664     
5665     resultobj = PyInt_FromLong((long)result);
5666     return resultobj;
5667     fail:
5668     return NULL;
5669 }
5670
5671
5672 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5673     PyObject *resultobj;
5674     
5675     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5676     otk::OBDisplay::grab();
5677     
5678     Py_INCREF(Py_None); resultobj = Py_None;
5679     return resultobj;
5680     fail:
5681     return NULL;
5682 }
5683
5684
5685 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5686     PyObject *resultobj;
5687     
5688     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5689     otk::OBDisplay::ungrab();
5690     
5691     Py_INCREF(Py_None); resultobj = Py_None;
5692     return resultobj;
5693     fail:
5694     return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5699     PyObject *resultobj;
5700     unsigned int arg1 ;
5701     unsigned int arg2 ;
5702     Window arg3 ;
5703     bool arg4 ;
5704     unsigned int arg5 ;
5705     int arg6 ;
5706     int arg7 ;
5707     Window arg8 ;
5708     Cursor arg9 ;
5709     bool arg10 ;
5710     PyObject * obj0  = 0 ;
5711     PyObject * obj1  = 0 ;
5712     PyObject * obj2  = 0 ;
5713     PyObject * obj3  = 0 ;
5714     PyObject * obj4  = 0 ;
5715     PyObject * obj7  = 0 ;
5716     PyObject * obj8  = 0 ;
5717     PyObject * obj9  = 0 ;
5718     
5719     if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5720     arg1 = (unsigned int) PyInt_AsLong(obj0);
5721     if (PyErr_Occurred()) SWIG_fail;
5722     arg2 = (unsigned int) PyInt_AsLong(obj1);
5723     if (PyErr_Occurred()) SWIG_fail;
5724     arg3 = (Window) PyInt_AsLong(obj2);
5725     if (PyErr_Occurred()) SWIG_fail;
5726     arg4 = (bool) PyInt_AsLong(obj3);
5727     if (PyErr_Occurred()) SWIG_fail;
5728     arg5 = (unsigned int) PyInt_AsLong(obj4);
5729     if (PyErr_Occurred()) SWIG_fail;
5730     arg8 = (Window) PyInt_AsLong(obj7);
5731     if (PyErr_Occurred()) SWIG_fail;
5732     arg9 = (Cursor) PyInt_AsLong(obj8);
5733     if (PyErr_Occurred()) SWIG_fail;
5734     arg10 = (bool) PyInt_AsLong(obj9);
5735     if (PyErr_Occurred()) SWIG_fail;
5736     otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5737     
5738     Py_INCREF(Py_None); resultobj = Py_None;
5739     return resultobj;
5740     fail:
5741     return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5746     PyObject *resultobj;
5747     unsigned int arg1 ;
5748     unsigned int arg2 ;
5749     Window arg3 ;
5750     PyObject * obj0  = 0 ;
5751     PyObject * obj1  = 0 ;
5752     PyObject * obj2  = 0 ;
5753     
5754     if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5755     arg1 = (unsigned int) PyInt_AsLong(obj0);
5756     if (PyErr_Occurred()) SWIG_fail;
5757     arg2 = (unsigned int) PyInt_AsLong(obj1);
5758     if (PyErr_Occurred()) SWIG_fail;
5759     arg3 = (Window) PyInt_AsLong(obj2);
5760     if (PyErr_Occurred()) SWIG_fail;
5761     otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5762     
5763     Py_INCREF(Py_None); resultobj = Py_None;
5764     return resultobj;
5765     fail:
5766     return NULL;
5767 }
5768
5769
5770 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5771     PyObject *resultobj;
5772     unsigned int arg1 ;
5773     unsigned int arg2 ;
5774     Window arg3 ;
5775     bool arg4 ;
5776     int arg5 ;
5777     int arg6 ;
5778     bool arg7 ;
5779     PyObject * obj0  = 0 ;
5780     PyObject * obj1  = 0 ;
5781     PyObject * obj2  = 0 ;
5782     PyObject * obj3  = 0 ;
5783     PyObject * obj6  = 0 ;
5784     
5785     if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5786     arg1 = (unsigned int) PyInt_AsLong(obj0);
5787     if (PyErr_Occurred()) SWIG_fail;
5788     arg2 = (unsigned int) PyInt_AsLong(obj1);
5789     if (PyErr_Occurred()) SWIG_fail;
5790     arg3 = (Window) PyInt_AsLong(obj2);
5791     if (PyErr_Occurred()) SWIG_fail;
5792     arg4 = (bool) PyInt_AsLong(obj3);
5793     if (PyErr_Occurred()) SWIG_fail;
5794     arg7 = (bool) PyInt_AsLong(obj6);
5795     if (PyErr_Occurred()) SWIG_fail;
5796     otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5797     
5798     Py_INCREF(Py_None); resultobj = Py_None;
5799     return resultobj;
5800     fail:
5801     return NULL;
5802 }
5803
5804
5805 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5806     PyObject *resultobj;
5807     unsigned int arg1 ;
5808     unsigned int arg2 ;
5809     Window arg3 ;
5810     PyObject * obj0  = 0 ;
5811     PyObject * obj1  = 0 ;
5812     PyObject * obj2  = 0 ;
5813     
5814     if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5815     arg1 = (unsigned int) PyInt_AsLong(obj0);
5816     if (PyErr_Occurred()) SWIG_fail;
5817     arg2 = (unsigned int) PyInt_AsLong(obj1);
5818     if (PyErr_Occurred()) SWIG_fail;
5819     arg3 = (Window) PyInt_AsLong(obj2);
5820     if (PyErr_Occurred()) SWIG_fail;
5821     otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5822     
5823     Py_INCREF(Py_None); resultobj = Py_None;
5824     return resultobj;
5825     fail:
5826     return NULL;
5827 }
5828
5829
5830 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5831     PyObject *obj;
5832     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5833     SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5834     Py_INCREF(obj);
5835     return Py_BuildValue((char *)"");
5836 }
5837 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5838     PyObject *resultobj;
5839     std::string result;
5840     
5841     if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5842     result = otk::BFont::fallbackFont();
5843     
5844     {
5845         resultobj = PyString_FromString((&result)->c_str());
5846     }
5847     return resultobj;
5848     fail:
5849     return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5854     PyObject *resultobj;
5855     std::string *arg1 = 0 ;
5856     std::string temp1 ;
5857     PyObject * obj0  = 0 ;
5858     
5859     if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5860     {
5861         if (PyString_Check(obj0)) {
5862             temp1 = std::string(PyString_AsString(obj0));
5863             arg1 = &temp1;
5864         }else {
5865             SWIG_exception(SWIG_TypeError, "string expected");
5866         }
5867     }
5868     otk::BFont::setFallbackFont((std::string const &)*arg1);
5869     
5870     Py_INCREF(Py_None); resultobj = Py_None;
5871     return resultobj;
5872     fail:
5873     return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5878     PyObject *resultobj;
5879     int arg1 ;
5880     std::string *arg2 = 0 ;
5881     bool arg3 ;
5882     unsigned char arg4 ;
5883     unsigned char arg5 ;
5884     otk::BFont *result;
5885     std::string temp2 ;
5886     PyObject * obj1  = 0 ;
5887     PyObject * obj2  = 0 ;
5888     PyObject * obj3  = 0 ;
5889     PyObject * obj4  = 0 ;
5890     
5891     if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5892     {
5893         if (PyString_Check(obj1)) {
5894             temp2 = std::string(PyString_AsString(obj1));
5895             arg2 = &temp2;
5896         }else {
5897             SWIG_exception(SWIG_TypeError, "string expected");
5898         }
5899     }
5900     arg3 = (bool) PyInt_AsLong(obj2);
5901     if (PyErr_Occurred()) SWIG_fail;
5902     arg4 = (unsigned char) PyInt_AsLong(obj3);
5903     if (PyErr_Occurred()) SWIG_fail;
5904     arg5 = (unsigned char) PyInt_AsLong(obj4);
5905     if (PyErr_Occurred()) SWIG_fail;
5906     result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5907     
5908     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5909     return resultobj;
5910     fail:
5911     return NULL;
5912 }
5913
5914
5915 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5916     PyObject *resultobj;
5917     otk::BFont *arg1 = (otk::BFont *) 0 ;
5918     PyObject * obj0  = 0 ;
5919     
5920     if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5921     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5922     delete arg1;
5923     
5924     Py_INCREF(Py_None); resultobj = Py_None;
5925     return resultobj;
5926     fail:
5927     return NULL;
5928 }
5929
5930
5931 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5932     PyObject *resultobj;
5933     otk::BFont *arg1 = (otk::BFont *) 0 ;
5934     std::string *result;
5935     PyObject * obj0  = 0 ;
5936     
5937     if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5938     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939     {
5940         std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5941         result = (std::string *) &_result_ref;
5942     }
5943     
5944     {
5945         resultobj = PyString_FromString(result->c_str());
5946     }
5947     return resultobj;
5948     fail:
5949     return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5954     PyObject *resultobj;
5955     otk::BFont *arg1 = (otk::BFont *) 0 ;
5956     unsigned int result;
5957     PyObject * obj0  = 0 ;
5958     
5959     if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5960     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961     result = (unsigned int)((otk::BFont const *)arg1)->height();
5962     
5963     resultobj = PyInt_FromLong((long)result);
5964     return resultobj;
5965     fail:
5966     return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5971     PyObject *resultobj;
5972     otk::BFont *arg1 = (otk::BFont *) 0 ;
5973     unsigned int result;
5974     PyObject * obj0  = 0 ;
5975     
5976     if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5977     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978     result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5979     
5980     resultobj = PyInt_FromLong((long)result);
5981     return resultobj;
5982     fail:
5983     return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5988     PyObject *resultobj;
5989     otk::BFont *arg1 = (otk::BFont *) 0 ;
5990     std::string *arg2 = 0 ;
5991     bool arg3 = (bool) false ;
5992     unsigned int result;
5993     std::string temp2 ;
5994     PyObject * obj0  = 0 ;
5995     PyObject * obj1  = 0 ;
5996     PyObject * obj2  = 0 ;
5997     
5998     if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5999     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6000     {
6001         if (PyString_Check(obj1)) {
6002             temp2 = std::string(PyString_AsString(obj1));
6003             arg2 = &temp2;
6004         }else {
6005             SWIG_exception(SWIG_TypeError, "string expected");
6006         }
6007     }
6008     if (obj2) {
6009         arg3 = (bool) PyInt_AsLong(obj2);
6010         if (PyErr_Occurred()) SWIG_fail;
6011     }
6012     result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
6013     
6014     resultobj = PyInt_FromLong((long)result);
6015     return resultobj;
6016     fail:
6017     return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
6022     PyObject *resultobj;
6023     otk::BFont *arg1 = (otk::BFont *) 0 ;
6024     XftDraw *arg2 = (XftDraw *) 0 ;
6025     int arg3 ;
6026     int arg4 ;
6027     otk::BColor *arg5 = 0 ;
6028     std::string *arg6 = 0 ;
6029     bool arg7 = (bool) false ;
6030     std::string temp6 ;
6031     PyObject * obj0  = 0 ;
6032     PyObject * obj1  = 0 ;
6033     PyObject * obj4  = 0 ;
6034     PyObject * obj5  = 0 ;
6035     PyObject * obj6  = 0 ;
6036     
6037     if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
6038     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6039     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6041     if (arg5 == NULL) {
6042         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6043     }
6044     {
6045         if (PyString_Check(obj5)) {
6046             temp6 = std::string(PyString_AsString(obj5));
6047             arg6 = &temp6;
6048         }else {
6049             SWIG_exception(SWIG_TypeError, "string expected");
6050         }
6051     }
6052     if (obj6) {
6053         arg7 = (bool) PyInt_AsLong(obj6);
6054         if (PyErr_Occurred()) SWIG_fail;
6055     }
6056     ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
6057     
6058     Py_INCREF(Py_None); resultobj = Py_None;
6059     return resultobj;
6060     fail:
6061     return NULL;
6062 }
6063
6064
6065 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
6066     PyObject *obj;
6067     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6068     SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
6069     Py_INCREF(obj);
6070     return Py_BuildValue((char *)"");
6071 }
6072 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
6073     PyObject *resultobj;
6074     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6075     otk::BColor *arg2 = 0 ;
6076     XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6077     int arg4 ;
6078     int arg5 ;
6079     int arg6 ;
6080     PyObject * obj0  = 0 ;
6081     PyObject * obj1  = 0 ;
6082     PyObject * obj2  = 0 ;
6083     
6084     if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6085     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6087     if (arg2 == NULL) {
6088         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6089     }
6090     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6091     (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6092     
6093     Py_INCREF(Py_None); resultobj = Py_None;
6094     return resultobj;
6095     fail:
6096     return NULL;
6097 }
6098
6099
6100 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
6101     PyObject *resultobj;
6102     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6103     XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6104     PyObject * obj0  = 0 ;
6105     PyObject * obj1  = 0 ;
6106     
6107     if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
6108     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110     (arg1)->set((XFontStruct const *)arg2);
6111     
6112     Py_INCREF(Py_None); resultobj = Py_None;
6113     return resultobj;
6114     fail:
6115     return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
6120     int argc;
6121     PyObject *argv[7];
6122     int ii;
6123     
6124     argc = PyObject_Length(args);
6125     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6126         argv[ii] = PyTuple_GetItem(args,ii);
6127     }
6128     if (argc == 2) {
6129         int _v;
6130         {
6131             void *ptr;
6132             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6133                 _v = 0;
6134                 PyErr_Clear();
6135             }else {
6136                 _v = 1;
6137             }
6138         }
6139         if (_v) {
6140             {
6141                 void *ptr;
6142                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6143                     _v = 0;
6144                     PyErr_Clear();
6145                 }else {
6146                     _v = 1;
6147                 }
6148             }
6149             if (_v) {
6150                 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6151             }
6152         }
6153     }
6154     if (argc == 6) {
6155         int _v;
6156         {
6157             void *ptr;
6158             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6159                 _v = 0;
6160                 PyErr_Clear();
6161             }else {
6162                 _v = 1;
6163             }
6164         }
6165         if (_v) {
6166             {
6167                 void *ptr;
6168                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6169                     _v = 0;
6170                     PyErr_Clear();
6171                 }else {
6172                     _v = 1;
6173                 }
6174             }
6175             if (_v) {
6176                 {
6177                     void *ptr;
6178                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6179                         _v = 0;
6180                         PyErr_Clear();
6181                     }else {
6182                         _v = 1;
6183                     }
6184                 }
6185                 if (_v) {
6186                     {
6187                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6188                     }
6189                     if (_v) {
6190                         {
6191                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6192                         }
6193                         if (_v) {
6194                             {
6195                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6196                             }
6197                             if (_v) {
6198                                 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6199                             }
6200                         }
6201                     }
6202                 }
6203             }
6204         }
6205     }
6206     
6207     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6208     return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6213     PyObject *resultobj;
6214     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6215     PyObject * obj0  = 0 ;
6216     
6217     if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6218     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219     delete arg1;
6220     
6221     Py_INCREF(Py_None); resultobj = Py_None;
6222     return resultobj;
6223     fail:
6224     return NULL;
6225 }
6226
6227
6228 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6229     PyObject *obj;
6230     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6231     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6232     Py_INCREF(obj);
6233     return Py_BuildValue((char *)"");
6234 }
6235 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6236     PyObject *resultobj;
6237     otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6238     GC *result;
6239     PyObject * obj0  = 0 ;
6240     
6241     if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6242     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243     {
6244         GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6245         result = (GC *) &_result_ref;
6246     }
6247     
6248     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6249     return resultobj;
6250     fail:
6251     return NULL;
6252 }
6253
6254
6255 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6256     PyObject *obj;
6257     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6258     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6259     Py_INCREF(obj);
6260     return Py_BuildValue((char *)"");
6261 }
6262 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6263     PyObject *resultobj;
6264     unsigned int arg1 ;
6265     otk::BGCCache *result;
6266     PyObject * obj0  = 0 ;
6267     
6268     if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6269     arg1 = (unsigned int) PyInt_AsLong(obj0);
6270     if (PyErr_Occurred()) SWIG_fail;
6271     result = (otk::BGCCache *)new otk::BGCCache(arg1);
6272     
6273     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6274     return resultobj;
6275     fail:
6276     return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6281     PyObject *resultobj;
6282     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6283     PyObject * obj0  = 0 ;
6284     
6285     if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6286     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6287     delete arg1;
6288     
6289     Py_INCREF(Py_None); resultobj = Py_None;
6290     return resultobj;
6291     fail:
6292     return NULL;
6293 }
6294
6295
6296 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6297     PyObject *resultobj;
6298     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6299     PyObject * obj0  = 0 ;
6300     
6301     if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6302     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303     (arg1)->purge();
6304     
6305     Py_INCREF(Py_None); resultobj = Py_None;
6306     return resultobj;
6307     fail:
6308     return NULL;
6309 }
6310
6311
6312 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6313     PyObject *resultobj;
6314     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6315     otk::BColor *arg2 = 0 ;
6316     XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6317     int arg4 = (int) GXcopy ;
6318     int arg5 = (int) ClipByChildren ;
6319     int arg6 = (int) 0 ;
6320     otk::BGCCacheItem *result;
6321     PyObject * obj0  = 0 ;
6322     PyObject * obj1  = 0 ;
6323     PyObject * obj2  = 0 ;
6324     
6325     if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6326     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6327     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6328     if (arg2 == NULL) {
6329         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6330     }
6331     if (obj2) {
6332         if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333     }
6334     result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6335     
6336     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6337     return resultobj;
6338     fail:
6339     return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6344     PyObject *resultobj;
6345     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6346     otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6347     PyObject * obj0  = 0 ;
6348     PyObject * obj1  = 0 ;
6349     
6350     if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6351     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353     (arg1)->release(arg2);
6354     
6355     Py_INCREF(Py_None); resultobj = Py_None;
6356     return resultobj;
6357     fail:
6358     return NULL;
6359 }
6360
6361
6362 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6363     PyObject *obj;
6364     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6366     Py_INCREF(obj);
6367     return Py_BuildValue((char *)"");
6368 }
6369 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6370     PyObject *resultobj;
6371     otk::BColor *arg1 = 0 ;
6372     XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6373     int arg3 = (int) 0 ;
6374     int arg4 = (int) GXcopy ;
6375     int arg5 = (int) ClipByChildren ;
6376     otk::BPen *result;
6377     PyObject * obj0  = 0 ;
6378     PyObject * obj1  = 0 ;
6379     
6380     if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6381     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6382     if (arg1 == NULL) {
6383         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6384     }
6385     if (obj1) {
6386         if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6387     }
6388     result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6389     
6390     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6391     return resultobj;
6392     fail:
6393     return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6398     PyObject *resultobj;
6399     otk::BPen *arg1 = (otk::BPen *) 0 ;
6400     PyObject * obj0  = 0 ;
6401     
6402     if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6403     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6404     delete arg1;
6405     
6406     Py_INCREF(Py_None); resultobj = Py_None;
6407     return resultobj;
6408     fail:
6409     return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6414     PyObject *resultobj;
6415     otk::BPen *arg1 = (otk::BPen *) 0 ;
6416     GC *result;
6417     PyObject * obj0  = 0 ;
6418     
6419     if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6420     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6421     {
6422         GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6423         result = (GC *) &_result_ref;
6424     }
6425     
6426     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6427     return resultobj;
6428     fail:
6429     return NULL;
6430 }
6431
6432
6433 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6434     PyObject *obj;
6435     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6436     SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6437     Py_INCREF(obj);
6438     return Py_BuildValue((char *)"");
6439 }
6440 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6441     PyObject *resultobj;
6442     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6443     int arg2 ;
6444     int arg3 ;
6445     otk::BImage *result;
6446     PyObject * obj0  = 0 ;
6447     
6448     if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6449     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450     result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6451     
6452     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6453     return resultobj;
6454     fail:
6455     return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6460     PyObject *resultobj;
6461     otk::BImage *arg1 = (otk::BImage *) 0 ;
6462     PyObject * obj0  = 0 ;
6463     
6464     if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6465     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6466     delete arg1;
6467     
6468     Py_INCREF(Py_None); resultobj = Py_None;
6469     return resultobj;
6470     fail:
6471     return NULL;
6472 }
6473
6474
6475 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6476     PyObject *resultobj;
6477     otk::BImage *arg1 = (otk::BImage *) 0 ;
6478     otk::BTexture *arg2 = 0 ;
6479     Pixmap result;
6480     PyObject * obj0  = 0 ;
6481     PyObject * obj1  = 0 ;
6482     
6483     if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6484     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6485     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6486     if (arg2 == NULL) {
6487         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6488     }
6489     result = (Pixmap)(arg1)->render((otk::BTexture const &)*arg2);
6490     
6491     resultobj = PyInt_FromLong((long)result);
6492     return resultobj;
6493     fail:
6494     return NULL;
6495 }
6496
6497
6498 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6499     PyObject *obj;
6500     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6501     SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6502     Py_INCREF(obj);
6503     return Py_BuildValue((char *)"");
6504 }
6505 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6506     PyObject *resultobj;
6507     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6508     otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6509     bool arg3 = (bool) False ;
6510     int arg4 = (int) 4 ;
6511     unsigned long arg5 = (unsigned long) 300000l ;
6512     unsigned long arg6 = (unsigned long) 200l ;
6513     otk::BImageControl *result;
6514     PyObject * obj0  = 0 ;
6515     PyObject * obj1  = 0 ;
6516     PyObject * obj2  = 0 ;
6517     PyObject * obj4  = 0 ;
6518     PyObject * obj5  = 0 ;
6519     
6520     if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6521     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6522     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6523     if (obj2) {
6524         arg3 = (bool) PyInt_AsLong(obj2);
6525         if (PyErr_Occurred()) SWIG_fail;
6526     }
6527     if (obj4) {
6528         arg5 = (unsigned long) PyInt_AsLong(obj4);
6529         if (PyErr_Occurred()) SWIG_fail;
6530     }
6531     if (obj5) {
6532         arg6 = (unsigned long) PyInt_AsLong(obj5);
6533         if (PyErr_Occurred()) SWIG_fail;
6534     }
6535     result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6536     
6537     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6538     return resultobj;
6539     fail:
6540     return NULL;
6541 }
6542
6543
6544 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6545     PyObject *resultobj;
6546     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6547     PyObject * obj0  = 0 ;
6548     
6549     if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6550     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551     delete arg1;
6552     
6553     Py_INCREF(Py_None); resultobj = Py_None;
6554     return resultobj;
6555     fail:
6556     return NULL;
6557 }
6558
6559
6560 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6561     PyObject *resultobj;
6562     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6563     bool result;
6564     PyObject * obj0  = 0 ;
6565     
6566     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6567     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6568     result = (bool)(arg1)->doDither();
6569     
6570     resultobj = PyInt_FromLong((long)result);
6571     return resultobj;
6572     fail:
6573     return NULL;
6574 }
6575
6576
6577 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6578     PyObject *resultobj;
6579     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6580     otk::ScreenInfo *result;
6581     PyObject * obj0  = 0 ;
6582     
6583     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6584     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585     result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6586     
6587     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6588     return resultobj;
6589     fail:
6590     return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6595     PyObject *resultobj;
6596     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6597     Window result;
6598     PyObject * obj0  = 0 ;
6599     
6600     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6601     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602     result = (Window)((otk::BImageControl const *)arg1)->getDrawable();
6603     
6604     resultobj = PyInt_FromLong((long)result);
6605     return resultobj;
6606     fail:
6607     return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6612     PyObject *resultobj;
6613     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6614     Visual *result;
6615     PyObject * obj0  = 0 ;
6616     
6617     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6618     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619     result = (Visual *)(arg1)->getVisual();
6620     
6621     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6622     return resultobj;
6623     fail:
6624     return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6629     PyObject *resultobj;
6630     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6631     int result;
6632     PyObject * obj0  = 0 ;
6633     
6634     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6635     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636     result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6637     
6638     resultobj = PyInt_FromLong((long)result);
6639     return resultobj;
6640     fail:
6641     return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6646     PyObject *resultobj;
6647     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6648     int result;
6649     PyObject * obj0  = 0 ;
6650     
6651     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6652     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653     result = (int)((otk::BImageControl const *)arg1)->getDepth();
6654     
6655     resultobj = PyInt_FromLong((long)result);
6656     return resultobj;
6657     fail:
6658     return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6663     PyObject *resultobj;
6664     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6665     int result;
6666     PyObject * obj0  = 0 ;
6667     
6668     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6669     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670     result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6671     
6672     resultobj = PyInt_FromLong((long)result);
6673     return resultobj;
6674     fail:
6675     return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6680     PyObject *resultobj;
6681     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6682     unsigned int arg2 ;
6683     unsigned long result;
6684     PyObject * obj0  = 0 ;
6685     PyObject * obj1  = 0 ;
6686     
6687     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6688     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6689     arg2 = (unsigned int) PyInt_AsLong(obj1);
6690     if (PyErr_Occurred()) SWIG_fail;
6691     result = (unsigned long)(arg1)->getSqrt(arg2);
6692     
6693     resultobj = PyInt_FromLong((long)result);
6694     return resultobj;
6695     fail:
6696     return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6701     PyObject *resultobj;
6702     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6703     unsigned int arg2 ;
6704     unsigned int arg3 ;
6705     otk::BTexture *arg4 = 0 ;
6706     Pixmap result;
6707     PyObject * obj0  = 0 ;
6708     PyObject * obj1  = 0 ;
6709     PyObject * obj2  = 0 ;
6710     PyObject * obj3  = 0 ;
6711     
6712     if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6713     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714     arg2 = (unsigned int) PyInt_AsLong(obj1);
6715     if (PyErr_Occurred()) SWIG_fail;
6716     arg3 = (unsigned int) PyInt_AsLong(obj2);
6717     if (PyErr_Occurred()) SWIG_fail;
6718     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6719     if (arg4 == NULL) {
6720         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6721     }
6722     result = (Pixmap)(arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6723     
6724     resultobj = PyInt_FromLong((long)result);
6725     return resultobj;
6726     fail:
6727     return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6732     PyObject *resultobj;
6733     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6734     PyObject * obj0  = 0 ;
6735     
6736     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6737     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738     (arg1)->installRootColormap();
6739     
6740     Py_INCREF(Py_None); resultobj = Py_None;
6741     return resultobj;
6742     fail:
6743     return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6748     PyObject *resultobj;
6749     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6750     Pixmap arg2 ;
6751     PyObject * obj0  = 0 ;
6752     PyObject * obj1  = 0 ;
6753     
6754     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6755     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6756     arg2 = (Pixmap) PyInt_AsLong(obj1);
6757     if (PyErr_Occurred()) SWIG_fail;
6758     (arg1)->removeImage(arg2);
6759     
6760     Py_INCREF(Py_None); resultobj = Py_None;
6761     return resultobj;
6762     fail:
6763     return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6768     PyObject *resultobj;
6769     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6770     unsigned char **arg2 = (unsigned char **) 0 ;
6771     unsigned char **arg3 = (unsigned char **) 0 ;
6772     unsigned char **arg4 = (unsigned char **) 0 ;
6773     int *arg5 = (int *) 0 ;
6774     int *arg6 = (int *) 0 ;
6775     int *arg7 = (int *) 0 ;
6776     int *arg8 = (int *) 0 ;
6777     int *arg9 = (int *) 0 ;
6778     int *arg10 = (int *) 0 ;
6779     PyObject * obj0  = 0 ;
6780     PyObject * obj1  = 0 ;
6781     PyObject * obj2  = 0 ;
6782     PyObject * obj3  = 0 ;
6783     PyObject * obj4  = 0 ;
6784     PyObject * obj5  = 0 ;
6785     PyObject * obj6  = 0 ;
6786     PyObject * obj7  = 0 ;
6787     PyObject * obj8  = 0 ;
6788     PyObject * obj9  = 0 ;
6789     
6790     if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6791     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6795     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6796     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797     if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6798     if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6799     if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800     if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6801     (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6802     
6803     Py_INCREF(Py_None); resultobj = Py_None;
6804     return resultobj;
6805     fail:
6806     return NULL;
6807 }
6808
6809
6810 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6811     PyObject *resultobj;
6812     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6813     XColor **arg2 = (XColor **) 0 ;
6814     int *arg3 = (int *) 0 ;
6815     PyObject * obj0  = 0 ;
6816     PyObject * obj1  = 0 ;
6817     PyObject * obj2  = 0 ;
6818     
6819     if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6820     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823     (arg1)->getXColorTable(arg2,arg3);
6824     
6825     Py_INCREF(Py_None); resultobj = Py_None;
6826     return resultobj;
6827     fail:
6828     return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6833     PyObject *resultobj;
6834     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6835     unsigned int arg2 ;
6836     unsigned int arg3 ;
6837     unsigned int **arg4 = (unsigned int **) 0 ;
6838     unsigned int **arg5 = (unsigned int **) 0 ;
6839     PyObject * obj0  = 0 ;
6840     PyObject * obj1  = 0 ;
6841     PyObject * obj2  = 0 ;
6842     PyObject * obj3  = 0 ;
6843     PyObject * obj4  = 0 ;
6844     
6845     if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6846     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6847     arg2 = (unsigned int) PyInt_AsLong(obj1);
6848     if (PyErr_Occurred()) SWIG_fail;
6849     arg3 = (unsigned int) PyInt_AsLong(obj2);
6850     if (PyErr_Occurred()) SWIG_fail;
6851     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853     (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6854     
6855     Py_INCREF(Py_None); resultobj = Py_None;
6856     return resultobj;
6857     fail:
6858     return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6863     PyObject *resultobj;
6864     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6865     bool arg2 ;
6866     PyObject * obj0  = 0 ;
6867     PyObject * obj1  = 0 ;
6868     
6869     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6870     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6871     arg2 = (bool) PyInt_AsLong(obj1);
6872     if (PyErr_Occurred()) SWIG_fail;
6873     (arg1)->setDither(arg2);
6874     
6875     Py_INCREF(Py_None); resultobj = Py_None;
6876     return resultobj;
6877     fail:
6878     return NULL;
6879 }
6880
6881
6882 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6883     PyObject *resultobj;
6884     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6885     int arg2 ;
6886     PyObject * obj0  = 0 ;
6887     
6888     if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6889     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890     (arg1)->setColorsPerChannel(arg2);
6891     
6892     Py_INCREF(Py_None); resultobj = Py_None;
6893     return resultobj;
6894     fail:
6895     return NULL;
6896 }
6897
6898
6899 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6900     PyObject *resultobj;
6901     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6902     PyObject * obj0  = 0 ;
6903     
6904     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6905     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906     otk::BImageControl::timeout(arg1);
6907     
6908     Py_INCREF(Py_None); resultobj = Py_None;
6909     return resultobj;
6910     fail:
6911     return NULL;
6912 }
6913
6914
6915 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6916     PyObject *obj;
6917     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6918     SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6919     Py_INCREF(obj);
6920     return Py_BuildValue((char *)"");
6921 }
6922 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6923     PyObject *resultobj;
6924     otk::Point *result;
6925     
6926     if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6927     result = (otk::Point *)new otk::Point();
6928     
6929     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6930     return resultobj;
6931     fail:
6932     return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6937     PyObject *resultobj;
6938     int arg1 ;
6939     int arg2 ;
6940     otk::Point *result;
6941     
6942     if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6943     result = (otk::Point *)new otk::Point(arg1,arg2);
6944     
6945     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6946     return resultobj;
6947     fail:
6948     return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6953     int argc;
6954     PyObject *argv[3];
6955     int ii;
6956     
6957     argc = PyObject_Length(args);
6958     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6959         argv[ii] = PyTuple_GetItem(args,ii);
6960     }
6961     if (argc == 0) {
6962         return _wrap_new_Point__SWIG_0(self,args);
6963     }
6964     if (argc == 2) {
6965         int _v;
6966         {
6967             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6968         }
6969         if (_v) {
6970             {
6971                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6972             }
6973             if (_v) {
6974                 return _wrap_new_Point__SWIG_1(self,args);
6975             }
6976         }
6977     }
6978     
6979     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6980     return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6985     PyObject *resultobj;
6986     otk::Point *arg1 = (otk::Point *) 0 ;
6987     int arg2 ;
6988     PyObject * obj0  = 0 ;
6989     
6990     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6991     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992     (arg1)->setX(arg2);
6993     
6994     Py_INCREF(Py_None); resultobj = Py_None;
6995     return resultobj;
6996     fail:
6997     return NULL;
6998 }
6999
7000
7001 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
7002     PyObject *resultobj;
7003     otk::Point *arg1 = (otk::Point *) 0 ;
7004     int result;
7005     PyObject * obj0  = 0 ;
7006     
7007     if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
7008     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7009     result = (int)((otk::Point const *)arg1)->x();
7010     
7011     resultobj = PyInt_FromLong((long)result);
7012     return resultobj;
7013     fail:
7014     return NULL;
7015 }
7016
7017
7018 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
7019     PyObject *resultobj;
7020     otk::Point *arg1 = (otk::Point *) 0 ;
7021     int arg2 ;
7022     PyObject * obj0  = 0 ;
7023     
7024     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
7025     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7026     (arg1)->setY(arg2);
7027     
7028     Py_INCREF(Py_None); resultobj = Py_None;
7029     return resultobj;
7030     fail:
7031     return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
7036     PyObject *resultobj;
7037     otk::Point *arg1 = (otk::Point *) 0 ;
7038     int result;
7039     PyObject * obj0  = 0 ;
7040     
7041     if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
7042     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043     result = (int)((otk::Point const *)arg1)->y();
7044     
7045     resultobj = PyInt_FromLong((long)result);
7046     return resultobj;
7047     fail:
7048     return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
7053     PyObject *resultobj;
7054     otk::Point *arg1 = (otk::Point *) 0 ;
7055     int arg2 ;
7056     int arg3 ;
7057     PyObject * obj0  = 0 ;
7058     
7059     if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
7060     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7061     (arg1)->setPoint(arg2,arg3);
7062     
7063     Py_INCREF(Py_None); resultobj = Py_None;
7064     return resultobj;
7065     fail:
7066     return NULL;
7067 }
7068
7069
7070 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
7071     PyObject *obj;
7072     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7073     SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
7074     Py_INCREF(obj);
7075     return Py_BuildValue((char *)"");
7076 }
7077 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7078     PyObject *resultobj;
7079     otk::OBProperty *result;
7080     
7081     if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7082     result = (otk::OBProperty *)new otk::OBProperty();
7083     
7084     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7085     return resultobj;
7086     fail:
7087     return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7092     PyObject *resultobj;
7093     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7094     PyObject * obj0  = 0 ;
7095     
7096     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7097     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7098     delete arg1;
7099     
7100     Py_INCREF(Py_None); resultobj = Py_None;
7101     return resultobj;
7102     fail:
7103     return NULL;
7104 }
7105
7106
7107 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7108     PyObject *resultobj;
7109     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7110     Window arg2 ;
7111     int arg3 ;
7112     int arg4 ;
7113     unsigned long arg5 ;
7114     PyObject * obj0  = 0 ;
7115     PyObject * obj1  = 0 ;
7116     PyObject * obj4  = 0 ;
7117     
7118     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7119     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120     arg2 = (Window) PyInt_AsLong(obj1);
7121     if (PyErr_Occurred()) SWIG_fail;
7122     arg5 = (unsigned long) PyInt_AsLong(obj4);
7123     if (PyErr_Occurred()) SWIG_fail;
7124     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7125     
7126     Py_INCREF(Py_None); resultobj = Py_None;
7127     return resultobj;
7128     fail:
7129     return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7134     PyObject *resultobj;
7135     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7136     Window arg2 ;
7137     int arg3 ;
7138     int arg4 ;
7139     unsigned long *arg5 ;
7140     int arg6 ;
7141     PyObject * obj0  = 0 ;
7142     PyObject * obj1  = 0 ;
7143     PyObject * obj4  = 0 ;
7144     
7145     if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7146     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7147     arg2 = (Window) PyInt_AsLong(obj1);
7148     if (PyErr_Occurred()) SWIG_fail;
7149     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7151     
7152     Py_INCREF(Py_None); resultobj = Py_None;
7153     return resultobj;
7154     fail:
7155     return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7160     PyObject *resultobj;
7161     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7162     Window arg2 ;
7163     int arg3 ;
7164     int arg4 ;
7165     std::string *arg5 = 0 ;
7166     std::string temp5 ;
7167     PyObject * obj0  = 0 ;
7168     PyObject * obj1  = 0 ;
7169     PyObject * obj4  = 0 ;
7170     
7171     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7172     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173     arg2 = (Window) PyInt_AsLong(obj1);
7174     if (PyErr_Occurred()) SWIG_fail;
7175     {
7176         if (PyString_Check(obj4)) {
7177             temp5 = std::string(PyString_AsString(obj4));
7178             arg5 = &temp5;
7179         }else {
7180             SWIG_exception(SWIG_TypeError, "string expected");
7181         }
7182     }
7183     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7184     
7185     Py_INCREF(Py_None); resultobj = Py_None;
7186     return resultobj;
7187     fail:
7188     return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7193     PyObject *resultobj;
7194     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7195     Window arg2 ;
7196     int arg3 ;
7197     int arg4 ;
7198     otk::OBProperty::StringVect *arg5 = 0 ;
7199     PyObject * obj0  = 0 ;
7200     PyObject * obj1  = 0 ;
7201     PyObject * obj4  = 0 ;
7202     
7203     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7204     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205     arg2 = (Window) PyInt_AsLong(obj1);
7206     if (PyErr_Occurred()) SWIG_fail;
7207     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7208     if (arg5 == NULL) {
7209         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7210     }
7211     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7212     
7213     Py_INCREF(Py_None); resultobj = Py_None;
7214     return resultobj;
7215     fail:
7216     return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7221     int argc;
7222     PyObject *argv[7];
7223     int ii;
7224     
7225     argc = PyObject_Length(args);
7226     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7227         argv[ii] = PyTuple_GetItem(args,ii);
7228     }
7229     if (argc == 5) {
7230         int _v;
7231         {
7232             void *ptr;
7233             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7234                 _v = 0;
7235                 PyErr_Clear();
7236             }else {
7237                 _v = 1;
7238             }
7239         }
7240         if (_v) {
7241             {
7242                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7243             }
7244             if (_v) {
7245                 {
7246                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7247                 }
7248                 if (_v) {
7249                     {
7250                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7251                     }
7252                     if (_v) {
7253                         {
7254                             void *ptr;
7255                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7256                                 _v = 0;
7257                                 PyErr_Clear();
7258                             }else {
7259                                 _v = 1;
7260                             }
7261                         }
7262                         if (_v) {
7263                             return _wrap_OBProperty_set__SWIG_3(self,args);
7264                         }
7265                     }
7266                 }
7267             }
7268         }
7269     }
7270     if (argc == 5) {
7271         int _v;
7272         {
7273             void *ptr;
7274             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7275                 _v = 0;
7276                 PyErr_Clear();
7277             }else {
7278                 _v = 1;
7279             }
7280         }
7281         if (_v) {
7282             {
7283                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7284             }
7285             if (_v) {
7286                 {
7287                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7288                 }
7289                 if (_v) {
7290                     {
7291                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7292                     }
7293                     if (_v) {
7294                         {
7295                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7296                         }
7297                         if (_v) {
7298                             return _wrap_OBProperty_set__SWIG_0(self,args);
7299                         }
7300                     }
7301                 }
7302             }
7303         }
7304     }
7305     if (argc == 5) {
7306         int _v;
7307         {
7308             void *ptr;
7309             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7310                 _v = 0;
7311                 PyErr_Clear();
7312             }else {
7313                 _v = 1;
7314             }
7315         }
7316         if (_v) {
7317             {
7318                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7319             }
7320             if (_v) {
7321                 {
7322                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7323                 }
7324                 if (_v) {
7325                     {
7326                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7327                     }
7328                     if (_v) {
7329                         {
7330                             _v = PyString_Check(argv[4]) ? 1 : 0;
7331                         }
7332                         if (_v) {
7333                             return _wrap_OBProperty_set__SWIG_2(self,args);
7334                         }
7335                     }
7336                 }
7337             }
7338         }
7339     }
7340     if (argc == 6) {
7341         int _v;
7342         {
7343             void *ptr;
7344             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7345                 _v = 0;
7346                 PyErr_Clear();
7347             }else {
7348                 _v = 1;
7349             }
7350         }
7351         if (_v) {
7352             {
7353                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7354             }
7355             if (_v) {
7356                 {
7357                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7358                 }
7359                 if (_v) {
7360                     {
7361                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7362                     }
7363                     if (_v) {
7364                         {
7365                             void *ptr;
7366                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7367                                 _v = 0;
7368                                 PyErr_Clear();
7369                             }else {
7370                                 _v = 1;
7371                             }
7372                         }
7373                         if (_v) {
7374                             {
7375                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7376                             }
7377                             if (_v) {
7378                                 return _wrap_OBProperty_set__SWIG_1(self,args);
7379                             }
7380                         }
7381                     }
7382                 }
7383             }
7384         }
7385     }
7386     
7387     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7388     return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7393     PyObject *resultobj;
7394     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7395     Window arg2 ;
7396     int arg3 ;
7397     int arg4 ;
7398     unsigned long *arg5 = (unsigned long *) 0 ;
7399     unsigned long **arg6 = (unsigned long **) 0 ;
7400     bool result;
7401     PyObject * obj0  = 0 ;
7402     PyObject * obj1  = 0 ;
7403     PyObject * obj4  = 0 ;
7404     PyObject * obj5  = 0 ;
7405     
7406     if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7407     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7408     arg2 = (Window) PyInt_AsLong(obj1);
7409     if (PyErr_Occurred()) SWIG_fail;
7410     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7411     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7413     
7414     resultobj = PyInt_FromLong((long)result);
7415     return resultobj;
7416     fail:
7417     return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7422     PyObject *resultobj;
7423     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7424     Window arg2 ;
7425     int arg3 ;
7426     int arg4 ;
7427     unsigned long *arg5 = (unsigned long *) 0 ;
7428     bool result;
7429     PyObject * obj0  = 0 ;
7430     PyObject * obj1  = 0 ;
7431     PyObject * obj4  = 0 ;
7432     
7433     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7434     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7435     arg2 = (Window) PyInt_AsLong(obj1);
7436     if (PyErr_Occurred()) SWIG_fail;
7437     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7438     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7439     
7440     resultobj = PyInt_FromLong((long)result);
7441     return resultobj;
7442     fail:
7443     return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7448     PyObject *resultobj;
7449     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7450     Window arg2 ;
7451     int arg3 ;
7452     int arg4 ;
7453     std::string *arg5 = (std::string *) 0 ;
7454     bool result;
7455     PyObject * obj0  = 0 ;
7456     PyObject * obj1  = 0 ;
7457     PyObject * obj4  = 0 ;
7458     
7459     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7460     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461     arg2 = (Window) PyInt_AsLong(obj1);
7462     if (PyErr_Occurred()) SWIG_fail;
7463     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7465     
7466     resultobj = PyInt_FromLong((long)result);
7467     return resultobj;
7468     fail:
7469     return NULL;
7470 }
7471
7472
7473 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7474     PyObject *resultobj;
7475     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7476     Window arg2 ;
7477     int arg3 ;
7478     int arg4 ;
7479     unsigned long *arg5 = (unsigned long *) 0 ;
7480     otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7481     bool result;
7482     PyObject * obj0  = 0 ;
7483     PyObject * obj1  = 0 ;
7484     PyObject * obj4  = 0 ;
7485     PyObject * obj5  = 0 ;
7486     
7487     if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7488     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7489     arg2 = (Window) PyInt_AsLong(obj1);
7490     if (PyErr_Occurred()) SWIG_fail;
7491     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7492     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7494     
7495     resultobj = PyInt_FromLong((long)result);
7496     return resultobj;
7497     fail:
7498     return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7503     int argc;
7504     PyObject *argv[7];
7505     int ii;
7506     
7507     argc = PyObject_Length(args);
7508     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7509         argv[ii] = PyTuple_GetItem(args,ii);
7510     }
7511     if (argc == 5) {
7512         int _v;
7513         {
7514             void *ptr;
7515             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7516                 _v = 0;
7517                 PyErr_Clear();
7518             }else {
7519                 _v = 1;
7520             }
7521         }
7522         if (_v) {
7523             {
7524                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7525             }
7526             if (_v) {
7527                 {
7528                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7529                 }
7530                 if (_v) {
7531                     {
7532                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7533                     }
7534                     if (_v) {
7535                         {
7536                             void *ptr;
7537                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7538                                 _v = 0;
7539                                 PyErr_Clear();
7540                             }else {
7541                                 _v = 1;
7542                             }
7543                         }
7544                         if (_v) {
7545                             return _wrap_OBProperty_get__SWIG_1(self,args);
7546                         }
7547                     }
7548                 }
7549             }
7550         }
7551     }
7552     if (argc == 5) {
7553         int _v;
7554         {
7555             void *ptr;
7556             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7557                 _v = 0;
7558                 PyErr_Clear();
7559             }else {
7560                 _v = 1;
7561             }
7562         }
7563         if (_v) {
7564             {
7565                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7566             }
7567             if (_v) {
7568                 {
7569                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7570                 }
7571                 if (_v) {
7572                     {
7573                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7574                     }
7575                     if (_v) {
7576                         {
7577                             void *ptr;
7578                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7579                                 _v = 0;
7580                                 PyErr_Clear();
7581                             }else {
7582                                 _v = 1;
7583                             }
7584                         }
7585                         if (_v) {
7586                             return _wrap_OBProperty_get__SWIG_2(self,args);
7587                         }
7588                     }
7589                 }
7590             }
7591         }
7592     }
7593     if (argc == 6) {
7594         int _v;
7595         {
7596             void *ptr;
7597             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7598                 _v = 0;
7599                 PyErr_Clear();
7600             }else {
7601                 _v = 1;
7602             }
7603         }
7604         if (_v) {
7605             {
7606                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7607             }
7608             if (_v) {
7609                 {
7610                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7611                 }
7612                 if (_v) {
7613                     {
7614                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7615                     }
7616                     if (_v) {
7617                         {
7618                             void *ptr;
7619                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7620                                 _v = 0;
7621                                 PyErr_Clear();
7622                             }else {
7623                                 _v = 1;
7624                             }
7625                         }
7626                         if (_v) {
7627                             {
7628                                 void *ptr;
7629                                 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7630                                     _v = 0;
7631                                     PyErr_Clear();
7632                                 }else {
7633                                     _v = 1;
7634                                 }
7635                             }
7636                             if (_v) {
7637                                 return _wrap_OBProperty_get__SWIG_0(self,args);
7638                             }
7639                         }
7640                     }
7641                 }
7642             }
7643         }
7644     }
7645     if (argc == 6) {
7646         int _v;
7647         {
7648             void *ptr;
7649             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7650                 _v = 0;
7651                 PyErr_Clear();
7652             }else {
7653                 _v = 1;
7654             }
7655         }
7656         if (_v) {
7657             {
7658                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7659             }
7660             if (_v) {
7661                 {
7662                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7663                 }
7664                 if (_v) {
7665                     {
7666                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7667                     }
7668                     if (_v) {
7669                         {
7670                             void *ptr;
7671                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7672                                 _v = 0;
7673                                 PyErr_Clear();
7674                             }else {
7675                                 _v = 1;
7676                             }
7677                         }
7678                         if (_v) {
7679                             {
7680                                 void *ptr;
7681                                 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7682                                     _v = 0;
7683                                     PyErr_Clear();
7684                                 }else {
7685                                     _v = 1;
7686                                 }
7687                             }
7688                             if (_v) {
7689                                 return _wrap_OBProperty_get__SWIG_3(self,args);
7690                             }
7691                         }
7692                     }
7693                 }
7694             }
7695         }
7696     }
7697     
7698     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7699     return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7704     PyObject *resultobj;
7705     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7706     Window arg2 ;
7707     int arg3 ;
7708     PyObject * obj0  = 0 ;
7709     PyObject * obj1  = 0 ;
7710     
7711     if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7712     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713     arg2 = (Window) PyInt_AsLong(obj1);
7714     if (PyErr_Occurred()) SWIG_fail;
7715     ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7716     
7717     Py_INCREF(Py_None); resultobj = Py_None;
7718     return resultobj;
7719     fail:
7720     return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7725     PyObject *resultobj;
7726     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7727     int arg2 ;
7728     Atom result;
7729     PyObject * obj0  = 0 ;
7730     
7731     if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7732     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7733     result = (Atom)((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7734     
7735     resultobj = PyInt_FromLong((long)result);
7736     return resultobj;
7737     fail:
7738     return NULL;
7739 }
7740
7741
7742 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7743     PyObject *obj;
7744     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7745     SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7746     Py_INCREF(obj);
7747     return Py_BuildValue((char *)"");
7748 }
7749 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7750     PyObject *resultobj;
7751     otk::Rect *result;
7752     
7753     if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7754     result = (otk::Rect *)new otk::Rect();
7755     
7756     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7757     return resultobj;
7758     fail:
7759     return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7764     PyObject *resultobj;
7765     int arg1 ;
7766     int arg2 ;
7767     int arg3 ;
7768     int arg4 ;
7769     otk::Rect *result;
7770     
7771     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7772     result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7773     
7774     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7775     return resultobj;
7776     fail:
7777     return NULL;
7778 }
7779
7780
7781 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7782     PyObject *resultobj;
7783     otk::Point *arg1 = 0 ;
7784     otk::Point *arg2 = 0 ;
7785     otk::Rect *result;
7786     PyObject * obj0  = 0 ;
7787     PyObject * obj1  = 0 ;
7788     
7789     if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7790     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7791     if (arg1 == NULL) {
7792         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7793     }
7794     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795     if (arg2 == NULL) {
7796         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7797     }
7798     result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7799     
7800     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7801     return resultobj;
7802     fail:
7803     return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7808     PyObject *resultobj;
7809     otk::Rect *arg1 = 0 ;
7810     otk::Rect *result;
7811     PyObject * obj0  = 0 ;
7812     
7813     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7814     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7815     if (arg1 == NULL) {
7816         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7817     }
7818     result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7819     
7820     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7821     return resultobj;
7822     fail:
7823     return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7828     PyObject *resultobj;
7829     XRectangle *arg1 = 0 ;
7830     otk::Rect *result;
7831     PyObject * obj0  = 0 ;
7832     
7833     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7834     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7835     if (arg1 == NULL) {
7836         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7837     }
7838     result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7839     
7840     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7841     return resultobj;
7842     fail:
7843     return NULL;
7844 }
7845
7846
7847 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7848     int argc;
7849     PyObject *argv[5];
7850     int ii;
7851     
7852     argc = PyObject_Length(args);
7853     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7854         argv[ii] = PyTuple_GetItem(args,ii);
7855     }
7856     if (argc == 0) {
7857         return _wrap_new_Rect__SWIG_0(self,args);
7858     }
7859     if (argc == 1) {
7860         int _v;
7861         {
7862             void *ptr;
7863             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7864                 _v = 0;
7865                 PyErr_Clear();
7866             }else {
7867                 _v = 1;
7868             }
7869         }
7870         if (_v) {
7871             return _wrap_new_Rect__SWIG_3(self,args);
7872         }
7873     }
7874     if (argc == 1) {
7875         int _v;
7876         {
7877             void *ptr;
7878             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7879                 _v = 0;
7880                 PyErr_Clear();
7881             }else {
7882                 _v = 1;
7883             }
7884         }
7885         if (_v) {
7886             return _wrap_new_Rect__SWIG_4(self,args);
7887         }
7888     }
7889     if (argc == 2) {
7890         int _v;
7891         {
7892             void *ptr;
7893             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7894                 _v = 0;
7895                 PyErr_Clear();
7896             }else {
7897                 _v = 1;
7898             }
7899         }
7900         if (_v) {
7901             {
7902                 void *ptr;
7903                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7904                     _v = 0;
7905                     PyErr_Clear();
7906                 }else {
7907                     _v = 1;
7908                 }
7909             }
7910             if (_v) {
7911                 return _wrap_new_Rect__SWIG_2(self,args);
7912             }
7913         }
7914     }
7915     if (argc == 4) {
7916         int _v;
7917         {
7918             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7919         }
7920         if (_v) {
7921             {
7922                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7923             }
7924             if (_v) {
7925                 {
7926                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7927                 }
7928                 if (_v) {
7929                     {
7930                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7931                     }
7932                     if (_v) {
7933                         return _wrap_new_Rect__SWIG_1(self,args);
7934                     }
7935                 }
7936             }
7937         }
7938     }
7939     
7940     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7941     return NULL;
7942 }
7943
7944
7945 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7946     PyObject *resultobj;
7947     otk::Rect *arg1 = (otk::Rect *) 0 ;
7948     int result;
7949     PyObject * obj0  = 0 ;
7950     
7951     if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7952     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7953     result = (int)((otk::Rect const *)arg1)->left();
7954     
7955     resultobj = PyInt_FromLong((long)result);
7956     return resultobj;
7957     fail:
7958     return NULL;
7959 }
7960
7961
7962 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7963     PyObject *resultobj;
7964     otk::Rect *arg1 = (otk::Rect *) 0 ;
7965     int result;
7966     PyObject * obj0  = 0 ;
7967     
7968     if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7969     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970     result = (int)((otk::Rect const *)arg1)->top();
7971     
7972     resultobj = PyInt_FromLong((long)result);
7973     return resultobj;
7974     fail:
7975     return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7980     PyObject *resultobj;
7981     otk::Rect *arg1 = (otk::Rect *) 0 ;
7982     int result;
7983     PyObject * obj0  = 0 ;
7984     
7985     if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7986     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987     result = (int)((otk::Rect const *)arg1)->right();
7988     
7989     resultobj = PyInt_FromLong((long)result);
7990     return resultobj;
7991     fail:
7992     return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7997     PyObject *resultobj;
7998     otk::Rect *arg1 = (otk::Rect *) 0 ;
7999     int result;
8000     PyObject * obj0  = 0 ;
8001     
8002     if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
8003     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004     result = (int)((otk::Rect const *)arg1)->bottom();
8005     
8006     resultobj = PyInt_FromLong((long)result);
8007     return resultobj;
8008     fail:
8009     return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
8014     PyObject *resultobj;
8015     otk::Rect *arg1 = (otk::Rect *) 0 ;
8016     int result;
8017     PyObject * obj0  = 0 ;
8018     
8019     if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
8020     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021     result = (int)((otk::Rect const *)arg1)->x();
8022     
8023     resultobj = PyInt_FromLong((long)result);
8024     return resultobj;
8025     fail:
8026     return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
8031     PyObject *resultobj;
8032     otk::Rect *arg1 = (otk::Rect *) 0 ;
8033     int result;
8034     PyObject * obj0  = 0 ;
8035     
8036     if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
8037     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038     result = (int)((otk::Rect const *)arg1)->y();
8039     
8040     resultobj = PyInt_FromLong((long)result);
8041     return resultobj;
8042     fail:
8043     return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
8048     PyObject *resultobj;
8049     otk::Rect *arg1 = (otk::Rect *) 0 ;
8050     otk::Point result;
8051     PyObject * obj0  = 0 ;
8052     
8053     if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
8054     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055     result = ((otk::Rect const *)arg1)->location();
8056     
8057     {
8058         otk::Point * resultptr;
8059         resultptr = new otk::Point((otk::Point &) result);
8060         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8061     }
8062     return resultobj;
8063     fail:
8064     return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8069     PyObject *resultobj;
8070     otk::Rect *arg1 = (otk::Rect *) 0 ;
8071     int arg2 ;
8072     PyObject * obj0  = 0 ;
8073     
8074     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8075     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8076     (arg1)->setX(arg2);
8077     
8078     Py_INCREF(Py_None); resultobj = Py_None;
8079     return resultobj;
8080     fail:
8081     return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8086     PyObject *resultobj;
8087     otk::Rect *arg1 = (otk::Rect *) 0 ;
8088     int arg2 ;
8089     PyObject * obj0  = 0 ;
8090     
8091     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8092     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093     (arg1)->setY(arg2);
8094     
8095     Py_INCREF(Py_None); resultobj = Py_None;
8096     return resultobj;
8097     fail:
8098     return NULL;
8099 }
8100
8101
8102 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8103     PyObject *resultobj;
8104     otk::Rect *arg1 = (otk::Rect *) 0 ;
8105     int arg2 ;
8106     int arg3 ;
8107     PyObject * obj0  = 0 ;
8108     
8109     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8110     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111     (arg1)->setPos(arg2,arg3);
8112     
8113     Py_INCREF(Py_None); resultobj = Py_None;
8114     return resultobj;
8115     fail:
8116     return NULL;
8117 }
8118
8119
8120 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8121     PyObject *resultobj;
8122     otk::Rect *arg1 = (otk::Rect *) 0 ;
8123     otk::Point *arg2 = 0 ;
8124     PyObject * obj0  = 0 ;
8125     PyObject * obj1  = 0 ;
8126     
8127     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8128     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8129     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8130     if (arg2 == NULL) {
8131         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8132     }
8133     (arg1)->setPos((otk::Point const &)*arg2);
8134     
8135     Py_INCREF(Py_None); resultobj = Py_None;
8136     return resultobj;
8137     fail:
8138     return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8143     int argc;
8144     PyObject *argv[4];
8145     int ii;
8146     
8147     argc = PyObject_Length(args);
8148     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8149         argv[ii] = PyTuple_GetItem(args,ii);
8150     }
8151     if (argc == 2) {
8152         int _v;
8153         {
8154             void *ptr;
8155             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8156                 _v = 0;
8157                 PyErr_Clear();
8158             }else {
8159                 _v = 1;
8160             }
8161         }
8162         if (_v) {
8163             {
8164                 void *ptr;
8165                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8166                     _v = 0;
8167                     PyErr_Clear();
8168                 }else {
8169                     _v = 1;
8170                 }
8171             }
8172             if (_v) {
8173                 return _wrap_Rect_setPos__SWIG_1(self,args);
8174             }
8175         }
8176     }
8177     if (argc == 3) {
8178         int _v;
8179         {
8180             void *ptr;
8181             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8182                 _v = 0;
8183                 PyErr_Clear();
8184             }else {
8185                 _v = 1;
8186             }
8187         }
8188         if (_v) {
8189             {
8190                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8191             }
8192             if (_v) {
8193                 {
8194                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8195                 }
8196                 if (_v) {
8197                     return _wrap_Rect_setPos__SWIG_0(self,args);
8198                 }
8199             }
8200         }
8201     }
8202     
8203     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8204     return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8209     PyObject *resultobj;
8210     otk::Rect *arg1 = (otk::Rect *) 0 ;
8211     int result;
8212     PyObject * obj0  = 0 ;
8213     
8214     if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8215     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216     result = (int)((otk::Rect const *)arg1)->width();
8217     
8218     resultobj = PyInt_FromLong((long)result);
8219     return resultobj;
8220     fail:
8221     return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8226     PyObject *resultobj;
8227     otk::Rect *arg1 = (otk::Rect *) 0 ;
8228     int result;
8229     PyObject * obj0  = 0 ;
8230     
8231     if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8232     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8233     result = (int)((otk::Rect const *)arg1)->height();
8234     
8235     resultobj = PyInt_FromLong((long)result);
8236     return resultobj;
8237     fail:
8238     return NULL;
8239 }
8240
8241
8242 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8243     PyObject *resultobj;
8244     otk::Rect *arg1 = (otk::Rect *) 0 ;
8245     otk::Point result;
8246     PyObject * obj0  = 0 ;
8247     
8248     if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8249     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250     result = ((otk::Rect const *)arg1)->size();
8251     
8252     {
8253         otk::Point * resultptr;
8254         resultptr = new otk::Point((otk::Point &) result);
8255         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8256     }
8257     return resultobj;
8258     fail:
8259     return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8264     PyObject *resultobj;
8265     otk::Rect *arg1 = (otk::Rect *) 0 ;
8266     int arg2 ;
8267     PyObject * obj0  = 0 ;
8268     
8269     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8270     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271     (arg1)->setWidth(arg2);
8272     
8273     Py_INCREF(Py_None); resultobj = Py_None;
8274     return resultobj;
8275     fail:
8276     return NULL;
8277 }
8278
8279
8280 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8281     PyObject *resultobj;
8282     otk::Rect *arg1 = (otk::Rect *) 0 ;
8283     int arg2 ;
8284     PyObject * obj0  = 0 ;
8285     
8286     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8288     (arg1)->setHeight(arg2);
8289     
8290     Py_INCREF(Py_None); resultobj = Py_None;
8291     return resultobj;
8292     fail:
8293     return NULL;
8294 }
8295
8296
8297 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8298     PyObject *resultobj;
8299     otk::Rect *arg1 = (otk::Rect *) 0 ;
8300     int arg2 ;
8301     int arg3 ;
8302     PyObject * obj0  = 0 ;
8303     
8304     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8305     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8306     (arg1)->setSize(arg2,arg3);
8307     
8308     Py_INCREF(Py_None); resultobj = Py_None;
8309     return resultobj;
8310     fail:
8311     return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8316     PyObject *resultobj;
8317     otk::Rect *arg1 = (otk::Rect *) 0 ;
8318     otk::Point *arg2 = 0 ;
8319     PyObject * obj0  = 0 ;
8320     PyObject * obj1  = 0 ;
8321     
8322     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8323     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8325     if (arg2 == NULL) {
8326         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8327     }
8328     (arg1)->setSize((otk::Point const &)*arg2);
8329     
8330     Py_INCREF(Py_None); resultobj = Py_None;
8331     return resultobj;
8332     fail:
8333     return NULL;
8334 }
8335
8336
8337 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8338     int argc;
8339     PyObject *argv[4];
8340     int ii;
8341     
8342     argc = PyObject_Length(args);
8343     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8344         argv[ii] = PyTuple_GetItem(args,ii);
8345     }
8346     if (argc == 2) {
8347         int _v;
8348         {
8349             void *ptr;
8350             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8351                 _v = 0;
8352                 PyErr_Clear();
8353             }else {
8354                 _v = 1;
8355             }
8356         }
8357         if (_v) {
8358             {
8359                 void *ptr;
8360                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8361                     _v = 0;
8362                     PyErr_Clear();
8363                 }else {
8364                     _v = 1;
8365                 }
8366             }
8367             if (_v) {
8368                 return _wrap_Rect_setSize__SWIG_1(self,args);
8369             }
8370         }
8371     }
8372     if (argc == 3) {
8373         int _v;
8374         {
8375             void *ptr;
8376             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8377                 _v = 0;
8378                 PyErr_Clear();
8379             }else {
8380                 _v = 1;
8381             }
8382         }
8383         if (_v) {
8384             {
8385                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8386             }
8387             if (_v) {
8388                 {
8389                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8390                 }
8391                 if (_v) {
8392                     return _wrap_Rect_setSize__SWIG_0(self,args);
8393                 }
8394             }
8395         }
8396     }
8397     
8398     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8399     return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8404     PyObject *resultobj;
8405     otk::Rect *arg1 = (otk::Rect *) 0 ;
8406     int arg2 ;
8407     int arg3 ;
8408     int arg4 ;
8409     int arg5 ;
8410     PyObject * obj0  = 0 ;
8411     
8412     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8413     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8414     (arg1)->setRect(arg2,arg3,arg4,arg5);
8415     
8416     Py_INCREF(Py_None); resultobj = Py_None;
8417     return resultobj;
8418     fail:
8419     return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8424     PyObject *resultobj;
8425     otk::Rect *arg1 = (otk::Rect *) 0 ;
8426     otk::Point *arg2 = 0 ;
8427     otk::Point *arg3 = 0 ;
8428     PyObject * obj0  = 0 ;
8429     PyObject * obj1  = 0 ;
8430     PyObject * obj2  = 0 ;
8431     
8432     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8433     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8435     if (arg2 == NULL) {
8436         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8437     }
8438     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439     if (arg3 == NULL) {
8440         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8441     }
8442     (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8443     
8444     Py_INCREF(Py_None); resultobj = Py_None;
8445     return resultobj;
8446     fail:
8447     return NULL;
8448 }
8449
8450
8451 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8452     int argc;
8453     PyObject *argv[6];
8454     int ii;
8455     
8456     argc = PyObject_Length(args);
8457     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8458         argv[ii] = PyTuple_GetItem(args,ii);
8459     }
8460     if (argc == 3) {
8461         int _v;
8462         {
8463             void *ptr;
8464             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8465                 _v = 0;
8466                 PyErr_Clear();
8467             }else {
8468                 _v = 1;
8469             }
8470         }
8471         if (_v) {
8472             {
8473                 void *ptr;
8474                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8475                     _v = 0;
8476                     PyErr_Clear();
8477                 }else {
8478                     _v = 1;
8479                 }
8480             }
8481             if (_v) {
8482                 {
8483                     void *ptr;
8484                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8485                         _v = 0;
8486                         PyErr_Clear();
8487                     }else {
8488                         _v = 1;
8489                     }
8490                 }
8491                 if (_v) {
8492                     return _wrap_Rect_setRect__SWIG_1(self,args);
8493                 }
8494             }
8495         }
8496     }
8497     if (argc == 5) {
8498         int _v;
8499         {
8500             void *ptr;
8501             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8502                 _v = 0;
8503                 PyErr_Clear();
8504             }else {
8505                 _v = 1;
8506             }
8507         }
8508         if (_v) {
8509             {
8510                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8511             }
8512             if (_v) {
8513                 {
8514                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8515                 }
8516                 if (_v) {
8517                     {
8518                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8519                     }
8520                     if (_v) {
8521                         {
8522                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8523                         }
8524                         if (_v) {
8525                             return _wrap_Rect_setRect__SWIG_0(self,args);
8526                         }
8527                     }
8528                 }
8529             }
8530         }
8531     }
8532     
8533     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8534     return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8539     PyObject *resultobj;
8540     otk::Rect *arg1 = (otk::Rect *) 0 ;
8541     int arg2 ;
8542     int arg3 ;
8543     int arg4 ;
8544     int arg5 ;
8545     PyObject * obj0  = 0 ;
8546     
8547     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8548     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549     (arg1)->setCoords(arg2,arg3,arg4,arg5);
8550     
8551     Py_INCREF(Py_None); resultobj = Py_None;
8552     return resultobj;
8553     fail:
8554     return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8559     PyObject *resultobj;
8560     otk::Rect *arg1 = (otk::Rect *) 0 ;
8561     otk::Point *arg2 = 0 ;
8562     otk::Point *arg3 = 0 ;
8563     PyObject * obj0  = 0 ;
8564     PyObject * obj1  = 0 ;
8565     PyObject * obj2  = 0 ;
8566     
8567     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8568     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570     if (arg2 == NULL) {
8571         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8572     }
8573     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8574     if (arg3 == NULL) {
8575         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8576     }
8577     (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8578     
8579     Py_INCREF(Py_None); resultobj = Py_None;
8580     return resultobj;
8581     fail:
8582     return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8587     int argc;
8588     PyObject *argv[6];
8589     int ii;
8590     
8591     argc = PyObject_Length(args);
8592     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8593         argv[ii] = PyTuple_GetItem(args,ii);
8594     }
8595     if (argc == 3) {
8596         int _v;
8597         {
8598             void *ptr;
8599             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8600                 _v = 0;
8601                 PyErr_Clear();
8602             }else {
8603                 _v = 1;
8604             }
8605         }
8606         if (_v) {
8607             {
8608                 void *ptr;
8609                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8610                     _v = 0;
8611                     PyErr_Clear();
8612                 }else {
8613                     _v = 1;
8614                 }
8615             }
8616             if (_v) {
8617                 {
8618                     void *ptr;
8619                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8620                         _v = 0;
8621                         PyErr_Clear();
8622                     }else {
8623                         _v = 1;
8624                     }
8625                 }
8626                 if (_v) {
8627                     return _wrap_Rect_setCoords__SWIG_1(self,args);
8628                 }
8629             }
8630         }
8631     }
8632     if (argc == 5) {
8633         int _v;
8634         {
8635             void *ptr;
8636             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8637                 _v = 0;
8638                 PyErr_Clear();
8639             }else {
8640                 _v = 1;
8641             }
8642         }
8643         if (_v) {
8644             {
8645                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8646             }
8647             if (_v) {
8648                 {
8649                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8650                 }
8651                 if (_v) {
8652                     {
8653                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8654                     }
8655                     if (_v) {
8656                         {
8657                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8658                         }
8659                         if (_v) {
8660                             return _wrap_Rect_setCoords__SWIG_0(self,args);
8661                         }
8662                     }
8663                 }
8664             }
8665         }
8666     }
8667     
8668     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8669     return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8674     PyObject *resultobj;
8675     otk::Rect *arg1 = (otk::Rect *) 0 ;
8676     otk::Rect *arg2 = 0 ;
8677     bool result;
8678     PyObject * obj0  = 0 ;
8679     PyObject * obj1  = 0 ;
8680     
8681     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8682     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8683     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8684     if (arg2 == NULL) {
8685         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8686     }
8687     result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8688     
8689     resultobj = PyInt_FromLong((long)result);
8690     return resultobj;
8691     fail:
8692     return NULL;
8693 }
8694
8695
8696 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8697     PyObject *resultobj;
8698     otk::Rect *arg1 = (otk::Rect *) 0 ;
8699     bool result;
8700     PyObject * obj0  = 0 ;
8701     
8702     if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8703     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704     result = (bool)((otk::Rect const *)arg1)->valid();
8705     
8706     resultobj = PyInt_FromLong((long)result);
8707     return resultobj;
8708     fail:
8709     return NULL;
8710 }
8711
8712
8713 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8714     PyObject *resultobj;
8715     otk::Rect *arg1 = (otk::Rect *) 0 ;
8716     otk::Rect *arg2 = 0 ;
8717     bool result;
8718     PyObject * obj0  = 0 ;
8719     PyObject * obj1  = 0 ;
8720     
8721     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8722     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8723     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8724     if (arg2 == NULL) {
8725         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8726     }
8727     result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8728     
8729     resultobj = PyInt_FromLong((long)result);
8730     return resultobj;
8731     fail:
8732     return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8737     PyObject *resultobj;
8738     otk::Rect *arg1 = (otk::Rect *) 0 ;
8739     int arg2 ;
8740     int arg3 ;
8741     bool result;
8742     PyObject * obj0  = 0 ;
8743     
8744     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8745     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746     result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8747     
8748     resultobj = PyInt_FromLong((long)result);
8749     return resultobj;
8750     fail:
8751     return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8756     PyObject *resultobj;
8757     otk::Rect *arg1 = (otk::Rect *) 0 ;
8758     otk::Point *arg2 = 0 ;
8759     bool result;
8760     PyObject * obj0  = 0 ;
8761     PyObject * obj1  = 0 ;
8762     
8763     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8764     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8766     if (arg2 == NULL) {
8767         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8768     }
8769     result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8770     
8771     resultobj = PyInt_FromLong((long)result);
8772     return resultobj;
8773     fail:
8774     return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8779     PyObject *resultobj;
8780     otk::Rect *arg1 = (otk::Rect *) 0 ;
8781     otk::Rect *arg2 = 0 ;
8782     bool result;
8783     PyObject * obj0  = 0 ;
8784     PyObject * obj1  = 0 ;
8785     
8786     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8787     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789     if (arg2 == NULL) {
8790         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8791     }
8792     result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8793     
8794     resultobj = PyInt_FromLong((long)result);
8795     return resultobj;
8796     fail:
8797     return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8802     int argc;
8803     PyObject *argv[4];
8804     int ii;
8805     
8806     argc = PyObject_Length(args);
8807     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8808         argv[ii] = PyTuple_GetItem(args,ii);
8809     }
8810     if (argc == 2) {
8811         int _v;
8812         {
8813             void *ptr;
8814             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8815                 _v = 0;
8816                 PyErr_Clear();
8817             }else {
8818                 _v = 1;
8819             }
8820         }
8821         if (_v) {
8822             {
8823                 void *ptr;
8824                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8825                     _v = 0;
8826                     PyErr_Clear();
8827                 }else {
8828                     _v = 1;
8829                 }
8830             }
8831             if (_v) {
8832                 return _wrap_Rect_contains__SWIG_1(self,args);
8833             }
8834         }
8835     }
8836     if (argc == 2) {
8837         int _v;
8838         {
8839             void *ptr;
8840             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8841                 _v = 0;
8842                 PyErr_Clear();
8843             }else {
8844                 _v = 1;
8845             }
8846         }
8847         if (_v) {
8848             {
8849                 void *ptr;
8850                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8851                     _v = 0;
8852                     PyErr_Clear();
8853                 }else {
8854                     _v = 1;
8855                 }
8856             }
8857             if (_v) {
8858                 return _wrap_Rect_contains__SWIG_2(self,args);
8859             }
8860         }
8861     }
8862     if (argc == 3) {
8863         int _v;
8864         {
8865             void *ptr;
8866             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8867                 _v = 0;
8868                 PyErr_Clear();
8869             }else {
8870                 _v = 1;
8871             }
8872         }
8873         if (_v) {
8874             {
8875                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8876             }
8877             if (_v) {
8878                 {
8879                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8880                 }
8881                 if (_v) {
8882                     return _wrap_Rect_contains__SWIG_0(self,args);
8883                 }
8884             }
8885         }
8886     }
8887     
8888     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8889     return NULL;
8890 }
8891
8892
8893 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8894     PyObject *obj;
8895     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8896     SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8897     Py_INCREF(obj);
8898     return Py_BuildValue((char *)"");
8899 }
8900 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8901     PyObject *resultobj;
8902     unsigned int arg1 ;
8903     otk::ScreenInfo *result;
8904     PyObject * obj0  = 0 ;
8905     
8906     if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8907     arg1 = (unsigned int) PyInt_AsLong(obj0);
8908     if (PyErr_Occurred()) SWIG_fail;
8909     result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8910     
8911     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8912     return resultobj;
8913     fail:
8914     return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8919     PyObject *resultobj;
8920     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8921     Visual *result;
8922     PyObject * obj0  = 0 ;
8923     
8924     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8925     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926     result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8927     
8928     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8929     return resultobj;
8930     fail:
8931     return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8936     PyObject *resultobj;
8937     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8938     Window result;
8939     PyObject * obj0  = 0 ;
8940     
8941     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8942     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943     result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
8944     
8945     resultobj = PyInt_FromLong((long)result);
8946     return resultobj;
8947     fail:
8948     return NULL;
8949 }
8950
8951
8952 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8953     PyObject *resultobj;
8954     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8955     Colormap result;
8956     PyObject * obj0  = 0 ;
8957     
8958     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8959     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8960     result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
8961     
8962     resultobj = PyInt_FromLong((long)result);
8963     return resultobj;
8964     fail:
8965     return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8970     PyObject *resultobj;
8971     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8972     int result;
8973     PyObject * obj0  = 0 ;
8974     
8975     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8976     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977     result = (int)((otk::ScreenInfo const *)arg1)->depth();
8978     
8979     resultobj = PyInt_FromLong((long)result);
8980     return resultobj;
8981     fail:
8982     return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8987     PyObject *resultobj;
8988     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8989     unsigned int result;
8990     PyObject * obj0  = 0 ;
8991     
8992     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8993     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994     result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8995     
8996     resultobj = PyInt_FromLong((long)result);
8997     return resultobj;
8998     fail:
8999     return NULL;
9000 }
9001
9002
9003 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
9004     PyObject *resultobj;
9005     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9006     otk::Rect *result;
9007     PyObject * obj0  = 0 ;
9008     
9009     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
9010     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9011     {
9012         otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
9013         result = (otk::Rect *) &_result_ref;
9014     }
9015     
9016     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9017     return resultobj;
9018     fail:
9019     return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
9024     PyObject *resultobj;
9025     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9026     unsigned int result;
9027     PyObject * obj0  = 0 ;
9028     
9029     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
9030     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9031     result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
9032     
9033     resultobj = PyInt_FromLong((long)result);
9034     return resultobj;
9035     fail:
9036     return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
9041     PyObject *resultobj;
9042     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9043     unsigned int result;
9044     PyObject * obj0  = 0 ;
9045     
9046     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
9047     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048     result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
9049     
9050     resultobj = PyInt_FromLong((long)result);
9051     return resultobj;
9052     fail:
9053     return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9058     PyObject *resultobj;
9059     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9060     std::string *result;
9061     PyObject * obj0  = 0 ;
9062     
9063     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9064     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065     {
9066         std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9067         result = (std::string *) &_result_ref;
9068     }
9069     
9070     {
9071         resultobj = PyString_FromString(result->c_str());
9072     }
9073     return resultobj;
9074     fail:
9075     return NULL;
9076 }
9077
9078
9079 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9080     PyObject *obj;
9081     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9082     SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9083     Py_INCREF(obj);
9084     return Py_BuildValue((char *)"");
9085 }
9086 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9087     PyObject *resultobj;
9088     otk::Strut *arg1 = (otk::Strut *) 0 ;
9089     unsigned int arg2 ;
9090     PyObject * obj0  = 0 ;
9091     PyObject * obj1  = 0 ;
9092     
9093     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9094     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9095     arg2 = (unsigned int) PyInt_AsLong(obj1);
9096     if (PyErr_Occurred()) SWIG_fail;
9097     if (arg1) (arg1)->top = arg2;
9098     
9099     Py_INCREF(Py_None); resultobj = Py_None;
9100     return resultobj;
9101     fail:
9102     return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9107     PyObject *resultobj;
9108     otk::Strut *arg1 = (otk::Strut *) 0 ;
9109     unsigned int result;
9110     PyObject * obj0  = 0 ;
9111     
9112     if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9113     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9114     result = (unsigned int) ((arg1)->top);
9115     
9116     resultobj = PyInt_FromLong((long)result);
9117     return resultobj;
9118     fail:
9119     return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9124     PyObject *resultobj;
9125     otk::Strut *arg1 = (otk::Strut *) 0 ;
9126     unsigned int arg2 ;
9127     PyObject * obj0  = 0 ;
9128     PyObject * obj1  = 0 ;
9129     
9130     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9131     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9132     arg2 = (unsigned int) PyInt_AsLong(obj1);
9133     if (PyErr_Occurred()) SWIG_fail;
9134     if (arg1) (arg1)->bottom = arg2;
9135     
9136     Py_INCREF(Py_None); resultobj = Py_None;
9137     return resultobj;
9138     fail:
9139     return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9144     PyObject *resultobj;
9145     otk::Strut *arg1 = (otk::Strut *) 0 ;
9146     unsigned int result;
9147     PyObject * obj0  = 0 ;
9148     
9149     if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9150     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9151     result = (unsigned int) ((arg1)->bottom);
9152     
9153     resultobj = PyInt_FromLong((long)result);
9154     return resultobj;
9155     fail:
9156     return NULL;
9157 }
9158
9159
9160 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9161     PyObject *resultobj;
9162     otk::Strut *arg1 = (otk::Strut *) 0 ;
9163     unsigned int arg2 ;
9164     PyObject * obj0  = 0 ;
9165     PyObject * obj1  = 0 ;
9166     
9167     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9168     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9169     arg2 = (unsigned int) PyInt_AsLong(obj1);
9170     if (PyErr_Occurred()) SWIG_fail;
9171     if (arg1) (arg1)->left = arg2;
9172     
9173     Py_INCREF(Py_None); resultobj = Py_None;
9174     return resultobj;
9175     fail:
9176     return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9181     PyObject *resultobj;
9182     otk::Strut *arg1 = (otk::Strut *) 0 ;
9183     unsigned int result;
9184     PyObject * obj0  = 0 ;
9185     
9186     if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9187     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188     result = (unsigned int) ((arg1)->left);
9189     
9190     resultobj = PyInt_FromLong((long)result);
9191     return resultobj;
9192     fail:
9193     return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9198     PyObject *resultobj;
9199     otk::Strut *arg1 = (otk::Strut *) 0 ;
9200     unsigned int arg2 ;
9201     PyObject * obj0  = 0 ;
9202     PyObject * obj1  = 0 ;
9203     
9204     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9205     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9206     arg2 = (unsigned int) PyInt_AsLong(obj1);
9207     if (PyErr_Occurred()) SWIG_fail;
9208     if (arg1) (arg1)->right = arg2;
9209     
9210     Py_INCREF(Py_None); resultobj = Py_None;
9211     return resultobj;
9212     fail:
9213     return NULL;
9214 }
9215
9216
9217 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9218     PyObject *resultobj;
9219     otk::Strut *arg1 = (otk::Strut *) 0 ;
9220     unsigned int result;
9221     PyObject * obj0  = 0 ;
9222     
9223     if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9224     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9225     result = (unsigned int) ((arg1)->right);
9226     
9227     resultobj = PyInt_FromLong((long)result);
9228     return resultobj;
9229     fail:
9230     return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9235     PyObject *resultobj;
9236     otk::Strut *result;
9237     
9238     if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9239     result = (otk::Strut *)new otk::Strut();
9240     
9241     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9242     return resultobj;
9243     fail:
9244     return NULL;
9245 }
9246
9247
9248 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9249     PyObject *resultobj;
9250     int arg1 ;
9251     int arg2 ;
9252     int arg3 ;
9253     int arg4 ;
9254     otk::Strut *result;
9255     
9256     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9257     result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9258     
9259     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9260     return resultobj;
9261     fail:
9262     return NULL;
9263 }
9264
9265
9266 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9267     int argc;
9268     PyObject *argv[5];
9269     int ii;
9270     
9271     argc = PyObject_Length(args);
9272     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9273         argv[ii] = PyTuple_GetItem(args,ii);
9274     }
9275     if (argc == 0) {
9276         return _wrap_new_Strut__SWIG_0(self,args);
9277     }
9278     if (argc == 4) {
9279         int _v;
9280         {
9281             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9282         }
9283         if (_v) {
9284             {
9285                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9286             }
9287             if (_v) {
9288                 {
9289                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9290                 }
9291                 if (_v) {
9292                     {
9293                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9294                     }
9295                     if (_v) {
9296                         return _wrap_new_Strut__SWIG_1(self,args);
9297                     }
9298                 }
9299             }
9300         }
9301     }
9302     
9303     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9304     return NULL;
9305 }
9306
9307
9308 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9309     PyObject *obj;
9310     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9311     SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9312     Py_INCREF(obj);
9313     return Py_BuildValue((char *)"");
9314 }
9315 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9316     PyObject *resultobj;
9317     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9318     Pixmap arg2 ;
9319     PyObject * obj0  = 0 ;
9320     PyObject * obj1  = 0 ;
9321     
9322     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9323     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9324     arg2 = (Pixmap) PyInt_AsLong(obj1);
9325     if (PyErr_Occurred()) SWIG_fail;
9326     if (arg1) (arg1)->mask = arg2;
9327     
9328     Py_INCREF(Py_None); resultobj = Py_None;
9329     return resultobj;
9330     fail:
9331     return NULL;
9332 }
9333
9334
9335 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9336     PyObject *resultobj;
9337     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9338     Pixmap result;
9339     PyObject * obj0  = 0 ;
9340     
9341     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9342     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343     result = (Pixmap) ((arg1)->mask);
9344     
9345     resultobj = PyInt_FromLong((long)result);
9346     return resultobj;
9347     fail:
9348     return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9353     PyObject *resultobj;
9354     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9355     unsigned int arg2 ;
9356     PyObject * obj0  = 0 ;
9357     PyObject * obj1  = 0 ;
9358     
9359     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9360     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9361     arg2 = (unsigned int) PyInt_AsLong(obj1);
9362     if (PyErr_Occurred()) SWIG_fail;
9363     if (arg1) (arg1)->w = arg2;
9364     
9365     Py_INCREF(Py_None); resultobj = Py_None;
9366     return resultobj;
9367     fail:
9368     return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9373     PyObject *resultobj;
9374     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9375     unsigned int result;
9376     PyObject * obj0  = 0 ;
9377     
9378     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9379     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9380     result = (unsigned int) ((arg1)->w);
9381     
9382     resultobj = PyInt_FromLong((long)result);
9383     return resultobj;
9384     fail:
9385     return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9390     PyObject *resultobj;
9391     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9392     unsigned int arg2 ;
9393     PyObject * obj0  = 0 ;
9394     PyObject * obj1  = 0 ;
9395     
9396     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9397     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9398     arg2 = (unsigned int) PyInt_AsLong(obj1);
9399     if (PyErr_Occurred()) SWIG_fail;
9400     if (arg1) (arg1)->h = arg2;
9401     
9402     Py_INCREF(Py_None); resultobj = Py_None;
9403     return resultobj;
9404     fail:
9405     return NULL;
9406 }
9407
9408
9409 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9410     PyObject *resultobj;
9411     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9412     unsigned int result;
9413     PyObject * obj0  = 0 ;
9414     
9415     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9416     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417     result = (unsigned int) ((arg1)->h);
9418     
9419     resultobj = PyInt_FromLong((long)result);
9420     return resultobj;
9421     fail:
9422     return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9427     PyObject *resultobj;
9428     otk::PixmapMask *result;
9429     
9430     if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9431     result = (otk::PixmapMask *)new otk::PixmapMask();
9432     
9433     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9434     return resultobj;
9435     fail:
9436     return NULL;
9437 }
9438
9439
9440 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9441     PyObject *obj;
9442     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9443     SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9444     Py_INCREF(obj);
9445     return Py_BuildValue((char *)"");
9446 }
9447 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9448     PyObject *resultobj;
9449     otk::Style *arg1 = (otk::Style *) 0 ;
9450     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9451     PyObject * obj0  = 0 ;
9452     PyObject * obj1  = 0 ;
9453     
9454     if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9455     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9457     if (arg1) (arg1)->image_control = 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_Style_image_control_get(PyObject *self, PyObject *args) {
9467     PyObject *resultobj;
9468     otk::Style *arg1 = (otk::Style *) 0 ;
9469     otk::BImageControl *result;
9470     PyObject * obj0  = 0 ;
9471     
9472     if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9473     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474     result = (otk::BImageControl *) ((arg1)->image_control);
9475     
9476     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9477     return resultobj;
9478     fail:
9479     return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9484     PyObject *resultobj;
9485     otk::Style *arg1 = (otk::Style *) 0 ;
9486     otk::BColor *arg2 = (otk::BColor *) 0 ;
9487     PyObject * obj0  = 0 ;
9488     PyObject * obj1  = 0 ;
9489     
9490     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9491     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9493     if (arg1) (arg1)->l_text_focus = *arg2;
9494     
9495     Py_INCREF(Py_None); resultobj = Py_None;
9496     return resultobj;
9497     fail:
9498     return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9503     PyObject *resultobj;
9504     otk::Style *arg1 = (otk::Style *) 0 ;
9505     otk::BColor *result;
9506     PyObject * obj0  = 0 ;
9507     
9508     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9509     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510     result = (otk::BColor *)& ((arg1)->l_text_focus);
9511     
9512     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9513     return resultobj;
9514     fail:
9515     return NULL;
9516 }
9517
9518
9519 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9520     PyObject *resultobj;
9521     otk::Style *arg1 = (otk::Style *) 0 ;
9522     otk::BColor *arg2 = (otk::BColor *) 0 ;
9523     PyObject * obj0  = 0 ;
9524     PyObject * obj1  = 0 ;
9525     
9526     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9527     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9528     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529     if (arg1) (arg1)->l_text_unfocus = *arg2;
9530     
9531     Py_INCREF(Py_None); resultobj = Py_None;
9532     return resultobj;
9533     fail:
9534     return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9539     PyObject *resultobj;
9540     otk::Style *arg1 = (otk::Style *) 0 ;
9541     otk::BColor *result;
9542     PyObject * obj0  = 0 ;
9543     
9544     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9545     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546     result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9547     
9548     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9549     return resultobj;
9550     fail:
9551     return NULL;
9552 }
9553
9554
9555 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9556     PyObject *resultobj;
9557     otk::Style *arg1 = (otk::Style *) 0 ;
9558     otk::BColor *arg2 = (otk::BColor *) 0 ;
9559     PyObject * obj0  = 0 ;
9560     PyObject * obj1  = 0 ;
9561     
9562     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9563     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565     if (arg1) (arg1)->b_pic_focus = *arg2;
9566     
9567     Py_INCREF(Py_None); resultobj = Py_None;
9568     return resultobj;
9569     fail:
9570     return NULL;
9571 }
9572
9573
9574 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9575     PyObject *resultobj;
9576     otk::Style *arg1 = (otk::Style *) 0 ;
9577     otk::BColor *result;
9578     PyObject * obj0  = 0 ;
9579     
9580     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9581     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9582     result = (otk::BColor *)& ((arg1)->b_pic_focus);
9583     
9584     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9585     return resultobj;
9586     fail:
9587     return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9592     PyObject *resultobj;
9593     otk::Style *arg1 = (otk::Style *) 0 ;
9594     otk::BColor *arg2 = (otk::BColor *) 0 ;
9595     PyObject * obj0  = 0 ;
9596     PyObject * obj1  = 0 ;
9597     
9598     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9599     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601     if (arg1) (arg1)->b_pic_unfocus = *arg2;
9602     
9603     Py_INCREF(Py_None); resultobj = Py_None;
9604     return resultobj;
9605     fail:
9606     return NULL;
9607 }
9608
9609
9610 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9611     PyObject *resultobj;
9612     otk::Style *arg1 = (otk::Style *) 0 ;
9613     otk::BColor *result;
9614     PyObject * obj0  = 0 ;
9615     
9616     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9617     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618     result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9619     
9620     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9621     return resultobj;
9622     fail:
9623     return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9628     PyObject *resultobj;
9629     otk::Style *arg1 = (otk::Style *) 0 ;
9630     otk::BColor *arg2 = (otk::BColor *) 0 ;
9631     PyObject * obj0  = 0 ;
9632     PyObject * obj1  = 0 ;
9633     
9634     if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9635     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637     if (arg1) (arg1)->border_color = *arg2;
9638     
9639     Py_INCREF(Py_None); resultobj = Py_None;
9640     return resultobj;
9641     fail:
9642     return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9647     PyObject *resultobj;
9648     otk::Style *arg1 = (otk::Style *) 0 ;
9649     otk::BColor *result;
9650     PyObject * obj0  = 0 ;
9651     
9652     if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9653     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654     result = (otk::BColor *)& ((arg1)->border_color);
9655     
9656     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9657     return resultobj;
9658     fail:
9659     return NULL;
9660 }
9661
9662
9663 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9664     PyObject *resultobj;
9665     otk::Style *arg1 = (otk::Style *) 0 ;
9666     otk::BFont *arg2 = (otk::BFont *) 0 ;
9667     PyObject * obj0  = 0 ;
9668     PyObject * obj1  = 0 ;
9669     
9670     if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9671     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9673     if (arg1) (arg1)->font = arg2;
9674     
9675     Py_INCREF(Py_None); resultobj = Py_None;
9676     return resultobj;
9677     fail:
9678     return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9683     PyObject *resultobj;
9684     otk::Style *arg1 = (otk::Style *) 0 ;
9685     otk::BFont *result;
9686     PyObject * obj0  = 0 ;
9687     
9688     if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9689     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9690     result = (otk::BFont *) ((arg1)->font);
9691     
9692     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9693     return resultobj;
9694     fail:
9695     return NULL;
9696 }
9697
9698
9699 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9700     PyObject *resultobj;
9701     otk::Style *arg1 = (otk::Style *) 0 ;
9702     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9703     PyObject * obj0  = 0 ;
9704     PyObject * obj1  = 0 ;
9705     
9706     if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9707     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709     if (arg1) (arg1)->f_focus = *arg2;
9710     
9711     Py_INCREF(Py_None); resultobj = Py_None;
9712     return resultobj;
9713     fail:
9714     return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9719     PyObject *resultobj;
9720     otk::Style *arg1 = (otk::Style *) 0 ;
9721     otk::BTexture *result;
9722     PyObject * obj0  = 0 ;
9723     
9724     if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9725     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9726     result = (otk::BTexture *)& ((arg1)->f_focus);
9727     
9728     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9729     return resultobj;
9730     fail:
9731     return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9736     PyObject *resultobj;
9737     otk::Style *arg1 = (otk::Style *) 0 ;
9738     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9739     PyObject * obj0  = 0 ;
9740     PyObject * obj1  = 0 ;
9741     
9742     if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9743     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9745     if (arg1) (arg1)->f_unfocus = *arg2;
9746     
9747     Py_INCREF(Py_None); resultobj = Py_None;
9748     return resultobj;
9749     fail:
9750     return NULL;
9751 }
9752
9753
9754 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9755     PyObject *resultobj;
9756     otk::Style *arg1 = (otk::Style *) 0 ;
9757     otk::BTexture *result;
9758     PyObject * obj0  = 0 ;
9759     
9760     if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9761     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9762     result = (otk::BTexture *)& ((arg1)->f_unfocus);
9763     
9764     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9765     return resultobj;
9766     fail:
9767     return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9772     PyObject *resultobj;
9773     otk::Style *arg1 = (otk::Style *) 0 ;
9774     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9775     PyObject * obj0  = 0 ;
9776     PyObject * obj1  = 0 ;
9777     
9778     if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9779     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9780     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9781     if (arg1) (arg1)->t_focus = *arg2;
9782     
9783     Py_INCREF(Py_None); resultobj = Py_None;
9784     return resultobj;
9785     fail:
9786     return NULL;
9787 }
9788
9789
9790 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9791     PyObject *resultobj;
9792     otk::Style *arg1 = (otk::Style *) 0 ;
9793     otk::BTexture *result;
9794     PyObject * obj0  = 0 ;
9795     
9796     if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9797     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9798     result = (otk::BTexture *)& ((arg1)->t_focus);
9799     
9800     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9801     return resultobj;
9802     fail:
9803     return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9808     PyObject *resultobj;
9809     otk::Style *arg1 = (otk::Style *) 0 ;
9810     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9811     PyObject * obj0  = 0 ;
9812     PyObject * obj1  = 0 ;
9813     
9814     if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9815     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9816     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9817     if (arg1) (arg1)->t_unfocus = *arg2;
9818     
9819     Py_INCREF(Py_None); resultobj = Py_None;
9820     return resultobj;
9821     fail:
9822     return NULL;
9823 }
9824
9825
9826 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9827     PyObject *resultobj;
9828     otk::Style *arg1 = (otk::Style *) 0 ;
9829     otk::BTexture *result;
9830     PyObject * obj0  = 0 ;
9831     
9832     if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9833     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834     result = (otk::BTexture *)& ((arg1)->t_unfocus);
9835     
9836     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9837     return resultobj;
9838     fail:
9839     return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9844     PyObject *resultobj;
9845     otk::Style *arg1 = (otk::Style *) 0 ;
9846     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9847     PyObject * obj0  = 0 ;
9848     PyObject * obj1  = 0 ;
9849     
9850     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9851     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9852     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853     if (arg1) (arg1)->l_focus = *arg2;
9854     
9855     Py_INCREF(Py_None); resultobj = Py_None;
9856     return resultobj;
9857     fail:
9858     return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9863     PyObject *resultobj;
9864     otk::Style *arg1 = (otk::Style *) 0 ;
9865     otk::BTexture *result;
9866     PyObject * obj0  = 0 ;
9867     
9868     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9869     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9870     result = (otk::BTexture *)& ((arg1)->l_focus);
9871     
9872     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9873     return resultobj;
9874     fail:
9875     return NULL;
9876 }
9877
9878
9879 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9880     PyObject *resultobj;
9881     otk::Style *arg1 = (otk::Style *) 0 ;
9882     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9883     PyObject * obj0  = 0 ;
9884     PyObject * obj1  = 0 ;
9885     
9886     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9887     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889     if (arg1) (arg1)->l_unfocus = *arg2;
9890     
9891     Py_INCREF(Py_None); resultobj = Py_None;
9892     return resultobj;
9893     fail:
9894     return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9899     PyObject *resultobj;
9900     otk::Style *arg1 = (otk::Style *) 0 ;
9901     otk::BTexture *result;
9902     PyObject * obj0  = 0 ;
9903     
9904     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9905     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9906     result = (otk::BTexture *)& ((arg1)->l_unfocus);
9907     
9908     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9909     return resultobj;
9910     fail:
9911     return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9916     PyObject *resultobj;
9917     otk::Style *arg1 = (otk::Style *) 0 ;
9918     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9919     PyObject * obj0  = 0 ;
9920     PyObject * obj1  = 0 ;
9921     
9922     if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9923     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925     if (arg1) (arg1)->h_focus = *arg2;
9926     
9927     Py_INCREF(Py_None); resultobj = Py_None;
9928     return resultobj;
9929     fail:
9930     return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9935     PyObject *resultobj;
9936     otk::Style *arg1 = (otk::Style *) 0 ;
9937     otk::BTexture *result;
9938     PyObject * obj0  = 0 ;
9939     
9940     if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9941     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9942     result = (otk::BTexture *)& ((arg1)->h_focus);
9943     
9944     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9945     return resultobj;
9946     fail:
9947     return NULL;
9948 }
9949
9950
9951 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9952     PyObject *resultobj;
9953     otk::Style *arg1 = (otk::Style *) 0 ;
9954     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9955     PyObject * obj0  = 0 ;
9956     PyObject * obj1  = 0 ;
9957     
9958     if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9959     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9960     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9961     if (arg1) (arg1)->h_unfocus = *arg2;
9962     
9963     Py_INCREF(Py_None); resultobj = Py_None;
9964     return resultobj;
9965     fail:
9966     return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9971     PyObject *resultobj;
9972     otk::Style *arg1 = (otk::Style *) 0 ;
9973     otk::BTexture *result;
9974     PyObject * obj0  = 0 ;
9975     
9976     if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9977     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978     result = (otk::BTexture *)& ((arg1)->h_unfocus);
9979     
9980     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9981     return resultobj;
9982     fail:
9983     return NULL;
9984 }
9985
9986
9987 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9988     PyObject *resultobj;
9989     otk::Style *arg1 = (otk::Style *) 0 ;
9990     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9991     PyObject * obj0  = 0 ;
9992     PyObject * obj1  = 0 ;
9993     
9994     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9995     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9996     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9997     if (arg1) (arg1)->b_focus = *arg2;
9998     
9999     Py_INCREF(Py_None); resultobj = Py_None;
10000     return resultobj;
10001     fail:
10002     return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10007     PyObject *resultobj;
10008     otk::Style *arg1 = (otk::Style *) 0 ;
10009     otk::BTexture *result;
10010     PyObject * obj0  = 0 ;
10011     
10012     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10013     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014     result = (otk::BTexture *)& ((arg1)->b_focus);
10015     
10016     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10017     return resultobj;
10018     fail:
10019     return NULL;
10020 }
10021
10022
10023 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10024     PyObject *resultobj;
10025     otk::Style *arg1 = (otk::Style *) 0 ;
10026     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10027     PyObject * obj0  = 0 ;
10028     PyObject * obj1  = 0 ;
10029     
10030     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10031     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10032     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033     if (arg1) (arg1)->b_unfocus = *arg2;
10034     
10035     Py_INCREF(Py_None); resultobj = Py_None;
10036     return resultobj;
10037     fail:
10038     return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10043     PyObject *resultobj;
10044     otk::Style *arg1 = (otk::Style *) 0 ;
10045     otk::BTexture *result;
10046     PyObject * obj0  = 0 ;
10047     
10048     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10049     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10050     result = (otk::BTexture *)& ((arg1)->b_unfocus);
10051     
10052     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10053     return resultobj;
10054     fail:
10055     return NULL;
10056 }
10057
10058
10059 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10060     PyObject *resultobj;
10061     otk::Style *arg1 = (otk::Style *) 0 ;
10062     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10063     PyObject * obj0  = 0 ;
10064     PyObject * obj1  = 0 ;
10065     
10066     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10067     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10068     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069     if (arg1) (arg1)->b_pressed_focus = *arg2;
10070     
10071     Py_INCREF(Py_None); resultobj = Py_None;
10072     return resultobj;
10073     fail:
10074     return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10079     PyObject *resultobj;
10080     otk::Style *arg1 = (otk::Style *) 0 ;
10081     otk::BTexture *result;
10082     PyObject * obj0  = 0 ;
10083     
10084     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10085     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10086     result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10087     
10088     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10089     return resultobj;
10090     fail:
10091     return NULL;
10092 }
10093
10094
10095 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10096     PyObject *resultobj;
10097     otk::Style *arg1 = (otk::Style *) 0 ;
10098     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10099     PyObject * obj0  = 0 ;
10100     PyObject * obj1  = 0 ;
10101     
10102     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10103     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10104     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10105     if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10106     
10107     Py_INCREF(Py_None); resultobj = Py_None;
10108     return resultobj;
10109     fail:
10110     return NULL;
10111 }
10112
10113
10114 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10115     PyObject *resultobj;
10116     otk::Style *arg1 = (otk::Style *) 0 ;
10117     otk::BTexture *result;
10118     PyObject * obj0  = 0 ;
10119     
10120     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10121     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122     result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10123     
10124     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10125     return resultobj;
10126     fail:
10127     return NULL;
10128 }
10129
10130
10131 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10132     PyObject *resultobj;
10133     otk::Style *arg1 = (otk::Style *) 0 ;
10134     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10135     PyObject * obj0  = 0 ;
10136     PyObject * obj1  = 0 ;
10137     
10138     if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10139     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10140     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10141     if (arg1) (arg1)->g_focus = *arg2;
10142     
10143     Py_INCREF(Py_None); resultobj = Py_None;
10144     return resultobj;
10145     fail:
10146     return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10151     PyObject *resultobj;
10152     otk::Style *arg1 = (otk::Style *) 0 ;
10153     otk::BTexture *result;
10154     PyObject * obj0  = 0 ;
10155     
10156     if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10157     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158     result = (otk::BTexture *)& ((arg1)->g_focus);
10159     
10160     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10161     return resultobj;
10162     fail:
10163     return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10168     PyObject *resultobj;
10169     otk::Style *arg1 = (otk::Style *) 0 ;
10170     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10171     PyObject * obj0  = 0 ;
10172     PyObject * obj1  = 0 ;
10173     
10174     if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10175     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10176     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10177     if (arg1) (arg1)->g_unfocus = *arg2;
10178     
10179     Py_INCREF(Py_None); resultobj = Py_None;
10180     return resultobj;
10181     fail:
10182     return NULL;
10183 }
10184
10185
10186 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10187     PyObject *resultobj;
10188     otk::Style *arg1 = (otk::Style *) 0 ;
10189     otk::BTexture *result;
10190     PyObject * obj0  = 0 ;
10191     
10192     if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10193     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10194     result = (otk::BTexture *)& ((arg1)->g_unfocus);
10195     
10196     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10197     return resultobj;
10198     fail:
10199     return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10204     PyObject *resultobj;
10205     otk::Style *arg1 = (otk::Style *) 0 ;
10206     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10207     PyObject * obj0  = 0 ;
10208     PyObject * obj1  = 0 ;
10209     
10210     if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10211     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10212     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10213     if (arg1) (arg1)->close_button = *arg2;
10214     
10215     Py_INCREF(Py_None); resultobj = Py_None;
10216     return resultobj;
10217     fail:
10218     return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10223     PyObject *resultobj;
10224     otk::Style *arg1 = (otk::Style *) 0 ;
10225     otk::PixmapMask *result;
10226     PyObject * obj0  = 0 ;
10227     
10228     if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10229     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10230     result = (otk::PixmapMask *)& ((arg1)->close_button);
10231     
10232     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10233     return resultobj;
10234     fail:
10235     return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10240     PyObject *resultobj;
10241     otk::Style *arg1 = (otk::Style *) 0 ;
10242     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10243     PyObject * obj0  = 0 ;
10244     PyObject * obj1  = 0 ;
10245     
10246     if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10247     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10248     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10249     if (arg1) (arg1)->max_button = *arg2;
10250     
10251     Py_INCREF(Py_None); resultobj = Py_None;
10252     return resultobj;
10253     fail:
10254     return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10259     PyObject *resultobj;
10260     otk::Style *arg1 = (otk::Style *) 0 ;
10261     otk::PixmapMask *result;
10262     PyObject * obj0  = 0 ;
10263     
10264     if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10265     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10266     result = (otk::PixmapMask *)& ((arg1)->max_button);
10267     
10268     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10269     return resultobj;
10270     fail:
10271     return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10276     PyObject *resultobj;
10277     otk::Style *arg1 = (otk::Style *) 0 ;
10278     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10279     PyObject * obj0  = 0 ;
10280     PyObject * obj1  = 0 ;
10281     
10282     if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10283     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10284     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10285     if (arg1) (arg1)->icon_button = *arg2;
10286     
10287     Py_INCREF(Py_None); resultobj = Py_None;
10288     return resultobj;
10289     fail:
10290     return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10295     PyObject *resultobj;
10296     otk::Style *arg1 = (otk::Style *) 0 ;
10297     otk::PixmapMask *result;
10298     PyObject * obj0  = 0 ;
10299     
10300     if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10301     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10302     result = (otk::PixmapMask *)& ((arg1)->icon_button);
10303     
10304     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10305     return resultobj;
10306     fail:
10307     return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10312     PyObject *resultobj;
10313     otk::Style *arg1 = (otk::Style *) 0 ;
10314     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10315     PyObject * obj0  = 0 ;
10316     PyObject * obj1  = 0 ;
10317     
10318     if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10319     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10320     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10321     if (arg1) (arg1)->stick_button = *arg2;
10322     
10323     Py_INCREF(Py_None); resultobj = Py_None;
10324     return resultobj;
10325     fail:
10326     return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10331     PyObject *resultobj;
10332     otk::Style *arg1 = (otk::Style *) 0 ;
10333     otk::PixmapMask *result;
10334     PyObject * obj0  = 0 ;
10335     
10336     if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10337     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10338     result = (otk::PixmapMask *)& ((arg1)->stick_button);
10339     
10340     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10341     return resultobj;
10342     fail:
10343     return NULL;
10344 }
10345
10346
10347 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10348     PyObject *resultobj;
10349     otk::Style *arg1 = (otk::Style *) 0 ;
10350     int arg2 ;
10351     PyObject * obj0  = 0 ;
10352     
10353     if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10354     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10355     if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10356     
10357     Py_INCREF(Py_None); resultobj = Py_None;
10358     return resultobj;
10359     fail:
10360     return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10365     PyObject *resultobj;
10366     otk::Style *arg1 = (otk::Style *) 0 ;
10367     int result;
10368     PyObject * obj0  = 0 ;
10369     
10370     if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10371     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10372     result = (int) ((arg1)->justify);
10373     
10374     resultobj = PyInt_FromLong((long)result);
10375     return resultobj;
10376     fail:
10377     return NULL;
10378 }
10379
10380
10381 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10382     PyObject *resultobj;
10383     otk::Style *arg1 = (otk::Style *) 0 ;
10384     int arg2 ;
10385     PyObject * obj0  = 0 ;
10386     
10387     if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10388     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10389     if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10390     
10391     Py_INCREF(Py_None); resultobj = Py_None;
10392     return resultobj;
10393     fail:
10394     return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10399     PyObject *resultobj;
10400     otk::Style *arg1 = (otk::Style *) 0 ;
10401     int result;
10402     PyObject * obj0  = 0 ;
10403     
10404     if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10405     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406     result = (int) ((arg1)->bullet_type);
10407     
10408     resultobj = PyInt_FromLong((long)result);
10409     return resultobj;
10410     fail:
10411     return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10416     PyObject *resultobj;
10417     otk::Style *arg1 = (otk::Style *) 0 ;
10418     unsigned int arg2 ;
10419     PyObject * obj0  = 0 ;
10420     PyObject * obj1  = 0 ;
10421     
10422     if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10423     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10424     arg2 = (unsigned int) PyInt_AsLong(obj1);
10425     if (PyErr_Occurred()) SWIG_fail;
10426     if (arg1) (arg1)->handle_width = arg2;
10427     
10428     Py_INCREF(Py_None); resultobj = Py_None;
10429     return resultobj;
10430     fail:
10431     return NULL;
10432 }
10433
10434
10435 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10436     PyObject *resultobj;
10437     otk::Style *arg1 = (otk::Style *) 0 ;
10438     unsigned int result;
10439     PyObject * obj0  = 0 ;
10440     
10441     if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10442     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443     result = (unsigned int) ((arg1)->handle_width);
10444     
10445     resultobj = PyInt_FromLong((long)result);
10446     return resultobj;
10447     fail:
10448     return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10453     PyObject *resultobj;
10454     otk::Style *arg1 = (otk::Style *) 0 ;
10455     unsigned int arg2 ;
10456     PyObject * obj0  = 0 ;
10457     PyObject * obj1  = 0 ;
10458     
10459     if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10460     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461     arg2 = (unsigned int) PyInt_AsLong(obj1);
10462     if (PyErr_Occurred()) SWIG_fail;
10463     if (arg1) (arg1)->bevel_width = arg2;
10464     
10465     Py_INCREF(Py_None); resultobj = Py_None;
10466     return resultobj;
10467     fail:
10468     return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10473     PyObject *resultobj;
10474     otk::Style *arg1 = (otk::Style *) 0 ;
10475     unsigned int result;
10476     PyObject * obj0  = 0 ;
10477     
10478     if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10479     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480     result = (unsigned int) ((arg1)->bevel_width);
10481     
10482     resultobj = PyInt_FromLong((long)result);
10483     return resultobj;
10484     fail:
10485     return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10490     PyObject *resultobj;
10491     otk::Style *arg1 = (otk::Style *) 0 ;
10492     unsigned int arg2 ;
10493     PyObject * obj0  = 0 ;
10494     PyObject * obj1  = 0 ;
10495     
10496     if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10497     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10498     arg2 = (unsigned int) PyInt_AsLong(obj1);
10499     if (PyErr_Occurred()) SWIG_fail;
10500     if (arg1) (arg1)->frame_width = arg2;
10501     
10502     Py_INCREF(Py_None); resultobj = Py_None;
10503     return resultobj;
10504     fail:
10505     return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10510     PyObject *resultobj;
10511     otk::Style *arg1 = (otk::Style *) 0 ;
10512     unsigned int result;
10513     PyObject * obj0  = 0 ;
10514     
10515     if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10516     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10517     result = (unsigned int) ((arg1)->frame_width);
10518     
10519     resultobj = PyInt_FromLong((long)result);
10520     return resultobj;
10521     fail:
10522     return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10527     PyObject *resultobj;
10528     otk::Style *arg1 = (otk::Style *) 0 ;
10529     unsigned int arg2 ;
10530     PyObject * obj0  = 0 ;
10531     PyObject * obj1  = 0 ;
10532     
10533     if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10534     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10535     arg2 = (unsigned int) PyInt_AsLong(obj1);
10536     if (PyErr_Occurred()) SWIG_fail;
10537     if (arg1) (arg1)->border_width = arg2;
10538     
10539     Py_INCREF(Py_None); resultobj = Py_None;
10540     return resultobj;
10541     fail:
10542     return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10547     PyObject *resultobj;
10548     otk::Style *arg1 = (otk::Style *) 0 ;
10549     unsigned int result;
10550     PyObject * obj0  = 0 ;
10551     
10552     if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10553     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10554     result = (unsigned int) ((arg1)->border_width);
10555     
10556     resultobj = PyInt_FromLong((long)result);
10557     return resultobj;
10558     fail:
10559     return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10564     PyObject *resultobj;
10565     otk::Style *arg1 = (otk::Style *) 0 ;
10566     unsigned int arg2 ;
10567     PyObject * obj0  = 0 ;
10568     PyObject * obj1  = 0 ;
10569     
10570     if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10571     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10572     arg2 = (unsigned int) PyInt_AsLong(obj1);
10573     if (PyErr_Occurred()) SWIG_fail;
10574     if (arg1) (arg1)->screen_number = arg2;
10575     
10576     Py_INCREF(Py_None); resultobj = Py_None;
10577     return resultobj;
10578     fail:
10579     return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10584     PyObject *resultobj;
10585     otk::Style *arg1 = (otk::Style *) 0 ;
10586     unsigned int result;
10587     PyObject * obj0  = 0 ;
10588     
10589     if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10590     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10591     result = (unsigned int) ((arg1)->screen_number);
10592     
10593     resultobj = PyInt_FromLong((long)result);
10594     return resultobj;
10595     fail:
10596     return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10601     PyObject *resultobj;
10602     otk::Style *arg1 = (otk::Style *) 0 ;
10603     bool arg2 ;
10604     PyObject * obj0  = 0 ;
10605     PyObject * obj1  = 0 ;
10606     
10607     if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10608     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10609     arg2 = (bool) PyInt_AsLong(obj1);
10610     if (PyErr_Occurred()) SWIG_fail;
10611     if (arg1) (arg1)->shadow_fonts = arg2;
10612     
10613     Py_INCREF(Py_None); resultobj = Py_None;
10614     return resultobj;
10615     fail:
10616     return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10621     PyObject *resultobj;
10622     otk::Style *arg1 = (otk::Style *) 0 ;
10623     bool result;
10624     PyObject * obj0  = 0 ;
10625     
10626     if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10627     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10628     result = (bool) ((arg1)->shadow_fonts);
10629     
10630     resultobj = PyInt_FromLong((long)result);
10631     return resultobj;
10632     fail:
10633     return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10638     PyObject *resultobj;
10639     otk::Style *arg1 = (otk::Style *) 0 ;
10640     bool arg2 ;
10641     PyObject * obj0  = 0 ;
10642     PyObject * obj1  = 0 ;
10643     
10644     if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10645     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10646     arg2 = (bool) PyInt_AsLong(obj1);
10647     if (PyErr_Occurred()) SWIG_fail;
10648     if (arg1) (arg1)->aa_fonts = arg2;
10649     
10650     Py_INCREF(Py_None); resultobj = Py_None;
10651     return resultobj;
10652     fail:
10653     return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10658     PyObject *resultobj;
10659     otk::Style *arg1 = (otk::Style *) 0 ;
10660     bool result;
10661     PyObject * obj0  = 0 ;
10662     
10663     if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10664     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10665     result = (bool) ((arg1)->aa_fonts);
10666     
10667     resultobj = PyInt_FromLong((long)result);
10668     return resultobj;
10669     fail:
10670     return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10675     PyObject *resultobj;
10676     otk::Style *result;
10677     
10678     if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10679     result = (otk::Style *)new otk::Style();
10680     
10681     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10682     return resultobj;
10683     fail:
10684     return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10689     PyObject *resultobj;
10690     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10691     otk::Style *result;
10692     PyObject * obj0  = 0 ;
10693     
10694     if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10695     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10696     result = (otk::Style *)new otk::Style(arg1);
10697     
10698     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10699     return resultobj;
10700     fail:
10701     return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10706     int argc;
10707     PyObject *argv[2];
10708     int ii;
10709     
10710     argc = PyObject_Length(args);
10711     for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10712         argv[ii] = PyTuple_GetItem(args,ii);
10713     }
10714     if (argc == 0) {
10715         return _wrap_new_Style__SWIG_0(self,args);
10716     }
10717     if (argc == 1) {
10718         int _v;
10719         {
10720             void *ptr;
10721             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10722                 _v = 0;
10723                 PyErr_Clear();
10724             }else {
10725                 _v = 1;
10726             }
10727         }
10728         if (_v) {
10729             return _wrap_new_Style__SWIG_1(self,args);
10730         }
10731     }
10732     
10733     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10734     return NULL;
10735 }
10736
10737
10738 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10739     PyObject *resultobj;
10740     otk::Style *arg1 = (otk::Style *) 0 ;
10741     PyObject * obj0  = 0 ;
10742     
10743     if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10744     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10745     delete arg1;
10746     
10747     Py_INCREF(Py_None); resultobj = Py_None;
10748     return resultobj;
10749     fail:
10750     return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10755     PyObject *resultobj;
10756     otk::Style *arg1 = (otk::Style *) 0 ;
10757     std::string *arg2 = 0 ;
10758     otk::PixmapMask *arg3 = 0 ;
10759     otk::Configuration *arg4 = 0 ;
10760     std::string temp2 ;
10761     PyObject * obj0  = 0 ;
10762     PyObject * obj1  = 0 ;
10763     PyObject * obj2  = 0 ;
10764     PyObject * obj3  = 0 ;
10765     
10766     if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10767     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10768     {
10769         if (PyString_Check(obj1)) {
10770             temp2 = std::string(PyString_AsString(obj1));
10771             arg2 = &temp2;
10772         }else {
10773             SWIG_exception(SWIG_TypeError, "string expected");
10774         }
10775     }
10776     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777     if (arg3 == NULL) {
10778         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10779     }
10780     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781     if (arg4 == NULL) {
10782         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10783     }
10784     (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10785     
10786     Py_INCREF(Py_None); resultobj = Py_None;
10787     return resultobj;
10788     fail:
10789     return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10794     PyObject *resultobj;
10795     otk::Style *arg1 = (otk::Style *) 0 ;
10796     std::string *arg2 = 0 ;
10797     std::string *arg3 = 0 ;
10798     otk::Configuration *arg4 = 0 ;
10799     bool arg5 = (bool) false ;
10800     otk::BTexture result;
10801     std::string temp2 ;
10802     std::string temp3 ;
10803     PyObject * obj0  = 0 ;
10804     PyObject * obj1  = 0 ;
10805     PyObject * obj2  = 0 ;
10806     PyObject * obj3  = 0 ;
10807     PyObject * obj4  = 0 ;
10808     
10809     if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10810     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10811     {
10812         if (PyString_Check(obj1)) {
10813             temp2 = std::string(PyString_AsString(obj1));
10814             arg2 = &temp2;
10815         }else {
10816             SWIG_exception(SWIG_TypeError, "string expected");
10817         }
10818     }
10819     {
10820         if (PyString_Check(obj2)) {
10821             temp3 = std::string(PyString_AsString(obj2));
10822             arg3 = &temp3;
10823         }else {
10824             SWIG_exception(SWIG_TypeError, "string expected");
10825         }
10826     }
10827     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10828     if (arg4 == NULL) {
10829         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10830     }
10831     if (obj4) {
10832         arg5 = (bool) PyInt_AsLong(obj4);
10833         if (PyErr_Occurred()) SWIG_fail;
10834     }
10835     result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10836     
10837     {
10838         otk::BTexture * resultptr;
10839         resultptr = new otk::BTexture((otk::BTexture &) result);
10840         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10841     }
10842     return resultobj;
10843     fail:
10844     return NULL;
10845 }
10846
10847
10848 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10849     PyObject *resultobj;
10850     otk::Style *arg1 = (otk::Style *) 0 ;
10851     std::string *arg2 = 0 ;
10852     std::string *arg3 = 0 ;
10853     otk::Configuration *arg4 = 0 ;
10854     otk::BColor result;
10855     std::string temp2 ;
10856     std::string temp3 ;
10857     PyObject * obj0  = 0 ;
10858     PyObject * obj1  = 0 ;
10859     PyObject * obj2  = 0 ;
10860     PyObject * obj3  = 0 ;
10861     
10862     if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10863     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10864     {
10865         if (PyString_Check(obj1)) {
10866             temp2 = std::string(PyString_AsString(obj1));
10867             arg2 = &temp2;
10868         }else {
10869             SWIG_exception(SWIG_TypeError, "string expected");
10870         }
10871     }
10872     {
10873         if (PyString_Check(obj2)) {
10874             temp3 = std::string(PyString_AsString(obj2));
10875             arg3 = &temp3;
10876         }else {
10877             SWIG_exception(SWIG_TypeError, "string expected");
10878         }
10879     }
10880     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10881     if (arg4 == NULL) {
10882         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10883     }
10884     result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10885     
10886     {
10887         otk::BColor * resultptr;
10888         resultptr = new otk::BColor((otk::BColor &) result);
10889         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10890     }
10891     return resultobj;
10892     fail:
10893     return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10898     PyObject *resultobj;
10899     otk::Style *arg1 = (otk::Style *) 0 ;
10900     std::string *arg2 = 0 ;
10901     otk::Configuration *arg3 = 0 ;
10902     otk::BFont *result;
10903     std::string temp2 ;
10904     PyObject * obj0  = 0 ;
10905     PyObject * obj1  = 0 ;
10906     PyObject * obj2  = 0 ;
10907     
10908     if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10909     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910     {
10911         if (PyString_Check(obj1)) {
10912             temp2 = std::string(PyString_AsString(obj1));
10913             arg2 = &temp2;
10914         }else {
10915             SWIG_exception(SWIG_TypeError, "string expected");
10916         }
10917     }
10918     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10919     if (arg3 == NULL) {
10920         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10921     }
10922     result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10923     
10924     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10925     return resultobj;
10926     fail:
10927     return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10932     PyObject *resultobj;
10933     otk::Style *arg1 = (otk::Style *) 0 ;
10934     otk::Configuration *arg2 = 0 ;
10935     PyObject * obj0  = 0 ;
10936     PyObject * obj1  = 0 ;
10937     
10938     if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10939     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10941     if (arg2 == NULL) {
10942         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10943     }
10944     (arg1)->load((otk::Configuration const &)*arg2);
10945     
10946     Py_INCREF(Py_None); resultobj = Py_None;
10947     return resultobj;
10948     fail:
10949     return NULL;
10950 }
10951
10952
10953 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
10954     PyObject *resultobj;
10955     otk::Style *arg1 = (otk::Style *) 0 ;
10956     otk::PixmapMask *result;
10957     PyObject * obj0  = 0 ;
10958     
10959     if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
10960     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10961     result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
10962     
10963     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10964     return resultobj;
10965     fail:
10966     return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
10971     PyObject *resultobj;
10972     otk::Style *arg1 = (otk::Style *) 0 ;
10973     otk::PixmapMask *result;
10974     PyObject * obj0  = 0 ;
10975     
10976     if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
10977     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978     result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
10979     
10980     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10981     return resultobj;
10982     fail:
10983     return NULL;
10984 }
10985
10986
10987 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
10988     PyObject *resultobj;
10989     otk::Style *arg1 = (otk::Style *) 0 ;
10990     otk::PixmapMask *result;
10991     PyObject * obj0  = 0 ;
10992     
10993     if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
10994     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10995     result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
10996     
10997     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10998     return resultobj;
10999     fail:
11000     return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11005     PyObject *resultobj;
11006     otk::Style *arg1 = (otk::Style *) 0 ;
11007     otk::PixmapMask *result;
11008     PyObject * obj0  = 0 ;
11009     
11010     if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11011     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012     result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11013     
11014     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11015     return resultobj;
11016     fail:
11017     return NULL;
11018 }
11019
11020
11021 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11022     PyObject *resultobj;
11023     otk::Style *arg1 = (otk::Style *) 0 ;
11024     otk::BColor *result;
11025     PyObject * obj0  = 0 ;
11026     
11027     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11028     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029     result = (otk::BColor *)(arg1)->getTextFocus();
11030     
11031     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11032     return resultobj;
11033     fail:
11034     return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11039     PyObject *resultobj;
11040     otk::Style *arg1 = (otk::Style *) 0 ;
11041     otk::BColor *result;
11042     PyObject * obj0  = 0 ;
11043     
11044     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11045     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11046     result = (otk::BColor *)(arg1)->getTextUnfocus();
11047     
11048     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11049     return resultobj;
11050     fail:
11051     return NULL;
11052 }
11053
11054
11055 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11056     PyObject *resultobj;
11057     otk::Style *arg1 = (otk::Style *) 0 ;
11058     otk::BColor *result;
11059     PyObject * obj0  = 0 ;
11060     
11061     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11062     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11063     result = (otk::BColor *)(arg1)->getButtonPicFocus();
11064     
11065     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11066     return resultobj;
11067     fail:
11068     return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11073     PyObject *resultobj;
11074     otk::Style *arg1 = (otk::Style *) 0 ;
11075     otk::BColor *result;
11076     PyObject * obj0  = 0 ;
11077     
11078     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11079     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080     result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11081     
11082     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11083     return resultobj;
11084     fail:
11085     return NULL;
11086 }
11087
11088
11089 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11090     PyObject *resultobj;
11091     otk::Style *arg1 = (otk::Style *) 0 ;
11092     otk::BTexture *result;
11093     PyObject * obj0  = 0 ;
11094     
11095     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11096     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097     result = (otk::BTexture *)(arg1)->getTitleFocus();
11098     
11099     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11100     return resultobj;
11101     fail:
11102     return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11107     PyObject *resultobj;
11108     otk::Style *arg1 = (otk::Style *) 0 ;
11109     otk::BTexture *result;
11110     PyObject * obj0  = 0 ;
11111     
11112     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11113     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11114     result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11115     
11116     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11117     return resultobj;
11118     fail:
11119     return NULL;
11120 }
11121
11122
11123 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11124     PyObject *resultobj;
11125     otk::Style *arg1 = (otk::Style *) 0 ;
11126     otk::BTexture *result;
11127     PyObject * obj0  = 0 ;
11128     
11129     if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11130     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11131     result = (otk::BTexture *)(arg1)->getLabelFocus();
11132     
11133     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11134     return resultobj;
11135     fail:
11136     return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11141     PyObject *resultobj;
11142     otk::Style *arg1 = (otk::Style *) 0 ;
11143     otk::BTexture *result;
11144     PyObject * obj0  = 0 ;
11145     
11146     if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11147     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11148     result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11149     
11150     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11151     return resultobj;
11152     fail:
11153     return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11158     PyObject *resultobj;
11159     otk::Style *arg1 = (otk::Style *) 0 ;
11160     otk::BTexture *result;
11161     PyObject * obj0  = 0 ;
11162     
11163     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11164     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11165     result = (otk::BTexture *)(arg1)->getHandleFocus();
11166     
11167     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11168     return resultobj;
11169     fail:
11170     return NULL;
11171 }
11172
11173
11174 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11175     PyObject *resultobj;
11176     otk::Style *arg1 = (otk::Style *) 0 ;
11177     otk::BTexture *result;
11178     PyObject * obj0  = 0 ;
11179     
11180     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11181     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11182     result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11183     
11184     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11185     return resultobj;
11186     fail:
11187     return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11192     PyObject *resultobj;
11193     otk::Style *arg1 = (otk::Style *) 0 ;
11194     otk::BTexture *result;
11195     PyObject * obj0  = 0 ;
11196     
11197     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11198     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199     result = (otk::BTexture *)(arg1)->getButtonFocus();
11200     
11201     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11202     return resultobj;
11203     fail:
11204     return NULL;
11205 }
11206
11207
11208 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11209     PyObject *resultobj;
11210     otk::Style *arg1 = (otk::Style *) 0 ;
11211     otk::BTexture *result;
11212     PyObject * obj0  = 0 ;
11213     
11214     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11215     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11216     result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11217     
11218     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11219     return resultobj;
11220     fail:
11221     return NULL;
11222 }
11223
11224
11225 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11226     PyObject *resultobj;
11227     otk::Style *arg1 = (otk::Style *) 0 ;
11228     otk::BTexture *result;
11229     PyObject * obj0  = 0 ;
11230     
11231     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11232     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233     result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11234     
11235     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11236     return resultobj;
11237     fail:
11238     return NULL;
11239 }
11240
11241
11242 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11243     PyObject *resultobj;
11244     otk::Style *arg1 = (otk::Style *) 0 ;
11245     otk::BTexture *result;
11246     PyObject * obj0  = 0 ;
11247     
11248     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11249     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250     result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11251     
11252     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11253     return resultobj;
11254     fail:
11255     return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11260     PyObject *resultobj;
11261     otk::Style *arg1 = (otk::Style *) 0 ;
11262     otk::BTexture *result;
11263     PyObject * obj0  = 0 ;
11264     
11265     if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11266     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11267     result = (otk::BTexture *)(arg1)->getGripFocus();
11268     
11269     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11270     return resultobj;
11271     fail:
11272     return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11277     PyObject *resultobj;
11278     otk::Style *arg1 = (otk::Style *) 0 ;
11279     otk::BTexture *result;
11280     PyObject * obj0  = 0 ;
11281     
11282     if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11283     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284     result = (otk::BTexture *)(arg1)->getGripUnfocus();
11285     
11286     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11287     return resultobj;
11288     fail:
11289     return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11294     PyObject *resultobj;
11295     otk::Style *arg1 = (otk::Style *) 0 ;
11296     unsigned int result;
11297     PyObject * obj0  = 0 ;
11298     
11299     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11300     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301     result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11302     
11303     resultobj = PyInt_FromLong((long)result);
11304     return resultobj;
11305     fail:
11306     return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11311     PyObject *resultobj;
11312     otk::Style *arg1 = (otk::Style *) 0 ;
11313     unsigned int result;
11314     PyObject * obj0  = 0 ;
11315     
11316     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11317     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318     result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11319     
11320     resultobj = PyInt_FromLong((long)result);
11321     return resultobj;
11322     fail:
11323     return NULL;
11324 }
11325
11326
11327 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11328     PyObject *resultobj;
11329     otk::Style *arg1 = (otk::Style *) 0 ;
11330     unsigned int result;
11331     PyObject * obj0  = 0 ;
11332     
11333     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11334     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11335     result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11336     
11337     resultobj = PyInt_FromLong((long)result);
11338     return resultobj;
11339     fail:
11340     return NULL;
11341 }
11342
11343
11344 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11345     PyObject *resultobj;
11346     otk::Style *arg1 = (otk::Style *) 0 ;
11347     unsigned int result;
11348     PyObject * obj0  = 0 ;
11349     
11350     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11351     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352     result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11353     
11354     resultobj = PyInt_FromLong((long)result);
11355     return resultobj;
11356     fail:
11357     return NULL;
11358 }
11359
11360
11361 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11362     PyObject *resultobj;
11363     otk::Style *arg1 = (otk::Style *) 0 ;
11364     otk::BFont *result;
11365     PyObject * obj0  = 0 ;
11366     
11367     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11368     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11369     result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11370     
11371     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11372     return resultobj;
11373     fail:
11374     return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11379     PyObject *resultobj;
11380     otk::Style *arg1 = (otk::Style *) 0 ;
11381     bool arg2 ;
11382     PyObject * obj0  = 0 ;
11383     PyObject * obj1  = 0 ;
11384     
11385     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11386     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11387     arg2 = (bool) PyInt_AsLong(obj1);
11388     if (PyErr_Occurred()) SWIG_fail;
11389     (arg1)->setShadowFonts(arg2);
11390     
11391     Py_INCREF(Py_None); resultobj = Py_None;
11392     return resultobj;
11393     fail:
11394     return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11399     PyObject *resultobj;
11400     otk::Style *arg1 = (otk::Style *) 0 ;
11401     bool result;
11402     PyObject * obj0  = 0 ;
11403     
11404     if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11405     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11406     result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11407     
11408     resultobj = PyInt_FromLong((long)result);
11409     return resultobj;
11410     fail:
11411     return NULL;
11412 }
11413
11414
11415 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11416     PyObject *resultobj;
11417     otk::Style *arg1 = (otk::Style *) 0 ;
11418     bool arg2 ;
11419     PyObject * obj0  = 0 ;
11420     PyObject * obj1  = 0 ;
11421     
11422     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11423     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11424     arg2 = (bool) PyInt_AsLong(obj1);
11425     if (PyErr_Occurred()) SWIG_fail;
11426     (arg1)->setAAFonts(arg2);
11427     
11428     Py_INCREF(Py_None); resultobj = Py_None;
11429     return resultobj;
11430     fail:
11431     return NULL;
11432 }
11433
11434
11435 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11436     PyObject *resultobj;
11437     otk::Style *arg1 = (otk::Style *) 0 ;
11438     bool result;
11439     PyObject * obj0  = 0 ;
11440     
11441     if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11442     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11443     result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11444     
11445     resultobj = PyInt_FromLong((long)result);
11446     return resultobj;
11447     fail:
11448     return NULL;
11449 }
11450
11451
11452 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11453     PyObject *resultobj;
11454     otk::Style *arg1 = (otk::Style *) 0 ;
11455     int result;
11456     PyObject * obj0  = 0 ;
11457     
11458     if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11459     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11460     result = (int)(arg1)->textJustify();
11461     
11462     resultobj = PyInt_FromLong((long)result);
11463     return resultobj;
11464     fail:
11465     return NULL;
11466 }
11467
11468
11469 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11470     PyObject *resultobj;
11471     otk::Style *arg1 = (otk::Style *) 0 ;
11472     int result;
11473     PyObject * obj0  = 0 ;
11474     
11475     if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11476     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477     result = (int)(arg1)->bulletType();
11478     
11479     resultobj = PyInt_FromLong((long)result);
11480     return resultobj;
11481     fail:
11482     return NULL;
11483 }
11484
11485
11486 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11487     PyObject *resultobj;
11488     otk::Style *arg1 = (otk::Style *) 0 ;
11489     otk::BColor *result;
11490     PyObject * obj0  = 0 ;
11491     
11492     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11493     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11494     result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11495     
11496     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11497     return resultobj;
11498     fail:
11499     return NULL;
11500 }
11501
11502
11503 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11504     PyObject *resultobj;
11505     otk::Style *arg1 = (otk::Style *) 0 ;
11506     otk::BTexture *result;
11507     PyObject * obj0  = 0 ;
11508     
11509     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11510     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11511     result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11512     
11513     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11514     return resultobj;
11515     fail:
11516     return NULL;
11517 }
11518
11519
11520 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11521     PyObject *resultobj;
11522     otk::Style *arg1 = (otk::Style *) 0 ;
11523     otk::BTexture *result;
11524     PyObject * obj0  = 0 ;
11525     
11526     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11527     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528     result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11529     
11530     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11531     return resultobj;
11532     fail:
11533     return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11538     PyObject *resultobj;
11539     otk::Style *arg1 = (otk::Style *) 0 ;
11540     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11541     PyObject * obj0  = 0 ;
11542     PyObject * obj1  = 0 ;
11543     
11544     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11545     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11546     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547     (arg1)->setImageControl(arg2);
11548     
11549     Py_INCREF(Py_None); resultobj = Py_None;
11550     return resultobj;
11551     fail:
11552     return NULL;
11553 }
11554
11555
11556 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11557     PyObject *resultobj;
11558     otk::Style *arg1 = (otk::Style *) 0 ;
11559     unsigned int result;
11560     PyObject * obj0  = 0 ;
11561     
11562     if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11563     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11564     result = (unsigned int)(arg1)->getScreen();
11565     
11566     resultobj = PyInt_FromLong((long)result);
11567     return resultobj;
11568     fail:
11569     return NULL;
11570 }
11571
11572
11573 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11574     PyObject *obj;
11575     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576     SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11577     Py_INCREF(obj);
11578     return Py_BuildValue((char *)"");
11579 }
11580 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11581     PyObject *resultobj;
11582     unsigned int arg1 = (unsigned int) ~(0u) ;
11583     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11584     otk::BTexture *result;
11585     PyObject * obj0  = 0 ;
11586     PyObject * obj1  = 0 ;
11587     
11588     if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11589     if (obj0) {
11590         arg1 = (unsigned int) PyInt_AsLong(obj0);
11591         if (PyErr_Occurred()) SWIG_fail;
11592     }
11593     if (obj1) {
11594         if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595     }
11596     result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11597     
11598     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11599     return resultobj;
11600     fail:
11601     return NULL;
11602 }
11603
11604
11605 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11606     PyObject *resultobj;
11607     std::string *arg1 = 0 ;
11608     unsigned int arg2 = (unsigned int) ~(0u) ;
11609     otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11610     otk::BTexture *result;
11611     std::string temp1 ;
11612     PyObject * obj0  = 0 ;
11613     PyObject * obj1  = 0 ;
11614     PyObject * obj2  = 0 ;
11615     
11616     if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11617     {
11618         if (PyString_Check(obj0)) {
11619             temp1 = std::string(PyString_AsString(obj0));
11620             arg1 = &temp1;
11621         }else {
11622             SWIG_exception(SWIG_TypeError, "string expected");
11623         }
11624     }
11625     if (obj1) {
11626         arg2 = (unsigned int) PyInt_AsLong(obj1);
11627         if (PyErr_Occurred()) SWIG_fail;
11628     }
11629     if (obj2) {
11630         if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11631     }
11632     result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11633     
11634     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11635     return resultobj;
11636     fail:
11637     return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11642     int argc;
11643     PyObject *argv[4];
11644     int ii;
11645     
11646     argc = PyObject_Length(args);
11647     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11648         argv[ii] = PyTuple_GetItem(args,ii);
11649     }
11650     if ((argc >= 0) && (argc <= 2)) {
11651         int _v;
11652         if (argc <= 0) {
11653             return _wrap_new_BTexture__SWIG_0(self,args);
11654         }
11655         {
11656             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11657         }
11658         if (_v) {
11659             if (argc <= 1) {
11660                 return _wrap_new_BTexture__SWIG_0(self,args);
11661             }
11662             {
11663                 void *ptr;
11664                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11665                     _v = 0;
11666                     PyErr_Clear();
11667                 }else {
11668                     _v = 1;
11669                 }
11670             }
11671             if (_v) {
11672                 return _wrap_new_BTexture__SWIG_0(self,args);
11673             }
11674         }
11675     }
11676     if ((argc >= 1) && (argc <= 3)) {
11677         int _v;
11678         {
11679             _v = PyString_Check(argv[0]) ? 1 : 0;
11680         }
11681         if (_v) {
11682             if (argc <= 1) {
11683                 return _wrap_new_BTexture__SWIG_1(self,args);
11684             }
11685             {
11686                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11687             }
11688             if (_v) {
11689                 if (argc <= 2) {
11690                     return _wrap_new_BTexture__SWIG_1(self,args);
11691                 }
11692                 {
11693                     void *ptr;
11694                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11695                         _v = 0;
11696                         PyErr_Clear();
11697                     }else {
11698                         _v = 1;
11699                     }
11700                 }
11701                 if (_v) {
11702                     return _wrap_new_BTexture__SWIG_1(self,args);
11703                 }
11704             }
11705         }
11706     }
11707     
11708     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11709     return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11714     PyObject *resultobj;
11715     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11716     otk::BColor *arg2 = 0 ;
11717     PyObject * obj0  = 0 ;
11718     PyObject * obj1  = 0 ;
11719     
11720     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11721     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11722     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11723     if (arg2 == NULL) {
11724         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11725     }
11726     (arg1)->setColor((otk::BColor const &)*arg2);
11727     
11728     Py_INCREF(Py_None); resultobj = Py_None;
11729     return resultobj;
11730     fail:
11731     return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11736     PyObject *resultobj;
11737     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11738     otk::BColor *arg2 = 0 ;
11739     PyObject * obj0  = 0 ;
11740     PyObject * obj1  = 0 ;
11741     
11742     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11743     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745     if (arg2 == NULL) {
11746         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11747     }
11748     (arg1)->setColorTo((otk::BColor const &)*arg2);
11749     
11750     Py_INCREF(Py_None); resultobj = Py_None;
11751     return resultobj;
11752     fail:
11753     return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11758     PyObject *resultobj;
11759     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11760     otk::BColor *arg2 = 0 ;
11761     PyObject * obj0  = 0 ;
11762     PyObject * obj1  = 0 ;
11763     
11764     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11765     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11766     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11767     if (arg2 == NULL) {
11768         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11769     }
11770     (arg1)->setBorderColor((otk::BColor const &)*arg2);
11771     
11772     Py_INCREF(Py_None); resultobj = Py_None;
11773     return resultobj;
11774     fail:
11775     return NULL;
11776 }
11777
11778
11779 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11780     PyObject *resultobj;
11781     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11782     otk::BColor *result;
11783     PyObject * obj0  = 0 ;
11784     
11785     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11786     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787     {
11788         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11789         result = (otk::BColor *) &_result_ref;
11790     }
11791     
11792     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11793     return resultobj;
11794     fail:
11795     return NULL;
11796 }
11797
11798
11799 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11800     PyObject *resultobj;
11801     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11802     otk::BColor *result;
11803     PyObject * obj0  = 0 ;
11804     
11805     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11806     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11807     {
11808         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11809         result = (otk::BColor *) &_result_ref;
11810     }
11811     
11812     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11813     return resultobj;
11814     fail:
11815     return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11820     PyObject *resultobj;
11821     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11822     otk::BColor *result;
11823     PyObject * obj0  = 0 ;
11824     
11825     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11826     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827     {
11828         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11829         result = (otk::BColor *) &_result_ref;
11830     }
11831     
11832     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11833     return resultobj;
11834     fail:
11835     return NULL;
11836 }
11837
11838
11839 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11840     PyObject *resultobj;
11841     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11842     otk::BColor *result;
11843     PyObject * obj0  = 0 ;
11844     
11845     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11846     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11847     {
11848         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11849         result = (otk::BColor *) &_result_ref;
11850     }
11851     
11852     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11853     return resultobj;
11854     fail:
11855     return NULL;
11856 }
11857
11858
11859 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11860     PyObject *resultobj;
11861     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11862     otk::BColor *result;
11863     PyObject * obj0  = 0 ;
11864     
11865     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11866     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11867     {
11868         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11869         result = (otk::BColor *) &_result_ref;
11870     }
11871     
11872     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11873     return resultobj;
11874     fail:
11875     return NULL;
11876 }
11877
11878
11879 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11880     PyObject *resultobj;
11881     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11882     unsigned long result;
11883     PyObject * obj0  = 0 ;
11884     
11885     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11886     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887     result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11888     
11889     resultobj = PyInt_FromLong((long)result);
11890     return resultobj;
11891     fail:
11892     return NULL;
11893 }
11894
11895
11896 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11897     PyObject *resultobj;
11898     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11899     unsigned long arg2 ;
11900     PyObject * obj0  = 0 ;
11901     PyObject * obj1  = 0 ;
11902     
11903     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11904     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11905     arg2 = (unsigned long) PyInt_AsLong(obj1);
11906     if (PyErr_Occurred()) SWIG_fail;
11907     (arg1)->setTexture(arg2);
11908     
11909     Py_INCREF(Py_None); resultobj = Py_None;
11910     return resultobj;
11911     fail:
11912     return NULL;
11913 }
11914
11915
11916 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11917     PyObject *resultobj;
11918     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11919     unsigned long arg2 ;
11920     PyObject * obj0  = 0 ;
11921     PyObject * obj1  = 0 ;
11922     
11923     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11925     arg2 = (unsigned long) PyInt_AsLong(obj1);
11926     if (PyErr_Occurred()) SWIG_fail;
11927     (arg1)->addTexture(arg2);
11928     
11929     Py_INCREF(Py_None); resultobj = Py_None;
11930     return resultobj;
11931     fail:
11932     return NULL;
11933 }
11934
11935
11936 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11937     PyObject *resultobj;
11938     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11939     otk::BTexture *arg2 = 0 ;
11940     bool result;
11941     PyObject * obj0  = 0 ;
11942     PyObject * obj1  = 0 ;
11943     
11944     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11945     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947     if (arg2 == NULL) {
11948         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11949     }
11950     result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11951     
11952     resultobj = PyInt_FromLong((long)result);
11953     return resultobj;
11954     fail:
11955     return NULL;
11956 }
11957
11958
11959 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11960     PyObject *resultobj;
11961     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11962     unsigned int result;
11963     PyObject * obj0  = 0 ;
11964     
11965     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11966     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967     result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11968     
11969     resultobj = PyInt_FromLong((long)result);
11970     return resultobj;
11971     fail:
11972     return NULL;
11973 }
11974
11975
11976 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11977     PyObject *resultobj;
11978     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11979     unsigned int arg2 ;
11980     PyObject * obj0  = 0 ;
11981     PyObject * obj1  = 0 ;
11982     
11983     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11984     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985     arg2 = (unsigned int) PyInt_AsLong(obj1);
11986     if (PyErr_Occurred()) SWIG_fail;
11987     (arg1)->setScreen(arg2);
11988     
11989     Py_INCREF(Py_None); resultobj = Py_None;
11990     return resultobj;
11991     fail:
11992     return NULL;
11993 }
11994
11995
11996 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11997     PyObject *resultobj;
11998     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11999     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
12000     PyObject * obj0  = 0 ;
12001     PyObject * obj1  = 0 ;
12002     
12003     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12004     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12005     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006     (arg1)->setImageControl(arg2);
12007     
12008     Py_INCREF(Py_None); resultobj = Py_None;
12009     return resultobj;
12010     fail:
12011     return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12016     PyObject *resultobj;
12017     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12018     std::string *result;
12019     PyObject * obj0  = 0 ;
12020     
12021     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12022     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12023     {
12024         std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12025         result = (std::string *) &_result_ref;
12026     }
12027     
12028     {
12029         resultobj = PyString_FromString(result->c_str());
12030     }
12031     return resultobj;
12032     fail:
12033     return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12038     PyObject *resultobj;
12039     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12040     std::string *arg2 = 0 ;
12041     std::string temp2 ;
12042     PyObject * obj0  = 0 ;
12043     PyObject * obj1  = 0 ;
12044     
12045     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12046     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12047     {
12048         if (PyString_Check(obj1)) {
12049             temp2 = std::string(PyString_AsString(obj1));
12050             arg2 = &temp2;
12051         }else {
12052             SWIG_exception(SWIG_TypeError, "string expected");
12053         }
12054     }
12055     (arg1)->setDescription((std::string const &)*arg2);
12056     
12057     Py_INCREF(Py_None); resultobj = Py_None;
12058     return resultobj;
12059     fail:
12060     return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12065     PyObject *resultobj;
12066     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12067     unsigned int arg2 ;
12068     unsigned int arg3 ;
12069     Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12070     Pixmap result;
12071     PyObject * obj0  = 0 ;
12072     PyObject * obj1  = 0 ;
12073     PyObject * obj2  = 0 ;
12074     PyObject * obj3  = 0 ;
12075     
12076     if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12077     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078     arg2 = (unsigned int) PyInt_AsLong(obj1);
12079     if (PyErr_Occurred()) SWIG_fail;
12080     arg3 = (unsigned int) PyInt_AsLong(obj2);
12081     if (PyErr_Occurred()) SWIG_fail;
12082     if (obj3) {
12083         arg4 = (Pixmap) PyInt_AsLong(obj3);
12084         if (PyErr_Occurred()) SWIG_fail;
12085     }
12086     result = (Pixmap)(arg1)->render(arg2,arg3,arg4);
12087     
12088     resultobj = PyInt_FromLong((long)result);
12089     return resultobj;
12090     fail:
12091     return NULL;
12092 }
12093
12094
12095 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12096     PyObject *obj;
12097     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12098     SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12099     Py_INCREF(obj);
12100     return Py_BuildValue((char *)"");
12101 }
12102 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12103     PyObject *resultobj;
12104     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12105     otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12106     otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12107     otk::OBTimer *result;
12108     PyObject * obj0  = 0 ;
12109     PyObject * obj1  = 0 ;
12110     PyObject * obj2  = 0 ;
12111     
12112     if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12113     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12114     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12116     result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12117     
12118     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12119     return resultobj;
12120     fail:
12121     return NULL;
12122 }
12123
12124
12125 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12126     PyObject *resultobj;
12127     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12128     PyObject * obj0  = 0 ;
12129     
12130     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12131     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12132     delete arg1;
12133     
12134     Py_INCREF(Py_None); resultobj = Py_None;
12135     return resultobj;
12136     fail:
12137     return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12142     PyObject *resultobj;
12143     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12144     PyObject * obj0  = 0 ;
12145     
12146     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12147     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12148     (arg1)->fire();
12149     
12150     Py_INCREF(Py_None); resultobj = Py_None;
12151     return resultobj;
12152     fail:
12153     return NULL;
12154 }
12155
12156
12157 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12158     PyObject *resultobj;
12159     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12160     bool result;
12161     PyObject * obj0  = 0 ;
12162     
12163     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12164     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12165     result = (bool)((otk::OBTimer const *)arg1)->timing();
12166     
12167     resultobj = PyInt_FromLong((long)result);
12168     return resultobj;
12169     fail:
12170     return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12175     PyObject *resultobj;
12176     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12177     bool result;
12178     PyObject * obj0  = 0 ;
12179     
12180     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12181     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12182     result = (bool)((otk::OBTimer const *)arg1)->recurring();
12183     
12184     resultobj = PyInt_FromLong((long)result);
12185     return resultobj;
12186     fail:
12187     return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12192     PyObject *resultobj;
12193     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12194     timeval *result;
12195     PyObject * obj0  = 0 ;
12196     
12197     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12198     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12199     {
12200         timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12201         result = (timeval *) &_result_ref;
12202     }
12203     
12204     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12205     return resultobj;
12206     fail:
12207     return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12212     PyObject *resultobj;
12213     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12214     timeval *result;
12215     PyObject * obj0  = 0 ;
12216     
12217     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12218     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12219     {
12220         timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12221         result = (timeval *) &_result_ref;
12222     }
12223     
12224     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12225     return resultobj;
12226     fail:
12227     return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12232     PyObject *resultobj;
12233     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12234     timeval *arg2 = 0 ;
12235     timeval result;
12236     PyObject * obj0  = 0 ;
12237     PyObject * obj1  = 0 ;
12238     
12239     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12240     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242     if (arg2 == NULL) {
12243         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12244     }
12245     result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12246     
12247     {
12248         timeval * resultptr;
12249         resultptr = new timeval((timeval &) result);
12250         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12251     }
12252     return resultobj;
12253     fail:
12254     return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12259     PyObject *resultobj;
12260     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12261     timeval *arg2 = 0 ;
12262     bool result;
12263     PyObject * obj0  = 0 ;
12264     PyObject * obj1  = 0 ;
12265     
12266     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12267     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12268     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12269     if (arg2 == NULL) {
12270         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12271     }
12272     result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12273     
12274     resultobj = PyInt_FromLong((long)result);
12275     return resultobj;
12276     fail:
12277     return NULL;
12278 }
12279
12280
12281 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12282     PyObject *resultobj;
12283     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12284     timeval result;
12285     PyObject * obj0  = 0 ;
12286     
12287     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12288     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12289     result = ((otk::OBTimer const *)arg1)->endTime();
12290     
12291     {
12292         timeval * resultptr;
12293         resultptr = new timeval((timeval &) result);
12294         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12295     }
12296     return resultobj;
12297     fail:
12298     return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12303     PyObject *resultobj;
12304     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12305     bool arg2 ;
12306     PyObject * obj0  = 0 ;
12307     PyObject * obj1  = 0 ;
12308     
12309     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12310     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12311     arg2 = (bool) PyInt_AsLong(obj1);
12312     if (PyErr_Occurred()) SWIG_fail;
12313     (arg1)->setRecurring(arg2);
12314     
12315     Py_INCREF(Py_None); resultobj = Py_None;
12316     return resultobj;
12317     fail:
12318     return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12323     PyObject *resultobj;
12324     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12325     long arg2 ;
12326     PyObject * obj0  = 0 ;
12327     
12328     if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12329     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12330     (arg1)->setTimeout(arg2);
12331     
12332     Py_INCREF(Py_None); resultobj = Py_None;
12333     return resultobj;
12334     fail:
12335     return NULL;
12336 }
12337
12338
12339 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12340     PyObject *resultobj;
12341     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12342     timeval *arg2 = 0 ;
12343     PyObject * obj0  = 0 ;
12344     PyObject * obj1  = 0 ;
12345     
12346     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12347     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12348     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349     if (arg2 == NULL) {
12350         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12351     }
12352     (arg1)->setTimeout((timeval const &)*arg2);
12353     
12354     Py_INCREF(Py_None); resultobj = Py_None;
12355     return resultobj;
12356     fail:
12357     return NULL;
12358 }
12359
12360
12361 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12362     int argc;
12363     PyObject *argv[3];
12364     int ii;
12365     
12366     argc = PyObject_Length(args);
12367     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12368         argv[ii] = PyTuple_GetItem(args,ii);
12369     }
12370     if (argc == 2) {
12371         int _v;
12372         {
12373             void *ptr;
12374             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12375                 _v = 0;
12376                 PyErr_Clear();
12377             }else {
12378                 _v = 1;
12379             }
12380         }
12381         if (_v) {
12382             {
12383                 void *ptr;
12384                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12385                     _v = 0;
12386                     PyErr_Clear();
12387                 }else {
12388                     _v = 1;
12389                 }
12390             }
12391             if (_v) {
12392                 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12393             }
12394         }
12395     }
12396     if (argc == 2) {
12397         int _v;
12398         {
12399             void *ptr;
12400             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12401                 _v = 0;
12402                 PyErr_Clear();
12403             }else {
12404                 _v = 1;
12405             }
12406         }
12407         if (_v) {
12408             {
12409                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12410             }
12411             if (_v) {
12412                 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12413             }
12414         }
12415     }
12416     
12417     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12418     return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12423     PyObject *resultobj;
12424     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12425     PyObject * obj0  = 0 ;
12426     
12427     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12428     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12429     (arg1)->start();
12430     
12431     Py_INCREF(Py_None); resultobj = Py_None;
12432     return resultobj;
12433     fail:
12434     return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12439     PyObject *resultobj;
12440     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12441     PyObject * obj0  = 0 ;
12442     
12443     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12444     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12445     (arg1)->stop();
12446     
12447     Py_INCREF(Py_None); resultobj = Py_None;
12448     return resultobj;
12449     fail:
12450     return NULL;
12451 }
12452
12453
12454 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12455     PyObject *obj;
12456     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12457     SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12458     Py_INCREF(obj);
12459     return Py_BuildValue((char *)"");
12460 }
12461 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12462     PyObject *resultobj;
12463     otk::OBTimerQueueManager *result;
12464     
12465     if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12466     result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12467     
12468     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12469     return resultobj;
12470     fail:
12471     return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12476     PyObject *resultobj;
12477     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12478     PyObject * obj0  = 0 ;
12479     
12480     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12481     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482     delete arg1;
12483     
12484     Py_INCREF(Py_None); resultobj = Py_None;
12485     return resultobj;
12486     fail:
12487     return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12492     PyObject *resultobj;
12493     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12494     bool arg2 = (bool) true ;
12495     PyObject * obj0  = 0 ;
12496     PyObject * obj1  = 0 ;
12497     
12498     if(!PyArg_ParseTuple(args,(char *)"O|O:OBTimerQueueManager_fire",&obj0,&obj1)) goto fail;
12499     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12500     if (obj1) {
12501         arg2 = (bool) PyInt_AsLong(obj1);
12502         if (PyErr_Occurred()) SWIG_fail;
12503     }
12504     (arg1)->fire(arg2);
12505     
12506     Py_INCREF(Py_None); resultobj = Py_None;
12507     return resultobj;
12508     fail:
12509     return NULL;
12510 }
12511
12512
12513 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12514     PyObject *resultobj;
12515     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12516     otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12517     PyObject * obj0  = 0 ;
12518     PyObject * obj1  = 0 ;
12519     
12520     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12521     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523     (arg1)->addTimer(arg2);
12524     
12525     Py_INCREF(Py_None); resultobj = Py_None;
12526     return resultobj;
12527     fail:
12528     return NULL;
12529 }
12530
12531
12532 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12533     PyObject *resultobj;
12534     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12535     otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12536     PyObject * obj0  = 0 ;
12537     PyObject * obj1  = 0 ;
12538     
12539     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12540     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12541     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542     (arg1)->removeTimer(arg2);
12543     
12544     Py_INCREF(Py_None); resultobj = Py_None;
12545     return resultobj;
12546     fail:
12547     return NULL;
12548 }
12549
12550
12551 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12552     PyObject *obj;
12553     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12554     SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12555     Py_INCREF(obj);
12556     return Py_BuildValue((char *)"");
12557 }
12558 static int _wrap_BSENTINEL_set(PyObject *_val) {
12559     PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12560     return 1;
12561 }
12562
12563
12564 static PyObject *_wrap_BSENTINEL_get() {
12565     PyObject *pyobj;
12566     
12567     pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12568     return pyobj;
12569 }
12570
12571
12572 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12573     PyObject *resultobj;
12574     std::string *arg1 = 0 ;
12575     std::string result;
12576     std::string temp1 ;
12577     PyObject * obj0  = 0 ;
12578     
12579     if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12580     {
12581         if (PyString_Check(obj0)) {
12582             temp1 = std::string(PyString_AsString(obj0));
12583             arg1 = &temp1;
12584         }else {
12585             SWIG_exception(SWIG_TypeError, "string expected");
12586         }
12587     }
12588     result = otk::expandTilde((std::string const &)*arg1);
12589     
12590     {
12591         resultobj = PyString_FromString((&result)->c_str());
12592     }
12593     return resultobj;
12594     fail:
12595     return NULL;
12596 }
12597
12598
12599 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12600     PyObject *resultobj;
12601     std::string *arg1 = 0 ;
12602     std::string *arg2 = 0 ;
12603     std::string temp1 ;
12604     std::string temp2 ;
12605     PyObject * obj0  = 0 ;
12606     PyObject * obj1  = 0 ;
12607     
12608     if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12609     {
12610         if (PyString_Check(obj0)) {
12611             temp1 = std::string(PyString_AsString(obj0));
12612             arg1 = &temp1;
12613         }else {
12614             SWIG_exception(SWIG_TypeError, "string expected");
12615         }
12616     }
12617     {
12618         if (PyString_Check(obj1)) {
12619             temp2 = std::string(PyString_AsString(obj1));
12620             arg2 = &temp2;
12621         }else {
12622             SWIG_exception(SWIG_TypeError, "string expected");
12623         }
12624     }
12625     otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12626     
12627     Py_INCREF(Py_None); resultobj = Py_None;
12628     return resultobj;
12629     fail:
12630     return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12635     PyObject *resultobj;
12636     Display *arg1 = (Display *) 0 ;
12637     XTextProperty *arg2 = 0 ;
12638     std::string result;
12639     PyObject * obj0  = 0 ;
12640     PyObject * obj1  = 0 ;
12641     
12642     if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12643     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12644     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645     if (arg2 == NULL) {
12646         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12647     }
12648     result = otk::textPropertyToString(arg1,*arg2);
12649     
12650     {
12651         resultobj = PyString_FromString((&result)->c_str());
12652     }
12653     return resultobj;
12654     fail:
12655     return NULL;
12656 }
12657
12658
12659 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12660     PyObject *resultobj;
12661     unsigned long arg1 ;
12662     std::string result;
12663     PyObject * obj0  = 0 ;
12664     
12665     if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12666     arg1 = (unsigned long) PyInt_AsLong(obj0);
12667     if (PyErr_Occurred()) SWIG_fail;
12668     result = otk::itostring(arg1);
12669     
12670     {
12671         resultobj = PyString_FromString((&result)->c_str());
12672     }
12673     return resultobj;
12674     fail:
12675     return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12680     PyObject *resultobj;
12681     long arg1 ;
12682     std::string result;
12683     
12684     if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12685     result = otk::itostring(arg1);
12686     
12687     {
12688         resultobj = PyString_FromString((&result)->c_str());
12689     }
12690     return resultobj;
12691     fail:
12692     return NULL;
12693 }
12694
12695
12696 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12697     PyObject *resultobj;
12698     unsigned int arg1 ;
12699     std::string result;
12700     PyObject * obj0  = 0 ;
12701     
12702     if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12703     arg1 = (unsigned int) PyInt_AsLong(obj0);
12704     if (PyErr_Occurred()) SWIG_fail;
12705     result = otk::itostring(arg1);
12706     
12707     {
12708         resultobj = PyString_FromString((&result)->c_str());
12709     }
12710     return resultobj;
12711     fail:
12712     return NULL;
12713 }
12714
12715
12716 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12717     PyObject *resultobj;
12718     int arg1 ;
12719     std::string result;
12720     
12721     if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12722     result = otk::itostring(arg1);
12723     
12724     {
12725         resultobj = PyString_FromString((&result)->c_str());
12726     }
12727     return resultobj;
12728     fail:
12729     return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12734     PyObject *resultobj;
12735     std::string *arg1 = 0 ;
12736     std::string result;
12737     std::string temp1 ;
12738     PyObject * obj0  = 0 ;
12739     
12740     if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12741     {
12742         if (PyString_Check(obj0)) {
12743             temp1 = std::string(PyString_AsString(obj0));
12744             arg1 = &temp1;
12745         }else {
12746             SWIG_exception(SWIG_TypeError, "string expected");
12747         }
12748     }
12749     result = otk::basename((std::string const &)*arg1);
12750     
12751     {
12752         resultobj = PyString_FromString((&result)->c_str());
12753     }
12754     return resultobj;
12755     fail:
12756     return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_Cursors_session_set(PyObject *self, PyObject *args) {
12761     PyObject *resultobj;
12762     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12763     Cursor arg2 ;
12764     PyObject * obj0  = 0 ;
12765     PyObject * obj1  = 0 ;
12766     
12767     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_session_set",&obj0,&obj1)) goto fail;
12768     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12769     arg2 = (Cursor) PyInt_AsLong(obj1);
12770     if (PyErr_Occurred()) SWIG_fail;
12771     if (arg1) (arg1)->session = arg2;
12772     
12773     Py_INCREF(Py_None); resultobj = Py_None;
12774     return resultobj;
12775     fail:
12776     return NULL;
12777 }
12778
12779
12780 static PyObject *_wrap_Cursors_session_get(PyObject *self, PyObject *args) {
12781     PyObject *resultobj;
12782     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12783     Cursor result;
12784     PyObject * obj0  = 0 ;
12785     
12786     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_session_get",&obj0)) goto fail;
12787     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12788     result = (Cursor) ((arg1)->session);
12789     
12790     resultobj = PyInt_FromLong((long)result);
12791     return resultobj;
12792     fail:
12793     return NULL;
12794 }
12795
12796
12797 static PyObject *_wrap_Cursors_move_set(PyObject *self, PyObject *args) {
12798     PyObject *resultobj;
12799     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12800     Cursor arg2 ;
12801     PyObject * obj0  = 0 ;
12802     PyObject * obj1  = 0 ;
12803     
12804     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_move_set",&obj0,&obj1)) goto fail;
12805     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12806     arg2 = (Cursor) PyInt_AsLong(obj1);
12807     if (PyErr_Occurred()) SWIG_fail;
12808     if (arg1) (arg1)->move = arg2;
12809     
12810     Py_INCREF(Py_None); resultobj = Py_None;
12811     return resultobj;
12812     fail:
12813     return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_Cursors_move_get(PyObject *self, PyObject *args) {
12818     PyObject *resultobj;
12819     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12820     Cursor result;
12821     PyObject * obj0  = 0 ;
12822     
12823     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_move_get",&obj0)) goto fail;
12824     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12825     result = (Cursor) ((arg1)->move);
12826     
12827     resultobj = PyInt_FromLong((long)result);
12828     return resultobj;
12829     fail:
12830     return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_Cursors_ll_angle_set(PyObject *self, PyObject *args) {
12835     PyObject *resultobj;
12836     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12837     Cursor arg2 ;
12838     PyObject * obj0  = 0 ;
12839     PyObject * obj1  = 0 ;
12840     
12841     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ll_angle_set",&obj0,&obj1)) goto fail;
12842     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12843     arg2 = (Cursor) PyInt_AsLong(obj1);
12844     if (PyErr_Occurred()) SWIG_fail;
12845     if (arg1) (arg1)->ll_angle = arg2;
12846     
12847     Py_INCREF(Py_None); resultobj = Py_None;
12848     return resultobj;
12849     fail:
12850     return NULL;
12851 }
12852
12853
12854 static PyObject *_wrap_Cursors_ll_angle_get(PyObject *self, PyObject *args) {
12855     PyObject *resultobj;
12856     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12857     Cursor result;
12858     PyObject * obj0  = 0 ;
12859     
12860     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ll_angle_get",&obj0)) goto fail;
12861     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12862     result = (Cursor) ((arg1)->ll_angle);
12863     
12864     resultobj = PyInt_FromLong((long)result);
12865     return resultobj;
12866     fail:
12867     return NULL;
12868 }
12869
12870
12871 static PyObject *_wrap_Cursors_lr_angle_set(PyObject *self, PyObject *args) {
12872     PyObject *resultobj;
12873     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12874     Cursor arg2 ;
12875     PyObject * obj0  = 0 ;
12876     PyObject * obj1  = 0 ;
12877     
12878     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_lr_angle_set",&obj0,&obj1)) goto fail;
12879     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12880     arg2 = (Cursor) PyInt_AsLong(obj1);
12881     if (PyErr_Occurred()) SWIG_fail;
12882     if (arg1) (arg1)->lr_angle = arg2;
12883     
12884     Py_INCREF(Py_None); resultobj = Py_None;
12885     return resultobj;
12886     fail:
12887     return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_Cursors_lr_angle_get(PyObject *self, PyObject *args) {
12892     PyObject *resultobj;
12893     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12894     Cursor result;
12895     PyObject * obj0  = 0 ;
12896     
12897     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_lr_angle_get",&obj0)) goto fail;
12898     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899     result = (Cursor) ((arg1)->lr_angle);
12900     
12901     resultobj = PyInt_FromLong((long)result);
12902     return resultobj;
12903     fail:
12904     return NULL;
12905 }
12906
12907
12908 static PyObject *_wrap_Cursors_ul_angle_set(PyObject *self, PyObject *args) {
12909     PyObject *resultobj;
12910     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12911     Cursor arg2 ;
12912     PyObject * obj0  = 0 ;
12913     PyObject * obj1  = 0 ;
12914     
12915     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ul_angle_set",&obj0,&obj1)) goto fail;
12916     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12917     arg2 = (Cursor) PyInt_AsLong(obj1);
12918     if (PyErr_Occurred()) SWIG_fail;
12919     if (arg1) (arg1)->ul_angle = arg2;
12920     
12921     Py_INCREF(Py_None); resultobj = Py_None;
12922     return resultobj;
12923     fail:
12924     return NULL;
12925 }
12926
12927
12928 static PyObject *_wrap_Cursors_ul_angle_get(PyObject *self, PyObject *args) {
12929     PyObject *resultobj;
12930     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12931     Cursor result;
12932     PyObject * obj0  = 0 ;
12933     
12934     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ul_angle_get",&obj0)) goto fail;
12935     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12936     result = (Cursor) ((arg1)->ul_angle);
12937     
12938     resultobj = PyInt_FromLong((long)result);
12939     return resultobj;
12940     fail:
12941     return NULL;
12942 }
12943
12944
12945 static PyObject *_wrap_Cursors_ur_angle_set(PyObject *self, PyObject *args) {
12946     PyObject *resultobj;
12947     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12948     Cursor arg2 ;
12949     PyObject * obj0  = 0 ;
12950     PyObject * obj1  = 0 ;
12951     
12952     if(!PyArg_ParseTuple(args,(char *)"OO:Cursors_ur_angle_set",&obj0,&obj1)) goto fail;
12953     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954     arg2 = (Cursor) PyInt_AsLong(obj1);
12955     if (PyErr_Occurred()) SWIG_fail;
12956     if (arg1) (arg1)->ur_angle = arg2;
12957     
12958     Py_INCREF(Py_None); resultobj = Py_None;
12959     return resultobj;
12960     fail:
12961     return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_Cursors_ur_angle_get(PyObject *self, PyObject *args) {
12966     PyObject *resultobj;
12967     ob::Cursors *arg1 = (ob::Cursors *) 0 ;
12968     Cursor result;
12969     PyObject * obj0  = 0 ;
12970     
12971     if(!PyArg_ParseTuple(args,(char *)"O:Cursors_ur_angle_get",&obj0)) goto fail;
12972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Cursors,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12973     result = (Cursor) ((arg1)->ur_angle);
12974     
12975     resultobj = PyInt_FromLong((long)result);
12976     return resultobj;
12977     fail:
12978     return NULL;
12979 }
12980
12981
12982 static PyObject * Cursors_swigregister(PyObject *self, PyObject *args) {
12983     PyObject *obj;
12984     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12985     SWIG_TypeClientData(SWIGTYPE_p_ob__Cursors, obj);
12986     Py_INCREF(obj);
12987     return Py_BuildValue((char *)"");
12988 }
12989 static PyObject *_wrap_Openbox_state(PyObject *self, PyObject *args) {
12990     PyObject *resultobj;
12991     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
12992     int result;
12993     PyObject * obj0  = 0 ;
12994     
12995     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_state",&obj0)) goto fail;
12996     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997     result = (int)((ob::Openbox const *)arg1)->state();
12998     
12999     resultobj = PyInt_FromLong((long)result);
13000     return resultobj;
13001     fail:
13002     return NULL;
13003 }
13004
13005
13006 static PyObject *_wrap_Openbox_timerManager(PyObject *self, PyObject *args) {
13007     PyObject *resultobj;
13008     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13009     otk::OBTimerQueueManager *result;
13010     PyObject * obj0  = 0 ;
13011     
13012     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_timerManager",&obj0)) goto fail;
13013     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13014     result = (otk::OBTimerQueueManager *)(arg1)->timerManager();
13015     
13016     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 0);
13017     return resultobj;
13018     fail:
13019     return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_Openbox_property(PyObject *self, PyObject *args) {
13024     PyObject *resultobj;
13025     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13026     otk::OBProperty *result;
13027     PyObject * obj0  = 0 ;
13028     
13029     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_property",&obj0)) goto fail;
13030     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031     result = (otk::OBProperty *)((ob::Openbox const *)arg1)->property();
13032     
13033     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 0);
13034     return resultobj;
13035     fail:
13036     return NULL;
13037 }
13038
13039
13040 static PyObject *_wrap_Openbox_actions(PyObject *self, PyObject *args) {
13041     PyObject *resultobj;
13042     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13043     ob::OBActions *result;
13044     PyObject * obj0  = 0 ;
13045     
13046     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_actions",&obj0)) goto fail;
13047     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048     result = (ob::OBActions *)((ob::Openbox const *)arg1)->actions();
13049     
13050     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBActions, 0);
13051     return resultobj;
13052     fail:
13053     return NULL;
13054 }
13055
13056
13057 static PyObject *_wrap_Openbox_bindings(PyObject *self, PyObject *args) {
13058     PyObject *resultobj;
13059     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13060     ob::OBBindings *result;
13061     PyObject * obj0  = 0 ;
13062     
13063     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_bindings",&obj0)) goto fail;
13064     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13065     result = (ob::OBBindings *)((ob::Openbox const *)arg1)->bindings();
13066     
13067     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBBindings, 0);
13068     return resultobj;
13069     fail:
13070     return NULL;
13071 }
13072
13073
13074 static PyObject *_wrap_Openbox_screen(PyObject *self, PyObject *args) {
13075     PyObject *resultobj;
13076     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13077     int arg2 ;
13078     ob::OBScreen *result;
13079     PyObject * obj0  = 0 ;
13080     
13081     if(!PyArg_ParseTuple(args,(char *)"Oi:Openbox_screen",&obj0,&arg2)) goto fail;
13082     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13083     result = (ob::OBScreen *)(arg1)->screen(arg2);
13084     
13085     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
13086     return resultobj;
13087     fail:
13088     return NULL;
13089 }
13090
13091
13092 static PyObject *_wrap_Openbox_screenCount(PyObject *self, PyObject *args) {
13093     PyObject *resultobj;
13094     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13095     int result;
13096     PyObject * obj0  = 0 ;
13097     
13098     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_screenCount",&obj0)) goto fail;
13099     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13100     result = (int)((ob::Openbox const *)arg1)->screenCount();
13101     
13102     resultobj = PyInt_FromLong((long)result);
13103     return resultobj;
13104     fail:
13105     return NULL;
13106 }
13107
13108
13109 static PyObject *_wrap_Openbox_cursors(PyObject *self, PyObject *args) {
13110     PyObject *resultobj;
13111     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13112     ob::Cursors *result;
13113     PyObject * obj0  = 0 ;
13114     
13115     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_cursors",&obj0)) goto fail;
13116     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117     {
13118         ob::Cursors const &_result_ref = ((ob::Openbox const *)arg1)->cursors();
13119         result = (ob::Cursors *) &_result_ref;
13120     }
13121     
13122     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__Cursors, 0);
13123     return resultobj;
13124     fail:
13125     return NULL;
13126 }
13127
13128
13129 static PyObject *_wrap_Openbox_addClient(PyObject *self, PyObject *args) {
13130     PyObject *resultobj;
13131     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13132     Window arg2 ;
13133     ob::OBClient *arg3 = (ob::OBClient *) 0 ;
13134     PyObject * obj0  = 0 ;
13135     PyObject * obj1  = 0 ;
13136     PyObject * obj2  = 0 ;
13137     
13138     if(!PyArg_ParseTuple(args,(char *)"OOO:Openbox_addClient",&obj0,&obj1,&obj2)) goto fail;
13139     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13140     arg2 = (Window) PyInt_AsLong(obj1);
13141     if (PyErr_Occurred()) SWIG_fail;
13142     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13143     (arg1)->addClient(arg2,arg3);
13144     
13145     Py_INCREF(Py_None); resultobj = Py_None;
13146     return resultobj;
13147     fail:
13148     return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_Openbox_removeClient(PyObject *self, PyObject *args) {
13153     PyObject *resultobj;
13154     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13155     Window arg2 ;
13156     PyObject * obj0  = 0 ;
13157     PyObject * obj1  = 0 ;
13158     
13159     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_removeClient",&obj0,&obj1)) goto fail;
13160     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161     arg2 = (Window) PyInt_AsLong(obj1);
13162     if (PyErr_Occurred()) SWIG_fail;
13163     (arg1)->removeClient(arg2);
13164     
13165     Py_INCREF(Py_None); resultobj = Py_None;
13166     return resultobj;
13167     fail:
13168     return NULL;
13169 }
13170
13171
13172 static PyObject *_wrap_Openbox_findClient(PyObject *self, PyObject *args) {
13173     PyObject *resultobj;
13174     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13175     Window arg2 ;
13176     ob::OBClient *result;
13177     PyObject * obj0  = 0 ;
13178     PyObject * obj1  = 0 ;
13179     
13180     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_findClient",&obj0,&obj1)) goto fail;
13181     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182     arg2 = (Window) PyInt_AsLong(obj1);
13183     if (PyErr_Occurred()) SWIG_fail;
13184     result = (ob::OBClient *)(arg1)->findClient(arg2);
13185     
13186     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13187     return resultobj;
13188     fail:
13189     return NULL;
13190 }
13191
13192
13193 static PyObject *_wrap_Openbox_focusedClient(PyObject *self, PyObject *args) {
13194     PyObject *resultobj;
13195     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13196     ob::OBClient *result;
13197     PyObject * obj0  = 0 ;
13198     
13199     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedClient",&obj0)) goto fail;
13200     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201     result = (ob::OBClient *)(arg1)->focusedClient();
13202     
13203     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13204     return resultobj;
13205     fail:
13206     return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_Openbox_setFocusedClient(PyObject *self, PyObject *args) {
13211     PyObject *resultobj;
13212     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13213     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
13214     PyObject * obj0  = 0 ;
13215     PyObject * obj1  = 0 ;
13216     
13217     if(!PyArg_ParseTuple(args,(char *)"OO:Openbox_setFocusedClient",&obj0,&obj1)) goto fail;
13218     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13219     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13220     (arg1)->setFocusedClient(arg2);
13221     
13222     Py_INCREF(Py_None); resultobj = Py_None;
13223     return resultobj;
13224     fail:
13225     return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_Openbox_focusedScreen(PyObject *self, PyObject *args) {
13230     PyObject *resultobj;
13231     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13232     ob::OBScreen *result;
13233     PyObject * obj0  = 0 ;
13234     
13235     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_focusedScreen",&obj0)) goto fail;
13236     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237     result = (ob::OBScreen *)(arg1)->focusedScreen();
13238     
13239     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBScreen, 0);
13240     return resultobj;
13241     fail:
13242     return NULL;
13243 }
13244
13245
13246 static PyObject *_wrap_Openbox_shutdown(PyObject *self, PyObject *args) {
13247     PyObject *resultobj;
13248     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13249     PyObject * obj0  = 0 ;
13250     
13251     if(!PyArg_ParseTuple(args,(char *)"O:Openbox_shutdown",&obj0)) goto fail;
13252     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253     (arg1)->shutdown();
13254     
13255     Py_INCREF(Py_None); resultobj = Py_None;
13256     return resultobj;
13257     fail:
13258     return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_Openbox_restart(PyObject *self, PyObject *args) {
13263     PyObject *resultobj;
13264     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13265     std::string const &arg2_defvalue = "" ;
13266     std::string *arg2 = (std::string *) &arg2_defvalue ;
13267     std::string temp2 ;
13268     PyObject * obj0  = 0 ;
13269     PyObject * obj1  = 0 ;
13270     
13271     if(!PyArg_ParseTuple(args,(char *)"O|O:Openbox_restart",&obj0,&obj1)) goto fail;
13272     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13273     if (obj1) {
13274         {
13275             if (PyString_Check(obj1)) {
13276                 temp2 = std::string(PyString_AsString(obj1));
13277                 arg2 = &temp2;
13278             }else {
13279                 SWIG_exception(SWIG_TypeError, "string expected");
13280             }
13281         }
13282     }
13283     (arg1)->restart((std::string const &)*arg2);
13284     
13285     Py_INCREF(Py_None); resultobj = Py_None;
13286     return resultobj;
13287     fail:
13288     return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_Openbox_execute(PyObject *self, PyObject *args) {
13293     PyObject *resultobj;
13294     ob::Openbox *arg1 = (ob::Openbox *) 0 ;
13295     int arg2 ;
13296     std::string *arg3 = 0 ;
13297     std::string temp3 ;
13298     PyObject * obj0  = 0 ;
13299     PyObject * obj2  = 0 ;
13300     
13301     if(!PyArg_ParseTuple(args,(char *)"OiO:Openbox_execute",&obj0,&arg2,&obj2)) goto fail;
13302     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Openbox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13303     {
13304         if (PyString_Check(obj2)) {
13305             temp3 = std::string(PyString_AsString(obj2));
13306             arg3 = &temp3;
13307         }else {
13308             SWIG_exception(SWIG_TypeError, "string expected");
13309         }
13310     }
13311     (arg1)->execute(arg2,(std::string const &)*arg3);
13312     
13313     Py_INCREF(Py_None); resultobj = Py_None;
13314     return resultobj;
13315     fail:
13316     return NULL;
13317 }
13318
13319
13320 static PyObject * Openbox_swigregister(PyObject *self, PyObject *args) {
13321     PyObject *obj;
13322     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13323     SWIG_TypeClientData(SWIGTYPE_p_ob__Openbox, obj);
13324     Py_INCREF(obj);
13325     return Py_BuildValue((char *)"");
13326 }
13327 static PyObject *_wrap_OBScreen_client(PyObject *self, PyObject *args) {
13328     PyObject *resultobj;
13329     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13330     int arg2 ;
13331     ob::OBClient *result;
13332     PyObject * obj0  = 0 ;
13333     
13334     if(!PyArg_ParseTuple(args,(char *)"Oi:OBScreen_client",&obj0,&arg2)) goto fail;
13335     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13336     result = (ob::OBClient *)ob_OBScreen_client(arg1,arg2);
13337     
13338     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
13339     return resultobj;
13340     fail:
13341     return NULL;
13342 }
13343
13344
13345 static PyObject *_wrap_OBScreen_clientCount(PyObject *self, PyObject *args) {
13346     PyObject *resultobj;
13347     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13348     int result;
13349     PyObject * obj0  = 0 ;
13350     
13351     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_clientCount",&obj0)) goto fail;
13352     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353     result = (int)ob_OBScreen_clientCount((ob::OBScreen const *)arg1);
13354     
13355     resultobj = PyInt_FromLong((long)result);
13356     return resultobj;
13357     fail:
13358     return NULL;
13359 }
13360
13361
13362 static PyObject *_wrap_OBScreen_number(PyObject *self, PyObject *args) {
13363     PyObject *resultobj;
13364     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13365     int result;
13366     PyObject * obj0  = 0 ;
13367     
13368     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_number",&obj0)) goto fail;
13369     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13370     result = (int)((ob::OBScreen const *)arg1)->number();
13371     
13372     resultobj = PyInt_FromLong((long)result);
13373     return resultobj;
13374     fail:
13375     return NULL;
13376 }
13377
13378
13379 static PyObject *_wrap_OBScreen_managed(PyObject *self, PyObject *args) {
13380     PyObject *resultobj;
13381     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13382     bool result;
13383     PyObject * obj0  = 0 ;
13384     
13385     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_managed",&obj0)) goto fail;
13386     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13387     result = (bool)((ob::OBScreen const *)arg1)->managed();
13388     
13389     resultobj = PyInt_FromLong((long)result);
13390     return resultobj;
13391     fail:
13392     return NULL;
13393 }
13394
13395
13396 static PyObject *_wrap_OBScreen_imageControl(PyObject *self, PyObject *args) {
13397     PyObject *resultobj;
13398     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13399     otk::BImageControl *result;
13400     PyObject * obj0  = 0 ;
13401     
13402     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_imageControl",&obj0)) goto fail;
13403     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404     result = (otk::BImageControl *)(arg1)->imageControl();
13405     
13406     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
13407     return resultobj;
13408     fail:
13409     return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_OBScreen_area(PyObject *self, PyObject *args) {
13414     PyObject *resultobj;
13415     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13416     otk::Rect *result;
13417     PyObject * obj0  = 0 ;
13418     
13419     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_area",&obj0)) goto fail;
13420     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13421     {
13422         otk::Rect const &_result_ref = ((ob::OBScreen const *)arg1)->area();
13423         result = (otk::Rect *) &_result_ref;
13424     }
13425     
13426     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
13427     return resultobj;
13428     fail:
13429     return NULL;
13430 }
13431
13432
13433 static PyObject *_wrap_OBScreen_style(PyObject *self, PyObject *args) {
13434     PyObject *resultobj;
13435     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13436     otk::Style *result;
13437     PyObject * obj0  = 0 ;
13438     
13439     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_style",&obj0)) goto fail;
13440     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13441     result = (otk::Style *)((ob::OBScreen const *)arg1)->style();
13442     
13443     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
13444     return resultobj;
13445     fail:
13446     return NULL;
13447 }
13448
13449
13450 static PyObject *_wrap_OBScreen_focuswindow(PyObject *self, PyObject *args) {
13451     PyObject *resultobj;
13452     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13453     Window result;
13454     PyObject * obj0  = 0 ;
13455     
13456     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_focuswindow",&obj0)) goto fail;
13457     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13458     result = (Window)((ob::OBScreen const *)arg1)->focuswindow();
13459     
13460     resultobj = PyInt_FromLong((long)result);
13461     return resultobj;
13462     fail:
13463     return NULL;
13464 }
13465
13466
13467 static PyObject *_wrap_OBScreen_desktop(PyObject *self, PyObject *args) {
13468     PyObject *resultobj;
13469     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13470     long result;
13471     PyObject * obj0  = 0 ;
13472     
13473     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_desktop",&obj0)) goto fail;
13474     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475     result = (long)((ob::OBScreen const *)arg1)->desktop();
13476     
13477     resultobj = PyInt_FromLong((long)result);
13478     return resultobj;
13479     fail:
13480     return NULL;
13481 }
13482
13483
13484 static PyObject *_wrap_OBScreen_numDesktops(PyObject *self, PyObject *args) {
13485     PyObject *resultobj;
13486     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13487     long result;
13488     PyObject * obj0  = 0 ;
13489     
13490     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_numDesktops",&obj0)) goto fail;
13491     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13492     result = (long)((ob::OBScreen const *)arg1)->numDesktops();
13493     
13494     resultobj = PyInt_FromLong((long)result);
13495     return resultobj;
13496     fail:
13497     return NULL;
13498 }
13499
13500
13501 static PyObject *_wrap_OBScreen_updateStrut(PyObject *self, PyObject *args) {
13502     PyObject *resultobj;
13503     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13504     PyObject * obj0  = 0 ;
13505     
13506     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_updateStrut",&obj0)) goto fail;
13507     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13508     (arg1)->updateStrut();
13509     
13510     Py_INCREF(Py_None); resultobj = Py_None;
13511     return resultobj;
13512     fail:
13513     return NULL;
13514 }
13515
13516
13517 static PyObject *_wrap_OBScreen_manageExisting(PyObject *self, PyObject *args) {
13518     PyObject *resultobj;
13519     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13520     PyObject * obj0  = 0 ;
13521     
13522     if(!PyArg_ParseTuple(args,(char *)"O:OBScreen_manageExisting",&obj0)) goto fail;
13523     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524     (arg1)->manageExisting();
13525     
13526     Py_INCREF(Py_None); resultobj = Py_None;
13527     return resultobj;
13528     fail:
13529     return NULL;
13530 }
13531
13532
13533 static PyObject *_wrap_OBScreen_manageWindow(PyObject *self, PyObject *args) {
13534     PyObject *resultobj;
13535     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13536     Window arg2 ;
13537     PyObject * obj0  = 0 ;
13538     PyObject * obj1  = 0 ;
13539     
13540     if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_manageWindow",&obj0,&obj1)) goto fail;
13541     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13542     arg2 = (Window) PyInt_AsLong(obj1);
13543     if (PyErr_Occurred()) SWIG_fail;
13544     (arg1)->manageWindow(arg2);
13545     
13546     Py_INCREF(Py_None); resultobj = Py_None;
13547     return resultobj;
13548     fail:
13549     return NULL;
13550 }
13551
13552
13553 static PyObject *_wrap_OBScreen_unmanageWindow(PyObject *self, PyObject *args) {
13554     PyObject *resultobj;
13555     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13556     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
13557     PyObject * obj0  = 0 ;
13558     PyObject * obj1  = 0 ;
13559     
13560     if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_unmanageWindow",&obj0,&obj1)) goto fail;
13561     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13562     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13563     (arg1)->unmanageWindow(arg2);
13564     
13565     Py_INCREF(Py_None); resultobj = Py_None;
13566     return resultobj;
13567     fail:
13568     return NULL;
13569 }
13570
13571
13572 static PyObject *_wrap_OBScreen_restack(PyObject *self, PyObject *args) {
13573     PyObject *resultobj;
13574     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13575     bool arg2 ;
13576     ob::OBClient *arg3 = (ob::OBClient *) 0 ;
13577     PyObject * obj0  = 0 ;
13578     PyObject * obj1  = 0 ;
13579     PyObject * obj2  = 0 ;
13580     
13581     if(!PyArg_ParseTuple(args,(char *)"OOO:OBScreen_restack",&obj0,&obj1,&obj2)) goto fail;
13582     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13583     arg2 = (bool) PyInt_AsLong(obj1);
13584     if (PyErr_Occurred()) SWIG_fail;
13585     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13586     (arg1)->restack(arg2,arg3);
13587     
13588     Py_INCREF(Py_None); resultobj = Py_None;
13589     return resultobj;
13590     fail:
13591     return NULL;
13592 }
13593
13594
13595 static PyObject *_wrap_OBScreen_setDesktopName(PyObject *self, PyObject *args) {
13596     PyObject *resultobj;
13597     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13598     long arg2 ;
13599     std::string *arg3 = 0 ;
13600     std::string temp3 ;
13601     PyObject * obj0  = 0 ;
13602     PyObject * obj2  = 0 ;
13603     
13604     if(!PyArg_ParseTuple(args,(char *)"OlO:OBScreen_setDesktopName",&obj0,&arg2,&obj2)) goto fail;
13605     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606     {
13607         if (PyString_Check(obj2)) {
13608             temp3 = std::string(PyString_AsString(obj2));
13609             arg3 = &temp3;
13610         }else {
13611             SWIG_exception(SWIG_TypeError, "string expected");
13612         }
13613     }
13614     (arg1)->setDesktopName(arg2,(std::string const &)*arg3);
13615     
13616     Py_INCREF(Py_None); resultobj = Py_None;
13617     return resultobj;
13618     fail:
13619     return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_OBScreen_propertyHandler(PyObject *self, PyObject *args) {
13624     PyObject *resultobj;
13625     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13626     XPropertyEvent *arg2 = 0 ;
13627     PyObject * obj0  = 0 ;
13628     PyObject * obj1  = 0 ;
13629     
13630     if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_propertyHandler",&obj0,&obj1)) goto fail;
13631     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13633     if (arg2 == NULL) {
13634         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
13635     }
13636     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
13637     
13638     Py_INCREF(Py_None); resultobj = Py_None;
13639     return resultobj;
13640     fail:
13641     return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_OBScreen_clientMessageHandler(PyObject *self, PyObject *args) {
13646     PyObject *resultobj;
13647     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13648     XClientMessageEvent *arg2 = 0 ;
13649     PyObject * obj0  = 0 ;
13650     PyObject * obj1  = 0 ;
13651     
13652     if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_clientMessageHandler",&obj0,&obj1)) goto fail;
13653     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13654     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13655     if (arg2 == NULL) {
13656         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
13657     }
13658     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
13659     
13660     Py_INCREF(Py_None); resultobj = Py_None;
13661     return resultobj;
13662     fail:
13663     return NULL;
13664 }
13665
13666
13667 static PyObject *_wrap_OBScreen_mapRequestHandler(PyObject *self, PyObject *args) {
13668     PyObject *resultobj;
13669     ob::OBScreen *arg1 = (ob::OBScreen *) 0 ;
13670     XMapRequestEvent *arg2 = 0 ;
13671     PyObject * obj0  = 0 ;
13672     PyObject * obj1  = 0 ;
13673     
13674     if(!PyArg_ParseTuple(args,(char *)"OO:OBScreen_mapRequestHandler",&obj0,&obj1)) goto fail;
13675     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677     if (arg2 == NULL) {
13678         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
13679     }
13680     (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
13681     
13682     Py_INCREF(Py_None); resultobj = Py_None;
13683     return resultobj;
13684     fail:
13685     return NULL;
13686 }
13687
13688
13689 static PyObject * OBScreen_swigregister(PyObject *self, PyObject *args) {
13690     PyObject *obj;
13691     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13692     SWIG_TypeClientData(SWIGTYPE_p_ob__OBScreen, obj);
13693     Py_INCREF(obj);
13694     return Py_BuildValue((char *)"");
13695 }
13696 static PyObject *_wrap_MwmHints_flags_set(PyObject *self, PyObject *args) {
13697     PyObject *resultobj;
13698     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13699     unsigned long arg2 ;
13700     PyObject * obj0  = 0 ;
13701     PyObject * obj1  = 0 ;
13702     
13703     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_flags_set",&obj0,&obj1)) goto fail;
13704     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705     arg2 = (unsigned long) PyInt_AsLong(obj1);
13706     if (PyErr_Occurred()) SWIG_fail;
13707     if (arg1) (arg1)->flags = arg2;
13708     
13709     Py_INCREF(Py_None); resultobj = Py_None;
13710     return resultobj;
13711     fail:
13712     return NULL;
13713 }
13714
13715
13716 static PyObject *_wrap_MwmHints_flags_get(PyObject *self, PyObject *args) {
13717     PyObject *resultobj;
13718     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13719     unsigned long result;
13720     PyObject * obj0  = 0 ;
13721     
13722     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_flags_get",&obj0)) goto fail;
13723     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13724     result = (unsigned long) ((arg1)->flags);
13725     
13726     resultobj = PyInt_FromLong((long)result);
13727     return resultobj;
13728     fail:
13729     return NULL;
13730 }
13731
13732
13733 static PyObject *_wrap_MwmHints_functions_set(PyObject *self, PyObject *args) {
13734     PyObject *resultobj;
13735     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13736     unsigned long arg2 ;
13737     PyObject * obj0  = 0 ;
13738     PyObject * obj1  = 0 ;
13739     
13740     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_functions_set",&obj0,&obj1)) goto fail;
13741     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13742     arg2 = (unsigned long) PyInt_AsLong(obj1);
13743     if (PyErr_Occurred()) SWIG_fail;
13744     if (arg1) (arg1)->functions = arg2;
13745     
13746     Py_INCREF(Py_None); resultobj = Py_None;
13747     return resultobj;
13748     fail:
13749     return NULL;
13750 }
13751
13752
13753 static PyObject *_wrap_MwmHints_functions_get(PyObject *self, PyObject *args) {
13754     PyObject *resultobj;
13755     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13756     unsigned long result;
13757     PyObject * obj0  = 0 ;
13758     
13759     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_functions_get",&obj0)) goto fail;
13760     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13761     result = (unsigned long) ((arg1)->functions);
13762     
13763     resultobj = PyInt_FromLong((long)result);
13764     return resultobj;
13765     fail:
13766     return NULL;
13767 }
13768
13769
13770 static PyObject *_wrap_MwmHints_decorations_set(PyObject *self, PyObject *args) {
13771     PyObject *resultobj;
13772     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13773     unsigned long arg2 ;
13774     PyObject * obj0  = 0 ;
13775     PyObject * obj1  = 0 ;
13776     
13777     if(!PyArg_ParseTuple(args,(char *)"OO:MwmHints_decorations_set",&obj0,&obj1)) goto fail;
13778     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13779     arg2 = (unsigned long) PyInt_AsLong(obj1);
13780     if (PyErr_Occurred()) SWIG_fail;
13781     if (arg1) (arg1)->decorations = arg2;
13782     
13783     Py_INCREF(Py_None); resultobj = Py_None;
13784     return resultobj;
13785     fail:
13786     return NULL;
13787 }
13788
13789
13790 static PyObject *_wrap_MwmHints_decorations_get(PyObject *self, PyObject *args) {
13791     PyObject *resultobj;
13792     ob::MwmHints *arg1 = (ob::MwmHints *) 0 ;
13793     unsigned long result;
13794     PyObject * obj0  = 0 ;
13795     
13796     if(!PyArg_ParseTuple(args,(char *)"O:MwmHints_decorations_get",&obj0)) goto fail;
13797     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MwmHints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13798     result = (unsigned long) ((arg1)->decorations);
13799     
13800     resultobj = PyInt_FromLong((long)result);
13801     return resultobj;
13802     fail:
13803     return NULL;
13804 }
13805
13806
13807 static PyObject * MwmHints_swigregister(PyObject *self, PyObject *args) {
13808     PyObject *obj;
13809     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13810     SWIG_TypeClientData(SWIGTYPE_p_ob__MwmHints, obj);
13811     Py_INCREF(obj);
13812     return Py_BuildValue((char *)"");
13813 }
13814 static PyObject *_wrap_OBClient_frame_set(PyObject *self, PyObject *args) {
13815     PyObject *resultobj;
13816     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13817     ob::OBFrame *arg2 = (ob::OBFrame *) 0 ;
13818     PyObject * obj0  = 0 ;
13819     PyObject * obj1  = 0 ;
13820     
13821     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_frame_set",&obj0,&obj1)) goto fail;
13822     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13823     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBFrame,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13824     if (arg1) (arg1)->frame = arg2;
13825     
13826     Py_INCREF(Py_None); resultobj = Py_None;
13827     return resultobj;
13828     fail:
13829     return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_OBClient_frame_get(PyObject *self, PyObject *args) {
13834     PyObject *resultobj;
13835     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13836     ob::OBFrame *result;
13837     PyObject * obj0  = 0 ;
13838     
13839     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_frame_get",&obj0)) goto fail;
13840     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841     result = (ob::OBFrame *) ((arg1)->frame);
13842     
13843     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBFrame, 0);
13844     return resultobj;
13845     fail:
13846     return NULL;
13847 }
13848
13849
13850 static PyObject *_wrap_OBClient_ignore_unmaps_set(PyObject *self, PyObject *args) {
13851     PyObject *resultobj;
13852     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13853     int arg2 ;
13854     PyObject * obj0  = 0 ;
13855     
13856     if(!PyArg_ParseTuple(args,(char *)"Oi:OBClient_ignore_unmaps_set",&obj0,&arg2)) goto fail;
13857     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858     if (arg1) (arg1)->ignore_unmaps = arg2;
13859     
13860     Py_INCREF(Py_None); resultobj = Py_None;
13861     return resultobj;
13862     fail:
13863     return NULL;
13864 }
13865
13866
13867 static PyObject *_wrap_OBClient_ignore_unmaps_get(PyObject *self, PyObject *args) {
13868     PyObject *resultobj;
13869     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13870     int result;
13871     PyObject * obj0  = 0 ;
13872     
13873     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_ignore_unmaps_get",&obj0)) goto fail;
13874     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13875     result = (int) ((arg1)->ignore_unmaps);
13876     
13877     resultobj = PyInt_FromLong((long)result);
13878     return resultobj;
13879     fail:
13880     return NULL;
13881 }
13882
13883
13884 static PyObject *_wrap_OBClient_screen(PyObject *self, PyObject *args) {
13885     PyObject *resultobj;
13886     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13887     int result;
13888     PyObject * obj0  = 0 ;
13889     
13890     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_screen",&obj0)) goto fail;
13891     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892     result = (int)((ob::OBClient const *)arg1)->screen();
13893     
13894     resultobj = PyInt_FromLong((long)result);
13895     return resultobj;
13896     fail:
13897     return NULL;
13898 }
13899
13900
13901 static PyObject *_wrap_OBClient_window(PyObject *self, PyObject *args) {
13902     PyObject *resultobj;
13903     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13904     Window result;
13905     PyObject * obj0  = 0 ;
13906     
13907     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_window",&obj0)) goto fail;
13908     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13909     result = (Window)((ob::OBClient const *)arg1)->window();
13910     
13911     resultobj = PyInt_FromLong((long)result);
13912     return resultobj;
13913     fail:
13914     return NULL;
13915 }
13916
13917
13918 static PyObject *_wrap_OBClient_type(PyObject *self, PyObject *args) {
13919     PyObject *resultobj;
13920     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13921     int result;
13922     PyObject * obj0  = 0 ;
13923     
13924     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_type",&obj0)) goto fail;
13925     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13926     result = (int)((ob::OBClient const *)arg1)->type();
13927     
13928     resultobj = PyInt_FromLong((long)result);
13929     return resultobj;
13930     fail:
13931     return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_OBClient_normal(PyObject *self, PyObject *args) {
13936     PyObject *resultobj;
13937     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13938     bool result;
13939     PyObject * obj0  = 0 ;
13940     
13941     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_normal",&obj0)) goto fail;
13942     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13943     result = (bool)((ob::OBClient const *)arg1)->normal();
13944     
13945     resultobj = PyInt_FromLong((long)result);
13946     return resultobj;
13947     fail:
13948     return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_OBClient_desktop(PyObject *self, PyObject *args) {
13953     PyObject *resultobj;
13954     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13955     long result;
13956     PyObject * obj0  = 0 ;
13957     
13958     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_desktop",&obj0)) goto fail;
13959     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13960     result = (long)((ob::OBClient const *)arg1)->desktop();
13961     
13962     resultobj = PyInt_FromLong((long)result);
13963     return resultobj;
13964     fail:
13965     return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_OBClient_title(PyObject *self, PyObject *args) {
13970     PyObject *resultobj;
13971     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13972     std::string *result;
13973     PyObject * obj0  = 0 ;
13974     
13975     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_title",&obj0)) goto fail;
13976     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13977     {
13978         std::string const &_result_ref = ((ob::OBClient const *)arg1)->title();
13979         result = (std::string *) &_result_ref;
13980     }
13981     
13982     {
13983         resultobj = PyString_FromString(result->c_str());
13984     }
13985     return resultobj;
13986     fail:
13987     return NULL;
13988 }
13989
13990
13991 static PyObject *_wrap_OBClient_iconTitle(PyObject *self, PyObject *args) {
13992     PyObject *resultobj;
13993     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
13994     std::string *result;
13995     PyObject * obj0  = 0 ;
13996     
13997     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconTitle",&obj0)) goto fail;
13998     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13999     {
14000         std::string const &_result_ref = ((ob::OBClient const *)arg1)->iconTitle();
14001         result = (std::string *) &_result_ref;
14002     }
14003     
14004     {
14005         resultobj = PyString_FromString(result->c_str());
14006     }
14007     return resultobj;
14008     fail:
14009     return NULL;
14010 }
14011
14012
14013 static PyObject *_wrap_OBClient_appName(PyObject *self, PyObject *args) {
14014     PyObject *resultobj;
14015     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14016     std::string *result;
14017     PyObject * obj0  = 0 ;
14018     
14019     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appName",&obj0)) goto fail;
14020     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14021     {
14022         std::string const &_result_ref = ((ob::OBClient const *)arg1)->appName();
14023         result = (std::string *) &_result_ref;
14024     }
14025     
14026     {
14027         resultobj = PyString_FromString(result->c_str());
14028     }
14029     return resultobj;
14030     fail:
14031     return NULL;
14032 }
14033
14034
14035 static PyObject *_wrap_OBClient_appClass(PyObject *self, PyObject *args) {
14036     PyObject *resultobj;
14037     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14038     std::string *result;
14039     PyObject * obj0  = 0 ;
14040     
14041     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_appClass",&obj0)) goto fail;
14042     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043     {
14044         std::string const &_result_ref = ((ob::OBClient const *)arg1)->appClass();
14045         result = (std::string *) &_result_ref;
14046     }
14047     
14048     {
14049         resultobj = PyString_FromString(result->c_str());
14050     }
14051     return resultobj;
14052     fail:
14053     return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_OBClient_role(PyObject *self, PyObject *args) {
14058     PyObject *resultobj;
14059     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14060     std::string *result;
14061     PyObject * obj0  = 0 ;
14062     
14063     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_role",&obj0)) goto fail;
14064     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065     {
14066         std::string const &_result_ref = ((ob::OBClient const *)arg1)->role();
14067         result = (std::string *) &_result_ref;
14068     }
14069     
14070     {
14071         resultobj = PyString_FromString(result->c_str());
14072     }
14073     return resultobj;
14074     fail:
14075     return NULL;
14076 }
14077
14078
14079 static PyObject *_wrap_OBClient_canFocus(PyObject *self, PyObject *args) {
14080     PyObject *resultobj;
14081     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14082     bool result;
14083     PyObject * obj0  = 0 ;
14084     
14085     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_canFocus",&obj0)) goto fail;
14086     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14087     result = (bool)((ob::OBClient const *)arg1)->canFocus();
14088     
14089     resultobj = PyInt_FromLong((long)result);
14090     return resultobj;
14091     fail:
14092     return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_OBClient_urgent(PyObject *self, PyObject *args) {
14097     PyObject *resultobj;
14098     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14099     bool result;
14100     PyObject * obj0  = 0 ;
14101     
14102     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_urgent",&obj0)) goto fail;
14103     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14104     result = (bool)((ob::OBClient const *)arg1)->urgent();
14105     
14106     resultobj = PyInt_FromLong((long)result);
14107     return resultobj;
14108     fail:
14109     return NULL;
14110 }
14111
14112
14113 static PyObject *_wrap_OBClient_focusNotify(PyObject *self, PyObject *args) {
14114     PyObject *resultobj;
14115     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14116     bool result;
14117     PyObject * obj0  = 0 ;
14118     
14119     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focusNotify",&obj0)) goto fail;
14120     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14121     result = (bool)((ob::OBClient const *)arg1)->focusNotify();
14122     
14123     resultobj = PyInt_FromLong((long)result);
14124     return resultobj;
14125     fail:
14126     return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_OBClient_shaped(PyObject *self, PyObject *args) {
14131     PyObject *resultobj;
14132     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14133     bool result;
14134     PyObject * obj0  = 0 ;
14135     
14136     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaped",&obj0)) goto fail;
14137     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138     result = (bool)((ob::OBClient const *)arg1)->shaped();
14139     
14140     resultobj = PyInt_FromLong((long)result);
14141     return resultobj;
14142     fail:
14143     return NULL;
14144 }
14145
14146
14147 static PyObject *_wrap_OBClient_gravity(PyObject *self, PyObject *args) {
14148     PyObject *resultobj;
14149     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14150     int result;
14151     PyObject * obj0  = 0 ;
14152     
14153     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_gravity",&obj0)) goto fail;
14154     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155     result = (int)((ob::OBClient const *)arg1)->gravity();
14156     
14157     resultobj = PyInt_FromLong((long)result);
14158     return resultobj;
14159     fail:
14160     return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_OBClient_positionRequested(PyObject *self, PyObject *args) {
14165     PyObject *resultobj;
14166     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14167     bool result;
14168     PyObject * obj0  = 0 ;
14169     
14170     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_positionRequested",&obj0)) goto fail;
14171     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14172     result = (bool)((ob::OBClient const *)arg1)->positionRequested();
14173     
14174     resultobj = PyInt_FromLong((long)result);
14175     return resultobj;
14176     fail:
14177     return NULL;
14178 }
14179
14180
14181 static PyObject *_wrap_OBClient_decorations(PyObject *self, PyObject *args) {
14182     PyObject *resultobj;
14183     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14184     ob::OBClient::DecorationFlags result;
14185     PyObject * obj0  = 0 ;
14186     
14187     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_decorations",&obj0)) goto fail;
14188     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14189     result = (ob::OBClient::DecorationFlags)((ob::OBClient const *)arg1)->decorations();
14190     
14191     resultobj = PyInt_FromLong((long)result);
14192     return resultobj;
14193     fail:
14194     return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_OBClient_funtions(PyObject *self, PyObject *args) {
14199     PyObject *resultobj;
14200     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14201     ob::OBClient::FunctionFlags result;
14202     PyObject * obj0  = 0 ;
14203     
14204     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_funtions",&obj0)) goto fail;
14205     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14206     result = (ob::OBClient::FunctionFlags)((ob::OBClient const *)arg1)->funtions();
14207     
14208     resultobj = PyInt_FromLong((long)result);
14209     return resultobj;
14210     fail:
14211     return NULL;
14212 }
14213
14214
14215 static PyObject *_wrap_OBClient_transientFor(PyObject *self, PyObject *args) {
14216     PyObject *resultobj;
14217     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14218     ob::OBClient *result;
14219     PyObject * obj0  = 0 ;
14220     
14221     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_transientFor",&obj0)) goto fail;
14222     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14223     result = (ob::OBClient *)((ob::OBClient const *)arg1)->transientFor();
14224     
14225     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
14226     return resultobj;
14227     fail:
14228     return NULL;
14229 }
14230
14231
14232 static PyObject *_wrap_OBClient_modal(PyObject *self, PyObject *args) {
14233     PyObject *resultobj;
14234     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14235     bool result;
14236     PyObject * obj0  = 0 ;
14237     
14238     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_modal",&obj0)) goto fail;
14239     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14240     result = (bool)((ob::OBClient const *)arg1)->modal();
14241     
14242     resultobj = PyInt_FromLong((long)result);
14243     return resultobj;
14244     fail:
14245     return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_OBClient_shaded(PyObject *self, PyObject *args) {
14250     PyObject *resultobj;
14251     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14252     bool result;
14253     PyObject * obj0  = 0 ;
14254     
14255     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_shaded",&obj0)) goto fail;
14256     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257     result = (bool)((ob::OBClient const *)arg1)->shaded();
14258     
14259     resultobj = PyInt_FromLong((long)result);
14260     return resultobj;
14261     fail:
14262     return NULL;
14263 }
14264
14265
14266 static PyObject *_wrap_OBClient_iconic(PyObject *self, PyObject *args) {
14267     PyObject *resultobj;
14268     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14269     bool result;
14270     PyObject * obj0  = 0 ;
14271     
14272     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_iconic",&obj0)) goto fail;
14273     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14274     result = (bool)((ob::OBClient const *)arg1)->iconic();
14275     
14276     resultobj = PyInt_FromLong((long)result);
14277     return resultobj;
14278     fail:
14279     return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_OBClient_maxVert(PyObject *self, PyObject *args) {
14284     PyObject *resultobj;
14285     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14286     bool result;
14287     PyObject * obj0  = 0 ;
14288     
14289     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxVert",&obj0)) goto fail;
14290     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14291     result = (bool)((ob::OBClient const *)arg1)->maxVert();
14292     
14293     resultobj = PyInt_FromLong((long)result);
14294     return resultobj;
14295     fail:
14296     return NULL;
14297 }
14298
14299
14300 static PyObject *_wrap_OBClient_maxHorz(PyObject *self, PyObject *args) {
14301     PyObject *resultobj;
14302     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14303     bool result;
14304     PyObject * obj0  = 0 ;
14305     
14306     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_maxHorz",&obj0)) goto fail;
14307     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14308     result = (bool)((ob::OBClient const *)arg1)->maxHorz();
14309     
14310     resultobj = PyInt_FromLong((long)result);
14311     return resultobj;
14312     fail:
14313     return NULL;
14314 }
14315
14316
14317 static PyObject *_wrap_OBClient_layer(PyObject *self, PyObject *args) {
14318     PyObject *resultobj;
14319     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14320     int result;
14321     PyObject * obj0  = 0 ;
14322     
14323     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_layer",&obj0)) goto fail;
14324     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325     result = (int)((ob::OBClient const *)arg1)->layer();
14326     
14327     resultobj = PyInt_FromLong((long)result);
14328     return resultobj;
14329     fail:
14330     return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_OBClient_toggleClientBorder(PyObject *self, PyObject *args) {
14335     PyObject *resultobj;
14336     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14337     bool arg2 ;
14338     PyObject * obj0  = 0 ;
14339     PyObject * obj1  = 0 ;
14340     
14341     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_toggleClientBorder",&obj0,&obj1)) goto fail;
14342     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14343     arg2 = (bool) PyInt_AsLong(obj1);
14344     if (PyErr_Occurred()) SWIG_fail;
14345     (arg1)->toggleClientBorder(arg2);
14346     
14347     Py_INCREF(Py_None); resultobj = Py_None;
14348     return resultobj;
14349     fail:
14350     return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_OBClient_area(PyObject *self, PyObject *args) {
14355     PyObject *resultobj;
14356     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14357     otk::Rect *result;
14358     PyObject * obj0  = 0 ;
14359     
14360     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_area",&obj0)) goto fail;
14361     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14362     {
14363         otk::Rect const &_result_ref = ((ob::OBClient const *)arg1)->area();
14364         result = (otk::Rect *) &_result_ref;
14365     }
14366     
14367     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
14368     return resultobj;
14369     fail:
14370     return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_OBClient_strut(PyObject *self, PyObject *args) {
14375     PyObject *resultobj;
14376     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14377     otk::Strut *result;
14378     PyObject * obj0  = 0 ;
14379     
14380     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_strut",&obj0)) goto fail;
14381     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14382     {
14383         otk::Strut const &_result_ref = ((ob::OBClient const *)arg1)->strut();
14384         result = (otk::Strut *) &_result_ref;
14385     }
14386     
14387     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 0);
14388     return resultobj;
14389     fail:
14390     return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_OBClient_move(PyObject *self, PyObject *args) {
14395     PyObject *resultobj;
14396     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14397     int arg2 ;
14398     int arg3 ;
14399     PyObject * obj0  = 0 ;
14400     
14401     if(!PyArg_ParseTuple(args,(char *)"Oii:OBClient_move",&obj0,&arg2,&arg3)) goto fail;
14402     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14403     (arg1)->move(arg2,arg3);
14404     
14405     Py_INCREF(Py_None); resultobj = Py_None;
14406     return resultobj;
14407     fail:
14408     return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_OBClient_resize(PyObject *self, PyObject *args) {
14413     PyObject *resultobj;
14414     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14415     int arg2 ;
14416     int arg3 ;
14417     int arg4 ;
14418     int arg5 = (int) INT_MIN ;
14419     int arg6 = (int) INT_MIN ;
14420     PyObject * obj0  = 0 ;
14421     
14422     if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:OBClient_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14423     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14424     (arg1)->resize((ob::OBClient::Corner )arg2,arg3,arg4,arg5,arg6);
14425     
14426     Py_INCREF(Py_None); resultobj = Py_None;
14427     return resultobj;
14428     fail:
14429     return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
14434     PyObject *resultobj;
14435     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14436     bool result;
14437     PyObject * obj0  = 0 ;
14438     
14439     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
14440     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14441     result = (bool)((ob::OBClient const *)arg1)->focus();
14442     
14443     resultobj = PyInt_FromLong((long)result);
14444     return resultobj;
14445     fail:
14446     return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
14451     PyObject *resultobj;
14452     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14453     PyObject * obj0  = 0 ;
14454     
14455     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
14456     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457     ((ob::OBClient const *)arg1)->unfocus();
14458     
14459     Py_INCREF(Py_None); resultobj = Py_None;
14460     return resultobj;
14461     fail:
14462     return NULL;
14463 }
14464
14465
14466 static PyObject *_wrap_OBClient_focusHandler(PyObject *self, PyObject *args) {
14467     PyObject *resultobj;
14468     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14469     XFocusChangeEvent *arg2 = 0 ;
14470     PyObject * obj0  = 0 ;
14471     PyObject * obj1  = 0 ;
14472     
14473     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_focusHandler",&obj0,&obj1)) goto fail;
14474     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476     if (arg2 == NULL) {
14477         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14478     }
14479     (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
14480     
14481     Py_INCREF(Py_None); resultobj = Py_None;
14482     return resultobj;
14483     fail:
14484     return NULL;
14485 }
14486
14487
14488 static PyObject *_wrap_OBClient_unfocusHandler(PyObject *self, PyObject *args) {
14489     PyObject *resultobj;
14490     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14491     XFocusChangeEvent *arg2 = 0 ;
14492     PyObject * obj0  = 0 ;
14493     PyObject * obj1  = 0 ;
14494     
14495     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unfocusHandler",&obj0,&obj1)) goto fail;
14496     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14497     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14498     if (arg2 == NULL) {
14499         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14500     }
14501     (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
14502     
14503     Py_INCREF(Py_None); resultobj = Py_None;
14504     return resultobj;
14505     fail:
14506     return NULL;
14507 }
14508
14509
14510 static PyObject *_wrap_OBClient_propertyHandler(PyObject *self, PyObject *args) {
14511     PyObject *resultobj;
14512     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14513     XPropertyEvent *arg2 = 0 ;
14514     PyObject * obj0  = 0 ;
14515     PyObject * obj1  = 0 ;
14516     
14517     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_propertyHandler",&obj0,&obj1)) goto fail;
14518     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14520     if (arg2 == NULL) {
14521         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14522     }
14523     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
14524     
14525     Py_INCREF(Py_None); resultobj = Py_None;
14526     return resultobj;
14527     fail:
14528     return NULL;
14529 }
14530
14531
14532 static PyObject *_wrap_OBClient_clientMessageHandler(PyObject *self, PyObject *args) {
14533     PyObject *resultobj;
14534     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14535     XClientMessageEvent *arg2 = 0 ;
14536     PyObject * obj0  = 0 ;
14537     PyObject * obj1  = 0 ;
14538     
14539     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_clientMessageHandler",&obj0,&obj1)) goto fail;
14540     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14541     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542     if (arg2 == NULL) {
14543         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14544     }
14545     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
14546     
14547     Py_INCREF(Py_None); resultobj = Py_None;
14548     return resultobj;
14549     fail:
14550     return NULL;
14551 }
14552
14553
14554 static PyObject *_wrap_OBClient_configureRequestHandler(PyObject *self, PyObject *args) {
14555     PyObject *resultobj;
14556     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14557     XConfigureRequestEvent *arg2 = 0 ;
14558     PyObject * obj0  = 0 ;
14559     PyObject * obj1  = 0 ;
14560     
14561     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_configureRequestHandler",&obj0,&obj1)) goto fail;
14562     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564     if (arg2 == NULL) {
14565         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14566     }
14567     (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
14568     
14569     Py_INCREF(Py_None); resultobj = Py_None;
14570     return resultobj;
14571     fail:
14572     return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_OBClient_unmapHandler(PyObject *self, PyObject *args) {
14577     PyObject *resultobj;
14578     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14579     XUnmapEvent *arg2 = 0 ;
14580     PyObject * obj0  = 0 ;
14581     PyObject * obj1  = 0 ;
14582     
14583     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_unmapHandler",&obj0,&obj1)) goto fail;
14584     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586     if (arg2 == NULL) {
14587         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14588     }
14589     (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
14590     
14591     Py_INCREF(Py_None); resultobj = Py_None;
14592     return resultobj;
14593     fail:
14594     return NULL;
14595 }
14596
14597
14598 static PyObject *_wrap_OBClient_destroyHandler(PyObject *self, PyObject *args) {
14599     PyObject *resultobj;
14600     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14601     XDestroyWindowEvent *arg2 = 0 ;
14602     PyObject * obj0  = 0 ;
14603     PyObject * obj1  = 0 ;
14604     
14605     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_destroyHandler",&obj0,&obj1)) goto fail;
14606     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14607     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608     if (arg2 == NULL) {
14609         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14610     }
14611     (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
14612     
14613     Py_INCREF(Py_None); resultobj = Py_None;
14614     return resultobj;
14615     fail:
14616     return NULL;
14617 }
14618
14619
14620 static PyObject *_wrap_OBClient_reparentHandler(PyObject *self, PyObject *args) {
14621     PyObject *resultobj;
14622     ob::OBClient *arg1 = (ob::OBClient *) 0 ;
14623     XReparentEvent *arg2 = 0 ;
14624     PyObject * obj0  = 0 ;
14625     PyObject * obj1  = 0 ;
14626     
14627     if(!PyArg_ParseTuple(args,(char *)"OO:OBClient_reparentHandler",&obj0,&obj1)) goto fail;
14628     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14629     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14630     if (arg2 == NULL) {
14631         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
14632     }
14633     (arg1)->reparentHandler((XReparentEvent const &)*arg2);
14634     
14635     Py_INCREF(Py_None); resultobj = Py_None;
14636     return resultobj;
14637     fail:
14638     return NULL;
14639 }
14640
14641
14642 static PyObject * OBClient_swigregister(PyObject *self, PyObject *args) {
14643     PyObject *obj;
14644     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14645     SWIG_TypeClientData(SWIGTYPE_p_ob__OBClient, obj);
14646     Py_INCREF(obj);
14647     return Py_BuildValue((char *)"");
14648 }
14649 static PyObject *_wrap_MouseData_screen_set(PyObject *self, PyObject *args) {
14650     PyObject *resultobj;
14651     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14652     int arg2 ;
14653     PyObject * obj0  = 0 ;
14654     
14655     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_screen_set",&obj0,&arg2)) goto fail;
14656     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657     if (arg1) (arg1)->screen = arg2;
14658     
14659     Py_INCREF(Py_None); resultobj = Py_None;
14660     return resultobj;
14661     fail:
14662     return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_MouseData_screen_get(PyObject *self, PyObject *args) {
14667     PyObject *resultobj;
14668     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14669     int result;
14670     PyObject * obj0  = 0 ;
14671     
14672     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_screen_get",&obj0)) goto fail;
14673     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674     result = (int) ((arg1)->screen);
14675     
14676     resultobj = PyInt_FromLong((long)result);
14677     return resultobj;
14678     fail:
14679     return NULL;
14680 }
14681
14682
14683 static PyObject *_wrap_MouseData_client_set(PyObject *self, PyObject *args) {
14684     PyObject *resultobj;
14685     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14686     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
14687     PyObject * obj0  = 0 ;
14688     PyObject * obj1  = 0 ;
14689     
14690     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_client_set",&obj0,&obj1)) goto fail;
14691     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14692     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
14693     if (arg1) (arg1)->client = arg2;
14694     
14695     Py_INCREF(Py_None); resultobj = Py_None;
14696     return resultobj;
14697     fail:
14698     return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_MouseData_client_get(PyObject *self, PyObject *args) {
14703     PyObject *resultobj;
14704     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14705     ob::OBClient *result;
14706     PyObject * obj0  = 0 ;
14707     
14708     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_client_get",&obj0)) goto fail;
14709     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14710     result = (ob::OBClient *) ((arg1)->client);
14711     
14712     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
14713     return resultobj;
14714     fail:
14715     return NULL;
14716 }
14717
14718
14719 static PyObject *_wrap_MouseData_time_set(PyObject *self, PyObject *args) {
14720     PyObject *resultobj;
14721     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14722     Time arg2 ;
14723     PyObject * obj0  = 0 ;
14724     PyObject * obj1  = 0 ;
14725     
14726     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_time_set",&obj0,&obj1)) goto fail;
14727     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14728     arg2 = (Time) PyInt_AsLong(obj1);
14729     if (PyErr_Occurred()) SWIG_fail;
14730     if (arg1) (arg1)->time = arg2;
14731     
14732     Py_INCREF(Py_None); resultobj = Py_None;
14733     return resultobj;
14734     fail:
14735     return NULL;
14736 }
14737
14738
14739 static PyObject *_wrap_MouseData_time_get(PyObject *self, PyObject *args) {
14740     PyObject *resultobj;
14741     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14742     Time result;
14743     PyObject * obj0  = 0 ;
14744     
14745     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_time_get",&obj0)) goto fail;
14746     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747     result = (Time) ((arg1)->time);
14748     
14749     resultobj = PyInt_FromLong((long)result);
14750     return resultobj;
14751     fail:
14752     return NULL;
14753 }
14754
14755
14756 static PyObject *_wrap_MouseData_state_set(PyObject *self, PyObject *args) {
14757     PyObject *resultobj;
14758     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14759     unsigned int arg2 ;
14760     PyObject * obj0  = 0 ;
14761     PyObject * obj1  = 0 ;
14762     
14763     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_state_set",&obj0,&obj1)) goto fail;
14764     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14765     arg2 = (unsigned int) PyInt_AsLong(obj1);
14766     if (PyErr_Occurred()) SWIG_fail;
14767     if (arg1) (arg1)->state = arg2;
14768     
14769     Py_INCREF(Py_None); resultobj = Py_None;
14770     return resultobj;
14771     fail:
14772     return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_MouseData_state_get(PyObject *self, PyObject *args) {
14777     PyObject *resultobj;
14778     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14779     unsigned int result;
14780     PyObject * obj0  = 0 ;
14781     
14782     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_state_get",&obj0)) goto fail;
14783     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14784     result = (unsigned int) ((arg1)->state);
14785     
14786     resultobj = PyInt_FromLong((long)result);
14787     return resultobj;
14788     fail:
14789     return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_MouseData_button_set(PyObject *self, PyObject *args) {
14794     PyObject *resultobj;
14795     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14796     unsigned int arg2 ;
14797     PyObject * obj0  = 0 ;
14798     PyObject * obj1  = 0 ;
14799     
14800     if(!PyArg_ParseTuple(args,(char *)"OO:MouseData_button_set",&obj0,&obj1)) goto fail;
14801     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14802     arg2 = (unsigned int) PyInt_AsLong(obj1);
14803     if (PyErr_Occurred()) SWIG_fail;
14804     if (arg1) (arg1)->button = arg2;
14805     
14806     Py_INCREF(Py_None); resultobj = Py_None;
14807     return resultobj;
14808     fail:
14809     return NULL;
14810 }
14811
14812
14813 static PyObject *_wrap_MouseData_button_get(PyObject *self, PyObject *args) {
14814     PyObject *resultobj;
14815     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14816     unsigned int result;
14817     PyObject * obj0  = 0 ;
14818     
14819     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_button_get",&obj0)) goto fail;
14820     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14821     result = (unsigned int) ((arg1)->button);
14822     
14823     resultobj = PyInt_FromLong((long)result);
14824     return resultobj;
14825     fail:
14826     return NULL;
14827 }
14828
14829
14830 static PyObject *_wrap_MouseData_context_set(PyObject *self, PyObject *args) {
14831     PyObject *resultobj;
14832     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14833     int arg2 ;
14834     PyObject * obj0  = 0 ;
14835     
14836     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_context_set",&obj0,&arg2)) goto fail;
14837     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838     if (arg1) (arg1)->context = (ob::MouseContext )arg2;
14839     
14840     Py_INCREF(Py_None); resultobj = Py_None;
14841     return resultobj;
14842     fail:
14843     return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_MouseData_context_get(PyObject *self, PyObject *args) {
14848     PyObject *resultobj;
14849     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14850     int result;
14851     PyObject * obj0  = 0 ;
14852     
14853     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_context_get",&obj0)) goto fail;
14854     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14855     result = (int) ((arg1)->context);
14856     
14857     resultobj = PyInt_FromLong((long)result);
14858     return resultobj;
14859     fail:
14860     return NULL;
14861 }
14862
14863
14864 static PyObject *_wrap_MouseData_action_set(PyObject *self, PyObject *args) {
14865     PyObject *resultobj;
14866     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14867     int arg2 ;
14868     PyObject * obj0  = 0 ;
14869     
14870     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_action_set",&obj0,&arg2)) goto fail;
14871     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14872     if (arg1) (arg1)->action = (ob::MouseAction )arg2;
14873     
14874     Py_INCREF(Py_None); resultobj = Py_None;
14875     return resultobj;
14876     fail:
14877     return NULL;
14878 }
14879
14880
14881 static PyObject *_wrap_MouseData_action_get(PyObject *self, PyObject *args) {
14882     PyObject *resultobj;
14883     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14884     int result;
14885     PyObject * obj0  = 0 ;
14886     
14887     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_action_get",&obj0)) goto fail;
14888     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14889     result = (int) ((arg1)->action);
14890     
14891     resultobj = PyInt_FromLong((long)result);
14892     return resultobj;
14893     fail:
14894     return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_MouseData_xroot_set(PyObject *self, PyObject *args) {
14899     PyObject *resultobj;
14900     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14901     int arg2 ;
14902     PyObject * obj0  = 0 ;
14903     
14904     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_xroot_set",&obj0,&arg2)) goto fail;
14905     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14906     if (arg1) (arg1)->xroot = arg2;
14907     
14908     Py_INCREF(Py_None); resultobj = Py_None;
14909     return resultobj;
14910     fail:
14911     return NULL;
14912 }
14913
14914
14915 static PyObject *_wrap_MouseData_xroot_get(PyObject *self, PyObject *args) {
14916     PyObject *resultobj;
14917     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14918     int result;
14919     PyObject * obj0  = 0 ;
14920     
14921     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_xroot_get",&obj0)) goto fail;
14922     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923     result = (int) ((arg1)->xroot);
14924     
14925     resultobj = PyInt_FromLong((long)result);
14926     return resultobj;
14927     fail:
14928     return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_MouseData_yroot_set(PyObject *self, PyObject *args) {
14933     PyObject *resultobj;
14934     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14935     int arg2 ;
14936     PyObject * obj0  = 0 ;
14937     
14938     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_yroot_set",&obj0,&arg2)) goto fail;
14939     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14940     if (arg1) (arg1)->yroot = arg2;
14941     
14942     Py_INCREF(Py_None); resultobj = Py_None;
14943     return resultobj;
14944     fail:
14945     return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_MouseData_yroot_get(PyObject *self, PyObject *args) {
14950     PyObject *resultobj;
14951     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14952     int result;
14953     PyObject * obj0  = 0 ;
14954     
14955     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_yroot_get",&obj0)) goto fail;
14956     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957     result = (int) ((arg1)->yroot);
14958     
14959     resultobj = PyInt_FromLong((long)result);
14960     return resultobj;
14961     fail:
14962     return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_MouseData_pressx_set(PyObject *self, PyObject *args) {
14967     PyObject *resultobj;
14968     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14969     int arg2 ;
14970     PyObject * obj0  = 0 ;
14971     
14972     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressx_set",&obj0,&arg2)) goto fail;
14973     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14974     if (arg1) (arg1)->pressx = arg2;
14975     
14976     Py_INCREF(Py_None); resultobj = Py_None;
14977     return resultobj;
14978     fail:
14979     return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_MouseData_pressx_get(PyObject *self, PyObject *args) {
14984     PyObject *resultobj;
14985     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
14986     int result;
14987     PyObject * obj0  = 0 ;
14988     
14989     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressx_get",&obj0)) goto fail;
14990     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14991     result = (int) ((arg1)->pressx);
14992     
14993     resultobj = PyInt_FromLong((long)result);
14994     return resultobj;
14995     fail:
14996     return NULL;
14997 }
14998
14999
15000 static PyObject *_wrap_MouseData_pressy_set(PyObject *self, PyObject *args) {
15001     PyObject *resultobj;
15002     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15003     int arg2 ;
15004     PyObject * obj0  = 0 ;
15005     
15006     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_pressy_set",&obj0,&arg2)) goto fail;
15007     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15008     if (arg1) (arg1)->pressy = arg2;
15009     
15010     Py_INCREF(Py_None); resultobj = Py_None;
15011     return resultobj;
15012     fail:
15013     return NULL;
15014 }
15015
15016
15017 static PyObject *_wrap_MouseData_pressy_get(PyObject *self, PyObject *args) {
15018     PyObject *resultobj;
15019     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15020     int result;
15021     PyObject * obj0  = 0 ;
15022     
15023     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_pressy_get",&obj0)) goto fail;
15024     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15025     result = (int) ((arg1)->pressy);
15026     
15027     resultobj = PyInt_FromLong((long)result);
15028     return resultobj;
15029     fail:
15030     return NULL;
15031 }
15032
15033
15034 static PyObject *_wrap_MouseData_press_clientx_set(PyObject *self, PyObject *args) {
15035     PyObject *resultobj;
15036     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15037     int arg2 ;
15038     PyObject * obj0  = 0 ;
15039     
15040     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientx_set",&obj0,&arg2)) goto fail;
15041     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042     if (arg1) (arg1)->press_clientx = arg2;
15043     
15044     Py_INCREF(Py_None); resultobj = Py_None;
15045     return resultobj;
15046     fail:
15047     return NULL;
15048 }
15049
15050
15051 static PyObject *_wrap_MouseData_press_clientx_get(PyObject *self, PyObject *args) {
15052     PyObject *resultobj;
15053     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15054     int result;
15055     PyObject * obj0  = 0 ;
15056     
15057     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientx_get",&obj0)) goto fail;
15058     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15059     result = (int) ((arg1)->press_clientx);
15060     
15061     resultobj = PyInt_FromLong((long)result);
15062     return resultobj;
15063     fail:
15064     return NULL;
15065 }
15066
15067
15068 static PyObject *_wrap_MouseData_press_clienty_set(PyObject *self, PyObject *args) {
15069     PyObject *resultobj;
15070     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15071     int arg2 ;
15072     PyObject * obj0  = 0 ;
15073     
15074     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clienty_set",&obj0,&arg2)) goto fail;
15075     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15076     if (arg1) (arg1)->press_clienty = arg2;
15077     
15078     Py_INCREF(Py_None); resultobj = Py_None;
15079     return resultobj;
15080     fail:
15081     return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_MouseData_press_clienty_get(PyObject *self, PyObject *args) {
15086     PyObject *resultobj;
15087     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15088     int result;
15089     PyObject * obj0  = 0 ;
15090     
15091     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clienty_get",&obj0)) goto fail;
15092     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15093     result = (int) ((arg1)->press_clienty);
15094     
15095     resultobj = PyInt_FromLong((long)result);
15096     return resultobj;
15097     fail:
15098     return NULL;
15099 }
15100
15101
15102 static PyObject *_wrap_MouseData_press_clientwidth_set(PyObject *self, PyObject *args) {
15103     PyObject *resultobj;
15104     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15105     int arg2 ;
15106     PyObject * obj0  = 0 ;
15107     
15108     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientwidth_set",&obj0,&arg2)) goto fail;
15109     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15110     if (arg1) (arg1)->press_clientwidth = arg2;
15111     
15112     Py_INCREF(Py_None); resultobj = Py_None;
15113     return resultobj;
15114     fail:
15115     return NULL;
15116 }
15117
15118
15119 static PyObject *_wrap_MouseData_press_clientwidth_get(PyObject *self, PyObject *args) {
15120     PyObject *resultobj;
15121     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15122     int result;
15123     PyObject * obj0  = 0 ;
15124     
15125     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientwidth_get",&obj0)) goto fail;
15126     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127     result = (int) ((arg1)->press_clientwidth);
15128     
15129     resultobj = PyInt_FromLong((long)result);
15130     return resultobj;
15131     fail:
15132     return NULL;
15133 }
15134
15135
15136 static PyObject *_wrap_MouseData_press_clientheight_set(PyObject *self, PyObject *args) {
15137     PyObject *resultobj;
15138     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15139     int arg2 ;
15140     PyObject * obj0  = 0 ;
15141     
15142     if(!PyArg_ParseTuple(args,(char *)"Oi:MouseData_press_clientheight_set",&obj0,&arg2)) goto fail;
15143     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15144     if (arg1) (arg1)->press_clientheight = arg2;
15145     
15146     Py_INCREF(Py_None); resultobj = Py_None;
15147     return resultobj;
15148     fail:
15149     return NULL;
15150 }
15151
15152
15153 static PyObject *_wrap_MouseData_press_clientheight_get(PyObject *self, PyObject *args) {
15154     PyObject *resultobj;
15155     ob::MouseData *arg1 = (ob::MouseData *) 0 ;
15156     int result;
15157     PyObject * obj0  = 0 ;
15158     
15159     if(!PyArg_ParseTuple(args,(char *)"O:MouseData_press_clientheight_get",&obj0)) goto fail;
15160     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__MouseData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15161     result = (int) ((arg1)->press_clientheight);
15162     
15163     resultobj = PyInt_FromLong((long)result);
15164     return resultobj;
15165     fail:
15166     return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_new_MouseData__SWIG_0(PyObject *self, PyObject *args) {
15171     PyObject *resultobj;
15172     int arg1 ;
15173     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15174     Time arg3 ;
15175     unsigned int arg4 ;
15176     unsigned int arg5 ;
15177     int arg6 ;
15178     int arg7 ;
15179     int arg8 ;
15180     int arg9 ;
15181     otk::Point *arg10 = 0 ;
15182     otk::Rect *arg11 = 0 ;
15183     ob::MouseData *result;
15184     PyObject * obj1  = 0 ;
15185     PyObject * obj2  = 0 ;
15186     PyObject * obj3  = 0 ;
15187     PyObject * obj4  = 0 ;
15188     PyObject * obj9  = 0 ;
15189     PyObject * obj10  = 0 ;
15190     
15191     if(!PyArg_ParseTuple(args,(char *)"iOOOOiiiiOO:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9,&obj10)) goto fail;
15192     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15193     arg3 = (Time) PyInt_AsLong(obj2);
15194     if (PyErr_Occurred()) SWIG_fail;
15195     arg4 = (unsigned int) PyInt_AsLong(obj3);
15196     if (PyErr_Occurred()) SWIG_fail;
15197     arg5 = (unsigned int) PyInt_AsLong(obj4);
15198     if (PyErr_Occurred()) SWIG_fail;
15199     if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15200     if (arg10 == NULL) {
15201         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
15202     }
15203     if ((SWIG_ConvertPtr(obj10,(void **) &arg11, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15204     if (arg11 == NULL) {
15205         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
15206     }
15207     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);
15208     
15209     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
15210     return resultobj;
15211     fail:
15212     return NULL;
15213 }
15214
15215
15216 static PyObject *_wrap_new_MouseData__SWIG_1(PyObject *self, PyObject *args) {
15217     PyObject *resultobj;
15218     int arg1 ;
15219     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15220     Time arg3 ;
15221     unsigned int arg4 ;
15222     unsigned int arg5 ;
15223     int arg6 ;
15224     int arg7 ;
15225     ob::MouseData *result;
15226     PyObject * obj1  = 0 ;
15227     PyObject * obj2  = 0 ;
15228     PyObject * obj3  = 0 ;
15229     PyObject * obj4  = 0 ;
15230     
15231     if(!PyArg_ParseTuple(args,(char *)"iOOOOii:new_MouseData",&arg1,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7)) goto fail;
15232     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15233     arg3 = (Time) PyInt_AsLong(obj2);
15234     if (PyErr_Occurred()) SWIG_fail;
15235     arg4 = (unsigned int) PyInt_AsLong(obj3);
15236     if (PyErr_Occurred()) SWIG_fail;
15237     arg5 = (unsigned int) PyInt_AsLong(obj4);
15238     if (PyErr_Occurred()) SWIG_fail;
15239     result = (ob::MouseData *)new ob::MouseData(arg1,arg2,arg3,arg4,arg5,(ob::MouseContext )arg6,(ob::MouseAction )arg7);
15240     
15241     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__MouseData, 1);
15242     return resultobj;
15243     fail:
15244     return NULL;
15245 }
15246
15247
15248 static PyObject *_wrap_new_MouseData(PyObject *self, PyObject *args) {
15249     int argc;
15250     PyObject *argv[12];
15251     int ii;
15252     
15253     argc = PyObject_Length(args);
15254     for (ii = 0; (ii < argc) && (ii < 11); ii++) {
15255         argv[ii] = PyTuple_GetItem(args,ii);
15256     }
15257     if (argc == 7) {
15258         int _v;
15259         {
15260             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
15261         }
15262         if (_v) {
15263             {
15264                 void *ptr;
15265                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
15266                     _v = 0;
15267                     PyErr_Clear();
15268                 }else {
15269                     _v = 1;
15270                 }
15271             }
15272             if (_v) {
15273                 {
15274                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
15275                 }
15276                 if (_v) {
15277                     {
15278                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
15279                     }
15280                     if (_v) {
15281                         {
15282                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
15283                         }
15284                         if (_v) {
15285                             {
15286                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
15287                             }
15288                             if (_v) {
15289                                 {
15290                                     _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
15291                                 }
15292                                 if (_v) {
15293                                     return _wrap_new_MouseData__SWIG_1(self,args);
15294                                 }
15295                             }
15296                         }
15297                     }
15298                 }
15299             }
15300         }
15301     }
15302     if (argc == 11) {
15303         int _v;
15304         {
15305             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
15306         }
15307         if (_v) {
15308             {
15309                 void *ptr;
15310                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_ob__OBClient, 0) == -1) {
15311                     _v = 0;
15312                     PyErr_Clear();
15313                 }else {
15314                     _v = 1;
15315                 }
15316             }
15317             if (_v) {
15318                 {
15319                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
15320                 }
15321                 if (_v) {
15322                     {
15323                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
15324                     }
15325                     if (_v) {
15326                         {
15327                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
15328                         }
15329                         if (_v) {
15330                             {
15331                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
15332                             }
15333                             if (_v) {
15334                                 {
15335                                     _v = (PyInt_Check(argv[6]) || PyLong_Check(argv[6])) ? 1 : 0;
15336                                 }
15337                                 if (_v) {
15338                                     {
15339                                         _v = (PyInt_Check(argv[7]) || PyLong_Check(argv[7])) ? 1 : 0;
15340                                     }
15341                                     if (_v) {
15342                                         {
15343                                             _v = (PyInt_Check(argv[8]) || PyLong_Check(argv[8])) ? 1 : 0;
15344                                         }
15345                                         if (_v) {
15346                                             {
15347                                                 void *ptr;
15348                                                 if (SWIG_ConvertPtr(argv[9], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
15349                                                     _v = 0;
15350                                                     PyErr_Clear();
15351                                                 }else {
15352                                                     _v = 1;
15353                                                 }
15354                                             }
15355                                             if (_v) {
15356                                                 {
15357                                                     void *ptr;
15358                                                     if (SWIG_ConvertPtr(argv[10], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
15359                                                         _v = 0;
15360                                                         PyErr_Clear();
15361                                                     }else {
15362                                                         _v = 1;
15363                                                     }
15364                                                 }
15365                                                 if (_v) {
15366                                                     return _wrap_new_MouseData__SWIG_0(self,args);
15367                                                 }
15368                                             }
15369                                         }
15370                                     }
15371                                 }
15372                             }
15373                         }
15374                     }
15375                 }
15376             }
15377         }
15378     }
15379     
15380     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_MouseData'");
15381     return NULL;
15382 }
15383
15384
15385 static PyObject * MouseData_swigregister(PyObject *self, PyObject *args) {
15386     PyObject *obj;
15387     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15388     SWIG_TypeClientData(SWIGTYPE_p_ob__MouseData, obj);
15389     Py_INCREF(obj);
15390     return Py_BuildValue((char *)"");
15391 }
15392 static PyObject *_wrap_EventData_screen_set(PyObject *self, PyObject *args) {
15393     PyObject *resultobj;
15394     ob::EventData *arg1 = (ob::EventData *) 0 ;
15395     int arg2 ;
15396     PyObject * obj0  = 0 ;
15397     
15398     if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_screen_set",&obj0,&arg2)) goto fail;
15399     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400     if (arg1) (arg1)->screen = arg2;
15401     
15402     Py_INCREF(Py_None); resultobj = Py_None;
15403     return resultobj;
15404     fail:
15405     return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_EventData_screen_get(PyObject *self, PyObject *args) {
15410     PyObject *resultobj;
15411     ob::EventData *arg1 = (ob::EventData *) 0 ;
15412     int result;
15413     PyObject * obj0  = 0 ;
15414     
15415     if(!PyArg_ParseTuple(args,(char *)"O:EventData_screen_get",&obj0)) goto fail;
15416     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15417     result = (int) ((arg1)->screen);
15418     
15419     resultobj = PyInt_FromLong((long)result);
15420     return resultobj;
15421     fail:
15422     return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_EventData_client_set(PyObject *self, PyObject *args) {
15427     PyObject *resultobj;
15428     ob::EventData *arg1 = (ob::EventData *) 0 ;
15429     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15430     PyObject * obj0  = 0 ;
15431     PyObject * obj1  = 0 ;
15432     
15433     if(!PyArg_ParseTuple(args,(char *)"OO:EventData_client_set",&obj0,&obj1)) goto fail;
15434     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
15436     if (arg1) (arg1)->client = arg2;
15437     
15438     Py_INCREF(Py_None); resultobj = Py_None;
15439     return resultobj;
15440     fail:
15441     return NULL;
15442 }
15443
15444
15445 static PyObject *_wrap_EventData_client_get(PyObject *self, PyObject *args) {
15446     PyObject *resultobj;
15447     ob::EventData *arg1 = (ob::EventData *) 0 ;
15448     ob::OBClient *result;
15449     PyObject * obj0  = 0 ;
15450     
15451     if(!PyArg_ParseTuple(args,(char *)"O:EventData_client_get",&obj0)) goto fail;
15452     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453     result = (ob::OBClient *) ((arg1)->client);
15454     
15455     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
15456     return resultobj;
15457     fail:
15458     return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_EventData_state_set(PyObject *self, PyObject *args) {
15463     PyObject *resultobj;
15464     ob::EventData *arg1 = (ob::EventData *) 0 ;
15465     unsigned int arg2 ;
15466     PyObject * obj0  = 0 ;
15467     PyObject * obj1  = 0 ;
15468     
15469     if(!PyArg_ParseTuple(args,(char *)"OO:EventData_state_set",&obj0,&obj1)) goto fail;
15470     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15471     arg2 = (unsigned int) PyInt_AsLong(obj1);
15472     if (PyErr_Occurred()) SWIG_fail;
15473     if (arg1) (arg1)->state = arg2;
15474     
15475     Py_INCREF(Py_None); resultobj = Py_None;
15476     return resultobj;
15477     fail:
15478     return NULL;
15479 }
15480
15481
15482 static PyObject *_wrap_EventData_state_get(PyObject *self, PyObject *args) {
15483     PyObject *resultobj;
15484     ob::EventData *arg1 = (ob::EventData *) 0 ;
15485     unsigned int result;
15486     PyObject * obj0  = 0 ;
15487     
15488     if(!PyArg_ParseTuple(args,(char *)"O:EventData_state_get",&obj0)) goto fail;
15489     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15490     result = (unsigned int) ((arg1)->state);
15491     
15492     resultobj = PyInt_FromLong((long)result);
15493     return resultobj;
15494     fail:
15495     return NULL;
15496 }
15497
15498
15499 static PyObject *_wrap_EventData_action_set(PyObject *self, PyObject *args) {
15500     PyObject *resultobj;
15501     ob::EventData *arg1 = (ob::EventData *) 0 ;
15502     int arg2 ;
15503     PyObject * obj0  = 0 ;
15504     
15505     if(!PyArg_ParseTuple(args,(char *)"Oi:EventData_action_set",&obj0,&arg2)) goto fail;
15506     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15507     if (arg1) (arg1)->action = (ob::EventAction )arg2;
15508     
15509     Py_INCREF(Py_None); resultobj = Py_None;
15510     return resultobj;
15511     fail:
15512     return NULL;
15513 }
15514
15515
15516 static PyObject *_wrap_EventData_action_get(PyObject *self, PyObject *args) {
15517     PyObject *resultobj;
15518     ob::EventData *arg1 = (ob::EventData *) 0 ;
15519     int result;
15520     PyObject * obj0  = 0 ;
15521     
15522     if(!PyArg_ParseTuple(args,(char *)"O:EventData_action_get",&obj0)) goto fail;
15523     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__EventData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15524     result = (int) ((arg1)->action);
15525     
15526     resultobj = PyInt_FromLong((long)result);
15527     return resultobj;
15528     fail:
15529     return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_new_EventData(PyObject *self, PyObject *args) {
15534     PyObject *resultobj;
15535     int arg1 ;
15536     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15537     int arg3 ;
15538     unsigned int arg4 ;
15539     ob::EventData *result;
15540     PyObject * obj1  = 0 ;
15541     PyObject * obj3  = 0 ;
15542     
15543     if(!PyArg_ParseTuple(args,(char *)"iOiO:new_EventData",&arg1,&obj1,&arg3,&obj3)) goto fail;
15544     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15545     arg4 = (unsigned int) PyInt_AsLong(obj3);
15546     if (PyErr_Occurred()) SWIG_fail;
15547     result = (ob::EventData *)new ob::EventData(arg1,arg2,(ob::EventAction )arg3,arg4);
15548     
15549     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__EventData, 1);
15550     return resultobj;
15551     fail:
15552     return NULL;
15553 }
15554
15555
15556 static PyObject * EventData_swigregister(PyObject *self, PyObject *args) {
15557     PyObject *obj;
15558     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15559     SWIG_TypeClientData(SWIGTYPE_p_ob__EventData, obj);
15560     Py_INCREF(obj);
15561     return Py_BuildValue((char *)"");
15562 }
15563 static PyObject *_wrap_KeyData_screen_set(PyObject *self, PyObject *args) {
15564     PyObject *resultobj;
15565     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15566     int arg2 ;
15567     PyObject * obj0  = 0 ;
15568     
15569     if(!PyArg_ParseTuple(args,(char *)"Oi:KeyData_screen_set",&obj0,&arg2)) goto fail;
15570     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15571     if (arg1) (arg1)->screen = arg2;
15572     
15573     Py_INCREF(Py_None); resultobj = Py_None;
15574     return resultobj;
15575     fail:
15576     return NULL;
15577 }
15578
15579
15580 static PyObject *_wrap_KeyData_screen_get(PyObject *self, PyObject *args) {
15581     PyObject *resultobj;
15582     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15583     int result;
15584     PyObject * obj0  = 0 ;
15585     
15586     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_screen_get",&obj0)) goto fail;
15587     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15588     result = (int) ((arg1)->screen);
15589     
15590     resultobj = PyInt_FromLong((long)result);
15591     return resultobj;
15592     fail:
15593     return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_KeyData_client_set(PyObject *self, PyObject *args) {
15598     PyObject *resultobj;
15599     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15600     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15601     PyObject * obj0  = 0 ;
15602     PyObject * obj1  = 0 ;
15603     
15604     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_client_set",&obj0,&obj1)) goto fail;
15605     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
15607     if (arg1) (arg1)->client = arg2;
15608     
15609     Py_INCREF(Py_None); resultobj = Py_None;
15610     return resultobj;
15611     fail:
15612     return NULL;
15613 }
15614
15615
15616 static PyObject *_wrap_KeyData_client_get(PyObject *self, PyObject *args) {
15617     PyObject *resultobj;
15618     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15619     ob::OBClient *result;
15620     PyObject * obj0  = 0 ;
15621     
15622     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_client_get",&obj0)) goto fail;
15623     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15624     result = (ob::OBClient *) ((arg1)->client);
15625     
15626     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__OBClient, 0);
15627     return resultobj;
15628     fail:
15629     return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_KeyData_time_set(PyObject *self, PyObject *args) {
15634     PyObject *resultobj;
15635     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15636     Time arg2 ;
15637     PyObject * obj0  = 0 ;
15638     PyObject * obj1  = 0 ;
15639     
15640     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_time_set",&obj0,&obj1)) goto fail;
15641     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642     arg2 = (Time) PyInt_AsLong(obj1);
15643     if (PyErr_Occurred()) SWIG_fail;
15644     if (arg1) (arg1)->time = arg2;
15645     
15646     Py_INCREF(Py_None); resultobj = Py_None;
15647     return resultobj;
15648     fail:
15649     return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_KeyData_time_get(PyObject *self, PyObject *args) {
15654     PyObject *resultobj;
15655     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15656     Time result;
15657     PyObject * obj0  = 0 ;
15658     
15659     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_time_get",&obj0)) goto fail;
15660     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661     result = (Time) ((arg1)->time);
15662     
15663     resultobj = PyInt_FromLong((long)result);
15664     return resultobj;
15665     fail:
15666     return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_KeyData_state_set(PyObject *self, PyObject *args) {
15671     PyObject *resultobj;
15672     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15673     unsigned int arg2 ;
15674     PyObject * obj0  = 0 ;
15675     PyObject * obj1  = 0 ;
15676     
15677     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_state_set",&obj0,&obj1)) goto fail;
15678     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15679     arg2 = (unsigned int) PyInt_AsLong(obj1);
15680     if (PyErr_Occurred()) SWIG_fail;
15681     if (arg1) (arg1)->state = arg2;
15682     
15683     Py_INCREF(Py_None); resultobj = Py_None;
15684     return resultobj;
15685     fail:
15686     return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_KeyData_state_get(PyObject *self, PyObject *args) {
15691     PyObject *resultobj;
15692     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15693     unsigned int result;
15694     PyObject * obj0  = 0 ;
15695     
15696     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_state_get",&obj0)) goto fail;
15697     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698     result = (unsigned int) ((arg1)->state);
15699     
15700     resultobj = PyInt_FromLong((long)result);
15701     return resultobj;
15702     fail:
15703     return NULL;
15704 }
15705
15706
15707 static PyObject *_wrap_KeyData_key_set(PyObject *self, PyObject *args) {
15708     PyObject *resultobj;
15709     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15710     std::string *arg2 = (std::string *) 0 ;
15711     PyObject * obj0  = 0 ;
15712     PyObject * obj1  = 0 ;
15713     
15714     if(!PyArg_ParseTuple(args,(char *)"OO:KeyData_key_set",&obj0,&obj1)) goto fail;
15715     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15716     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15717     if (arg1) (arg1)->key = *arg2;
15718     
15719     Py_INCREF(Py_None); resultobj = Py_None;
15720     return resultobj;
15721     fail:
15722     return NULL;
15723 }
15724
15725
15726 static PyObject *_wrap_KeyData_key_get(PyObject *self, PyObject *args) {
15727     PyObject *resultobj;
15728     ob::KeyData *arg1 = (ob::KeyData *) 0 ;
15729     std::string *result;
15730     PyObject * obj0  = 0 ;
15731     
15732     if(!PyArg_ParseTuple(args,(char *)"O:KeyData_key_get",&obj0)) goto fail;
15733     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__KeyData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734     result = (std::string *)& ((arg1)->key);
15735     
15736     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_std__string, 0);
15737     return resultobj;
15738     fail:
15739     return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_new_KeyData(PyObject *self, PyObject *args) {
15744     PyObject *resultobj;
15745     int arg1 ;
15746     ob::OBClient *arg2 = (ob::OBClient *) 0 ;
15747     Time arg3 ;
15748     unsigned int arg4 ;
15749     unsigned int arg5 ;
15750     ob::KeyData *result;
15751     PyObject * obj1  = 0 ;
15752     PyObject * obj2  = 0 ;
15753     PyObject * obj3  = 0 ;
15754     PyObject * obj4  = 0 ;
15755     
15756     if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_KeyData",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
15757     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758     arg3 = (Time) PyInt_AsLong(obj2);
15759     if (PyErr_Occurred()) SWIG_fail;
15760     arg4 = (unsigned int) PyInt_AsLong(obj3);
15761     if (PyErr_Occurred()) SWIG_fail;
15762     arg5 = (unsigned int) PyInt_AsLong(obj4);
15763     if (PyErr_Occurred()) SWIG_fail;
15764     result = (ob::KeyData *)new ob::KeyData(arg1,arg2,arg3,arg4,arg5);
15765     
15766     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_ob__KeyData, 1);
15767     return resultobj;
15768     fail:
15769     return NULL;
15770 }
15771
15772
15773 static PyObject * KeyData_swigregister(PyObject *self, PyObject *args) {
15774     PyObject *obj;
15775     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15776     SWIG_TypeClientData(SWIGTYPE_p_ob__KeyData, obj);
15777     Py_INCREF(obj);
15778     return Py_BuildValue((char *)"");
15779 }
15780 static PyObject *_wrap_mbind(PyObject *self, PyObject *args) {
15781     PyObject *resultobj;
15782     std::string *arg1 = 0 ;
15783     int arg2 ;
15784     int arg3 ;
15785     PyObject *arg4 = (PyObject *) 0 ;
15786     PyObject *result;
15787     std::string temp1 ;
15788     PyObject * obj0  = 0 ;
15789     PyObject * obj3  = 0 ;
15790     
15791     if(!PyArg_ParseTuple(args,(char *)"OiiO:mbind",&obj0,&arg2,&arg3,&obj3)) goto fail;
15792     {
15793         if (PyString_Check(obj0)) {
15794             temp1 = std::string(PyString_AsString(obj0));
15795             arg1 = &temp1;
15796         }else {
15797             SWIG_exception(SWIG_TypeError, "string expected");
15798         }
15799     }
15800     arg4 = obj3;
15801     result = (PyObject *)ob::mbind((std::string const &)*arg1,(ob::MouseContext )arg2,(ob::MouseAction )arg3,arg4);
15802     
15803     resultobj = result;
15804     return resultobj;
15805     fail:
15806     return NULL;
15807 }
15808
15809
15810 static PyObject *_wrap_kbind(PyObject *self, PyObject *args) {
15811     PyObject *resultobj;
15812     PyObject *arg1 = (PyObject *) 0 ;
15813     int arg2 ;
15814     PyObject *arg3 = (PyObject *) 0 ;
15815     PyObject *result;
15816     PyObject * obj0  = 0 ;
15817     PyObject * obj2  = 0 ;
15818     
15819     if(!PyArg_ParseTuple(args,(char *)"OiO:kbind",&obj0,&arg2,&obj2)) goto fail;
15820     arg1 = obj0;
15821     arg3 = obj2;
15822     result = (PyObject *)ob::kbind(arg1,(ob::KeyContext )arg2,arg3);
15823     
15824     resultobj = result;
15825     return resultobj;
15826     fail:
15827     return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_ebind(PyObject *self, PyObject *args) {
15832     PyObject *resultobj;
15833     int arg1 ;
15834     PyObject *arg2 = (PyObject *) 0 ;
15835     PyObject *result;
15836     PyObject * obj1  = 0 ;
15837     
15838     if(!PyArg_ParseTuple(args,(char *)"iO:ebind",&arg1,&obj1)) goto fail;
15839     arg2 = obj1;
15840     result = (PyObject *)ob::ebind((ob::EventAction )arg1,arg2);
15841     
15842     resultobj = result;
15843     return resultobj;
15844     fail:
15845     return NULL;
15846 }
15847
15848
15849 static PyObject *_wrap_set_reset_key(PyObject *self, PyObject *args) {
15850     PyObject *resultobj;
15851     std::string *arg1 = 0 ;
15852     std::string temp1 ;
15853     PyObject * obj0  = 0 ;
15854     
15855     if(!PyArg_ParseTuple(args,(char *)"O:set_reset_key",&obj0)) goto fail;
15856     {
15857         if (PyString_Check(obj0)) {
15858             temp1 = std::string(PyString_AsString(obj0));
15859             arg1 = &temp1;
15860         }else {
15861             SWIG_exception(SWIG_TypeError, "string expected");
15862         }
15863     }
15864     ob::set_reset_key((std::string const &)*arg1);
15865     
15866     Py_INCREF(Py_None); resultobj = Py_None;
15867     return resultobj;
15868     fail:
15869     return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_send_client_msg(PyObject *self, PyObject *args) {
15874     PyObject *resultobj;
15875     Window arg1 ;
15876     int arg2 ;
15877     Window arg3 ;
15878     long arg4 ;
15879     long arg5 = (long) 0 ;
15880     long arg6 = (long) 0 ;
15881     long arg7 = (long) 0 ;
15882     long arg8 = (long) 0 ;
15883     PyObject *result;
15884     PyObject * obj0  = 0 ;
15885     PyObject * obj2  = 0 ;
15886     
15887     if(!PyArg_ParseTuple(args,(char *)"OiOl|llll:send_client_msg",&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&arg7,&arg8)) goto fail;
15888     arg1 = (Window) PyInt_AsLong(obj0);
15889     if (PyErr_Occurred()) SWIG_fail;
15890     arg3 = (Window) PyInt_AsLong(obj2);
15891     if (PyErr_Occurred()) SWIG_fail;
15892     result = (PyObject *)ob::send_client_msg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
15893     
15894     resultobj = result;
15895     return resultobj;
15896     fail:
15897     return NULL;
15898 }
15899
15900
15901 static PyMethodDef SwigMethods[] = {
15902          { (char *)"Openbox_instance", _wrap_Openbox_instance, METH_VARARGS },
15903          { (char *)"OBDisplay_display", _wrap_OBDisplay_display, METH_VARARGS },
15904          { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
15905          { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
15906          { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
15907          { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
15908          { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
15909          { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
15910          { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
15911          { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
15912          { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
15913          { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
15914          { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
15915          { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
15916          { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
15917          { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
15918          { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
15919          { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
15920          { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
15921          { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
15922          { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
15923          { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
15924          { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
15925          { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
15926          { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
15927          { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
15928          { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
15929          { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
15930          { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
15931          { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
15932          { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
15933          { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
15934          { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
15935          { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
15936          { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
15937          { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
15938          { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
15939          { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
15940          { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
15941          { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
15942          { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
15943          { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
15944          { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
15945          { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
15946          { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
15947          { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
15948          { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
15949          { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
15950          { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
15951          { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
15952          { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
15953          { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
15954          { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
15955          { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
15956          { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
15957          { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
15958          { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
15959          { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
15960          { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
15961          { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
15962          { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
15963          { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
15964          { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
15965          { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
15966          { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
15967          { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
15968          { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
15969          { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
15970          { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
15971          { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
15972          { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
15973          { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
15974          { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
15975          { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
15976          { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
15977          { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
15978          { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
15979          { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
15980          { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
15981          { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
15982          { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
15983          { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
15984          { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
15985          { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
15986          { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
15987          { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
15988          { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
15989          { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
15990          { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
15991          { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
15992          { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
15993          { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
15994          { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
15995          { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
15996          { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
15997          { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
15998          { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
15999          { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
16000          { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
16001          { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
16002          { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
16003          { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
16004          { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
16005          { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
16006          { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
16007          { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
16008          { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
16009          { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
16010          { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
16011          { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
16012          { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
16013          { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
16014          { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
16015          { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
16016          { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
16017          { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
16018          { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
16019          { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
16020          { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
16021          { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
16022          { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
16023          { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
16024          { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
16025          { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
16026          { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
16027          { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
16028          { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
16029          { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
16030          { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
16031          { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
16032          { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
16033          { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
16034          { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
16035          { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
16036          { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
16037          { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
16038          { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
16039          { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
16040          { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
16041          { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
16042          { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
16043          { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
16044          { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
16045          { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
16046          { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
16047          { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
16048          { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
16049          { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
16050          { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
16051          { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
16052          { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
16053          { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
16054          { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
16055          { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
16056          { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
16057          { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
16058          { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
16059          { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
16060          { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
16061          { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
16062          { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
16063          { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
16064          { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
16065          { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
16066          { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
16067          { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
16068          { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
16069          { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
16070          { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
16071          { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
16072          { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
16073          { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
16074          { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
16075          { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
16076          { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
16077          { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
16078          { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
16079          { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
16080          { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
16081          { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
16082          { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
16083          { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
16084          { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
16085          { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
16086          { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
16087          { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
16088          { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
16089          { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
16090          { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
16091          { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
16092          { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen, METH_VARARGS },
16093          { (char *)"OBDisplay_xkb", _wrap_OBDisplay_xkb, METH_VARARGS },
16094          { (char *)"OBDisplay_xkbEventBase", _wrap_OBDisplay_xkbEventBase, METH_VARARGS },
16095          { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
16096          { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
16097          { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
16098          { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS },
16099          { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS },
16100          { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
16101          { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
16102          { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
16103          { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
16104          { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
16105          { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
16106          { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
16107          { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
16108          { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
16109          { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
16110          { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
16111          { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
16112          { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
16113          { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
16114          { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
16115          { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
16116          { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
16117          { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
16118          { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
16119          { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
16120          { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
16121          { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
16122          { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
16123          { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
16124          { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
16125          { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
16126          { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
16127          { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
16128          { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
16129          { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
16130          { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
16131          { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
16132          { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
16133          { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
16134          { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
16135          { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
16136          { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
16137          { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
16138          { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
16139          { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
16140          { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
16141          { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
16142          { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
16143          { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
16144          { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
16145          { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
16146          { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
16147          { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
16148          { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
16149          { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
16150          { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
16151          { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
16152          { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
16153          { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
16154          { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
16155          { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
16156          { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
16157          { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
16158          { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
16159          { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
16160          { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
16161          { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
16162          { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
16163          { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
16164          { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
16165          { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
16166          { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
16167          { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
16168          { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
16169          { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
16170          { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
16171          { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
16172          { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
16173          { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
16174          { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
16175          { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
16176          { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
16177          { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
16178          { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
16179          { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
16180          { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
16181          { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
16182          { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
16183          { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
16184          { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
16185          { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
16186          { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
16187          { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
16188          { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
16189          { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
16190          { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
16191          { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
16192          { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
16193          { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
16194          { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
16195          { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
16196          { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
16197          { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
16198          { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
16199          { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
16200          { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
16201          { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
16202          { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
16203          { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
16204          { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
16205          { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
16206          { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
16207          { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
16208          { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
16209          { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
16210          { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
16211          { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
16212          { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
16213          { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
16214          { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
16215          { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
16216          { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
16217          { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
16218          { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
16219          { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
16220          { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
16221          { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
16222          { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
16223          { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
16224          { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
16225          { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
16226          { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
16227          { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
16228          { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
16229          { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
16230          { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
16231          { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
16232          { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
16233          { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
16234          { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
16235          { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
16236          { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
16237          { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
16238          { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
16239          { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
16240          { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
16241          { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
16242          { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
16243          { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
16244          { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
16245          { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
16246          { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
16247          { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
16248          { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
16249          { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
16250          { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
16251          { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
16252          { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
16253          { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
16254          { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
16255          { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
16256          { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
16257          { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
16258          { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
16259          { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
16260          { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
16261          { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
16262          { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
16263          { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
16264          { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
16265          { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
16266          { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
16267          { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
16268          { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
16269          { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
16270          { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
16271          { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
16272          { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
16273          { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
16274          { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
16275          { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
16276          { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
16277          { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
16278          { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
16279          { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
16280          { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
16281          { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
16282          { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
16283          { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
16284          { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
16285          { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
16286          { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
16287          { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
16288          { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
16289          { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
16290          { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
16291          { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
16292          { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
16293          { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
16294          { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
16295          { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
16296          { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
16297          { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
16298          { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
16299          { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
16300          { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
16301          { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
16302          { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
16303          { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
16304          { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
16305          { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
16306          { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
16307          { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
16308          { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
16309          { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
16310          { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
16311          { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
16312          { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
16313          { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
16314          { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
16315          { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
16316          { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
16317          { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
16318          { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
16319          { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
16320          { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
16321          { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
16322          { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
16323          { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
16324          { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
16325          { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
16326          { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
16327          { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
16328          { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
16329          { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
16330          { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
16331          { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
16332          { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
16333          { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
16334          { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
16335          { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
16336          { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
16337          { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
16338          { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
16339          { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
16340          { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
16341          { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
16342          { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
16343          { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
16344          { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
16345          { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
16346          { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
16347          { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
16348          { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
16349          { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
16350          { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
16351          { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
16352          { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
16353          { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
16354          { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
16355          { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
16356          { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
16357          { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
16358          { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
16359          { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
16360          { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
16361          { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
16362          { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
16363          { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
16364          { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
16365          { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
16366          { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
16367          { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
16368          { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
16369          { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
16370          { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
16371          { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
16372          { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
16373          { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
16374          { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
16375          { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
16376          { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
16377          { (char *)"bexec", _wrap_bexec, METH_VARARGS },
16378          { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
16379          { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
16380          { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
16381          { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
16382          { (char *)"itostring", _wrap_itostring, METH_VARARGS },
16383          { (char *)"basename", _wrap_basename, METH_VARARGS },
16384          { (char *)"Cursors_session_set", _wrap_Cursors_session_set, METH_VARARGS },
16385          { (char *)"Cursors_session_get", _wrap_Cursors_session_get, METH_VARARGS },
16386          { (char *)"Cursors_move_set", _wrap_Cursors_move_set, METH_VARARGS },
16387          { (char *)"Cursors_move_get", _wrap_Cursors_move_get, METH_VARARGS },
16388          { (char *)"Cursors_ll_angle_set", _wrap_Cursors_ll_angle_set, METH_VARARGS },
16389          { (char *)"Cursors_ll_angle_get", _wrap_Cursors_ll_angle_get, METH_VARARGS },
16390          { (char *)"Cursors_lr_angle_set", _wrap_Cursors_lr_angle_set, METH_VARARGS },
16391          { (char *)"Cursors_lr_angle_get", _wrap_Cursors_lr_angle_get, METH_VARARGS },
16392          { (char *)"Cursors_ul_angle_set", _wrap_Cursors_ul_angle_set, METH_VARARGS },
16393          { (char *)"Cursors_ul_angle_get", _wrap_Cursors_ul_angle_get, METH_VARARGS },
16394          { (char *)"Cursors_ur_angle_set", _wrap_Cursors_ur_angle_set, METH_VARARGS },
16395          { (char *)"Cursors_ur_angle_get", _wrap_Cursors_ur_angle_get, METH_VARARGS },
16396          { (char *)"Cursors_swigregister", Cursors_swigregister, METH_VARARGS },
16397          { (char *)"Openbox_state", _wrap_Openbox_state, METH_VARARGS },
16398          { (char *)"Openbox_timerManager", _wrap_Openbox_timerManager, METH_VARARGS },
16399          { (char *)"Openbox_property", _wrap_Openbox_property, METH_VARARGS },
16400          { (char *)"Openbox_actions", _wrap_Openbox_actions, METH_VARARGS },
16401          { (char *)"Openbox_bindings", _wrap_Openbox_bindings, METH_VARARGS },
16402          { (char *)"Openbox_screen", _wrap_Openbox_screen, METH_VARARGS },
16403          { (char *)"Openbox_screenCount", _wrap_Openbox_screenCount, METH_VARARGS },
16404          { (char *)"Openbox_cursors", _wrap_Openbox_cursors, METH_VARARGS },
16405          { (char *)"Openbox_addClient", _wrap_Openbox_addClient, METH_VARARGS },
16406          { (char *)"Openbox_removeClient", _wrap_Openbox_removeClient, METH_VARARGS },
16407          { (char *)"Openbox_findClient", _wrap_Openbox_findClient, METH_VARARGS },
16408          { (char *)"Openbox_focusedClient", _wrap_Openbox_focusedClient, METH_VARARGS },
16409          { (char *)"Openbox_setFocusedClient", _wrap_Openbox_setFocusedClient, METH_VARARGS },
16410          { (char *)"Openbox_focusedScreen", _wrap_Openbox_focusedScreen, METH_VARARGS },
16411          { (char *)"Openbox_shutdown", _wrap_Openbox_shutdown, METH_VARARGS },
16412          { (char *)"Openbox_restart", _wrap_Openbox_restart, METH_VARARGS },
16413          { (char *)"Openbox_execute", _wrap_Openbox_execute, METH_VARARGS },
16414          { (char *)"Openbox_swigregister", Openbox_swigregister, METH_VARARGS },
16415          { (char *)"OBScreen_client", _wrap_OBScreen_client, METH_VARARGS },
16416          { (char *)"OBScreen_clientCount", _wrap_OBScreen_clientCount, METH_VARARGS },
16417          { (char *)"OBScreen_number", _wrap_OBScreen_number, METH_VARARGS },
16418          { (char *)"OBScreen_managed", _wrap_OBScreen_managed, METH_VARARGS },
16419          { (char *)"OBScreen_imageControl", _wrap_OBScreen_imageControl, METH_VARARGS },
16420          { (char *)"OBScreen_area", _wrap_OBScreen_area, METH_VARARGS },
16421          { (char *)"OBScreen_style", _wrap_OBScreen_style, METH_VARARGS },
16422          { (char *)"OBScreen_focuswindow", _wrap_OBScreen_focuswindow, METH_VARARGS },
16423          { (char *)"OBScreen_desktop", _wrap_OBScreen_desktop, METH_VARARGS },
16424          { (char *)"OBScreen_numDesktops", _wrap_OBScreen_numDesktops, METH_VARARGS },
16425          { (char *)"OBScreen_updateStrut", _wrap_OBScreen_updateStrut, METH_VARARGS },
16426          { (char *)"OBScreen_manageExisting", _wrap_OBScreen_manageExisting, METH_VARARGS },
16427          { (char *)"OBScreen_manageWindow", _wrap_OBScreen_manageWindow, METH_VARARGS },
16428          { (char *)"OBScreen_unmanageWindow", _wrap_OBScreen_unmanageWindow, METH_VARARGS },
16429          { (char *)"OBScreen_restack", _wrap_OBScreen_restack, METH_VARARGS },
16430          { (char *)"OBScreen_setDesktopName", _wrap_OBScreen_setDesktopName, METH_VARARGS },
16431          { (char *)"OBScreen_propertyHandler", _wrap_OBScreen_propertyHandler, METH_VARARGS },
16432          { (char *)"OBScreen_clientMessageHandler", _wrap_OBScreen_clientMessageHandler, METH_VARARGS },
16433          { (char *)"OBScreen_mapRequestHandler", _wrap_OBScreen_mapRequestHandler, METH_VARARGS },
16434          { (char *)"OBScreen_swigregister", OBScreen_swigregister, METH_VARARGS },
16435          { (char *)"MwmHints_flags_set", _wrap_MwmHints_flags_set, METH_VARARGS },
16436          { (char *)"MwmHints_flags_get", _wrap_MwmHints_flags_get, METH_VARARGS },
16437          { (char *)"MwmHints_functions_set", _wrap_MwmHints_functions_set, METH_VARARGS },
16438          { (char *)"MwmHints_functions_get", _wrap_MwmHints_functions_get, METH_VARARGS },
16439          { (char *)"MwmHints_decorations_set", _wrap_MwmHints_decorations_set, METH_VARARGS },
16440          { (char *)"MwmHints_decorations_get", _wrap_MwmHints_decorations_get, METH_VARARGS },
16441          { (char *)"MwmHints_swigregister", MwmHints_swigregister, METH_VARARGS },
16442          { (char *)"OBClient_frame_set", _wrap_OBClient_frame_set, METH_VARARGS },
16443          { (char *)"OBClient_frame_get", _wrap_OBClient_frame_get, METH_VARARGS },
16444          { (char *)"OBClient_ignore_unmaps_set", _wrap_OBClient_ignore_unmaps_set, METH_VARARGS },
16445          { (char *)"OBClient_ignore_unmaps_get", _wrap_OBClient_ignore_unmaps_get, METH_VARARGS },
16446          { (char *)"OBClient_screen", _wrap_OBClient_screen, METH_VARARGS },
16447          { (char *)"OBClient_window", _wrap_OBClient_window, METH_VARARGS },
16448          { (char *)"OBClient_type", _wrap_OBClient_type, METH_VARARGS },
16449          { (char *)"OBClient_normal", _wrap_OBClient_normal, METH_VARARGS },
16450          { (char *)"OBClient_desktop", _wrap_OBClient_desktop, METH_VARARGS },
16451          { (char *)"OBClient_title", _wrap_OBClient_title, METH_VARARGS },
16452          { (char *)"OBClient_iconTitle", _wrap_OBClient_iconTitle, METH_VARARGS },
16453          { (char *)"OBClient_appName", _wrap_OBClient_appName, METH_VARARGS },
16454          { (char *)"OBClient_appClass", _wrap_OBClient_appClass, METH_VARARGS },
16455          { (char *)"OBClient_role", _wrap_OBClient_role, METH_VARARGS },
16456          { (char *)"OBClient_canFocus", _wrap_OBClient_canFocus, METH_VARARGS },
16457          { (char *)"OBClient_urgent", _wrap_OBClient_urgent, METH_VARARGS },
16458          { (char *)"OBClient_focusNotify", _wrap_OBClient_focusNotify, METH_VARARGS },
16459          { (char *)"OBClient_shaped", _wrap_OBClient_shaped, METH_VARARGS },
16460          { (char *)"OBClient_gravity", _wrap_OBClient_gravity, METH_VARARGS },
16461          { (char *)"OBClient_positionRequested", _wrap_OBClient_positionRequested, METH_VARARGS },
16462          { (char *)"OBClient_decorations", _wrap_OBClient_decorations, METH_VARARGS },
16463          { (char *)"OBClient_funtions", _wrap_OBClient_funtions, METH_VARARGS },
16464          { (char *)"OBClient_transientFor", _wrap_OBClient_transientFor, METH_VARARGS },
16465          { (char *)"OBClient_modal", _wrap_OBClient_modal, METH_VARARGS },
16466          { (char *)"OBClient_shaded", _wrap_OBClient_shaded, METH_VARARGS },
16467          { (char *)"OBClient_iconic", _wrap_OBClient_iconic, METH_VARARGS },
16468          { (char *)"OBClient_maxVert", _wrap_OBClient_maxVert, METH_VARARGS },
16469          { (char *)"OBClient_maxHorz", _wrap_OBClient_maxHorz, METH_VARARGS },
16470          { (char *)"OBClient_layer", _wrap_OBClient_layer, METH_VARARGS },
16471          { (char *)"OBClient_toggleClientBorder", _wrap_OBClient_toggleClientBorder, METH_VARARGS },
16472          { (char *)"OBClient_area", _wrap_OBClient_area, METH_VARARGS },
16473          { (char *)"OBClient_strut", _wrap_OBClient_strut, METH_VARARGS },
16474          { (char *)"OBClient_move", _wrap_OBClient_move, METH_VARARGS },
16475          { (char *)"OBClient_resize", _wrap_OBClient_resize, METH_VARARGS },
16476          { (char *)"OBClient_focus", _wrap_OBClient_focus, METH_VARARGS },
16477          { (char *)"OBClient_unfocus", _wrap_OBClient_unfocus, METH_VARARGS },
16478          { (char *)"OBClient_focusHandler", _wrap_OBClient_focusHandler, METH_VARARGS },
16479          { (char *)"OBClient_unfocusHandler", _wrap_OBClient_unfocusHandler, METH_VARARGS },
16480          { (char *)"OBClient_propertyHandler", _wrap_OBClient_propertyHandler, METH_VARARGS },
16481          { (char *)"OBClient_clientMessageHandler", _wrap_OBClient_clientMessageHandler, METH_VARARGS },
16482          { (char *)"OBClient_configureRequestHandler", _wrap_OBClient_configureRequestHandler, METH_VARARGS },
16483          { (char *)"OBClient_unmapHandler", _wrap_OBClient_unmapHandler, METH_VARARGS },
16484          { (char *)"OBClient_destroyHandler", _wrap_OBClient_destroyHandler, METH_VARARGS },
16485          { (char *)"OBClient_reparentHandler", _wrap_OBClient_reparentHandler, METH_VARARGS },
16486          { (char *)"OBClient_swigregister", OBClient_swigregister, METH_VARARGS },
16487          { (char *)"MouseData_screen_set", _wrap_MouseData_screen_set, METH_VARARGS },
16488          { (char *)"MouseData_screen_get", _wrap_MouseData_screen_get, METH_VARARGS },
16489          { (char *)"MouseData_client_set", _wrap_MouseData_client_set, METH_VARARGS },
16490          { (char *)"MouseData_client_get", _wrap_MouseData_client_get, METH_VARARGS },
16491          { (char *)"MouseData_time_set", _wrap_MouseData_time_set, METH_VARARGS },
16492          { (char *)"MouseData_time_get", _wrap_MouseData_time_get, METH_VARARGS },
16493          { (char *)"MouseData_state_set", _wrap_MouseData_state_set, METH_VARARGS },
16494          { (char *)"MouseData_state_get", _wrap_MouseData_state_get, METH_VARARGS },
16495          { (char *)"MouseData_button_set", _wrap_MouseData_button_set, METH_VARARGS },
16496          { (char *)"MouseData_button_get", _wrap_MouseData_button_get, METH_VARARGS },
16497          { (char *)"MouseData_context_set", _wrap_MouseData_context_set, METH_VARARGS },
16498          { (char *)"MouseData_context_get", _wrap_MouseData_context_get, METH_VARARGS },
16499          { (char *)"MouseData_action_set", _wrap_MouseData_action_set, METH_VARARGS },
16500          { (char *)"MouseData_action_get", _wrap_MouseData_action_get, METH_VARARGS },
16501          { (char *)"MouseData_xroot_set", _wrap_MouseData_xroot_set, METH_VARARGS },
16502          { (char *)"MouseData_xroot_get", _wrap_MouseData_xroot_get, METH_VARARGS },
16503          { (char *)"MouseData_yroot_set", _wrap_MouseData_yroot_set, METH_VARARGS },
16504          { (char *)"MouseData_yroot_get", _wrap_MouseData_yroot_get, METH_VARARGS },
16505          { (char *)"MouseData_pressx_set", _wrap_MouseData_pressx_set, METH_VARARGS },
16506          { (char *)"MouseData_pressx_get", _wrap_MouseData_pressx_get, METH_VARARGS },
16507          { (char *)"MouseData_pressy_set", _wrap_MouseData_pressy_set, METH_VARARGS },
16508          { (char *)"MouseData_pressy_get", _wrap_MouseData_pressy_get, METH_VARARGS },
16509          { (char *)"MouseData_press_clientx_set", _wrap_MouseData_press_clientx_set, METH_VARARGS },
16510          { (char *)"MouseData_press_clientx_get", _wrap_MouseData_press_clientx_get, METH_VARARGS },
16511          { (char *)"MouseData_press_clienty_set", _wrap_MouseData_press_clienty_set, METH_VARARGS },
16512          { (char *)"MouseData_press_clienty_get", _wrap_MouseData_press_clienty_get, METH_VARARGS },
16513          { (char *)"MouseData_press_clientwidth_set", _wrap_MouseData_press_clientwidth_set, METH_VARARGS },
16514          { (char *)"MouseData_press_clientwidth_get", _wrap_MouseData_press_clientwidth_get, METH_VARARGS },
16515          { (char *)"MouseData_press_clientheight_set", _wrap_MouseData_press_clientheight_set, METH_VARARGS },
16516          { (char *)"MouseData_press_clientheight_get", _wrap_MouseData_press_clientheight_get, METH_VARARGS },
16517          { (char *)"new_MouseData", _wrap_new_MouseData, METH_VARARGS },
16518          { (char *)"MouseData_swigregister", MouseData_swigregister, METH_VARARGS },
16519          { (char *)"EventData_screen_set", _wrap_EventData_screen_set, METH_VARARGS },
16520          { (char *)"EventData_screen_get", _wrap_EventData_screen_get, METH_VARARGS },
16521          { (char *)"EventData_client_set", _wrap_EventData_client_set, METH_VARARGS },
16522          { (char *)"EventData_client_get", _wrap_EventData_client_get, METH_VARARGS },
16523          { (char *)"EventData_state_set", _wrap_EventData_state_set, METH_VARARGS },
16524          { (char *)"EventData_state_get", _wrap_EventData_state_get, METH_VARARGS },
16525          { (char *)"EventData_action_set", _wrap_EventData_action_set, METH_VARARGS },
16526          { (char *)"EventData_action_get", _wrap_EventData_action_get, METH_VARARGS },
16527          { (char *)"new_EventData", _wrap_new_EventData, METH_VARARGS },
16528          { (char *)"EventData_swigregister", EventData_swigregister, METH_VARARGS },
16529          { (char *)"KeyData_screen_set", _wrap_KeyData_screen_set, METH_VARARGS },
16530          { (char *)"KeyData_screen_get", _wrap_KeyData_screen_get, METH_VARARGS },
16531          { (char *)"KeyData_client_set", _wrap_KeyData_client_set, METH_VARARGS },
16532          { (char *)"KeyData_client_get", _wrap_KeyData_client_get, METH_VARARGS },
16533          { (char *)"KeyData_time_set", _wrap_KeyData_time_set, METH_VARARGS },
16534          { (char *)"KeyData_time_get", _wrap_KeyData_time_get, METH_VARARGS },
16535          { (char *)"KeyData_state_set", _wrap_KeyData_state_set, METH_VARARGS },
16536          { (char *)"KeyData_state_get", _wrap_KeyData_state_get, METH_VARARGS },
16537          { (char *)"KeyData_key_set", _wrap_KeyData_key_set, METH_VARARGS },
16538          { (char *)"KeyData_key_get", _wrap_KeyData_key_get, METH_VARARGS },
16539          { (char *)"new_KeyData", _wrap_new_KeyData, METH_VARARGS },
16540          { (char *)"KeyData_swigregister", KeyData_swigregister, METH_VARARGS },
16541          { (char *)"mbind", _wrap_mbind, METH_VARARGS },
16542          { (char *)"kbind", _wrap_kbind, METH_VARARGS },
16543          { (char *)"ebind", _wrap_ebind, METH_VARARGS },
16544          { (char *)"set_reset_key", _wrap_set_reset_key, METH_VARARGS },
16545          { (char *)"send_client_msg", _wrap_send_client_msg, METH_VARARGS },
16546          { NULL, NULL }
16547 };
16548
16549
16550 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16551
16552 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
16553     return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16554 }
16555 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
16556     return (void *)((otk::OtkFocusWidget *)  ((otk::OtkFocusLabel *) x));
16557 }
16558 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
16559     return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16560 }
16561 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
16562     return (void *)((otk::OtkWidget *)  ((otk::OtkAppWidget *) x));
16563 }
16564 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
16565     return (void *)((otk::OtkWidget *)  ((otk::OtkFocusWidget *) x));
16566 }
16567 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
16568     return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
16569 }
16570 static void *_p_ob__OBActionsTo_p_otk__OtkEventHandler(void *x) {
16571     return (void *)((otk::OtkEventHandler *)  ((ob::OBActions *) x));
16572 }
16573 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
16574     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
16575 }
16576 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
16577     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
16578 }
16579 static void *_p_ob__OpenboxTo_p_otk__OtkEventHandler(void *x) {
16580     return (void *)((otk::OtkEventHandler *)  ((ob::Openbox *) x));
16581 }
16582 static void *_p_ob__OBScreenTo_p_otk__OtkEventHandler(void *x) {
16583     return (void *)((otk::OtkEventHandler *)  ((ob::OBScreen *) x));
16584 }
16585 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
16586     return (void *)((otk::OtkEventHandler *)  ((otk::OtkWidget *) x));
16587 }
16588 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
16589     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
16590 }
16591 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
16592     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
16593 }
16594 static void *_p_ob__OBClientTo_p_otk__OtkEventHandler(void *x) {
16595     return (void *)((otk::OtkEventHandler *)  ((ob::OBClient *) x));
16596 }
16597 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
16598     return (void *)((otk::OtkFocusLabel *)  ((otk::OtkButton *) x));
16599 }
16600 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
16601     return (void *)((otk::OtkEventDispatcher *)  ((otk::OtkApplication *) x));
16602 }
16603 static void *_p_ob__OpenboxTo_p_otk__OtkEventDispatcher(void *x) {
16604     return (void *)((otk::OtkEventDispatcher *)  ((ob::Openbox *) x));
16605 }
16606 static void *_p_ob__OBScreenTo_p_ob__OBWidget(void *x) {
16607     return (void *)((ob::OBWidget *)  ((ob::OBScreen *) x));
16608 }
16609 static void *_p_ob__OBClientTo_p_ob__OBWidget(void *x) {
16610     return (void *)((ob::OBWidget *)  ((ob::OBClient *) x));
16611 }
16612 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
16613 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
16614 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
16615 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
16616 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
16617 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
16618 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
16619 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
16620 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
16621 static swig_type_info _swigt__p_ob__OBFrame[] = {{"_p_ob__OBFrame", 0, "ob::OBFrame *", 0},{"_p_ob__OBFrame"},{0}};
16622 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
16623 static swig_type_info _swigt__p_ob__EventData[] = {{"_p_ob__EventData", 0, "ob::EventData *", 0},{"_p_ob__EventData"},{0}};
16624 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
16625 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
16626 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
16627 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
16628 static swig_type_info _swigt__p_ob__Cursors[] = {{"_p_ob__Cursors", 0, "ob::Cursors *", 0},{"_p_ob__Cursors"},{0}};
16629 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
16630 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
16631 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
16632 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
16633 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
16634 static swig_type_info _swigt__p_ob__MwmHints[] = {{"_p_ob__MwmHints", 0, "ob::MwmHints *", 0},{"_p_ob__MwmHints"},{0}};
16635 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
16636 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
16637 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
16638 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
16639 static swig_type_info _swigt__p_ob__OBActions[] = {{"_p_ob__OBActions", 0, "ob::OBActions *", 0},{"_p_ob__OBActions"},{0}};
16640 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16641 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
16642 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
16643 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
16644 static swig_type_info _swigt__p_otk__OtkFocusWidget[] = {{"_p_otk__OtkFocusWidget", 0, "otk::OtkFocusWidget *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkFocusWidget},{"_p_otk__OtkFocusWidget"},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget},{0}};
16645 static swig_type_info _swigt__p_otk__OtkWidget[] = {{"_p_otk__OtkWidget", 0, "otk::OtkWidget *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkWidget},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkWidget},{"_p_otk__OtkWidget"},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkWidget},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkWidget},{0}};
16646 static swig_type_info _swigt__p_PyObject[] = {{"_p_PyObject", 0, "PyObject *", 0},{"_p_PyObject"},{0}};
16647 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
16648 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
16649 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
16650 static swig_type_info _swigt__p_ob__OBScreen[] = {{"_p_ob__OBScreen", 0, "ob::OBScreen *", 0},{"_p_ob__OBScreen"},{0}};
16651 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
16652 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
16653 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
16654 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
16655 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
16656 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
16657 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16658 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
16659 static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_ob__OBActions", _p_ob__OBActionsTo_p_otk__OtkEventHandler},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventHandler},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_otk__OtkEventHandler},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler},{"_p_ob__OBClient", _p_ob__OBClientTo_p_otk__OtkEventHandler},{0}};
16660 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
16661 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
16662 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
16663 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
16664 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
16665 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
16666 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
16667 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
16668 static swig_type_info _swigt__p_otk__OtkFocusLabel[] = {{"_p_otk__OtkFocusLabel", 0, "otk::OtkFocusLabel *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkFocusLabel},{"_p_otk__OtkFocusLabel"},{0}};
16669 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
16670 static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher},{"_p_otk__OtkEventDispatcher"},{"_p_ob__Openbox", _p_ob__OpenboxTo_p_otk__OtkEventDispatcher},{0}};
16671 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
16672 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
16673 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
16674 static swig_type_info _swigt__p_ob__MouseData[] = {{"_p_ob__MouseData", 0, "ob::MouseData *", 0},{"_p_ob__MouseData"},{0}};
16675 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
16676 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
16677 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
16678 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
16679 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
16680 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
16681 static swig_type_info _swigt__p_ob__OBWidget[] = {{"_p_ob__OBWidget", 0, "ob::OBWidget *", 0},{"_p_ob__OBWidget"},{"_p_ob__OBScreen", _p_ob__OBScreenTo_p_ob__OBWidget},{"_p_ob__OBClient", _p_ob__OBClientTo_p_ob__OBWidget},{0}};
16682 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
16683 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
16684 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
16685 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
16686 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
16687 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
16688 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
16689 static swig_type_info _swigt__p_ob__OBBindings[] = {{"_p_ob__OBBindings", 0, "ob::OBBindings *", 0},{"_p_ob__OBBindings"},{0}};
16690 static swig_type_info _swigt__p_ob__OBClient[] = {{"_p_ob__OBClient", 0, "ob::OBClient *", 0},{"_p_ob__OBClient"},{0}};
16691 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
16692 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
16693 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
16694 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
16695 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
16696 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
16697 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
16698 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
16699 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
16700 static swig_type_info _swigt__p_ob__KeyData[] = {{"_p_ob__KeyData", 0, "ob::KeyData *", 0},{"_p_ob__KeyData"},{0}};
16701 static swig_type_info _swigt__p_ob__Openbox[] = {{"_p_ob__Openbox", 0, "ob::Openbox *", 0},{"_p_ob__Openbox"},{0}};
16702 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
16703 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
16704 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
16705
16706 static swig_type_info *swig_types_initial[] = {
16707 _swigt__p_otk__OBProperty__StringVect, 
16708 _swigt__p_otk__BGCCache, 
16709 _swigt__p_otk__BColor, 
16710 _swigt__p_XFontStruct, 
16711 _swigt__p_otk__Configuration, 
16712 _swigt__p_otk__PixmapMask, 
16713 _swigt__p_otk__PointerAssassin, 
16714 _swigt__p_otk__BImage, 
16715 _swigt__p_otk__OBTimer, 
16716 _swigt__p_ob__OBFrame, 
16717 _swigt__p_otk__OtkWidget__OtkWidgetList, 
16718 _swigt__p_ob__EventData, 
16719 _swigt__p_bool, 
16720 _swigt__p_otk__OBDisplay, 
16721 _swigt__p_Display, 
16722 _swigt__p_p_XColor, 
16723 _swigt__p_ob__Cursors, 
16724 _swigt__p_XReparentEvent, 
16725 _swigt__p_otk__BPen, 
16726 _swigt__p_otk__BImageControl, 
16727 _swigt__p_otk__OtkButton, 
16728 _swigt__p_otk__Rect, 
16729 _swigt__p_ob__MwmHints, 
16730 _swigt__p_otk__Style, 
16731 _swigt__p_XSelectionClearEvent, 
16732 _swigt__p_Visual, 
16733 _swigt__p_timeval, 
16734 _swigt__p_ob__OBActions, 
16735 _swigt__p_int, 
16736 _swigt__p_otk__Strut, 
16737 _swigt__p_otk__OtkApplication, 
16738 _swigt__p_XRectangle, 
16739 _swigt__p_otk__OtkFocusWidget, 
16740 _swigt__p_otk__OtkWidget, 
16741 _swigt__p_PyObject, 
16742 _swigt__p_XGravityEvent, 
16743 _swigt__p_XVisibilityEvent, 
16744 _swigt__p_XPropertyEvent, 
16745 _swigt__p_ob__OBScreen, 
16746 _swigt__p_otk__BGCCacheContext, 
16747 _swigt__p_XCreateWindowEvent, 
16748 _swigt__p_XDestroyWindowEvent, 
16749 _swigt__p_XCirculateEvent, 
16750 _swigt__p_XConfigureEvent, 
16751 _swigt__p_otk__OBProperty, 
16752 _swigt__p_long, 
16753 _swigt__p_XTextProperty, 
16754 _swigt__p_otk__OtkEventHandler, 
16755 _swigt__p_XSelectionRequestEvent, 
16756 _swigt__p_XCirculateRequestEvent, 
16757 _swigt__p_XConfigureRequestEvent, 
16758 _swigt__p_XMapRequestEvent, 
16759 _swigt__p_XResizeRequestEvent, 
16760 _swigt__otk__OBTimeoutHandler, 
16761 _swigt__p_XftDraw, 
16762 _swigt__p_otk__ScreenInfo, 
16763 _swigt__p_otk__OtkFocusLabel, 
16764 _swigt__p_otk__BTexture, 
16765 _swigt__p_otk__OtkEventDispatcher, 
16766 _swigt__p_otk__BFont, 
16767 _swigt__p_otk__Point, 
16768 _swigt__p_p_char, 
16769 _swigt__p_ob__MouseData, 
16770 _swigt__p_XSelectionEvent, 
16771 _swigt__p_XMotionEvent, 
16772 _swigt__p_XButtonEvent, 
16773 _swigt__p_GC, 
16774 _swigt__p_otk__OBTimerQueueManager, 
16775 _swigt__p_otk__OtkAppWidget, 
16776 _swigt__p_ob__OBWidget, 
16777 _swigt__p_XKeyEvent, 
16778 _swigt__p_unsigned_long, 
16779 _swigt__p_XEvent, 
16780 _swigt__p_p_unsigned_long, 
16781 _swigt__p_std__string, 
16782 _swigt__p_XCrossingEvent, 
16783 _swigt__p_XMappingEvent, 
16784 _swigt__p_ob__OBBindings, 
16785 _swigt__p_ob__OBClient, 
16786 _swigt__p_otk__BGCCacheItem, 
16787 _swigt__p_p_unsigned_int, 
16788 _swigt__p_unsigned_int, 
16789 _swigt__p_p_unsigned_char, 
16790 _swigt__p_XClientMessageEvent, 
16791 _swigt__p_XFocusChangeEvent, 
16792 _swigt__p_XExposeEvent, 
16793 _swigt__p_XGraphicsExposeEvent, 
16794 _swigt__p_XNoExposeEvent, 
16795 _swigt__p_ob__KeyData, 
16796 _swigt__p_ob__Openbox, 
16797 _swigt__p_XMapEvent, 
16798 _swigt__p_XUnmapEvent, 
16799 _swigt__p_XColormapEvent, 
16800 0
16801 };
16802
16803
16804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16805
16806 static swig_const_info swig_const_table[] = {
16807 { SWIG_PY_INT,     (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
16808 { SWIG_PY_INT,     (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
16809 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
16810 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
16811 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
16812 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
16813 { SWIG_PY_INT,     (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
16814 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
16815 { SWIG_PY_INT,     (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
16816 { SWIG_PY_INT,     (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
16817 { SWIG_PY_INT,     (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
16818 { SWIG_PY_INT,     (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
16819 { SWIG_PY_INT,     (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
16820 { SWIG_PY_INT,     (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
16821 { SWIG_PY_INT,     (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
16822 { SWIG_PY_INT,     (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
16823 { SWIG_PY_INT,     (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
16824 { SWIG_PY_INT,     (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
16825 { SWIG_PY_INT,     (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
16826 { SWIG_PY_INT,     (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
16827 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
16828 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
16829 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
16830 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
16831 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
16832 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
16833 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
16834 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
16835 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
16836 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
16837 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
16838 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
16839 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
16840 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
16841 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
16842 { SWIG_PY_INT,     (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
16843 { SWIG_PY_INT,     (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
16844 { SWIG_PY_INT,     (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
16845 { SWIG_PY_INT,     (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
16846 { SWIG_PY_INT,     (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
16847 { SWIG_PY_INT,     (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
16848 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
16849 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
16850 { SWIG_PY_INT,     (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
16851 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
16852 { SWIG_PY_INT,     (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
16853 { SWIG_PY_INT,     (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
16854 { SWIG_PY_INT,     (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
16855 { SWIG_PY_INT,     (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
16856 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
16857 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
16858 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
16859 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
16860 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
16861 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
16862 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
16863 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
16864 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
16865 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
16866 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
16867 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
16868 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
16869 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
16870 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
16871 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
16872 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
16873 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
16874 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
16875 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
16876 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
16877 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
16878 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
16879 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
16880 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
16881 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
16882 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
16883 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
16884 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
16885 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
16886 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
16887 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
16888 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
16889 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
16890 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
16891 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
16892 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
16893 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
16894 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
16895 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
16896 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
16897 { SWIG_PY_INT,     (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
16898 { SWIG_PY_INT,     (char *)"OBProperty_kde_net_wm_system_tray_window_for", (long) otk::OBProperty::kde_net_wm_system_tray_window_for, 0, 0, 0},
16899 { SWIG_PY_INT,     (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
16900 { SWIG_PY_INT,     (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
16901 { SWIG_PY_INT,     (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
16902 { SWIG_PY_INT,     (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
16903 { SWIG_PY_INT,     (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
16904 { SWIG_PY_INT,     (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
16905 { SWIG_PY_INT,     (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
16906 { SWIG_PY_INT,     (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
16907 { SWIG_PY_INT,     (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
16908 { SWIG_PY_INT,     (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
16909 { SWIG_PY_INT,     (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
16910 { SWIG_PY_INT,     (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
16911 { SWIG_PY_INT,     (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
16912 { SWIG_PY_INT,     (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
16913 { SWIG_PY_INT,     (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
16914 { SWIG_PY_INT,     (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
16915 { SWIG_PY_INT,     (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
16916 { SWIG_PY_INT,     (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
16917 { SWIG_PY_INT,     (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
16918 { SWIG_PY_INT,     (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
16919 { SWIG_PY_INT,     (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
16920 { SWIG_PY_INT,     (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
16921 { SWIG_PY_INT,     (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
16922 { SWIG_PY_INT,     (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
16923 { SWIG_PY_INT,     (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
16924 { SWIG_PY_INT,     (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
16925 { SWIG_PY_INT,     (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
16926 { SWIG_PY_INT,     (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
16927 { SWIG_PY_INT,     (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
16928 { SWIG_PY_INT,     (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
16929 { SWIG_PY_INT,     (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
16930 { SWIG_PY_INT,     (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
16931 { SWIG_PY_INT,     (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
16932 { SWIG_PY_INT,     (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
16933 { SWIG_PY_INT,     (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
16934 { SWIG_PY_INT,     (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
16935 { SWIG_PY_INT,     (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
16936 { SWIG_PY_INT,     (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
16937 { SWIG_PY_INT,     (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
16938 { SWIG_PY_INT,     (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
16939 { SWIG_PY_INT,     (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
16940 { SWIG_PY_INT,     (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
16941 { SWIG_PY_INT,     (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
16942 { SWIG_PY_INT,     (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
16943 { SWIG_PY_INT,     (char *)"None", (long) 0L, 0, 0, 0},
16944 { SWIG_PY_INT,     (char *)"ParentRelative", (long) 1L, 0, 0, 0},
16945 { SWIG_PY_INT,     (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
16946 { SWIG_PY_INT,     (char *)"PointerWindow", (long) 0L, 0, 0, 0},
16947 { SWIG_PY_INT,     (char *)"InputFocus", (long) 1L, 0, 0, 0},
16948 { SWIG_PY_INT,     (char *)"PointerRoot", (long) 1L, 0, 0, 0},
16949 { SWIG_PY_INT,     (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
16950 { SWIG_PY_INT,     (char *)"AnyKey", (long) 0L, 0, 0, 0},
16951 { SWIG_PY_INT,     (char *)"AnyButton", (long) 0L, 0, 0, 0},
16952 { SWIG_PY_INT,     (char *)"AllTemporary", (long) 0L, 0, 0, 0},
16953 { SWIG_PY_INT,     (char *)"CurrentTime", (long) 0L, 0, 0, 0},
16954 { SWIG_PY_INT,     (char *)"NoSymbol", (long) 0L, 0, 0, 0},
16955 { SWIG_PY_INT,     (char *)"NoEventMask", (long) 0L, 0, 0, 0},
16956 { SWIG_PY_INT,     (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
16957 { SWIG_PY_INT,     (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
16958 { SWIG_PY_INT,     (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
16959 { SWIG_PY_INT,     (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
16960 { SWIG_PY_INT,     (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
16961 { SWIG_PY_INT,     (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
16962 { SWIG_PY_INT,     (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
16963 { SWIG_PY_INT,     (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
16964 { SWIG_PY_INT,     (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
16965 { SWIG_PY_INT,     (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
16966 { SWIG_PY_INT,     (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
16967 { SWIG_PY_INT,     (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
16968 { SWIG_PY_INT,     (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
16969 { SWIG_PY_INT,     (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
16970 { SWIG_PY_INT,     (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
16971 { SWIG_PY_INT,     (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
16972 { SWIG_PY_INT,     (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
16973 { SWIG_PY_INT,     (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
16974 { SWIG_PY_INT,     (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
16975 { SWIG_PY_INT,     (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
16976 { SWIG_PY_INT,     (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
16977 { SWIG_PY_INT,     (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
16978 { SWIG_PY_INT,     (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
16979 { SWIG_PY_INT,     (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
16980 { SWIG_PY_INT,     (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
16981 { SWIG_PY_INT,     (char *)"KeyPress", (long) 2, 0, 0, 0},
16982 { SWIG_PY_INT,     (char *)"KeyRelease", (long) 3, 0, 0, 0},
16983 { SWIG_PY_INT,     (char *)"ButtonPress", (long) 4, 0, 0, 0},
16984 { SWIG_PY_INT,     (char *)"ButtonRelease", (long) 5, 0, 0, 0},
16985 { SWIG_PY_INT,     (char *)"MotionNotify", (long) 6, 0, 0, 0},
16986 { SWIG_PY_INT,     (char *)"EnterNotify", (long) 7, 0, 0, 0},
16987 { SWIG_PY_INT,     (char *)"LeaveNotify", (long) 8, 0, 0, 0},
16988 { SWIG_PY_INT,     (char *)"FocusIn", (long) 9, 0, 0, 0},
16989 { SWIG_PY_INT,     (char *)"FocusOut", (long) 10, 0, 0, 0},
16990 { SWIG_PY_INT,     (char *)"KeymapNotify", (long) 11, 0, 0, 0},
16991 { SWIG_PY_INT,     (char *)"Expose", (long) 12, 0, 0, 0},
16992 { SWIG_PY_INT,     (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
16993 { SWIG_PY_INT,     (char *)"NoExpose", (long) 14, 0, 0, 0},
16994 { SWIG_PY_INT,     (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
16995 { SWIG_PY_INT,     (char *)"CreateNotify", (long) 16, 0, 0, 0},
16996 { SWIG_PY_INT,     (char *)"DestroyNotify", (long) 17, 0, 0, 0},
16997 { SWIG_PY_INT,     (char *)"UnmapNotify", (long) 18, 0, 0, 0},
16998 { SWIG_PY_INT,     (char *)"MapNotify", (long) 19, 0, 0, 0},
16999 { SWIG_PY_INT,     (char *)"MapRequest", (long) 20, 0, 0, 0},
17000 { SWIG_PY_INT,     (char *)"ReparentNotify", (long) 21, 0, 0, 0},
17001 { SWIG_PY_INT,     (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
17002 { SWIG_PY_INT,     (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
17003 { SWIG_PY_INT,     (char *)"GravityNotify", (long) 24, 0, 0, 0},
17004 { SWIG_PY_INT,     (char *)"ResizeRequest", (long) 25, 0, 0, 0},
17005 { SWIG_PY_INT,     (char *)"CirculateNotify", (long) 26, 0, 0, 0},
17006 { SWIG_PY_INT,     (char *)"CirculateRequest", (long) 27, 0, 0, 0},
17007 { SWIG_PY_INT,     (char *)"PropertyNotify", (long) 28, 0, 0, 0},
17008 { SWIG_PY_INT,     (char *)"SelectionClear", (long) 29, 0, 0, 0},
17009 { SWIG_PY_INT,     (char *)"SelectionRequest", (long) 30, 0, 0, 0},
17010 { SWIG_PY_INT,     (char *)"SelectionNotify", (long) 31, 0, 0, 0},
17011 { SWIG_PY_INT,     (char *)"ColormapNotify", (long) 32, 0, 0, 0},
17012 { SWIG_PY_INT,     (char *)"ClientMessage", (long) 33, 0, 0, 0},
17013 { SWIG_PY_INT,     (char *)"MappingNotify", (long) 34, 0, 0, 0},
17014 { SWIG_PY_INT,     (char *)"LASTEvent", (long) 35, 0, 0, 0},
17015 { SWIG_PY_INT,     (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
17016 { SWIG_PY_INT,     (char *)"LockMask", (long) (1<<1), 0, 0, 0},
17017 { SWIG_PY_INT,     (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
17018 { SWIG_PY_INT,     (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
17019 { SWIG_PY_INT,     (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
17020 { SWIG_PY_INT,     (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
17021 { SWIG_PY_INT,     (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
17022 { SWIG_PY_INT,     (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
17023 { SWIG_PY_INT,     (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
17024 { SWIG_PY_INT,     (char *)"LockMapIndex", (long) 1, 0, 0, 0},
17025 { SWIG_PY_INT,     (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
17026 { SWIG_PY_INT,     (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
17027 { SWIG_PY_INT,     (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
17028 { SWIG_PY_INT,     (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
17029 { SWIG_PY_INT,     (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
17030 { SWIG_PY_INT,     (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
17031 { SWIG_PY_INT,     (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
17032 { SWIG_PY_INT,     (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
17033 { SWIG_PY_INT,     (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
17034 { SWIG_PY_INT,     (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
17035 { SWIG_PY_INT,     (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
17036 { SWIG_PY_INT,     (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
17037 { SWIG_PY_INT,     (char *)"Button1", (long) 1, 0, 0, 0},
17038 { SWIG_PY_INT,     (char *)"Button2", (long) 2, 0, 0, 0},
17039 { SWIG_PY_INT,     (char *)"Button3", (long) 3, 0, 0, 0},
17040 { SWIG_PY_INT,     (char *)"Button4", (long) 4, 0, 0, 0},
17041 { SWIG_PY_INT,     (char *)"Button5", (long) 5, 0, 0, 0},
17042 { SWIG_PY_INT,     (char *)"NotifyNormal", (long) 0, 0, 0, 0},
17043 { SWIG_PY_INT,     (char *)"NotifyGrab", (long) 1, 0, 0, 0},
17044 { SWIG_PY_INT,     (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
17045 { SWIG_PY_INT,     (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
17046 { SWIG_PY_INT,     (char *)"NotifyHint", (long) 1, 0, 0, 0},
17047 { SWIG_PY_INT,     (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
17048 { SWIG_PY_INT,     (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
17049 { SWIG_PY_INT,     (char *)"NotifyInferior", (long) 2, 0, 0, 0},
17050 { SWIG_PY_INT,     (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
17051 { SWIG_PY_INT,     (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
17052 { SWIG_PY_INT,     (char *)"NotifyPointer", (long) 5, 0, 0, 0},
17053 { SWIG_PY_INT,     (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
17054 { SWIG_PY_INT,     (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
17055 { SWIG_PY_INT,     (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
17056 { SWIG_PY_INT,     (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
17057 { SWIG_PY_INT,     (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
17058 { SWIG_PY_INT,     (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
17059 { SWIG_PY_INT,     (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
17060 { SWIG_PY_INT,     (char *)"FamilyInternet", (long) 0, 0, 0, 0},
17061 { SWIG_PY_INT,     (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
17062 { SWIG_PY_INT,     (char *)"FamilyChaos", (long) 2, 0, 0, 0},
17063 { SWIG_PY_INT,     (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
17064 { SWIG_PY_INT,     (char *)"PropertyDelete", (long) 1, 0, 0, 0},
17065 { SWIG_PY_INT,     (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
17066 { SWIG_PY_INT,     (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
17067 { SWIG_PY_INT,     (char *)"GrabModeSync", (long) 0, 0, 0, 0},
17068 { SWIG_PY_INT,     (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
17069 { SWIG_PY_INT,     (char *)"GrabSuccess", (long) 0, 0, 0, 0},
17070 { SWIG_PY_INT,     (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
17071 { SWIG_PY_INT,     (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
17072 { SWIG_PY_INT,     (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
17073 { SWIG_PY_INT,     (char *)"GrabFrozen", (long) 4, 0, 0, 0},
17074 { SWIG_PY_INT,     (char *)"AsyncPointer", (long) 0, 0, 0, 0},
17075 { SWIG_PY_INT,     (char *)"SyncPointer", (long) 1, 0, 0, 0},
17076 { SWIG_PY_INT,     (char *)"ReplayPointer", (long) 2, 0, 0, 0},
17077 { SWIG_PY_INT,     (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
17078 { SWIG_PY_INT,     (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
17079 { SWIG_PY_INT,     (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
17080 { SWIG_PY_INT,     (char *)"AsyncBoth", (long) 6, 0, 0, 0},
17081 { SWIG_PY_INT,     (char *)"SyncBoth", (long) 7, 0, 0, 0},
17082 { SWIG_PY_INT,     (char *)"RevertToParent", (long) 2, 0, 0, 0},
17083 { SWIG_PY_INT,     (char *)"Success", (long) 0, 0, 0, 0},
17084 { SWIG_PY_INT,     (char *)"BadRequest", (long) 1, 0, 0, 0},
17085 { SWIG_PY_INT,     (char *)"BadValue", (long) 2, 0, 0, 0},
17086 { SWIG_PY_INT,     (char *)"BadWindow", (long) 3, 0, 0, 0},
17087 { SWIG_PY_INT,     (char *)"BadPixmap", (long) 4, 0, 0, 0},
17088 { SWIG_PY_INT,     (char *)"BadAtom", (long) 5, 0, 0, 0},
17089 { SWIG_PY_INT,     (char *)"BadCursor", (long) 6, 0, 0, 0},
17090 { SWIG_PY_INT,     (char *)"BadFont", (long) 7, 0, 0, 0},
17091 { SWIG_PY_INT,     (char *)"BadMatch", (long) 8, 0, 0, 0},
17092 { SWIG_PY_INT,     (char *)"BadDrawable", (long) 9, 0, 0, 0},
17093 { SWIG_PY_INT,     (char *)"BadAccess", (long) 10, 0, 0, 0},
17094 { SWIG_PY_INT,     (char *)"BadAlloc", (long) 11, 0, 0, 0},
17095 { SWIG_PY_INT,     (char *)"BadColor", (long) 12, 0, 0, 0},
17096 { SWIG_PY_INT,     (char *)"BadGC", (long) 13, 0, 0, 0},
17097 { SWIG_PY_INT,     (char *)"BadIDChoice", (long) 14, 0, 0, 0},
17098 { SWIG_PY_INT,     (char *)"BadName", (long) 15, 0, 0, 0},
17099 { SWIG_PY_INT,     (char *)"BadLength", (long) 16, 0, 0, 0},
17100 { SWIG_PY_INT,     (char *)"BadImplementation", (long) 17, 0, 0, 0},
17101 { SWIG_PY_INT,     (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
17102 { SWIG_PY_INT,     (char *)"LastExtensionError", (long) 255, 0, 0, 0},
17103 { SWIG_PY_INT,     (char *)"InputOutput", (long) 1, 0, 0, 0},
17104 { SWIG_PY_INT,     (char *)"InputOnly", (long) 2, 0, 0, 0},
17105 { SWIG_PY_INT,     (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
17106 { SWIG_PY_INT,     (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
17107 { SWIG_PY_INT,     (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
17108 { SWIG_PY_INT,     (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
17109 { SWIG_PY_INT,     (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
17110 { SWIG_PY_INT,     (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
17111 { SWIG_PY_INT,     (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
17112 { SWIG_PY_INT,     (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
17113 { SWIG_PY_INT,     (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
17114 { SWIG_PY_INT,     (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
17115 { SWIG_PY_INT,     (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
17116 { SWIG_PY_INT,     (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
17117 { SWIG_PY_INT,     (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
17118 { SWIG_PY_INT,     (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
17119 { SWIG_PY_INT,     (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
17120 { SWIG_PY_INT,     (char *)"CWX", (long) (1<<0), 0, 0, 0},
17121 { SWIG_PY_INT,     (char *)"CWY", (long) (1<<1), 0, 0, 0},
17122 { SWIG_PY_INT,     (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
17123 { SWIG_PY_INT,     (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
17124 { SWIG_PY_INT,     (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
17125 { SWIG_PY_INT,     (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
17126 { SWIG_PY_INT,     (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
17127 { SWIG_PY_INT,     (char *)"ForgetGravity", (long) 0, 0, 0, 0},
17128 { SWIG_PY_INT,     (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
17129 { SWIG_PY_INT,     (char *)"NorthGravity", (long) 2, 0, 0, 0},
17130 { SWIG_PY_INT,     (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
17131 { SWIG_PY_INT,     (char *)"WestGravity", (long) 4, 0, 0, 0},
17132 { SWIG_PY_INT,     (char *)"CenterGravity", (long) 5, 0, 0, 0},
17133 { SWIG_PY_INT,     (char *)"EastGravity", (long) 6, 0, 0, 0},
17134 { SWIG_PY_INT,     (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
17135 { SWIG_PY_INT,     (char *)"SouthGravity", (long) 8, 0, 0, 0},
17136 { SWIG_PY_INT,     (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
17137 { SWIG_PY_INT,     (char *)"StaticGravity", (long) 10, 0, 0, 0},
17138 { SWIG_PY_INT,     (char *)"UnmapGravity", (long) 0, 0, 0, 0},
17139 { SWIG_PY_INT,     (char *)"NotUseful", (long) 0, 0, 0, 0},
17140 { SWIG_PY_INT,     (char *)"WhenMapped", (long) 1, 0, 0, 0},
17141 { SWIG_PY_INT,     (char *)"Always", (long) 2, 0, 0, 0},
17142 { SWIG_PY_INT,     (char *)"IsUnmapped", (long) 0, 0, 0, 0},
17143 { SWIG_PY_INT,     (char *)"IsUnviewable", (long) 1, 0, 0, 0},
17144 { SWIG_PY_INT,     (char *)"IsViewable", (long) 2, 0, 0, 0},
17145 { SWIG_PY_INT,     (char *)"SetModeInsert", (long) 0, 0, 0, 0},
17146 { SWIG_PY_INT,     (char *)"SetModeDelete", (long) 1, 0, 0, 0},
17147 { SWIG_PY_INT,     (char *)"DestroyAll", (long) 0, 0, 0, 0},
17148 { SWIG_PY_INT,     (char *)"RetainPermanent", (long) 1, 0, 0, 0},
17149 { SWIG_PY_INT,     (char *)"RetainTemporary", (long) 2, 0, 0, 0},
17150 { SWIG_PY_INT,     (char *)"Above", (long) 0, 0, 0, 0},
17151 { SWIG_PY_INT,     (char *)"Below", (long) 1, 0, 0, 0},
17152 { SWIG_PY_INT,     (char *)"TopIf", (long) 2, 0, 0, 0},
17153 { SWIG_PY_INT,     (char *)"BottomIf", (long) 3, 0, 0, 0},
17154 { SWIG_PY_INT,     (char *)"Opposite", (long) 4, 0, 0, 0},
17155 { SWIG_PY_INT,     (char *)"RaiseLowest", (long) 0, 0, 0, 0},
17156 { SWIG_PY_INT,     (char *)"LowerHighest", (long) 1, 0, 0, 0},
17157 { SWIG_PY_INT,     (char *)"PropModeReplace", (long) 0, 0, 0, 0},
17158 { SWIG_PY_INT,     (char *)"PropModePrepend", (long) 1, 0, 0, 0},
17159 { SWIG_PY_INT,     (char *)"PropModeAppend", (long) 2, 0, 0, 0},
17160 { SWIG_PY_INT,     (char *)"GXclear", (long) 0x0, 0, 0, 0},
17161 { SWIG_PY_INT,     (char *)"GXand", (long) 0x1, 0, 0, 0},
17162 { SWIG_PY_INT,     (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
17163 { SWIG_PY_INT,     (char *)"GXcopy", (long) 0x3, 0, 0, 0},
17164 { SWIG_PY_INT,     (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
17165 { SWIG_PY_INT,     (char *)"GXnoop", (long) 0x5, 0, 0, 0},
17166 { SWIG_PY_INT,     (char *)"GXxor", (long) 0x6, 0, 0, 0},
17167 { SWIG_PY_INT,     (char *)"GXor", (long) 0x7, 0, 0, 0},
17168 { SWIG_PY_INT,     (char *)"GXnor", (long) 0x8, 0, 0, 0},
17169 { SWIG_PY_INT,     (char *)"GXequiv", (long) 0x9, 0, 0, 0},
17170 { SWIG_PY_INT,     (char *)"GXinvert", (long) 0xa, 0, 0, 0},
17171 { SWIG_PY_INT,     (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
17172 { SWIG_PY_INT,     (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
17173 { SWIG_PY_INT,     (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
17174 { SWIG_PY_INT,     (char *)"GXnand", (long) 0xe, 0, 0, 0},
17175 { SWIG_PY_INT,     (char *)"GXset", (long) 0xf, 0, 0, 0},
17176 { SWIG_PY_INT,     (char *)"LineSolid", (long) 0, 0, 0, 0},
17177 { SWIG_PY_INT,     (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
17178 { SWIG_PY_INT,     (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
17179 { SWIG_PY_INT,     (char *)"CapNotLast", (long) 0, 0, 0, 0},
17180 { SWIG_PY_INT,     (char *)"CapButt", (long) 1, 0, 0, 0},
17181 { SWIG_PY_INT,     (char *)"CapRound", (long) 2, 0, 0, 0},
17182 { SWIG_PY_INT,     (char *)"CapProjecting", (long) 3, 0, 0, 0},
17183 { SWIG_PY_INT,     (char *)"JoinMiter", (long) 0, 0, 0, 0},
17184 { SWIG_PY_INT,     (char *)"JoinRound", (long) 1, 0, 0, 0},
17185 { SWIG_PY_INT,     (char *)"JoinBevel", (long) 2, 0, 0, 0},
17186 { SWIG_PY_INT,     (char *)"FillSolid", (long) 0, 0, 0, 0},
17187 { SWIG_PY_INT,     (char *)"FillTiled", (long) 1, 0, 0, 0},
17188 { SWIG_PY_INT,     (char *)"FillStippled", (long) 2, 0, 0, 0},
17189 { SWIG_PY_INT,     (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
17190 { SWIG_PY_INT,     (char *)"EvenOddRule", (long) 0, 0, 0, 0},
17191 { SWIG_PY_INT,     (char *)"WindingRule", (long) 1, 0, 0, 0},
17192 { SWIG_PY_INT,     (char *)"ClipByChildren", (long) 0, 0, 0, 0},
17193 { SWIG_PY_INT,     (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
17194 { SWIG_PY_INT,     (char *)"Unsorted", (long) 0, 0, 0, 0},
17195 { SWIG_PY_INT,     (char *)"YSorted", (long) 1, 0, 0, 0},
17196 { SWIG_PY_INT,     (char *)"YXSorted", (long) 2, 0, 0, 0},
17197 { SWIG_PY_INT,     (char *)"YXBanded", (long) 3, 0, 0, 0},
17198 { SWIG_PY_INT,     (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
17199 { SWIG_PY_INT,     (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
17200 { SWIG_PY_INT,     (char *)"Complex", (long) 0, 0, 0, 0},
17201 { SWIG_PY_INT,     (char *)"Nonconvex", (long) 1, 0, 0, 0},
17202 { SWIG_PY_INT,     (char *)"Convex", (long) 2, 0, 0, 0},
17203 { SWIG_PY_INT,     (char *)"ArcChord", (long) 0, 0, 0, 0},
17204 { SWIG_PY_INT,     (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
17205 { SWIG_PY_INT,     (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
17206 { SWIG_PY_INT,     (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
17207 { SWIG_PY_INT,     (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
17208 { SWIG_PY_INT,     (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
17209 { SWIG_PY_INT,     (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
17210 { SWIG_PY_INT,     (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
17211 { SWIG_PY_INT,     (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
17212 { SWIG_PY_INT,     (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
17213 { SWIG_PY_INT,     (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
17214 { SWIG_PY_INT,     (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
17215 { SWIG_PY_INT,     (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
17216 { SWIG_PY_INT,     (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
17217 { SWIG_PY_INT,     (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
17218 { SWIG_PY_INT,     (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
17219 { SWIG_PY_INT,     (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
17220 { SWIG_PY_INT,     (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
17221 { SWIG_PY_INT,     (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
17222 { SWIG_PY_INT,     (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
17223 { SWIG_PY_INT,     (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
17224 { SWIG_PY_INT,     (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
17225 { SWIG_PY_INT,     (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
17226 { SWIG_PY_INT,     (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
17227 { SWIG_PY_INT,     (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
17228 { SWIG_PY_INT,     (char *)"GCLastBit", (long) 22, 0, 0, 0},
17229 { SWIG_PY_INT,     (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
17230 { SWIG_PY_INT,     (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
17231 { SWIG_PY_INT,     (char *)"FontChange", (long) 255, 0, 0, 0},
17232 { SWIG_PY_INT,     (char *)"XYBitmap", (long) 0, 0, 0, 0},
17233 { SWIG_PY_INT,     (char *)"XYPixmap", (long) 1, 0, 0, 0},
17234 { SWIG_PY_INT,     (char *)"ZPixmap", (long) 2, 0, 0, 0},
17235 { SWIG_PY_INT,     (char *)"AllocNone", (long) 0, 0, 0, 0},
17236 { SWIG_PY_INT,     (char *)"AllocAll", (long) 1, 0, 0, 0},
17237 { SWIG_PY_INT,     (char *)"DoRed", (long) (1<<0), 0, 0, 0},
17238 { SWIG_PY_INT,     (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
17239 { SWIG_PY_INT,     (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
17240 { SWIG_PY_INT,     (char *)"CursorShape", (long) 0, 0, 0, 0},
17241 { SWIG_PY_INT,     (char *)"TileShape", (long) 1, 0, 0, 0},
17242 { SWIG_PY_INT,     (char *)"StippleShape", (long) 2, 0, 0, 0},
17243 { SWIG_PY_INT,     (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
17244 { SWIG_PY_INT,     (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
17245 { SWIG_PY_INT,     (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
17246 { SWIG_PY_INT,     (char *)"LedModeOff", (long) 0, 0, 0, 0},
17247 { SWIG_PY_INT,     (char *)"LedModeOn", (long) 1, 0, 0, 0},
17248 { SWIG_PY_INT,     (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
17249 { SWIG_PY_INT,     (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
17250 { SWIG_PY_INT,     (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
17251 { SWIG_PY_INT,     (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
17252 { SWIG_PY_INT,     (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
17253 { SWIG_PY_INT,     (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
17254 { SWIG_PY_INT,     (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
17255 { SWIG_PY_INT,     (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
17256 { SWIG_PY_INT,     (char *)"MappingSuccess", (long) 0, 0, 0, 0},
17257 { SWIG_PY_INT,     (char *)"MappingBusy", (long) 1, 0, 0, 0},
17258 { SWIG_PY_INT,     (char *)"MappingFailed", (long) 2, 0, 0, 0},
17259 { SWIG_PY_INT,     (char *)"MappingModifier", (long) 0, 0, 0, 0},
17260 { SWIG_PY_INT,     (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
17261 { SWIG_PY_INT,     (char *)"MappingPointer", (long) 2, 0, 0, 0},
17262 { SWIG_PY_INT,     (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
17263 { SWIG_PY_INT,     (char *)"PreferBlanking", (long) 1, 0, 0, 0},
17264 { SWIG_PY_INT,     (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
17265 { SWIG_PY_INT,     (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
17266 { SWIG_PY_INT,     (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
17267 { SWIG_PY_INT,     (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
17268 { SWIG_PY_INT,     (char *)"AllowExposures", (long) 1, 0, 0, 0},
17269 { SWIG_PY_INT,     (char *)"DefaultExposures", (long) 2, 0, 0, 0},
17270 { SWIG_PY_INT,     (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
17271 { SWIG_PY_INT,     (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
17272 { SWIG_PY_INT,     (char *)"HostInsert", (long) 0, 0, 0, 0},
17273 { SWIG_PY_INT,     (char *)"HostDelete", (long) 1, 0, 0, 0},
17274 { SWIG_PY_INT,     (char *)"EnableAccess", (long) 1, 0, 0, 0},
17275 { SWIG_PY_INT,     (char *)"DisableAccess", (long) 0, 0, 0, 0},
17276 { SWIG_PY_INT,     (char *)"StaticGray", (long) 0, 0, 0, 0},
17277 { SWIG_PY_INT,     (char *)"GrayScale", (long) 1, 0, 0, 0},
17278 { SWIG_PY_INT,     (char *)"StaticColor", (long) 2, 0, 0, 0},
17279 { SWIG_PY_INT,     (char *)"PseudoColor", (long) 3, 0, 0, 0},
17280 { SWIG_PY_INT,     (char *)"TrueColor", (long) 4, 0, 0, 0},
17281 { SWIG_PY_INT,     (char *)"DirectColor", (long) 5, 0, 0, 0},
17282 { SWIG_PY_INT,     (char *)"LSBFirst", (long) 0, 0, 0, 0},
17283 { SWIG_PY_INT,     (char *)"MSBFirst", (long) 1, 0, 0, 0},
17284 { SWIG_PY_INT,     (char *)"Openbox_State_Starting", (long) ob::Openbox::State_Starting, 0, 0, 0},
17285 { SWIG_PY_INT,     (char *)"Openbox_State_Normal", (long) ob::Openbox::State_Normal, 0, 0, 0},
17286 { SWIG_PY_INT,     (char *)"Openbox_State_Exiting", (long) ob::Openbox::State_Exiting, 0, 0, 0},
17287 { SWIG_PY_INT,     (char *)"OBScreen_event_mask", (long) ob::OBScreen::event_mask, 0, 0, 0},
17288 { SWIG_PY_INT,     (char *)"MwmHints_elements", (long) ob::MwmHints::elements, 0, 0, 0},
17289 { SWIG_PY_INT,     (char *)"OBClient_Layer_Icon", (long) ob::OBClient::Layer_Icon, 0, 0, 0},
17290 { SWIG_PY_INT,     (char *)"OBClient_Layer_Desktop", (long) ob::OBClient::Layer_Desktop, 0, 0, 0},
17291 { SWIG_PY_INT,     (char *)"OBClient_Layer_Below", (long) ob::OBClient::Layer_Below, 0, 0, 0},
17292 { SWIG_PY_INT,     (char *)"OBClient_Layer_Normal", (long) ob::OBClient::Layer_Normal, 0, 0, 0},
17293 { SWIG_PY_INT,     (char *)"OBClient_Layer_Above", (long) ob::OBClient::Layer_Above, 0, 0, 0},
17294 { SWIG_PY_INT,     (char *)"OBClient_Layer_Top", (long) ob::OBClient::Layer_Top, 0, 0, 0},
17295 { SWIG_PY_INT,     (char *)"OBClient_Layer_Fullscreen", (long) ob::OBClient::Layer_Fullscreen, 0, 0, 0},
17296 { SWIG_PY_INT,     (char *)"OBClient_Layer_Internal", (long) ob::OBClient::Layer_Internal, 0, 0, 0},
17297 { SWIG_PY_INT,     (char *)"OBClient_NUM_LAYERS", (long) ob::OBClient::NUM_LAYERS, 0, 0, 0},
17298 { SWIG_PY_INT,     (char *)"OBClient_TopLeft", (long) ob::OBClient::TopLeft, 0, 0, 0},
17299 { SWIG_PY_INT,     (char *)"OBClient_TopRight", (long) ob::OBClient::TopRight, 0, 0, 0},
17300 { SWIG_PY_INT,     (char *)"OBClient_BottomLeft", (long) ob::OBClient::BottomLeft, 0, 0, 0},
17301 { SWIG_PY_INT,     (char *)"OBClient_BottomRight", (long) ob::OBClient::BottomRight, 0, 0, 0},
17302 { SWIG_PY_INT,     (char *)"OBClient_Type_Desktop", (long) ob::OBClient::Type_Desktop, 0, 0, 0},
17303 { SWIG_PY_INT,     (char *)"OBClient_Type_Dock", (long) ob::OBClient::Type_Dock, 0, 0, 0},
17304 { SWIG_PY_INT,     (char *)"OBClient_Type_Toolbar", (long) ob::OBClient::Type_Toolbar, 0, 0, 0},
17305 { SWIG_PY_INT,     (char *)"OBClient_Type_Menu", (long) ob::OBClient::Type_Menu, 0, 0, 0},
17306 { SWIG_PY_INT,     (char *)"OBClient_Type_Utility", (long) ob::OBClient::Type_Utility, 0, 0, 0},
17307 { SWIG_PY_INT,     (char *)"OBClient_Type_Splash", (long) ob::OBClient::Type_Splash, 0, 0, 0},
17308 { SWIG_PY_INT,     (char *)"OBClient_Type_Dialog", (long) ob::OBClient::Type_Dialog, 0, 0, 0},
17309 { SWIG_PY_INT,     (char *)"OBClient_Type_Normal", (long) ob::OBClient::Type_Normal, 0, 0, 0},
17310 { SWIG_PY_INT,     (char *)"OBClient_MwmFlag_Functions", (long) ob::OBClient::MwmFlag_Functions, 0, 0, 0},
17311 { SWIG_PY_INT,     (char *)"OBClient_MwmFlag_Decorations", (long) ob::OBClient::MwmFlag_Decorations, 0, 0, 0},
17312 { SWIG_PY_INT,     (char *)"OBClient_MwmFunc_All", (long) ob::OBClient::MwmFunc_All, 0, 0, 0},
17313 { SWIG_PY_INT,     (char *)"OBClient_MwmFunc_Resize", (long) ob::OBClient::MwmFunc_Resize, 0, 0, 0},
17314 { SWIG_PY_INT,     (char *)"OBClient_MwmFunc_Move", (long) ob::OBClient::MwmFunc_Move, 0, 0, 0},
17315 { SWIG_PY_INT,     (char *)"OBClient_MwmFunc_Iconify", (long) ob::OBClient::MwmFunc_Iconify, 0, 0, 0},
17316 { SWIG_PY_INT,     (char *)"OBClient_MwmFunc_Maximize", (long) ob::OBClient::MwmFunc_Maximize, 0, 0, 0},
17317 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_All", (long) ob::OBClient::MwmDecor_All, 0, 0, 0},
17318 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_Border", (long) ob::OBClient::MwmDecor_Border, 0, 0, 0},
17319 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_Handle", (long) ob::OBClient::MwmDecor_Handle, 0, 0, 0},
17320 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_Title", (long) ob::OBClient::MwmDecor_Title, 0, 0, 0},
17321 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_Iconify", (long) ob::OBClient::MwmDecor_Iconify, 0, 0, 0},
17322 { SWIG_PY_INT,     (char *)"OBClient_MwmDecor_Maximize", (long) ob::OBClient::MwmDecor_Maximize, 0, 0, 0},
17323 { SWIG_PY_INT,     (char *)"OBClient_Func_Resize", (long) ob::OBClient::Func_Resize, 0, 0, 0},
17324 { SWIG_PY_INT,     (char *)"OBClient_Func_Move", (long) ob::OBClient::Func_Move, 0, 0, 0},
17325 { SWIG_PY_INT,     (char *)"OBClient_Func_Iconify", (long) ob::OBClient::Func_Iconify, 0, 0, 0},
17326 { SWIG_PY_INT,     (char *)"OBClient_Func_Maximize", (long) ob::OBClient::Func_Maximize, 0, 0, 0},
17327 { SWIG_PY_INT,     (char *)"OBClient_Func_Close", (long) ob::OBClient::Func_Close, 0, 0, 0},
17328 { SWIG_PY_INT,     (char *)"OBClient_Decor_Titlebar", (long) ob::OBClient::Decor_Titlebar, 0, 0, 0},
17329 { SWIG_PY_INT,     (char *)"OBClient_Decor_Handle", (long) ob::OBClient::Decor_Handle, 0, 0, 0},
17330 { SWIG_PY_INT,     (char *)"OBClient_Decor_Border", (long) ob::OBClient::Decor_Border, 0, 0, 0},
17331 { SWIG_PY_INT,     (char *)"OBClient_Decor_Iconify", (long) ob::OBClient::Decor_Iconify, 0, 0, 0},
17332 { SWIG_PY_INT,     (char *)"OBClient_Decor_Maximize", (long) ob::OBClient::Decor_Maximize, 0, 0, 0},
17333 { SWIG_PY_INT,     (char *)"OBClient_Decor_Sticky", (long) ob::OBClient::Decor_Sticky, 0, 0, 0},
17334 { SWIG_PY_INT,     (char *)"OBClient_Decor_Close", (long) ob::OBClient::Decor_Close, 0, 0, 0},
17335 { SWIG_PY_INT,     (char *)"OBClient_State_Remove", (long) ob::OBClient::State_Remove, 0, 0, 0},
17336 { SWIG_PY_INT,     (char *)"OBClient_State_Add", (long) ob::OBClient::State_Add, 0, 0, 0},
17337 { SWIG_PY_INT,     (char *)"OBClient_State_Toggle", (long) ob::OBClient::State_Toggle, 0, 0, 0},
17338 { SWIG_PY_INT,     (char *)"OBClient_event_mask", (long) ob::OBClient::event_mask, 0, 0, 0},
17339 { SWIG_PY_INT,     (char *)"OBClient_no_propagate_mask", (long) ob::OBClient::no_propagate_mask, 0, 0, 0},
17340 { SWIG_PY_INT,     (char *)"MC_Frame", (long) ob::MC_Frame, 0, 0, 0},
17341 { SWIG_PY_INT,     (char *)"MC_Titlebar", (long) ob::MC_Titlebar, 0, 0, 0},
17342 { SWIG_PY_INT,     (char *)"MC_Handle", (long) ob::MC_Handle, 0, 0, 0},
17343 { SWIG_PY_INT,     (char *)"MC_Window", (long) ob::MC_Window, 0, 0, 0},
17344 { SWIG_PY_INT,     (char *)"MC_MaximizeButton", (long) ob::MC_MaximizeButton, 0, 0, 0},
17345 { SWIG_PY_INT,     (char *)"MC_CloseButton", (long) ob::MC_CloseButton, 0, 0, 0},
17346 { SWIG_PY_INT,     (char *)"MC_IconifyButton", (long) ob::MC_IconifyButton, 0, 0, 0},
17347 { SWIG_PY_INT,     (char *)"MC_StickyButton", (long) ob::MC_StickyButton, 0, 0, 0},
17348 { SWIG_PY_INT,     (char *)"MC_Grip", (long) ob::MC_Grip, 0, 0, 0},
17349 { SWIG_PY_INT,     (char *)"MC_Root", (long) ob::MC_Root, 0, 0, 0},
17350 { SWIG_PY_INT,     (char *)"MC_MenuItem", (long) ob::MC_MenuItem, 0, 0, 0},
17351 { SWIG_PY_INT,     (char *)"NUM_MOUSE_CONTEXT", (long) ob::NUM_MOUSE_CONTEXT, 0, 0, 0},
17352 { SWIG_PY_INT,     (char *)"MousePress", (long) ob::MousePress, 0, 0, 0},
17353 { SWIG_PY_INT,     (char *)"MouseClick", (long) ob::MouseClick, 0, 0, 0},
17354 { SWIG_PY_INT,     (char *)"MouseDoubleClick", (long) ob::MouseDoubleClick, 0, 0, 0},
17355 { SWIG_PY_INT,     (char *)"MouseMotion", (long) ob::MouseMotion, 0, 0, 0},
17356 { SWIG_PY_INT,     (char *)"NUM_MOUSE_ACTION", (long) ob::NUM_MOUSE_ACTION, 0, 0, 0},
17357 { SWIG_PY_INT,     (char *)"KC_Menu", (long) ob::KC_Menu, 0, 0, 0},
17358 { SWIG_PY_INT,     (char *)"KC_All", (long) ob::KC_All, 0, 0, 0},
17359 { SWIG_PY_INT,     (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
17360 { SWIG_PY_INT,     (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
17361 { SWIG_PY_INT,     (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
17362 { SWIG_PY_INT,     (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
17363 { SWIG_PY_INT,     (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
17364 { SWIG_PY_INT,     (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
17365 { SWIG_PY_INT,     (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
17366 { SWIG_PY_INT,     (char *)"EventShutdown", (long) ob::EventShutdown, 0, 0, 0},
17367 { SWIG_PY_INT,     (char *)"EventFocus", (long) ob::EventFocus, 0, 0, 0},
17368 { SWIG_PY_INT,     (char *)"EventBell", (long) ob::EventBell, 0, 0, 0},
17369 { SWIG_PY_INT,     (char *)"NUM_EVENTS", (long) ob::NUM_EVENTS, 0, 0, 0},
17370 {0}};
17371
17372 #ifdef __cplusplus
17373 }
17374 #endif
17375
17376 #ifdef __cplusplus
17377 extern "C"
17378 #endif
17379 SWIGEXPORT(void) SWIG_init(void) {
17380     static PyObject *SWIG_globals = 0; 
17381     static int       typeinit = 0;
17382     PyObject *m, *d;
17383     int       i;
17384     if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
17385     m = Py_InitModule((char *) SWIG_name, SwigMethods);
17386     d = PyModule_GetDict(m);
17387     
17388     if (!typeinit) {
17389         for (i = 0; swig_types_initial[i]; i++) {
17390             swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
17391         }
17392         typeinit = 1;
17393     }
17394     SWIG_InstallConstants(d,swig_const_table);
17395     
17396     PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
17397     SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
17398 }
17399