]> icculus.org git repositories - mikachu/openbox.git/blob - otk/otk_wrap.cc
new autoconf shit woowoo
[mikachu/openbox.git] / otk / otk_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_otk__OtkWidget__OtkWidgetList swig_types[9] 
658 #define  SWIGTYPE_p_bool swig_types[10] 
659 #define  SWIGTYPE_p_otk__OBDisplay swig_types[11] 
660 #define  SWIGTYPE_p_Display swig_types[12] 
661 #define  SWIGTYPE_p_p_XColor swig_types[13] 
662 #define  SWIGTYPE_p_XReparentEvent swig_types[14] 
663 #define  SWIGTYPE_p_otk__BPen swig_types[15] 
664 #define  SWIGTYPE_p_otk__BImageControl swig_types[16] 
665 #define  SWIGTYPE_p_otk__OtkButton swig_types[17] 
666 #define  SWIGTYPE_p_otk__Rect swig_types[18] 
667 #define  SWIGTYPE_p_otk__Style swig_types[19] 
668 #define  SWIGTYPE_p_XSelectionClearEvent swig_types[20] 
669 #define  SWIGTYPE_p_Visual swig_types[21] 
670 #define  SWIGTYPE_p_timeval swig_types[22] 
671 #define  SWIGTYPE_p_int swig_types[23] 
672 #define  SWIGTYPE_p_otk__Strut swig_types[24] 
673 #define  SWIGTYPE_p_otk__OtkApplication swig_types[25] 
674 #define  SWIGTYPE_p_XRectangle swig_types[26] 
675 #define  SWIGTYPE_p_otk__OtkFocusWidget swig_types[27] 
676 #define  SWIGTYPE_p_otk__OtkWidget swig_types[28] 
677 #define  SWIGTYPE_p_XGravityEvent swig_types[29] 
678 #define  SWIGTYPE_p_XVisibilityEvent swig_types[30] 
679 #define  SWIGTYPE_p_XPropertyEvent swig_types[31] 
680 #define  SWIGTYPE_p_otk__BGCCacheContext swig_types[32] 
681 #define  SWIGTYPE_p_XCreateWindowEvent swig_types[33] 
682 #define  SWIGTYPE_p_XDestroyWindowEvent swig_types[34] 
683 #define  SWIGTYPE_p_XCirculateEvent swig_types[35] 
684 #define  SWIGTYPE_p_XConfigureEvent swig_types[36] 
685 #define  SWIGTYPE_p_otk__OBProperty swig_types[37] 
686 #define  SWIGTYPE_p_long swig_types[38] 
687 #define  SWIGTYPE_p_XTextProperty swig_types[39] 
688 #define  SWIGTYPE_p_otk__OtkEventHandler swig_types[40] 
689 #define  SWIGTYPE_p_XCirculateRequestEvent swig_types[41] 
690 #define  SWIGTYPE_p_XConfigureRequestEvent swig_types[42] 
691 #define  SWIGTYPE_p_XMapRequestEvent swig_types[43] 
692 #define  SWIGTYPE_p_XResizeRequestEvent swig_types[44] 
693 #define  SWIGTYPE_p_XSelectionRequestEvent swig_types[45] 
694 #define  SWIGTYPE_otk__OBTimeoutHandler swig_types[46] 
695 #define  SWIGTYPE_p_XftDraw swig_types[47] 
696 #define  SWIGTYPE_p_otk__ScreenInfo swig_types[48] 
697 #define  SWIGTYPE_p_otk__OtkFocusLabel swig_types[49] 
698 #define  SWIGTYPE_p_otk__BTexture swig_types[50] 
699 #define  SWIGTYPE_p_otk__OtkEventDispatcher swig_types[51] 
700 #define  SWIGTYPE_p_otk__BFont swig_types[52] 
701 #define  SWIGTYPE_p_otk__Point swig_types[53] 
702 #define  SWIGTYPE_p_p_char swig_types[54] 
703 #define  SWIGTYPE_p_XMotionEvent swig_types[55] 
704 #define  SWIGTYPE_p_XButtonEvent swig_types[56] 
705 #define  SWIGTYPE_p_XSelectionEvent swig_types[57] 
706 #define  SWIGTYPE_p_GC swig_types[58] 
707 #define  SWIGTYPE_p_otk__OBTimerQueueManager swig_types[59] 
708 #define  SWIGTYPE_p_otk__OtkAppWidget swig_types[60] 
709 #define  SWIGTYPE_p_XKeyEvent swig_types[61] 
710 #define  SWIGTYPE_p_p_unsigned_long swig_types[62] 
711 #define  SWIGTYPE_p_unsigned_long swig_types[63] 
712 #define  SWIGTYPE_p_XEvent swig_types[64] 
713 #define  SWIGTYPE_p_std__string swig_types[65] 
714 #define  SWIGTYPE_p_XCrossingEvent swig_types[66] 
715 #define  SWIGTYPE_p_XMappingEvent swig_types[67] 
716 #define  SWIGTYPE_p_otk__BGCCacheItem swig_types[68] 
717 #define  SWIGTYPE_p_p_unsigned_int swig_types[69] 
718 #define  SWIGTYPE_p_unsigned_int swig_types[70] 
719 #define  SWIGTYPE_p_p_unsigned_char swig_types[71] 
720 #define  SWIGTYPE_p_XClientMessageEvent swig_types[72] 
721 #define  SWIGTYPE_p_XGraphicsExposeEvent swig_types[73] 
722 #define  SWIGTYPE_p_XExposeEvent swig_types[74] 
723 #define  SWIGTYPE_p_XFocusChangeEvent swig_types[75] 
724 #define  SWIGTYPE_p_XNoExposeEvent swig_types[76] 
725 #define  SWIGTYPE_p_XMapEvent swig_types[77] 
726 #define  SWIGTYPE_p_XUnmapEvent swig_types[78] 
727 #define  SWIGTYPE_p_XColormapEvent swig_types[79] 
728 static swig_type_info *swig_types[81];
729
730 /* -------- TYPES TABLE (END) -------- */
731
732
733 /*-----------------------------------------------
734               @(target):= _otk.so
735   ------------------------------------------------*/
736 #define SWIG_init    init_otk
737
738 #define SWIG_name    "_otk"
739
740 #ifdef HAVE_CONFIG_H
741 #  include "../config.h"
742 #endif
743
744 #include "otk.hh"
745
746
747 #define  SWIG_MemoryError    1
748 #define  SWIG_IOError        2
749 #define  SWIG_RuntimeError   3
750 #define  SWIG_IndexError     4
751 #define  SWIG_TypeError      5
752 #define  SWIG_DivisionByZero 6
753 #define  SWIG_OverflowError  7
754 #define  SWIG_SyntaxError    8
755 #define  SWIG_ValueError     9
756 #define  SWIG_SystemError   10
757 #define  SWIG_UnknownError  99
758
759
760 static void _SWIG_exception(int code, const char *msg) {
761   switch(code) {
762   case SWIG_MemoryError:
763     PyErr_SetString(PyExc_MemoryError,msg);
764     break;
765   case SWIG_IOError:
766     PyErr_SetString(PyExc_IOError,msg);
767     break;
768   case SWIG_RuntimeError:
769     PyErr_SetString(PyExc_RuntimeError,msg);
770     break;
771   case SWIG_IndexError:
772     PyErr_SetString(PyExc_IndexError,msg);
773     break;
774   case SWIG_TypeError:
775     PyErr_SetString(PyExc_TypeError,msg);
776     break;
777   case SWIG_DivisionByZero:
778     PyErr_SetString(PyExc_ZeroDivisionError,msg);
779     break;
780   case SWIG_OverflowError:
781     PyErr_SetString(PyExc_OverflowError,msg);
782     break;
783   case SWIG_SyntaxError:
784     PyErr_SetString(PyExc_SyntaxError,msg);
785     break;
786   case SWIG_ValueError:
787     PyErr_SetString(PyExc_ValueError,msg);
788     break;
789   case SWIG_SystemError:
790     PyErr_SetString(PyExc_SystemError,msg);
791     break;
792   default:
793     PyErr_SetString(PyExc_RuntimeError,msg);
794     break;
795   }
796 }
797
798 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
799
800
801 #include <string>
802
803
804 #include <string>
805
806 static PyObject* SwigInt_FromBool(bool b) {
807     return PyInt_FromLong(b ? 1L : 0L);
808 }
809 static double SwigNumber_Check(PyObject* o) {
810     return PyFloat_Check(o) || PyInt_Check(o);
811 }
812 static double SwigNumber_AsDouble(PyObject* o) {
813     return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
814 }
815 static PyObject* SwigString_FromString(const std::string& s) {
816     return PyString_FromString(s.c_str());
817 }
818 static std::string SwigString_AsString(PyObject* o) {
819     return std::string(PyString_AsString(o));
820 }
821
822
823 #include <vector>
824 #include <algorithm>
825 #include <stdexcept>
826
827
828   Display *OBDisplay_display() { return otk::OBDisplay::display; }
829
830 #ifdef __cplusplus
831 extern "C" {
832 #endif
833 static PyObject *_wrap_OBDisplay_display(PyObject *self, PyObject *args) {
834     PyObject *resultobj;
835     Display *result;
836     
837     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_display")) goto fail;
838     result = (Display *)OBDisplay_display();
839     
840     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
841     return resultobj;
842     fail:
843     return NULL;
844 }
845
846
847 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
848     PyObject *resultobj;
849     otk::OtkEventDispatcher *result;
850     
851     if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
852     result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
853     
854     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
855     return resultobj;
856     fail:
857     return NULL;
858 }
859
860
861 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
862     PyObject *resultobj;
863     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
864     PyObject * obj0  = 0 ;
865     
866     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
867     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
868     delete arg1;
869     
870     Py_INCREF(Py_None); resultobj = Py_None;
871     return resultobj;
872     fail:
873     return NULL;
874 }
875
876
877 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
878     PyObject *resultobj;
879     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
880     PyObject * obj0  = 0 ;
881     
882     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
883     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884     (arg1)->clearAllHandlers();
885     
886     Py_INCREF(Py_None); resultobj = Py_None;
887     return resultobj;
888     fail:
889     return NULL;
890 }
891
892
893 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
894     PyObject *resultobj;
895     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
896     Window arg2 ;
897     otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
898     PyObject * obj0  = 0 ;
899     PyObject * obj1  = 0 ;
900     PyObject * obj2  = 0 ;
901     
902     if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
903     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
904     arg2 = (Window) PyInt_AsLong(obj1);
905     if (PyErr_Occurred()) SWIG_fail;
906     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
907     (arg1)->registerHandler(arg2,arg3);
908     
909     Py_INCREF(Py_None); resultobj = Py_None;
910     return resultobj;
911     fail:
912     return NULL;
913 }
914
915
916 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
917     PyObject *resultobj;
918     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
919     Window arg2 ;
920     PyObject * obj0  = 0 ;
921     PyObject * obj1  = 0 ;
922     
923     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
925     arg2 = (Window) PyInt_AsLong(obj1);
926     if (PyErr_Occurred()) SWIG_fail;
927     (arg1)->clearHandler(arg2);
928     
929     Py_INCREF(Py_None); resultobj = Py_None;
930     return resultobj;
931     fail:
932     return NULL;
933 }
934
935
936 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
937     PyObject *resultobj;
938     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
939     PyObject * obj0  = 0 ;
940     
941     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
942     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
943     (arg1)->dispatchEvents();
944     
945     Py_INCREF(Py_None); resultobj = Py_None;
946     return resultobj;
947     fail:
948     return NULL;
949 }
950
951
952 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
953     PyObject *resultobj;
954     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
955     otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
956     PyObject * obj0  = 0 ;
957     PyObject * obj1  = 0 ;
958     
959     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
960     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
961     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962     (arg1)->setFallbackHandler(arg2);
963     
964     Py_INCREF(Py_None); resultobj = Py_None;
965     return resultobj;
966     fail:
967     return NULL;
968 }
969
970
971 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
972     PyObject *resultobj;
973     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
974     otk::OtkEventHandler *result;
975     PyObject * obj0  = 0 ;
976     
977     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
978     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
979     result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
980     
981     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
982     return resultobj;
983     fail:
984     return NULL;
985 }
986
987
988 static PyObject *_wrap_OtkEventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
989     PyObject *resultobj;
990     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
991     otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
992     PyObject * obj0  = 0 ;
993     PyObject * obj1  = 0 ;
994     
995     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
996     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
997     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
998     (arg1)->setMasterHandler(arg2);
999     
1000     Py_INCREF(Py_None); resultobj = Py_None;
1001     return resultobj;
1002     fail:
1003     return NULL;
1004 }
1005
1006
1007 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1008     PyObject *resultobj;
1009     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1010     otk::OtkEventHandler *result;
1011     PyObject * obj0  = 0 ;
1012     
1013     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1014     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1015     result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1016     
1017     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1018     return resultobj;
1019     fail:
1020     return NULL;
1021 }
1022
1023
1024 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1025     PyObject *resultobj;
1026     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1027     Window arg2 ;
1028     otk::OtkEventHandler *result;
1029     PyObject * obj0  = 0 ;
1030     PyObject * obj1  = 0 ;
1031     
1032     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1033     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1034     arg2 = (Window) PyInt_AsLong(obj1);
1035     if (PyErr_Occurred()) SWIG_fail;
1036     result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1037     
1038     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1039     return resultobj;
1040     fail:
1041     return NULL;
1042 }
1043
1044
1045 static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) {
1046     PyObject *resultobj;
1047     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1048     Time result;
1049     PyObject * obj0  = 0 ;
1050     
1051     if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail;
1052     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1053     result = (Time)((otk::OtkEventDispatcher const *)arg1)->lastTime();
1054     
1055     resultobj = PyInt_FromLong((long)result);
1056     return resultobj;
1057     fail:
1058     return NULL;
1059 }
1060
1061
1062 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1063     PyObject *obj;
1064     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1065     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1066     Py_INCREF(obj);
1067     return Py_BuildValue((char *)"");
1068 }
1069 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1070     PyObject *resultobj;
1071     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1072     XEvent *arg2 = 0 ;
1073     PyObject * obj0  = 0 ;
1074     PyObject * obj1  = 0 ;
1075     
1076     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1077     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1078     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1079     if (arg2 == NULL) {
1080         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1081     }
1082     (arg1)->handle((XEvent const &)*arg2);
1083     
1084     Py_INCREF(Py_None); resultobj = Py_None;
1085     return resultobj;
1086     fail:
1087     return NULL;
1088 }
1089
1090
1091 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1092     PyObject *resultobj;
1093     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1094     XKeyEvent *arg2 = 0 ;
1095     PyObject * obj0  = 0 ;
1096     PyObject * obj1  = 0 ;
1097     
1098     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1099     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1101     if (arg2 == NULL) {
1102         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1103     }
1104     (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1105     
1106     Py_INCREF(Py_None); resultobj = Py_None;
1107     return resultobj;
1108     fail:
1109     return NULL;
1110 }
1111
1112
1113 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1114     PyObject *resultobj;
1115     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1116     XKeyEvent *arg2 = 0 ;
1117     PyObject * obj0  = 0 ;
1118     PyObject * obj1  = 0 ;
1119     
1120     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1121     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1122     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1123     if (arg2 == NULL) {
1124         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1125     }
1126     (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1127     
1128     Py_INCREF(Py_None); resultobj = Py_None;
1129     return resultobj;
1130     fail:
1131     return NULL;
1132 }
1133
1134
1135 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1136     PyObject *resultobj;
1137     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1138     XButtonEvent *arg2 = 0 ;
1139     PyObject * obj0  = 0 ;
1140     PyObject * obj1  = 0 ;
1141     
1142     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1143     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1145     if (arg2 == NULL) {
1146         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1147     }
1148     (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1149     
1150     Py_INCREF(Py_None); resultobj = Py_None;
1151     return resultobj;
1152     fail:
1153     return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1158     PyObject *resultobj;
1159     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1160     XButtonEvent *arg2 = 0 ;
1161     PyObject * obj0  = 0 ;
1162     PyObject * obj1  = 0 ;
1163     
1164     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1165     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1166     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167     if (arg2 == NULL) {
1168         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1169     }
1170     (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1171     
1172     Py_INCREF(Py_None); resultobj = Py_None;
1173     return resultobj;
1174     fail:
1175     return NULL;
1176 }
1177
1178
1179 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1180     PyObject *resultobj;
1181     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1182     XMotionEvent *arg2 = 0 ;
1183     PyObject * obj0  = 0 ;
1184     PyObject * obj1  = 0 ;
1185     
1186     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1187     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1189     if (arg2 == NULL) {
1190         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1191     }
1192     (arg1)->motionHandler((XMotionEvent const &)*arg2);
1193     
1194     Py_INCREF(Py_None); resultobj = Py_None;
1195     return resultobj;
1196     fail:
1197     return NULL;
1198 }
1199
1200
1201 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1202     PyObject *resultobj;
1203     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1204     XCrossingEvent *arg2 = 0 ;
1205     PyObject * obj0  = 0 ;
1206     PyObject * obj1  = 0 ;
1207     
1208     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1209     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1211     if (arg2 == NULL) {
1212         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1213     }
1214     (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1215     
1216     Py_INCREF(Py_None); resultobj = Py_None;
1217     return resultobj;
1218     fail:
1219     return NULL;
1220 }
1221
1222
1223 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1224     PyObject *resultobj;
1225     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1226     XCrossingEvent *arg2 = 0 ;
1227     PyObject * obj0  = 0 ;
1228     PyObject * obj1  = 0 ;
1229     
1230     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1231     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1232     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233     if (arg2 == NULL) {
1234         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1235     }
1236     (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1237     
1238     Py_INCREF(Py_None); resultobj = Py_None;
1239     return resultobj;
1240     fail:
1241     return NULL;
1242 }
1243
1244
1245 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1246     PyObject *resultobj;
1247     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1248     XFocusChangeEvent *arg2 = 0 ;
1249     PyObject * obj0  = 0 ;
1250     PyObject * obj1  = 0 ;
1251     
1252     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1253     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1254     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1255     if (arg2 == NULL) {
1256         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1257     }
1258     (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1259     
1260     Py_INCREF(Py_None); resultobj = Py_None;
1261     return resultobj;
1262     fail:
1263     return NULL;
1264 }
1265
1266
1267 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1268     PyObject *resultobj;
1269     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1270     XFocusChangeEvent *arg2 = 0 ;
1271     PyObject * obj0  = 0 ;
1272     PyObject * obj1  = 0 ;
1273     
1274     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1275     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1276     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1277     if (arg2 == NULL) {
1278         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1279     }
1280     (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1281     
1282     Py_INCREF(Py_None); resultobj = Py_None;
1283     return resultobj;
1284     fail:
1285     return NULL;
1286 }
1287
1288
1289 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1290     PyObject *resultobj;
1291     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1292     XExposeEvent *arg2 = 0 ;
1293     PyObject * obj0  = 0 ;
1294     PyObject * obj1  = 0 ;
1295     
1296     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1297     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1299     if (arg2 == NULL) {
1300         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1301     }
1302     (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1303     
1304     Py_INCREF(Py_None); resultobj = Py_None;
1305     return resultobj;
1306     fail:
1307     return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1312     PyObject *resultobj;
1313     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1314     XGraphicsExposeEvent *arg2 = 0 ;
1315     PyObject * obj0  = 0 ;
1316     PyObject * obj1  = 0 ;
1317     
1318     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1319     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1321     if (arg2 == NULL) {
1322         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1323     }
1324     (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1325     
1326     Py_INCREF(Py_None); resultobj = Py_None;
1327     return resultobj;
1328     fail:
1329     return NULL;
1330 }
1331
1332
1333 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1334     PyObject *resultobj;
1335     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1336     XNoExposeEvent *arg2 = 0 ;
1337     PyObject * obj0  = 0 ;
1338     PyObject * obj1  = 0 ;
1339     
1340     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1341     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1343     if (arg2 == NULL) {
1344         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1345     }
1346     (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1347     
1348     Py_INCREF(Py_None); resultobj = Py_None;
1349     return resultobj;
1350     fail:
1351     return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1356     PyObject *resultobj;
1357     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1358     XCirculateRequestEvent *arg2 = 0 ;
1359     PyObject * obj0  = 0 ;
1360     PyObject * obj1  = 0 ;
1361     
1362     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1363     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1364     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365     if (arg2 == NULL) {
1366         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1367     }
1368     (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1369     
1370     Py_INCREF(Py_None); resultobj = Py_None;
1371     return resultobj;
1372     fail:
1373     return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1378     PyObject *resultobj;
1379     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1380     XConfigureRequestEvent *arg2 = 0 ;
1381     PyObject * obj0  = 0 ;
1382     PyObject * obj1  = 0 ;
1383     
1384     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1385     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387     if (arg2 == NULL) {
1388         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1389     }
1390     (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1391     
1392     Py_INCREF(Py_None); resultobj = Py_None;
1393     return resultobj;
1394     fail:
1395     return NULL;
1396 }
1397
1398
1399 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1400     PyObject *resultobj;
1401     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1402     XMapRequestEvent *arg2 = 0 ;
1403     PyObject * obj0  = 0 ;
1404     PyObject * obj1  = 0 ;
1405     
1406     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1407     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409     if (arg2 == NULL) {
1410         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1411     }
1412     (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1413     
1414     Py_INCREF(Py_None); resultobj = Py_None;
1415     return resultobj;
1416     fail:
1417     return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1422     PyObject *resultobj;
1423     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1424     XResizeRequestEvent *arg2 = 0 ;
1425     PyObject * obj0  = 0 ;
1426     PyObject * obj1  = 0 ;
1427     
1428     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1429     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431     if (arg2 == NULL) {
1432         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1433     }
1434     (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1435     
1436     Py_INCREF(Py_None); resultobj = Py_None;
1437     return resultobj;
1438     fail:
1439     return NULL;
1440 }
1441
1442
1443 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1444     PyObject *resultobj;
1445     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1446     XCirculateEvent *arg2 = 0 ;
1447     PyObject * obj0  = 0 ;
1448     PyObject * obj1  = 0 ;
1449     
1450     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1451     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1452     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1453     if (arg2 == NULL) {
1454         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1455     }
1456     (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1457     
1458     Py_INCREF(Py_None); resultobj = Py_None;
1459     return resultobj;
1460     fail:
1461     return NULL;
1462 }
1463
1464
1465 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1466     PyObject *resultobj;
1467     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1468     XConfigureEvent *arg2 = 0 ;
1469     PyObject * obj0  = 0 ;
1470     PyObject * obj1  = 0 ;
1471     
1472     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1473     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475     if (arg2 == NULL) {
1476         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1477     }
1478     (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1479     
1480     Py_INCREF(Py_None); resultobj = Py_None;
1481     return resultobj;
1482     fail:
1483     return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1488     PyObject *resultobj;
1489     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1490     XCreateWindowEvent *arg2 = 0 ;
1491     PyObject * obj0  = 0 ;
1492     PyObject * obj1  = 0 ;
1493     
1494     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1495     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1497     if (arg2 == NULL) {
1498         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1499     }
1500     (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1501     
1502     Py_INCREF(Py_None); resultobj = Py_None;
1503     return resultobj;
1504     fail:
1505     return NULL;
1506 }
1507
1508
1509 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1510     PyObject *resultobj;
1511     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1512     XDestroyWindowEvent *arg2 = 0 ;
1513     PyObject * obj0  = 0 ;
1514     PyObject * obj1  = 0 ;
1515     
1516     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1517     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1518     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519     if (arg2 == NULL) {
1520         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1521     }
1522     (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1523     
1524     Py_INCREF(Py_None); resultobj = Py_None;
1525     return resultobj;
1526     fail:
1527     return NULL;
1528 }
1529
1530
1531 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1532     PyObject *resultobj;
1533     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1534     XGravityEvent *arg2 = 0 ;
1535     PyObject * obj0  = 0 ;
1536     PyObject * obj1  = 0 ;
1537     
1538     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1539     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541     if (arg2 == NULL) {
1542         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1543     }
1544     (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1545     
1546     Py_INCREF(Py_None); resultobj = Py_None;
1547     return resultobj;
1548     fail:
1549     return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1554     PyObject *resultobj;
1555     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1556     XMapEvent *arg2 = 0 ;
1557     PyObject * obj0  = 0 ;
1558     PyObject * obj1  = 0 ;
1559     
1560     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1561     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563     if (arg2 == NULL) {
1564         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1565     }
1566     (arg1)->mapHandler((XMapEvent const &)*arg2);
1567     
1568     Py_INCREF(Py_None); resultobj = Py_None;
1569     return resultobj;
1570     fail:
1571     return NULL;
1572 }
1573
1574
1575 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1576     PyObject *resultobj;
1577     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1578     XMappingEvent *arg2 = 0 ;
1579     PyObject * obj0  = 0 ;
1580     PyObject * obj1  = 0 ;
1581     
1582     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1583     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1584     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1585     if (arg2 == NULL) {
1586         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1587     }
1588     (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1589     
1590     Py_INCREF(Py_None); resultobj = Py_None;
1591     return resultobj;
1592     fail:
1593     return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1598     PyObject *resultobj;
1599     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1600     XReparentEvent *arg2 = 0 ;
1601     PyObject * obj0  = 0 ;
1602     PyObject * obj1  = 0 ;
1603     
1604     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1605     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1606     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607     if (arg2 == NULL) {
1608         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1609     }
1610     (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1611     
1612     Py_INCREF(Py_None); resultobj = Py_None;
1613     return resultobj;
1614     fail:
1615     return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1620     PyObject *resultobj;
1621     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1622     XUnmapEvent *arg2 = 0 ;
1623     PyObject * obj0  = 0 ;
1624     PyObject * obj1  = 0 ;
1625     
1626     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1627     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629     if (arg2 == NULL) {
1630         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1631     }
1632     (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1633     
1634     Py_INCREF(Py_None); resultobj = Py_None;
1635     return resultobj;
1636     fail:
1637     return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1642     PyObject *resultobj;
1643     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1644     XVisibilityEvent *arg2 = 0 ;
1645     PyObject * obj0  = 0 ;
1646     PyObject * obj1  = 0 ;
1647     
1648     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1649     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651     if (arg2 == NULL) {
1652         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1653     }
1654     (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1655     
1656     Py_INCREF(Py_None); resultobj = Py_None;
1657     return resultobj;
1658     fail:
1659     return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1664     PyObject *resultobj;
1665     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1666     XColormapEvent *arg2 = 0 ;
1667     PyObject * obj0  = 0 ;
1668     PyObject * obj1  = 0 ;
1669     
1670     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1671     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673     if (arg2 == NULL) {
1674         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1675     }
1676     (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1677     
1678     Py_INCREF(Py_None); resultobj = Py_None;
1679     return resultobj;
1680     fail:
1681     return NULL;
1682 }
1683
1684
1685 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1686     PyObject *resultobj;
1687     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1688     XPropertyEvent *arg2 = 0 ;
1689     PyObject * obj0  = 0 ;
1690     PyObject * obj1  = 0 ;
1691     
1692     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1693     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1694     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1695     if (arg2 == NULL) {
1696         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1697     }
1698     (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1699     
1700     Py_INCREF(Py_None); resultobj = Py_None;
1701     return resultobj;
1702     fail:
1703     return NULL;
1704 }
1705
1706
1707 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1708     PyObject *resultobj;
1709     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1710     XSelectionClearEvent *arg2 = 0 ;
1711     PyObject * obj0  = 0 ;
1712     PyObject * obj1  = 0 ;
1713     
1714     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1715     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717     if (arg2 == NULL) {
1718         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1719     }
1720     (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1721     
1722     Py_INCREF(Py_None); resultobj = Py_None;
1723     return resultobj;
1724     fail:
1725     return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1730     PyObject *resultobj;
1731     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1732     XSelectionEvent *arg2 = 0 ;
1733     PyObject * obj0  = 0 ;
1734     PyObject * obj1  = 0 ;
1735     
1736     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1737     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1738     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1739     if (arg2 == NULL) {
1740         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1741     }
1742     (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1743     
1744     Py_INCREF(Py_None); resultobj = Py_None;
1745     return resultobj;
1746     fail:
1747     return NULL;
1748 }
1749
1750
1751 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1752     PyObject *resultobj;
1753     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1754     XSelectionRequestEvent *arg2 = 0 ;
1755     PyObject * obj0  = 0 ;
1756     PyObject * obj1  = 0 ;
1757     
1758     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1759     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1760     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1761     if (arg2 == NULL) {
1762         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1763     }
1764     (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1765     
1766     Py_INCREF(Py_None); resultobj = Py_None;
1767     return resultobj;
1768     fail:
1769     return NULL;
1770 }
1771
1772
1773 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1774     PyObject *resultobj;
1775     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1776     XClientMessageEvent *arg2 = 0 ;
1777     PyObject * obj0  = 0 ;
1778     PyObject * obj1  = 0 ;
1779     
1780     if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1781     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783     if (arg2 == NULL) {
1784         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
1785     }
1786     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1787     
1788     Py_INCREF(Py_None); resultobj = Py_None;
1789     return resultobj;
1790     fail:
1791     return NULL;
1792 }
1793
1794
1795 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1796     PyObject *resultobj;
1797     otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1798     PyObject * obj0  = 0 ;
1799     
1800     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1801     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802     delete arg1;
1803     
1804     Py_INCREF(Py_None); resultobj = Py_None;
1805     return resultobj;
1806     fail:
1807     return NULL;
1808 }
1809
1810
1811 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1812     PyObject *obj;
1813     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1814     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1815     Py_INCREF(obj);
1816     return Py_BuildValue((char *)"");
1817 }
1818 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1819     PyObject *resultobj;
1820     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1821     int arg2 = (int) otk::OtkWidget::Horizontal ;
1822     otk::OtkWidget *result;
1823     PyObject * obj0  = 0 ;
1824     
1825     if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1826     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1827     result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1828     
1829     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1830     return resultobj;
1831     fail:
1832     return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1837     PyObject *resultobj;
1838     otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1839     otk::Style *arg2 = (otk::Style *) 0 ;
1840     int arg3 = (int) otk::OtkWidget::Horizontal ;
1841     Cursor arg4 = (Cursor) 0 ;
1842     int arg5 = (int) 1 ;
1843     bool arg6 = (bool) false ;
1844     otk::OtkWidget *result;
1845     PyObject * obj0  = 0 ;
1846     PyObject * obj1  = 0 ;
1847     PyObject * obj3  = 0 ;
1848     PyObject * obj5  = 0 ;
1849     
1850     if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail;
1851     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1852     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1853     if (obj3) {
1854         arg4 = (Cursor) PyInt_AsLong(obj3);
1855         if (PyErr_Occurred()) SWIG_fail;
1856     }
1857     if (obj5) {
1858         arg6 = (bool) PyInt_AsLong(obj5);
1859         if (PyErr_Occurred()) SWIG_fail;
1860     }
1861     result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);
1862     
1863     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1864     return resultobj;
1865     fail:
1866     return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1871     int argc;
1872     PyObject *argv[7];
1873     int ii;
1874     
1875     argc = PyObject_Length(args);
1876     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1877         argv[ii] = PyTuple_GetItem(args,ii);
1878     }
1879     if ((argc >= 1) && (argc <= 2)) {
1880         int _v;
1881         {
1882             void *ptr;
1883             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1884                 _v = 0;
1885                 PyErr_Clear();
1886             }else {
1887                 _v = 1;
1888             }
1889         }
1890         if (_v) {
1891             if (argc <= 1) {
1892                 return _wrap_new_OtkWidget__SWIG_0(self,args);
1893             }
1894             {
1895                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1896             }
1897             if (_v) {
1898                 return _wrap_new_OtkWidget__SWIG_0(self,args);
1899             }
1900         }
1901     }
1902     if ((argc >= 2) && (argc <= 6)) {
1903         int _v;
1904         {
1905             void *ptr;
1906             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1907                 _v = 0;
1908                 PyErr_Clear();
1909             }else {
1910                 _v = 1;
1911             }
1912         }
1913         if (_v) {
1914             {
1915                 void *ptr;
1916                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1917                     _v = 0;
1918                     PyErr_Clear();
1919                 }else {
1920                     _v = 1;
1921                 }
1922             }
1923             if (_v) {
1924                 if (argc <= 2) {
1925                     return _wrap_new_OtkWidget__SWIG_1(self,args);
1926                 }
1927                 {
1928                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1929                 }
1930                 if (_v) {
1931                     if (argc <= 3) {
1932                         return _wrap_new_OtkWidget__SWIG_1(self,args);
1933                     }
1934                     {
1935                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1936                     }
1937                     if (_v) {
1938                         if (argc <= 4) {
1939                             return _wrap_new_OtkWidget__SWIG_1(self,args);
1940                         }
1941                         {
1942                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1943                         }
1944                         if (_v) {
1945                             if (argc <= 5) {
1946                                 return _wrap_new_OtkWidget__SWIG_1(self,args);
1947                             }
1948                             {
1949                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
1950                             }
1951                             if (_v) {
1952                                 return _wrap_new_OtkWidget__SWIG_1(self,args);
1953                             }
1954                         }
1955                     }
1956                 }
1957             }
1958         }
1959     }
1960     
1961     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1962     return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1967     PyObject *resultobj;
1968     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1969     PyObject * obj0  = 0 ;
1970     
1971     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973     delete arg1;
1974     
1975     Py_INCREF(Py_None); resultobj = Py_None;
1976     return resultobj;
1977     fail:
1978     return NULL;
1979 }
1980
1981
1982 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
1983     PyObject *resultobj;
1984     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1985     PyObject * obj0  = 0 ;
1986     
1987     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
1988     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989     (arg1)->update();
1990     
1991     Py_INCREF(Py_None); resultobj = Py_None;
1992     return resultobj;
1993     fail:
1994     return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
1999     PyObject *resultobj;
2000     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2001     XExposeEvent *arg2 = 0 ;
2002     PyObject * obj0  = 0 ;
2003     PyObject * obj1  = 0 ;
2004     
2005     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
2006     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2008     if (arg2 == NULL) {
2009         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2010     }
2011     (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2012     
2013     Py_INCREF(Py_None); resultobj = Py_None;
2014     return resultobj;
2015     fail:
2016     return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2021     PyObject *resultobj;
2022     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2023     XConfigureEvent *arg2 = 0 ;
2024     PyObject * obj0  = 0 ;
2025     PyObject * obj1  = 0 ;
2026     
2027     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2028     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2030     if (arg2 == NULL) {
2031         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2032     }
2033     (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2034     
2035     Py_INCREF(Py_None); resultobj = Py_None;
2036     return resultobj;
2037     fail:
2038     return NULL;
2039 }
2040
2041
2042 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2043     PyObject *resultobj;
2044     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2045     Window result;
2046     PyObject * obj0  = 0 ;
2047     
2048     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2049     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050     result = (Window)((otk::OtkWidget const *)arg1)->window();
2051     
2052     resultobj = PyInt_FromLong((long)result);
2053     return resultobj;
2054     fail:
2055     return NULL;
2056 }
2057
2058
2059 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2060     PyObject *resultobj;
2061     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2062     otk::OtkWidget *result;
2063     PyObject * obj0  = 0 ;
2064     
2065     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2066     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2067     result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2068     
2069     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2070     return resultobj;
2071     fail:
2072     return NULL;
2073 }
2074
2075
2076 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2077     PyObject *resultobj;
2078     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2079     otk::OtkWidget::OtkWidgetList *result;
2080     PyObject * obj0  = 0 ;
2081     
2082     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2083     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2084     {
2085         otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2086         result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2087     }
2088     
2089     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2090     return resultobj;
2091     fail:
2092     return NULL;
2093 }
2094
2095
2096 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2097     PyObject *resultobj;
2098     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2099     unsigned int result;
2100     PyObject * obj0  = 0 ;
2101     
2102     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2103     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2104     result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2105     
2106     resultobj = PyInt_FromLong((long)result);
2107     return resultobj;
2108     fail:
2109     return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2114     PyObject *resultobj;
2115     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2116     otk::Rect *result;
2117     PyObject * obj0  = 0 ;
2118     
2119     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2120     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121     {
2122         otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2123         result = (otk::Rect *) &_result_ref;
2124     }
2125     
2126     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2127     return resultobj;
2128     fail:
2129     return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2134     PyObject *resultobj;
2135     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2136     otk::Point *arg2 = 0 ;
2137     PyObject * obj0  = 0 ;
2138     PyObject * obj1  = 0 ;
2139     
2140     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2141     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143     if (arg2 == NULL) {
2144         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2145     }
2146     (arg1)->move((otk::Point const &)*arg2);
2147     
2148     Py_INCREF(Py_None); resultobj = Py_None;
2149     return resultobj;
2150     fail:
2151     return NULL;
2152 }
2153
2154
2155 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2156     PyObject *resultobj;
2157     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2158     int arg2 ;
2159     int arg3 ;
2160     PyObject * obj0  = 0 ;
2161     
2162     if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2163     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2164     (arg1)->move(arg2,arg3);
2165     
2166     Py_INCREF(Py_None); resultobj = Py_None;
2167     return resultobj;
2168     fail:
2169     return NULL;
2170 }
2171
2172
2173 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2174     int argc;
2175     PyObject *argv[4];
2176     int ii;
2177     
2178     argc = PyObject_Length(args);
2179     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2180         argv[ii] = PyTuple_GetItem(args,ii);
2181     }
2182     if (argc == 2) {
2183         int _v;
2184         {
2185             void *ptr;
2186             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2187                 _v = 0;
2188                 PyErr_Clear();
2189             }else {
2190                 _v = 1;
2191             }
2192         }
2193         if (_v) {
2194             {
2195                 void *ptr;
2196                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2197                     _v = 0;
2198                     PyErr_Clear();
2199                 }else {
2200                     _v = 1;
2201                 }
2202             }
2203             if (_v) {
2204                 return _wrap_OtkWidget_move__SWIG_0(self,args);
2205             }
2206         }
2207     }
2208     if (argc == 3) {
2209         int _v;
2210         {
2211             void *ptr;
2212             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2213                 _v = 0;
2214                 PyErr_Clear();
2215             }else {
2216                 _v = 1;
2217             }
2218         }
2219         if (_v) {
2220             {
2221                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2222             }
2223             if (_v) {
2224                 {
2225                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2226                 }
2227                 if (_v) {
2228                     return _wrap_OtkWidget_move__SWIG_1(self,args);
2229                 }
2230             }
2231         }
2232     }
2233     
2234     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2235     return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2240     PyObject *resultobj;
2241     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2242     int arg2 ;
2243     PyObject * obj0  = 0 ;
2244     
2245     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2246     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2247     (arg1)->setWidth(arg2);
2248     
2249     Py_INCREF(Py_None); resultobj = Py_None;
2250     return resultobj;
2251     fail:
2252     return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2257     PyObject *resultobj;
2258     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2259     int arg2 ;
2260     PyObject * obj0  = 0 ;
2261     
2262     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2263     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2264     (arg1)->setHeight(arg2);
2265     
2266     Py_INCREF(Py_None); resultobj = Py_None;
2267     return resultobj;
2268     fail:
2269     return NULL;
2270 }
2271
2272
2273 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2274     PyObject *resultobj;
2275     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2276     int result;
2277     PyObject * obj0  = 0 ;
2278     
2279     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2280     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2281     result = (int)((otk::OtkWidget const *)arg1)->width();
2282     
2283     resultobj = PyInt_FromLong((long)result);
2284     return resultobj;
2285     fail:
2286     return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2291     PyObject *resultobj;
2292     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2293     int result;
2294     PyObject * obj0  = 0 ;
2295     
2296     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2297     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2298     result = (int)((otk::OtkWidget const *)arg1)->height();
2299     
2300     resultobj = PyInt_FromLong((long)result);
2301     return resultobj;
2302     fail:
2303     return NULL;
2304 }
2305
2306
2307 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2308     PyObject *resultobj;
2309     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2310     otk::Point *arg2 = 0 ;
2311     PyObject * obj0  = 0 ;
2312     PyObject * obj1  = 0 ;
2313     
2314     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2315     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317     if (arg2 == NULL) {
2318         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2319     }
2320     (arg1)->resize((otk::Point const &)*arg2);
2321     
2322     Py_INCREF(Py_None); resultobj = Py_None;
2323     return resultobj;
2324     fail:
2325     return NULL;
2326 }
2327
2328
2329 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2330     PyObject *resultobj;
2331     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2332     int arg2 ;
2333     int arg3 ;
2334     PyObject * obj0  = 0 ;
2335     
2336     if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2337     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2338     (arg1)->resize(arg2,arg3);
2339     
2340     Py_INCREF(Py_None); resultobj = Py_None;
2341     return resultobj;
2342     fail:
2343     return NULL;
2344 }
2345
2346
2347 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2348     int argc;
2349     PyObject *argv[4];
2350     int ii;
2351     
2352     argc = PyObject_Length(args);
2353     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2354         argv[ii] = PyTuple_GetItem(args,ii);
2355     }
2356     if (argc == 2) {
2357         int _v;
2358         {
2359             void *ptr;
2360             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2361                 _v = 0;
2362                 PyErr_Clear();
2363             }else {
2364                 _v = 1;
2365             }
2366         }
2367         if (_v) {
2368             {
2369                 void *ptr;
2370                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2371                     _v = 0;
2372                     PyErr_Clear();
2373                 }else {
2374                     _v = 1;
2375                 }
2376             }
2377             if (_v) {
2378                 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2379             }
2380         }
2381     }
2382     if (argc == 3) {
2383         int _v;
2384         {
2385             void *ptr;
2386             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2387                 _v = 0;
2388                 PyErr_Clear();
2389             }else {
2390                 _v = 1;
2391             }
2392         }
2393         if (_v) {
2394             {
2395                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2396             }
2397             if (_v) {
2398                 {
2399                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2400                 }
2401                 if (_v) {
2402                     return _wrap_OtkWidget_resize__SWIG_1(self,args);
2403                 }
2404             }
2405         }
2406     }
2407     
2408     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2409     return NULL;
2410 }
2411
2412
2413 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2414     PyObject *resultobj;
2415     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2416     otk::Rect *arg2 = 0 ;
2417     PyObject * obj0  = 0 ;
2418     PyObject * obj1  = 0 ;
2419     
2420     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2421     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423     if (arg2 == NULL) {
2424         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2425     }
2426     (arg1)->setGeometry((otk::Rect const &)*arg2);
2427     
2428     Py_INCREF(Py_None); resultobj = Py_None;
2429     return resultobj;
2430     fail:
2431     return NULL;
2432 }
2433
2434
2435 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2436     PyObject *resultobj;
2437     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2438     otk::Point *arg2 = 0 ;
2439     int arg3 ;
2440     int arg4 ;
2441     PyObject * obj0  = 0 ;
2442     PyObject * obj1  = 0 ;
2443     
2444     if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2445     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2447     if (arg2 == NULL) {
2448         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
2449     }
2450     (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2451     
2452     Py_INCREF(Py_None); resultobj = Py_None;
2453     return resultobj;
2454     fail:
2455     return NULL;
2456 }
2457
2458
2459 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2460     PyObject *resultobj;
2461     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2462     int arg2 ;
2463     int arg3 ;
2464     int arg4 ;
2465     int arg5 ;
2466     PyObject * obj0  = 0 ;
2467     
2468     if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2469     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2470     (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2471     
2472     Py_INCREF(Py_None); resultobj = Py_None;
2473     return resultobj;
2474     fail:
2475     return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2480     int argc;
2481     PyObject *argv[6];
2482     int ii;
2483     
2484     argc = PyObject_Length(args);
2485     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2486         argv[ii] = PyTuple_GetItem(args,ii);
2487     }
2488     if (argc == 2) {
2489         int _v;
2490         {
2491             void *ptr;
2492             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2493                 _v = 0;
2494                 PyErr_Clear();
2495             }else {
2496                 _v = 1;
2497             }
2498         }
2499         if (_v) {
2500             {
2501                 void *ptr;
2502                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2503                     _v = 0;
2504                     PyErr_Clear();
2505                 }else {
2506                     _v = 1;
2507                 }
2508             }
2509             if (_v) {
2510                 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2511             }
2512         }
2513     }
2514     if (argc == 4) {
2515         int _v;
2516         {
2517             void *ptr;
2518             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2519                 _v = 0;
2520                 PyErr_Clear();
2521             }else {
2522                 _v = 1;
2523             }
2524         }
2525         if (_v) {
2526             {
2527                 void *ptr;
2528                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2529                     _v = 0;
2530                     PyErr_Clear();
2531                 }else {
2532                     _v = 1;
2533                 }
2534             }
2535             if (_v) {
2536                 {
2537                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2538                 }
2539                 if (_v) {
2540                     {
2541                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2542                     }
2543                     if (_v) {
2544                         return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2545                     }
2546                 }
2547             }
2548         }
2549     }
2550     if (argc == 5) {
2551         int _v;
2552         {
2553             void *ptr;
2554             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2555                 _v = 0;
2556                 PyErr_Clear();
2557             }else {
2558                 _v = 1;
2559             }
2560         }
2561         if (_v) {
2562             {
2563                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2564             }
2565             if (_v) {
2566                 {
2567                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2568                 }
2569                 if (_v) {
2570                     {
2571                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2572                     }
2573                     if (_v) {
2574                         {
2575                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2576                         }
2577                         if (_v) {
2578                             return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2579                         }
2580                     }
2581                 }
2582             }
2583         }
2584     }
2585     
2586     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2587     return NULL;
2588 }
2589
2590
2591 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2592     PyObject *resultobj;
2593     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2594     bool result;
2595     PyObject * obj0  = 0 ;
2596     
2597     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2598     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599     result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2600     
2601     resultobj = PyInt_FromLong((long)result);
2602     return resultobj;
2603     fail:
2604     return NULL;
2605 }
2606
2607
2608 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2609     PyObject *resultobj;
2610     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2611     bool arg2 = (bool) false ;
2612     PyObject * obj0  = 0 ;
2613     PyObject * obj1  = 0 ;
2614     
2615     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2616     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2617     if (obj1) {
2618         arg2 = (bool) PyInt_AsLong(obj1);
2619         if (PyErr_Occurred()) SWIG_fail;
2620     }
2621     (arg1)->show(arg2);
2622     
2623     Py_INCREF(Py_None); resultobj = Py_None;
2624     return resultobj;
2625     fail:
2626     return NULL;
2627 }
2628
2629
2630 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2631     PyObject *resultobj;
2632     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2633     bool arg2 = (bool) false ;
2634     PyObject * obj0  = 0 ;
2635     PyObject * obj1  = 0 ;
2636     
2637     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2638     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2639     if (obj1) {
2640         arg2 = (bool) PyInt_AsLong(obj1);
2641         if (PyErr_Occurred()) SWIG_fail;
2642     }
2643     (arg1)->hide(arg2);
2644     
2645     Py_INCREF(Py_None); resultobj = Py_None;
2646     return resultobj;
2647     fail:
2648     return NULL;
2649 }
2650
2651
2652 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2653     PyObject *resultobj;
2654     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2655     bool result;
2656     PyObject * obj0  = 0 ;
2657     
2658     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2659     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2660     result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2661     
2662     resultobj = PyInt_FromLong((long)result);
2663     return resultobj;
2664     fail:
2665     return NULL;
2666 }
2667
2668
2669 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2670     PyObject *resultobj;
2671     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2672     PyObject * obj0  = 0 ;
2673     
2674     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2675     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2676     (arg1)->focus();
2677     
2678     Py_INCREF(Py_None); resultobj = Py_None;
2679     return resultobj;
2680     fail:
2681     return NULL;
2682 }
2683
2684
2685 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2686     PyObject *resultobj;
2687     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2688     PyObject * obj0  = 0 ;
2689     
2690     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2691     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692     (arg1)->unfocus();
2693     
2694     Py_INCREF(Py_None); resultobj = Py_None;
2695     return resultobj;
2696     fail:
2697     return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2702     PyObject *resultobj;
2703     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2704     bool result;
2705     PyObject * obj0  = 0 ;
2706     
2707     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2708     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709     result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2710     
2711     resultobj = PyInt_FromLong((long)result);
2712     return resultobj;
2713     fail:
2714     return NULL;
2715 }
2716
2717
2718 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2719     PyObject *resultobj;
2720     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2721     bool result;
2722     PyObject * obj0  = 0 ;
2723     
2724     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2725     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2726     result = (bool)(arg1)->grabMouse();
2727     
2728     resultobj = PyInt_FromLong((long)result);
2729     return resultobj;
2730     fail:
2731     return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2736     PyObject *resultobj;
2737     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2738     PyObject * obj0  = 0 ;
2739     
2740     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2741     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742     (arg1)->ungrabMouse();
2743     
2744     Py_INCREF(Py_None); resultobj = Py_None;
2745     return resultobj;
2746     fail:
2747     return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2752     PyObject *resultobj;
2753     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2754     bool result;
2755     PyObject * obj0  = 0 ;
2756     
2757     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2758     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2759     result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2760     
2761     resultobj = PyInt_FromLong((long)result);
2762     return resultobj;
2763     fail:
2764     return NULL;
2765 }
2766
2767
2768 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2769     PyObject *resultobj;
2770     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2771     bool result;
2772     PyObject * obj0  = 0 ;
2773     
2774     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2775     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776     result = (bool)(arg1)->grabKeyboard();
2777     
2778     resultobj = PyInt_FromLong((long)result);
2779     return resultobj;
2780     fail:
2781     return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2786     PyObject *resultobj;
2787     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2788     PyObject * obj0  = 0 ;
2789     
2790     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2791     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792     (arg1)->ungrabKeyboard();
2793     
2794     Py_INCREF(Py_None); resultobj = Py_None;
2795     return resultobj;
2796     fail:
2797     return NULL;
2798 }
2799
2800
2801 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2802     PyObject *resultobj;
2803     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2804     otk::BTexture *result;
2805     PyObject * obj0  = 0 ;
2806     
2807     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2808     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2809     result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2810     
2811     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2812     return resultobj;
2813     fail:
2814     return NULL;
2815 }
2816
2817
2818 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2819     PyObject *resultobj;
2820     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2821     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2822     PyObject * obj0  = 0 ;
2823     PyObject * obj1  = 0 ;
2824     
2825     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2826     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2827     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828     (arg1)->setTexture(arg2);
2829     
2830     Py_INCREF(Py_None); resultobj = Py_None;
2831     return resultobj;
2832     fail:
2833     return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2838     PyObject *resultobj;
2839     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2840     otk::BColor *result;
2841     PyObject * obj0  = 0 ;
2842     
2843     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2844     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2845     result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2846     
2847     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2848     return resultobj;
2849     fail:
2850     return NULL;
2851 }
2852
2853
2854 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2855     PyObject *resultobj;
2856     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2857     otk::BColor *arg2 = (otk::BColor *) 0 ;
2858     PyObject * obj0  = 0 ;
2859     PyObject * obj1  = 0 ;
2860     
2861     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2862     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2864     (arg1)->setBorderColor((otk::BColor const *)arg2);
2865     
2866     Py_INCREF(Py_None); resultobj = Py_None;
2867     return resultobj;
2868     fail:
2869     return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2874     PyObject *resultobj;
2875     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2876     int result;
2877     PyObject * obj0  = 0 ;
2878     
2879     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2880     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2881     result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2882     
2883     resultobj = PyInt_FromLong((long)result);
2884     return resultobj;
2885     fail:
2886     return NULL;
2887 }
2888
2889
2890 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2891     PyObject *resultobj;
2892     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2893     int arg2 ;
2894     PyObject * obj0  = 0 ;
2895     
2896     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2897     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2898     (arg1)->setBorderWidth(arg2);
2899     
2900     Py_INCREF(Py_None); resultobj = Py_None;
2901     return resultobj;
2902     fail:
2903     return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2908     PyObject *resultobj;
2909     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2910     otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2911     bool arg3 = (bool) false ;
2912     PyObject * obj0  = 0 ;
2913     PyObject * obj1  = 0 ;
2914     PyObject * obj2  = 0 ;
2915     
2916     if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2917     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2918     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2919     if (obj2) {
2920         arg3 = (bool) PyInt_AsLong(obj2);
2921         if (PyErr_Occurred()) SWIG_fail;
2922     }
2923     (arg1)->addChild(arg2,arg3);
2924     
2925     Py_INCREF(Py_None); resultobj = Py_None;
2926     return resultobj;
2927     fail:
2928     return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2933     PyObject *resultobj;
2934     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2935     otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2936     PyObject * obj0  = 0 ;
2937     PyObject * obj1  = 0 ;
2938     
2939     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2940     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2941     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2942     (arg1)->removeChild(arg2);
2943     
2944     Py_INCREF(Py_None); resultobj = Py_None;
2945     return resultobj;
2946     fail:
2947     return NULL;
2948 }
2949
2950
2951 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2952     PyObject *resultobj;
2953     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2954     bool result;
2955     PyObject * obj0  = 0 ;
2956     
2957     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2958     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959     result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2960     
2961     resultobj = PyInt_FromLong((long)result);
2962     return resultobj;
2963     fail:
2964     return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2969     PyObject *resultobj;
2970     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2971     bool arg2 = (bool) true ;
2972     PyObject * obj0  = 0 ;
2973     PyObject * obj1  = 0 ;
2974     
2975     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
2976     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2977     if (obj1) {
2978         arg2 = (bool) PyInt_AsLong(obj1);
2979         if (PyErr_Occurred()) SWIG_fail;
2980     }
2981     (arg1)->setStretchableHorz(arg2);
2982     
2983     Py_INCREF(Py_None); resultobj = Py_None;
2984     return resultobj;
2985     fail:
2986     return NULL;
2987 }
2988
2989
2990 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
2991     PyObject *resultobj;
2992     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2993     bool result;
2994     PyObject * obj0  = 0 ;
2995     
2996     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
2997     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998     result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
2999     
3000     resultobj = PyInt_FromLong((long)result);
3001     return resultobj;
3002     fail:
3003     return NULL;
3004 }
3005
3006
3007 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3008     PyObject *resultobj;
3009     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3010     bool arg2 = (bool) true ;
3011     PyObject * obj0  = 0 ;
3012     PyObject * obj1  = 0 ;
3013     
3014     if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3015     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3016     if (obj1) {
3017         arg2 = (bool) PyInt_AsLong(obj1);
3018         if (PyErr_Occurred()) SWIG_fail;
3019     }
3020     (arg1)->setStretchableVert(arg2);
3021     
3022     Py_INCREF(Py_None); resultobj = Py_None;
3023     return resultobj;
3024     fail:
3025     return NULL;
3026 }
3027
3028
3029 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3030     PyObject *resultobj;
3031     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3032     Cursor result;
3033     PyObject * obj0  = 0 ;
3034     
3035     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3036     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3037     result = (Cursor)((otk::OtkWidget const *)arg1)->cursor();
3038     
3039     resultobj = PyInt_FromLong((long)result);
3040     return resultobj;
3041     fail:
3042     return NULL;
3043 }
3044
3045
3046 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3047     PyObject *resultobj;
3048     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3049     Cursor arg2 ;
3050     PyObject * obj0  = 0 ;
3051     PyObject * obj1  = 0 ;
3052     
3053     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3054     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3055     arg2 = (Cursor) PyInt_AsLong(obj1);
3056     if (PyErr_Occurred()) SWIG_fail;
3057     (arg1)->setCursor(arg2);
3058     
3059     Py_INCREF(Py_None); resultobj = Py_None;
3060     return resultobj;
3061     fail:
3062     return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3067     PyObject *resultobj;
3068     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3069     int result;
3070     PyObject * obj0  = 0 ;
3071     
3072     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3073     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3074     result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3075     
3076     resultobj = PyInt_FromLong((long)result);
3077     return resultobj;
3078     fail:
3079     return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3084     PyObject *resultobj;
3085     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3086     int arg2 ;
3087     PyObject * obj0  = 0 ;
3088     
3089     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3090     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091     (arg1)->setBevelWidth(arg2);
3092     
3093     Py_INCREF(Py_None); resultobj = Py_None;
3094     return resultobj;
3095     fail:
3096     return NULL;
3097 }
3098
3099
3100 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3101     PyObject *resultobj;
3102     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3103     int result;
3104     PyObject * obj0  = 0 ;
3105     
3106     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3107     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108     result = (int)((otk::OtkWidget const *)arg1)->direction();
3109     
3110     resultobj = PyInt_FromLong((long)result);
3111     return resultobj;
3112     fail:
3113     return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3118     PyObject *resultobj;
3119     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3120     int arg2 ;
3121     PyObject * obj0  = 0 ;
3122     
3123     if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3124     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3125     (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3126     
3127     Py_INCREF(Py_None); resultobj = Py_None;
3128     return resultobj;
3129     fail:
3130     return NULL;
3131 }
3132
3133
3134 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3135     PyObject *resultobj;
3136     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3137     otk::Style *result;
3138     PyObject * obj0  = 0 ;
3139     
3140     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3141     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3142     result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3143     
3144     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3145     return resultobj;
3146     fail:
3147     return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3152     PyObject *resultobj;
3153     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3154     otk::Style *arg2 = (otk::Style *) 0 ;
3155     PyObject * obj0  = 0 ;
3156     PyObject * obj1  = 0 ;
3157     
3158     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3159     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3160     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3161     (arg1)->setStyle(arg2);
3162     
3163     Py_INCREF(Py_None); resultobj = Py_None;
3164     return resultobj;
3165     fail:
3166     return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3171     PyObject *resultobj;
3172     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3173     otk::OtkEventDispatcher *result;
3174     PyObject * obj0  = 0 ;
3175     
3176     if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3177     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3178     result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3179     
3180     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3181     return resultobj;
3182     fail:
3183     return NULL;
3184 }
3185
3186
3187 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3188     PyObject *resultobj;
3189     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3190     otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3191     PyObject * obj0  = 0 ;
3192     PyObject * obj1  = 0 ;
3193     
3194     if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3195     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3196     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197     (arg1)->setEventDispatcher(arg2);
3198     
3199     Py_INCREF(Py_None); resultobj = Py_None;
3200     return resultobj;
3201     fail:
3202     return NULL;
3203 }
3204
3205
3206 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3207     PyObject *obj;
3208     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3209     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3210     Py_INCREF(obj);
3211     return Py_BuildValue((char *)"");
3212 }
3213 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3214     PyObject *resultobj;
3215     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3216     int arg2 = (int) otk::OtkWidget::Horizontal ;
3217     otk::OtkFocusWidget *result;
3218     PyObject * obj0  = 0 ;
3219     
3220     if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3221     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222     result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3223     
3224     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3225     return resultobj;
3226     fail:
3227     return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3232     PyObject *resultobj;
3233     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3234     PyObject * obj0  = 0 ;
3235     
3236     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3237     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238     delete arg1;
3239     
3240     Py_INCREF(Py_None); resultobj = Py_None;
3241     return resultobj;
3242     fail:
3243     return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3248     PyObject *resultobj;
3249     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3250     PyObject * obj0  = 0 ;
3251     
3252     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3253     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254     (arg1)->focus();
3255     
3256     Py_INCREF(Py_None); resultobj = Py_None;
3257     return resultobj;
3258     fail:
3259     return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3264     PyObject *resultobj;
3265     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3266     PyObject * obj0  = 0 ;
3267     
3268     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3269     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270     (arg1)->unfocus();
3271     
3272     Py_INCREF(Py_None); resultobj = Py_None;
3273     return resultobj;
3274     fail:
3275     return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3280     PyObject *resultobj;
3281     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3282     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3283     PyObject * obj0  = 0 ;
3284     PyObject * obj1  = 0 ;
3285     
3286     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3287     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289     (arg1)->setTexture(arg2);
3290     
3291     Py_INCREF(Py_None); resultobj = Py_None;
3292     return resultobj;
3293     fail:
3294     return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3299     PyObject *resultobj;
3300     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3301     otk::BColor *arg2 = (otk::BColor *) 0 ;
3302     PyObject * obj0  = 0 ;
3303     PyObject * obj1  = 0 ;
3304     
3305     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3306     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308     (arg1)->setBorderColor((otk::BColor const *)arg2);
3309     
3310     Py_INCREF(Py_None); resultobj = Py_None;
3311     return resultobj;
3312     fail:
3313     return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3318     PyObject *resultobj;
3319     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3320     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3321     PyObject * obj0  = 0 ;
3322     PyObject * obj1  = 0 ;
3323     
3324     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3325     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3327     (arg1)->setUnfocusTexture(arg2);
3328     
3329     Py_INCREF(Py_None); resultobj = Py_None;
3330     return resultobj;
3331     fail:
3332     return NULL;
3333 }
3334
3335
3336 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3337     PyObject *resultobj;
3338     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3339     otk::BTexture *result;
3340     PyObject * obj0  = 0 ;
3341     
3342     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3343     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3344     result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3345     
3346     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3347     return resultobj;
3348     fail:
3349     return NULL;
3350 }
3351
3352
3353 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3354     PyObject *resultobj;
3355     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3356     otk::BColor *arg2 = (otk::BColor *) 0 ;
3357     PyObject * obj0  = 0 ;
3358     PyObject * obj1  = 0 ;
3359     
3360     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3361     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3363     (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3364     
3365     Py_INCREF(Py_None); resultobj = Py_None;
3366     return resultobj;
3367     fail:
3368     return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3373     PyObject *resultobj;
3374     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3375     otk::BColor *result;
3376     PyObject * obj0  = 0 ;
3377     
3378     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3379     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3380     result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3381     
3382     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3383     return resultobj;
3384     fail:
3385     return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3390     PyObject *resultobj;
3391     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3392     bool result;
3393     PyObject * obj0  = 0 ;
3394     
3395     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3396     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3397     result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3398     
3399     resultobj = PyInt_FromLong((long)result);
3400     return resultobj;
3401     fail:
3402     return NULL;
3403 }
3404
3405
3406 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3407     PyObject *resultobj;
3408     otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3409     bool result;
3410     PyObject * obj0  = 0 ;
3411     
3412     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3413     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3414     result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3415     
3416     resultobj = PyInt_FromLong((long)result);
3417     return resultobj;
3418     fail:
3419     return NULL;
3420 }
3421
3422
3423 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3424     PyObject *obj;
3425     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3426     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3427     Py_INCREF(obj);
3428     return Py_BuildValue((char *)"");
3429 }
3430 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3431     PyObject *resultobj;
3432     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3433     otk::OtkFocusLabel *result;
3434     PyObject * obj0  = 0 ;
3435     
3436     if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3437     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438     result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3439     
3440     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3441     return resultobj;
3442     fail:
3443     return NULL;
3444 }
3445
3446
3447 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3448     PyObject *resultobj;
3449     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3450     PyObject * obj0  = 0 ;
3451     
3452     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3453     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454     delete arg1;
3455     
3456     Py_INCREF(Py_None); resultobj = Py_None;
3457     return resultobj;
3458     fail:
3459     return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3464     PyObject *resultobj;
3465     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3466     std::string *result;
3467     PyObject * obj0  = 0 ;
3468     
3469     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3470     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3471     {
3472         std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3473         result = (std::string *) &_result_ref;
3474     }
3475     
3476     {
3477         resultobj = PyString_FromString(result->c_str());
3478     }
3479     return resultobj;
3480     fail:
3481     return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3486     PyObject *resultobj;
3487     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3488     std::string *arg2 = 0 ;
3489     std::string temp2 ;
3490     PyObject * obj0  = 0 ;
3491     PyObject * obj1  = 0 ;
3492     
3493     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3494     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3495     {
3496         if (PyString_Check(obj1)) {
3497             temp2 = std::string(PyString_AsString(obj1));
3498             arg2 = &temp2;
3499         }else {
3500             SWIG_exception(SWIG_TypeError, "string expected");
3501         }
3502     }
3503     (arg1)->setText((std::string const &)*arg2);
3504     
3505     Py_INCREF(Py_None); resultobj = Py_None;
3506     return resultobj;
3507     fail:
3508     return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3513     PyObject *resultobj;
3514     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3515     PyObject * obj0  = 0 ;
3516     
3517     if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3518     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519     (arg1)->update();
3520     
3521     Py_INCREF(Py_None); resultobj = Py_None;
3522     return resultobj;
3523     fail:
3524     return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3529     PyObject *resultobj;
3530     otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3531     otk::Style *arg2 = (otk::Style *) 0 ;
3532     PyObject * obj0  = 0 ;
3533     PyObject * obj1  = 0 ;
3534     
3535     if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3536     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538     (arg1)->setStyle(arg2);
3539     
3540     Py_INCREF(Py_None); resultobj = Py_None;
3541     return resultobj;
3542     fail:
3543     return NULL;
3544 }
3545
3546
3547 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3548     PyObject *obj;
3549     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3550     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3551     Py_INCREF(obj);
3552     return Py_BuildValue((char *)"");
3553 }
3554 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3555     PyObject *resultobj;
3556     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3557     int arg2 = (int) otk::OtkWidget::Horizontal ;
3558     Cursor arg3 = (Cursor) 0 ;
3559     int arg4 = (int) 1 ;
3560     otk::OtkAppWidget *result;
3561     PyObject * obj0  = 0 ;
3562     PyObject * obj2  = 0 ;
3563     
3564     if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3565     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3566     if (obj2) {
3567         arg3 = (Cursor) PyInt_AsLong(obj2);
3568         if (PyErr_Occurred()) SWIG_fail;
3569     }
3570     result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3571     
3572     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3573     return resultobj;
3574     fail:
3575     return NULL;
3576 }
3577
3578
3579 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3580     PyObject *resultobj;
3581     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3582     PyObject * obj0  = 0 ;
3583     
3584     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3585     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586     delete arg1;
3587     
3588     Py_INCREF(Py_None); resultobj = Py_None;
3589     return resultobj;
3590     fail:
3591     return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3596     PyObject *resultobj;
3597     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3598     PyObject * obj0  = 0 ;
3599     
3600     if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3601     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3602     (arg1)->show();
3603     
3604     Py_INCREF(Py_None); resultobj = Py_None;
3605     return resultobj;
3606     fail:
3607     return NULL;
3608 }
3609
3610
3611 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3612     PyObject *resultobj;
3613     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3614     PyObject * obj0  = 0 ;
3615     
3616     if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3617     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3618     (arg1)->hide();
3619     
3620     Py_INCREF(Py_None); resultobj = Py_None;
3621     return resultobj;
3622     fail:
3623     return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3628     PyObject *resultobj;
3629     otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3630     XClientMessageEvent *arg2 = 0 ;
3631     PyObject * obj0  = 0 ;
3632     PyObject * obj1  = 0 ;
3633     
3634     if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3635     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3636     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3637     if (arg2 == NULL) {
3638         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
3639     }
3640     (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3641     
3642     Py_INCREF(Py_None); resultobj = Py_None;
3643     return resultobj;
3644     fail:
3645     return NULL;
3646 }
3647
3648
3649 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3650     PyObject *obj;
3651     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3652     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3653     Py_INCREF(obj);
3654     return Py_BuildValue((char *)"");
3655 }
3656 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3657     PyObject *resultobj;
3658     int arg1 ;
3659     char **arg2 = (char **) 0 ;
3660     otk::OtkApplication *result;
3661     PyObject * obj1  = 0 ;
3662     
3663     if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3664     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665     result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3666     
3667     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3668     return resultobj;
3669     fail:
3670     return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3675     PyObject *resultobj;
3676     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3677     PyObject * obj0  = 0 ;
3678     
3679     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3680     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3681     delete arg1;
3682     
3683     Py_INCREF(Py_None); resultobj = Py_None;
3684     return resultobj;
3685     fail:
3686     return NULL;
3687 }
3688
3689
3690 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3691     PyObject *resultobj;
3692     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3693     PyObject * obj0  = 0 ;
3694     
3695     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3696     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697     (arg1)->run();
3698     
3699     Py_INCREF(Py_None); resultobj = Py_None;
3700     return resultobj;
3701     fail:
3702     return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3707     PyObject *resultobj;
3708     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3709     bool arg2 ;
3710     PyObject * obj0  = 0 ;
3711     PyObject * obj1  = 0 ;
3712     
3713     if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3714     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3715     arg2 = (bool) PyInt_AsLong(obj1);
3716     if (PyErr_Occurred()) SWIG_fail;
3717     (arg1)->setDockable(arg2);
3718     
3719     Py_INCREF(Py_None); resultobj = Py_None;
3720     return resultobj;
3721     fail:
3722     return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3727     PyObject *resultobj;
3728     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3729     bool result;
3730     PyObject * obj0  = 0 ;
3731     
3732     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3733     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734     result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3735     
3736     resultobj = PyInt_FromLong((long)result);
3737     return resultobj;
3738     fail:
3739     return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3744     PyObject *resultobj;
3745     otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3746     otk::Style *result;
3747     PyObject * obj0  = 0 ;
3748     
3749     if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3750     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3751     result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3752     
3753     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3754     return resultobj;
3755     fail:
3756     return NULL;
3757 }
3758
3759
3760 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3761     PyObject *obj;
3762     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3763     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3764     Py_INCREF(obj);
3765     return Py_BuildValue((char *)"");
3766 }
3767 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3768     PyObject *resultobj;
3769     otk::PointerAssassin *result;
3770     
3771     if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3772     result = (otk::PointerAssassin *)new otk::PointerAssassin();
3773     
3774     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3775     return resultobj;
3776     fail:
3777     return NULL;
3778 }
3779
3780
3781 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3782     PyObject *resultobj;
3783     otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3784     PyObject * obj0  = 0 ;
3785     
3786     if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3787     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3788     delete arg1;
3789     
3790     Py_INCREF(Py_None); resultobj = Py_None;
3791     return resultobj;
3792     fail:
3793     return NULL;
3794 }
3795
3796
3797 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3798     PyObject *obj;
3799     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3800     SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3801     Py_INCREF(obj);
3802     return Py_BuildValue((char *)"");
3803 }
3804 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3805     PyObject *resultobj;
3806     otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3807     otk::OtkButton *result;
3808     PyObject * obj0  = 0 ;
3809     
3810     if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3811     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3812     result = (otk::OtkButton *)new otk::OtkButton(arg1);
3813     
3814     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3815     return resultobj;
3816     fail:
3817     return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3822     PyObject *resultobj;
3823     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3824     PyObject * obj0  = 0 ;
3825     
3826     if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3827     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828     delete arg1;
3829     
3830     Py_INCREF(Py_None); resultobj = Py_None;
3831     return resultobj;
3832     fail:
3833     return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3838     PyObject *resultobj;
3839     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3840     otk::BTexture *result;
3841     PyObject * obj0  = 0 ;
3842     
3843     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3844     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845     result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3846     
3847     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3848     return resultobj;
3849     fail:
3850     return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3855     PyObject *resultobj;
3856     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3857     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3858     PyObject * obj0  = 0 ;
3859     PyObject * obj1  = 0 ;
3860     
3861     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3862     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3863     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3864     (arg1)->setPressedFocusTexture(arg2);
3865     
3866     Py_INCREF(Py_None); resultobj = Py_None;
3867     return resultobj;
3868     fail:
3869     return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3874     PyObject *resultobj;
3875     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3876     otk::BTexture *result;
3877     PyObject * obj0  = 0 ;
3878     
3879     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3880     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3881     result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3882     
3883     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3884     return resultobj;
3885     fail:
3886     return NULL;
3887 }
3888
3889
3890 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3891     PyObject *resultobj;
3892     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3893     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3894     PyObject * obj0  = 0 ;
3895     PyObject * obj1  = 0 ;
3896     
3897     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3898     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3899     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900     (arg1)->setPressedUnfocusTexture(arg2);
3901     
3902     Py_INCREF(Py_None); resultobj = Py_None;
3903     return resultobj;
3904     fail:
3905     return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3910     PyObject *resultobj;
3911     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3912     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3913     PyObject * obj0  = 0 ;
3914     PyObject * obj1  = 0 ;
3915     
3916     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3917     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3918     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3919     (arg1)->setTexture(arg2);
3920     
3921     Py_INCREF(Py_None); resultobj = Py_None;
3922     return resultobj;
3923     fail:
3924     return NULL;
3925 }
3926
3927
3928 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3929     PyObject *resultobj;
3930     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3931     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3932     PyObject * obj0  = 0 ;
3933     PyObject * obj1  = 0 ;
3934     
3935     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3936     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3937     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938     (arg1)->setUnfocusTexture(arg2);
3939     
3940     Py_INCREF(Py_None); resultobj = Py_None;
3941     return resultobj;
3942     fail:
3943     return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3948     PyObject *resultobj;
3949     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3950     bool result;
3951     PyObject * obj0  = 0 ;
3952     
3953     if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3954     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3955     result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3956     
3957     resultobj = PyInt_FromLong((long)result);
3958     return resultobj;
3959     fail:
3960     return NULL;
3961 }
3962
3963
3964 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3965     PyObject *resultobj;
3966     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3967     unsigned int arg2 ;
3968     PyObject * obj0  = 0 ;
3969     PyObject * obj1  = 0 ;
3970     
3971     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3972     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3973     arg2 = (unsigned int) PyInt_AsLong(obj1);
3974     if (PyErr_Occurred()) SWIG_fail;
3975     (arg1)->press(arg2);
3976     
3977     Py_INCREF(Py_None); resultobj = Py_None;
3978     return resultobj;
3979     fail:
3980     return NULL;
3981 }
3982
3983
3984 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
3985     PyObject *resultobj;
3986     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3987     unsigned int arg2 ;
3988     PyObject * obj0  = 0 ;
3989     PyObject * obj1  = 0 ;
3990     
3991     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
3992     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993     arg2 = (unsigned int) PyInt_AsLong(obj1);
3994     if (PyErr_Occurred()) SWIG_fail;
3995     (arg1)->release(arg2);
3996     
3997     Py_INCREF(Py_None); resultobj = Py_None;
3998     return resultobj;
3999     fail:
4000     return NULL;
4001 }
4002
4003
4004 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4005     PyObject *resultobj;
4006     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4007     XButtonEvent *arg2 = 0 ;
4008     PyObject * obj0  = 0 ;
4009     PyObject * obj1  = 0 ;
4010     
4011     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4012     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4013     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4014     if (arg2 == NULL) {
4015         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4016     }
4017     (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4018     
4019     Py_INCREF(Py_None); resultobj = Py_None;
4020     return resultobj;
4021     fail:
4022     return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4027     PyObject *resultobj;
4028     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4029     XButtonEvent *arg2 = 0 ;
4030     PyObject * obj0  = 0 ;
4031     PyObject * obj1  = 0 ;
4032     
4033     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4034     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4035     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4036     if (arg2 == NULL) {
4037         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4038     }
4039     (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4040     
4041     Py_INCREF(Py_None); resultobj = Py_None;
4042     return resultobj;
4043     fail:
4044     return NULL;
4045 }
4046
4047
4048 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4049     PyObject *resultobj;
4050     otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4051     otk::Style *arg2 = (otk::Style *) 0 ;
4052     PyObject * obj0  = 0 ;
4053     PyObject * obj1  = 0 ;
4054     
4055     if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4056     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4057     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4058     (arg1)->setStyle(arg2);
4059     
4060     Py_INCREF(Py_None); resultobj = Py_None;
4061     return resultobj;
4062     fail:
4063     return NULL;
4064 }
4065
4066
4067 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4068     PyObject *obj;
4069     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4070     SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4071     Py_INCREF(obj);
4072     return Py_BuildValue((char *)"");
4073 }
4074 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4075     PyObject *resultobj;
4076     unsigned int arg1 = (unsigned int) ~(0u) ;
4077     otk::BColor *result;
4078     PyObject * obj0  = 0 ;
4079     
4080     if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4081     if (obj0) {
4082         arg1 = (unsigned int) PyInt_AsLong(obj0);
4083         if (PyErr_Occurred()) SWIG_fail;
4084     }
4085     result = (otk::BColor *)new otk::BColor(arg1);
4086     
4087     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4088     return resultobj;
4089     fail:
4090     return NULL;
4091 }
4092
4093
4094 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4095     PyObject *resultobj;
4096     int arg1 ;
4097     int arg2 ;
4098     int arg3 ;
4099     unsigned int arg4 = (unsigned int) ~(0u) ;
4100     otk::BColor *result;
4101     PyObject * obj3  = 0 ;
4102     
4103     if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4104     if (obj3) {
4105         arg4 = (unsigned int) PyInt_AsLong(obj3);
4106         if (PyErr_Occurred()) SWIG_fail;
4107     }
4108     result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4109     
4110     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4111     return resultobj;
4112     fail:
4113     return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4118     PyObject *resultobj;
4119     std::string *arg1 = 0 ;
4120     unsigned int arg2 = (unsigned int) ~(0u) ;
4121     otk::BColor *result;
4122     std::string temp1 ;
4123     PyObject * obj0  = 0 ;
4124     PyObject * obj1  = 0 ;
4125     
4126     if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4127     {
4128         if (PyString_Check(obj0)) {
4129             temp1 = std::string(PyString_AsString(obj0));
4130             arg1 = &temp1;
4131         }else {
4132             SWIG_exception(SWIG_TypeError, "string expected");
4133         }
4134     }
4135     if (obj1) {
4136         arg2 = (unsigned int) PyInt_AsLong(obj1);
4137         if (PyErr_Occurred()) SWIG_fail;
4138     }
4139     result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4140     
4141     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4142     return resultobj;
4143     fail:
4144     return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4149     int argc;
4150     PyObject *argv[5];
4151     int ii;
4152     
4153     argc = PyObject_Length(args);
4154     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4155         argv[ii] = PyTuple_GetItem(args,ii);
4156     }
4157     if ((argc >= 0) && (argc <= 1)) {
4158         int _v;
4159         if (argc <= 0) {
4160             return _wrap_new_BColor__SWIG_0(self,args);
4161         }
4162         {
4163             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4164         }
4165         if (_v) {
4166             return _wrap_new_BColor__SWIG_0(self,args);
4167         }
4168     }
4169     if ((argc >= 1) && (argc <= 2)) {
4170         int _v;
4171         {
4172             _v = PyString_Check(argv[0]) ? 1 : 0;
4173         }
4174         if (_v) {
4175             if (argc <= 1) {
4176                 return _wrap_new_BColor__SWIG_2(self,args);
4177             }
4178             {
4179                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4180             }
4181             if (_v) {
4182                 return _wrap_new_BColor__SWIG_2(self,args);
4183             }
4184         }
4185     }
4186     if ((argc >= 3) && (argc <= 4)) {
4187         int _v;
4188         {
4189             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4190         }
4191         if (_v) {
4192             {
4193                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4194             }
4195             if (_v) {
4196                 {
4197                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4198                 }
4199                 if (_v) {
4200                     if (argc <= 3) {
4201                         return _wrap_new_BColor__SWIG_1(self,args);
4202                     }
4203                     {
4204                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4205                     }
4206                     if (_v) {
4207                         return _wrap_new_BColor__SWIG_1(self,args);
4208                     }
4209                 }
4210             }
4211         }
4212     }
4213     
4214     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4215     return NULL;
4216 }
4217
4218
4219 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4220     PyObject *resultobj;
4221     otk::BColor *arg1 = (otk::BColor *) 0 ;
4222     PyObject * obj0  = 0 ;
4223     
4224     if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4225     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4226     delete arg1;
4227     
4228     Py_INCREF(Py_None); resultobj = Py_None;
4229     return resultobj;
4230     fail:
4231     return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4236     PyObject *resultobj;
4237     otk::BColor *arg1 = (otk::BColor *) 0 ;
4238     std::string *result;
4239     PyObject * obj0  = 0 ;
4240     
4241     if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4242     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243     {
4244         std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4245         result = (std::string *) &_result_ref;
4246     }
4247     
4248     {
4249         resultobj = PyString_FromString(result->c_str());
4250     }
4251     return resultobj;
4252     fail:
4253     return NULL;
4254 }
4255
4256
4257 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4258     PyObject *resultobj;
4259     otk::BColor *arg1 = (otk::BColor *) 0 ;
4260     int result;
4261     PyObject * obj0  = 0 ;
4262     
4263     if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4264     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265     result = (int)((otk::BColor const *)arg1)->red();
4266     
4267     resultobj = PyInt_FromLong((long)result);
4268     return resultobj;
4269     fail:
4270     return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4275     PyObject *resultobj;
4276     otk::BColor *arg1 = (otk::BColor *) 0 ;
4277     int result;
4278     PyObject * obj0  = 0 ;
4279     
4280     if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4281     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4282     result = (int)((otk::BColor const *)arg1)->green();
4283     
4284     resultobj = PyInt_FromLong((long)result);
4285     return resultobj;
4286     fail:
4287     return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4292     PyObject *resultobj;
4293     otk::BColor *arg1 = (otk::BColor *) 0 ;
4294     int result;
4295     PyObject * obj0  = 0 ;
4296     
4297     if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4298     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4299     result = (int)((otk::BColor const *)arg1)->blue();
4300     
4301     resultobj = PyInt_FromLong((long)result);
4302     return resultobj;
4303     fail:
4304     return NULL;
4305 }
4306
4307
4308 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4309     PyObject *resultobj;
4310     otk::BColor *arg1 = (otk::BColor *) 0 ;
4311     int arg2 ;
4312     int arg3 ;
4313     int arg4 ;
4314     PyObject * obj0  = 0 ;
4315     
4316     if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4317     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318     (arg1)->setRGB(arg2,arg3,arg4);
4319     
4320     Py_INCREF(Py_None); resultobj = Py_None;
4321     return resultobj;
4322     fail:
4323     return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4328     PyObject *resultobj;
4329     otk::BColor *arg1 = (otk::BColor *) 0 ;
4330     unsigned int result;
4331     PyObject * obj0  = 0 ;
4332     
4333     if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4334     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335     result = (unsigned int)((otk::BColor const *)arg1)->screen();
4336     
4337     resultobj = PyInt_FromLong((long)result);
4338     return resultobj;
4339     fail:
4340     return NULL;
4341 }
4342
4343
4344 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4345     PyObject *resultobj;
4346     otk::BColor *arg1 = (otk::BColor *) 0 ;
4347     unsigned int arg2 = (unsigned int) ~(0u) ;
4348     PyObject * obj0  = 0 ;
4349     PyObject * obj1  = 0 ;
4350     
4351     if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4352     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353     if (obj1) {
4354         arg2 = (unsigned int) PyInt_AsLong(obj1);
4355         if (PyErr_Occurred()) SWIG_fail;
4356     }
4357     (arg1)->setScreen(arg2);
4358     
4359     Py_INCREF(Py_None); resultobj = Py_None;
4360     return resultobj;
4361     fail:
4362     return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4367     PyObject *resultobj;
4368     otk::BColor *arg1 = (otk::BColor *) 0 ;
4369     bool result;
4370     PyObject * obj0  = 0 ;
4371     
4372     if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4373     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4374     result = (bool)((otk::BColor const *)arg1)->isAllocated();
4375     
4376     resultobj = PyInt_FromLong((long)result);
4377     return resultobj;
4378     fail:
4379     return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4384     PyObject *resultobj;
4385     otk::BColor *arg1 = (otk::BColor *) 0 ;
4386     bool result;
4387     PyObject * obj0  = 0 ;
4388     
4389     if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4390     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391     result = (bool)((otk::BColor const *)arg1)->isValid();
4392     
4393     resultobj = PyInt_FromLong((long)result);
4394     return resultobj;
4395     fail:
4396     return NULL;
4397 }
4398
4399
4400 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4401     PyObject *resultobj;
4402     otk::BColor *arg1 = (otk::BColor *) 0 ;
4403     unsigned long result;
4404     PyObject * obj0  = 0 ;
4405     
4406     if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4407     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4408     result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4409     
4410     resultobj = PyInt_FromLong((long)result);
4411     return resultobj;
4412     fail:
4413     return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4418     PyObject *resultobj;
4419     otk::BColor *arg1 = (otk::BColor *) 0 ;
4420     otk::BColor *arg2 = 0 ;
4421     bool result;
4422     PyObject * obj0  = 0 ;
4423     PyObject * obj1  = 0 ;
4424     
4425     if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4426     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4428     if (arg2 == NULL) {
4429         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4430     }
4431     result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4432     
4433     resultobj = PyInt_FromLong((long)result);
4434     return resultobj;
4435     fail:
4436     return NULL;
4437 }
4438
4439
4440 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4441     PyObject *resultobj;
4442     
4443     if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4444     otk::BColor::cleanupColorCache();
4445     
4446     Py_INCREF(Py_None); resultobj = Py_None;
4447     return resultobj;
4448     fail:
4449     return NULL;
4450 }
4451
4452
4453 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4454     PyObject *obj;
4455     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4456     SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4457     Py_INCREF(obj);
4458     return Py_BuildValue((char *)"");
4459 }
4460 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4461     PyObject *resultobj;
4462     std::string *arg1 = 0 ;
4463     bool arg2 = (bool) True ;
4464     otk::Configuration *result;
4465     std::string temp1 ;
4466     PyObject * obj0  = 0 ;
4467     PyObject * obj1  = 0 ;
4468     
4469     if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4470     {
4471         if (PyString_Check(obj0)) {
4472             temp1 = std::string(PyString_AsString(obj0));
4473             arg1 = &temp1;
4474         }else {
4475             SWIG_exception(SWIG_TypeError, "string expected");
4476         }
4477     }
4478     if (obj1) {
4479         arg2 = (bool) PyInt_AsLong(obj1);
4480         if (PyErr_Occurred()) SWIG_fail;
4481     }
4482     result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4483     
4484     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4485     return resultobj;
4486     fail:
4487     return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4492     PyObject *resultobj;
4493     bool arg1 = (bool) True ;
4494     otk::Configuration *result;
4495     PyObject * obj0  = 0 ;
4496     
4497     if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4498     if (obj0) {
4499         arg1 = (bool) PyInt_AsLong(obj0);
4500         if (PyErr_Occurred()) SWIG_fail;
4501     }
4502     result = (otk::Configuration *)new otk::Configuration(arg1);
4503     
4504     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4505     return resultobj;
4506     fail:
4507     return NULL;
4508 }
4509
4510
4511 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4512     int argc;
4513     PyObject *argv[3];
4514     int ii;
4515     
4516     argc = PyObject_Length(args);
4517     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4518         argv[ii] = PyTuple_GetItem(args,ii);
4519     }
4520     if ((argc >= 0) && (argc <= 1)) {
4521         int _v;
4522         if (argc <= 0) {
4523             return _wrap_new_Configuration__SWIG_1(self,args);
4524         }
4525         {
4526             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4527         }
4528         if (_v) {
4529             return _wrap_new_Configuration__SWIG_1(self,args);
4530         }
4531     }
4532     if ((argc >= 1) && (argc <= 2)) {
4533         int _v;
4534         {
4535             _v = PyString_Check(argv[0]) ? 1 : 0;
4536         }
4537         if (_v) {
4538             if (argc <= 1) {
4539                 return _wrap_new_Configuration__SWIG_0(self,args);
4540             }
4541             {
4542                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4543             }
4544             if (_v) {
4545                 return _wrap_new_Configuration__SWIG_0(self,args);
4546             }
4547         }
4548     }
4549     
4550     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4551     return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4556     PyObject *resultobj;
4557     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4558     PyObject * obj0  = 0 ;
4559     
4560     if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4561     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562     delete arg1;
4563     
4564     Py_INCREF(Py_None); resultobj = Py_None;
4565     return resultobj;
4566     fail:
4567     return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4572     PyObject *resultobj;
4573     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4574     std::string *result;
4575     PyObject * obj0  = 0 ;
4576     
4577     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4578     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4579     {
4580         std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4581         result = (std::string *) &_result_ref;
4582     }
4583     
4584     {
4585         resultobj = PyString_FromString(result->c_str());
4586     }
4587     return resultobj;
4588     fail:
4589     return NULL;
4590 }
4591
4592
4593 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4594     PyObject *resultobj;
4595     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4596     std::string *arg2 = 0 ;
4597     std::string temp2 ;
4598     PyObject * obj0  = 0 ;
4599     PyObject * obj1  = 0 ;
4600     
4601     if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4602     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4603     {
4604         if (PyString_Check(obj1)) {
4605             temp2 = std::string(PyString_AsString(obj1));
4606             arg2 = &temp2;
4607         }else {
4608             SWIG_exception(SWIG_TypeError, "string expected");
4609         }
4610     }
4611     (arg1)->setFile((std::string const &)*arg2);
4612     
4613     Py_INCREF(Py_None); resultobj = Py_None;
4614     return resultobj;
4615     fail:
4616     return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4621     PyObject *resultobj;
4622     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4623     bool result;
4624     PyObject * obj0  = 0 ;
4625     
4626     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4627     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4628     result = (bool)((otk::Configuration const *)arg1)->autoSave();
4629     
4630     resultobj = PyInt_FromLong((long)result);
4631     return resultobj;
4632     fail:
4633     return NULL;
4634 }
4635
4636
4637 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4638     PyObject *resultobj;
4639     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4640     bool arg2 ;
4641     PyObject * obj0  = 0 ;
4642     PyObject * obj1  = 0 ;
4643     
4644     if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4645     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4646     arg2 = (bool) PyInt_AsLong(obj1);
4647     if (PyErr_Occurred()) SWIG_fail;
4648     (arg1)->setAutoSave(arg2);
4649     
4650     Py_INCREF(Py_None); resultobj = Py_None;
4651     return resultobj;
4652     fail:
4653     return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4658     PyObject *resultobj;
4659     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4660     bool result;
4661     PyObject * obj0  = 0 ;
4662     
4663     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4664     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4665     result = (bool)((otk::Configuration const *)arg1)->isModified();
4666     
4667     resultobj = PyInt_FromLong((long)result);
4668     return resultobj;
4669     fail:
4670     return NULL;
4671 }
4672
4673
4674 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4675     PyObject *resultobj;
4676     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4677     PyObject * obj0  = 0 ;
4678     
4679     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4680     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4681     (arg1)->save();
4682     
4683     Py_INCREF(Py_None); resultobj = Py_None;
4684     return resultobj;
4685     fail:
4686     return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4691     PyObject *resultobj;
4692     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4693     bool result;
4694     PyObject * obj0  = 0 ;
4695     
4696     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4697     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698     result = (bool)(arg1)->load();
4699     
4700     resultobj = PyInt_FromLong((long)result);
4701     return resultobj;
4702     fail:
4703     return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4708     PyObject *resultobj;
4709     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4710     std::string *arg2 = 0 ;
4711     bool arg3 = (bool) False ;
4712     bool result;
4713     std::string temp2 ;
4714     PyObject * obj0  = 0 ;
4715     PyObject * obj1  = 0 ;
4716     PyObject * obj2  = 0 ;
4717     
4718     if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4719     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4720     {
4721         if (PyString_Check(obj1)) {
4722             temp2 = std::string(PyString_AsString(obj1));
4723             arg2 = &temp2;
4724         }else {
4725             SWIG_exception(SWIG_TypeError, "string expected");
4726         }
4727     }
4728     if (obj2) {
4729         arg3 = (bool) PyInt_AsLong(obj2);
4730         if (PyErr_Occurred()) SWIG_fail;
4731     }
4732     result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4733     
4734     resultobj = PyInt_FromLong((long)result);
4735     return resultobj;
4736     fail:
4737     return NULL;
4738 }
4739
4740
4741 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4742     PyObject *resultobj;
4743     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4744     PyObject * obj0  = 0 ;
4745     
4746     if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4747     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4748     (arg1)->create();
4749     
4750     Py_INCREF(Py_None); resultobj = Py_None;
4751     return resultobj;
4752     fail:
4753     return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4758     PyObject *resultobj;
4759     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4760     std::string *arg2 = 0 ;
4761     bool arg3 ;
4762     std::string temp2 ;
4763     PyObject * obj0  = 0 ;
4764     PyObject * obj1  = 0 ;
4765     PyObject * obj2  = 0 ;
4766     
4767     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4768     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769     {
4770         if (PyString_Check(obj1)) {
4771             temp2 = std::string(PyString_AsString(obj1));
4772             arg2 = &temp2;
4773         }else {
4774             SWIG_exception(SWIG_TypeError, "string expected");
4775         }
4776     }
4777     arg3 = (bool) PyInt_AsLong(obj2);
4778     if (PyErr_Occurred()) SWIG_fail;
4779     (arg1)->setValue((std::string const &)*arg2,arg3);
4780     
4781     Py_INCREF(Py_None); resultobj = Py_None;
4782     return resultobj;
4783     fail:
4784     return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4789     PyObject *resultobj;
4790     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4791     std::string *arg2 = 0 ;
4792     int arg3 ;
4793     std::string temp2 ;
4794     PyObject * obj0  = 0 ;
4795     PyObject * obj1  = 0 ;
4796     
4797     if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4798     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4799     {
4800         if (PyString_Check(obj1)) {
4801             temp2 = std::string(PyString_AsString(obj1));
4802             arg2 = &temp2;
4803         }else {
4804             SWIG_exception(SWIG_TypeError, "string expected");
4805         }
4806     }
4807     (arg1)->setValue((std::string const &)*arg2,arg3);
4808     
4809     Py_INCREF(Py_None); resultobj = Py_None;
4810     return resultobj;
4811     fail:
4812     return NULL;
4813 }
4814
4815
4816 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4817     PyObject *resultobj;
4818     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4819     std::string *arg2 = 0 ;
4820     unsigned int arg3 ;
4821     std::string temp2 ;
4822     PyObject * obj0  = 0 ;
4823     PyObject * obj1  = 0 ;
4824     PyObject * obj2  = 0 ;
4825     
4826     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4827     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4828     {
4829         if (PyString_Check(obj1)) {
4830             temp2 = std::string(PyString_AsString(obj1));
4831             arg2 = &temp2;
4832         }else {
4833             SWIG_exception(SWIG_TypeError, "string expected");
4834         }
4835     }
4836     arg3 = (unsigned int) PyInt_AsLong(obj2);
4837     if (PyErr_Occurred()) SWIG_fail;
4838     (arg1)->setValue((std::string const &)*arg2,arg3);
4839     
4840     Py_INCREF(Py_None); resultobj = Py_None;
4841     return resultobj;
4842     fail:
4843     return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4848     PyObject *resultobj;
4849     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4850     std::string *arg2 = 0 ;
4851     long arg3 ;
4852     std::string temp2 ;
4853     PyObject * obj0  = 0 ;
4854     PyObject * obj1  = 0 ;
4855     
4856     if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4857     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4858     {
4859         if (PyString_Check(obj1)) {
4860             temp2 = std::string(PyString_AsString(obj1));
4861             arg2 = &temp2;
4862         }else {
4863             SWIG_exception(SWIG_TypeError, "string expected");
4864         }
4865     }
4866     (arg1)->setValue((std::string const &)*arg2,arg3);
4867     
4868     Py_INCREF(Py_None); resultobj = Py_None;
4869     return resultobj;
4870     fail:
4871     return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4876     PyObject *resultobj;
4877     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4878     std::string *arg2 = 0 ;
4879     unsigned long arg3 ;
4880     std::string temp2 ;
4881     PyObject * obj0  = 0 ;
4882     PyObject * obj1  = 0 ;
4883     PyObject * obj2  = 0 ;
4884     
4885     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4886     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887     {
4888         if (PyString_Check(obj1)) {
4889             temp2 = std::string(PyString_AsString(obj1));
4890             arg2 = &temp2;
4891         }else {
4892             SWIG_exception(SWIG_TypeError, "string expected");
4893         }
4894     }
4895     arg3 = (unsigned long) PyInt_AsLong(obj2);
4896     if (PyErr_Occurred()) SWIG_fail;
4897     (arg1)->setValue((std::string const &)*arg2,arg3);
4898     
4899     Py_INCREF(Py_None); resultobj = Py_None;
4900     return resultobj;
4901     fail:
4902     return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4907     PyObject *resultobj;
4908     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4909     std::string *arg2 = 0 ;
4910     std::string *arg3 = 0 ;
4911     std::string temp2 ;
4912     std::string temp3 ;
4913     PyObject * obj0  = 0 ;
4914     PyObject * obj1  = 0 ;
4915     PyObject * obj2  = 0 ;
4916     
4917     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4918     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919     {
4920         if (PyString_Check(obj1)) {
4921             temp2 = std::string(PyString_AsString(obj1));
4922             arg2 = &temp2;
4923         }else {
4924             SWIG_exception(SWIG_TypeError, "string expected");
4925         }
4926     }
4927     {
4928         if (PyString_Check(obj2)) {
4929             temp3 = std::string(PyString_AsString(obj2));
4930             arg3 = &temp3;
4931         }else {
4932             SWIG_exception(SWIG_TypeError, "string expected");
4933         }
4934     }
4935     (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4936     
4937     Py_INCREF(Py_None); resultobj = Py_None;
4938     return resultobj;
4939     fail:
4940     return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4945     PyObject *resultobj;
4946     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4947     std::string *arg2 = 0 ;
4948     char *arg3 ;
4949     std::string temp2 ;
4950     PyObject * obj0  = 0 ;
4951     PyObject * obj1  = 0 ;
4952     
4953     if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4954     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955     {
4956         if (PyString_Check(obj1)) {
4957             temp2 = std::string(PyString_AsString(obj1));
4958             arg2 = &temp2;
4959         }else {
4960             SWIG_exception(SWIG_TypeError, "string expected");
4961         }
4962     }
4963     (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4964     
4965     Py_INCREF(Py_None); resultobj = Py_None;
4966     return resultobj;
4967     fail:
4968     return NULL;
4969 }
4970
4971
4972 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4973     PyObject *resultobj;
4974     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4975     std::string *arg2 = 0 ;
4976     bool *arg3 = 0 ;
4977     bool result;
4978     std::string temp2 ;
4979     PyObject * obj0  = 0 ;
4980     PyObject * obj1  = 0 ;
4981     PyObject * obj2  = 0 ;
4982     
4983     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
4984     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985     {
4986         if (PyString_Check(obj1)) {
4987             temp2 = std::string(PyString_AsString(obj1));
4988             arg2 = &temp2;
4989         }else {
4990             SWIG_exception(SWIG_TypeError, "string expected");
4991         }
4992     }
4993     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4994     if (arg3 == NULL) {
4995         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
4996     }
4997     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
4998     
4999     resultobj = PyInt_FromLong((long)result);
5000     return resultobj;
5001     fail:
5002     return NULL;
5003 }
5004
5005
5006 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5007     PyObject *resultobj;
5008     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5009     std::string *arg2 = 0 ;
5010     int *arg3 = 0 ;
5011     bool result;
5012     std::string temp2 ;
5013     PyObject * obj0  = 0 ;
5014     PyObject * obj1  = 0 ;
5015     PyObject * obj2  = 0 ;
5016     
5017     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5018     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019     {
5020         if (PyString_Check(obj1)) {
5021             temp2 = std::string(PyString_AsString(obj1));
5022             arg2 = &temp2;
5023         }else {
5024             SWIG_exception(SWIG_TypeError, "string expected");
5025         }
5026     }
5027     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5028     if (arg3 == NULL) {
5029         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5030     }
5031     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5032     
5033     resultobj = PyInt_FromLong((long)result);
5034     return resultobj;
5035     fail:
5036     return NULL;
5037 }
5038
5039
5040 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5041     PyObject *resultobj;
5042     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5043     std::string *arg2 = 0 ;
5044     unsigned int *arg3 = 0 ;
5045     bool result;
5046     std::string temp2 ;
5047     PyObject * obj0  = 0 ;
5048     PyObject * obj1  = 0 ;
5049     PyObject * obj2  = 0 ;
5050     
5051     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5052     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053     {
5054         if (PyString_Check(obj1)) {
5055             temp2 = std::string(PyString_AsString(obj1));
5056             arg2 = &temp2;
5057         }else {
5058             SWIG_exception(SWIG_TypeError, "string expected");
5059         }
5060     }
5061     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062     if (arg3 == NULL) {
5063         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5064     }
5065     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5066     
5067     resultobj = PyInt_FromLong((long)result);
5068     return resultobj;
5069     fail:
5070     return NULL;
5071 }
5072
5073
5074 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5075     PyObject *resultobj;
5076     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5077     std::string *arg2 = 0 ;
5078     long *arg3 = 0 ;
5079     bool result;
5080     std::string temp2 ;
5081     PyObject * obj0  = 0 ;
5082     PyObject * obj1  = 0 ;
5083     PyObject * obj2  = 0 ;
5084     
5085     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5086     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5087     {
5088         if (PyString_Check(obj1)) {
5089             temp2 = std::string(PyString_AsString(obj1));
5090             arg2 = &temp2;
5091         }else {
5092             SWIG_exception(SWIG_TypeError, "string expected");
5093         }
5094     }
5095     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096     if (arg3 == NULL) {
5097         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5098     }
5099     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5100     
5101     resultobj = PyInt_FromLong((long)result);
5102     return resultobj;
5103     fail:
5104     return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5109     PyObject *resultobj;
5110     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5111     std::string *arg2 = 0 ;
5112     unsigned long *arg3 = 0 ;
5113     bool result;
5114     std::string temp2 ;
5115     PyObject * obj0  = 0 ;
5116     PyObject * obj1  = 0 ;
5117     PyObject * obj2  = 0 ;
5118     
5119     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5120     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121     {
5122         if (PyString_Check(obj1)) {
5123             temp2 = std::string(PyString_AsString(obj1));
5124             arg2 = &temp2;
5125         }else {
5126             SWIG_exception(SWIG_TypeError, "string expected");
5127         }
5128     }
5129     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5130     if (arg3 == NULL) {
5131         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5132     }
5133     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5134     
5135     resultobj = PyInt_FromLong((long)result);
5136     return resultobj;
5137     fail:
5138     return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5143     PyObject *resultobj;
5144     otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5145     std::string *arg2 = 0 ;
5146     std::string *arg3 = 0 ;
5147     bool result;
5148     std::string temp2 ;
5149     PyObject * obj0  = 0 ;
5150     PyObject * obj1  = 0 ;
5151     PyObject * obj2  = 0 ;
5152     
5153     if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5154     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155     {
5156         if (PyString_Check(obj1)) {
5157             temp2 = std::string(PyString_AsString(obj1));
5158             arg2 = &temp2;
5159         }else {
5160             SWIG_exception(SWIG_TypeError, "string expected");
5161         }
5162     }
5163     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164     if (arg3 == NULL) {
5165         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5166     }
5167     result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5168     
5169     resultobj = PyInt_FromLong((long)result);
5170     return resultobj;
5171     fail:
5172     return NULL;
5173 }
5174
5175
5176 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5177     int argc;
5178     PyObject *argv[4];
5179     int ii;
5180     
5181     argc = PyObject_Length(args);
5182     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5183         argv[ii] = PyTuple_GetItem(args,ii);
5184     }
5185     if (argc == 3) {
5186         int _v;
5187         {
5188             void *ptr;
5189             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5190                 _v = 0;
5191                 PyErr_Clear();
5192             }else {
5193                 _v = 1;
5194             }
5195         }
5196         if (_v) {
5197             {
5198                 _v = PyString_Check(argv[1]) ? 1 : 0;
5199             }
5200             if (_v) {
5201                 {
5202                     void *ptr;
5203                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5204                         _v = 0;
5205                         PyErr_Clear();
5206                     }else {
5207                         _v = 1;
5208                     }
5209                 }
5210                 if (_v) {
5211                     return _wrap_Configuration_getValue__SWIG_0(self,args);
5212                 }
5213             }
5214         }
5215     }
5216     if (argc == 3) {
5217         int _v;
5218         {
5219             void *ptr;
5220             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5221                 _v = 0;
5222                 PyErr_Clear();
5223             }else {
5224                 _v = 1;
5225             }
5226         }
5227         if (_v) {
5228             {
5229                 _v = PyString_Check(argv[1]) ? 1 : 0;
5230             }
5231             if (_v) {
5232                 {
5233                     void *ptr;
5234                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5235                         _v = 0;
5236                         PyErr_Clear();
5237                     }else {
5238                         _v = 1;
5239                     }
5240                 }
5241                 if (_v) {
5242                     return _wrap_Configuration_getValue__SWIG_1(self,args);
5243                 }
5244             }
5245         }
5246     }
5247     if (argc == 3) {
5248         int _v;
5249         {
5250             void *ptr;
5251             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5252                 _v = 0;
5253                 PyErr_Clear();
5254             }else {
5255                 _v = 1;
5256             }
5257         }
5258         if (_v) {
5259             {
5260                 _v = PyString_Check(argv[1]) ? 1 : 0;
5261             }
5262             if (_v) {
5263                 {
5264                     void *ptr;
5265                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5266                         _v = 0;
5267                         PyErr_Clear();
5268                     }else {
5269                         _v = 1;
5270                     }
5271                 }
5272                 if (_v) {
5273                     return _wrap_Configuration_getValue__SWIG_2(self,args);
5274                 }
5275             }
5276         }
5277     }
5278     if (argc == 3) {
5279         int _v;
5280         {
5281             void *ptr;
5282             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5283                 _v = 0;
5284                 PyErr_Clear();
5285             }else {
5286                 _v = 1;
5287             }
5288         }
5289         if (_v) {
5290             {
5291                 _v = PyString_Check(argv[1]) ? 1 : 0;
5292             }
5293             if (_v) {
5294                 {
5295                     void *ptr;
5296                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5297                         _v = 0;
5298                         PyErr_Clear();
5299                     }else {
5300                         _v = 1;
5301                     }
5302                 }
5303                 if (_v) {
5304                     return _wrap_Configuration_getValue__SWIG_3(self,args);
5305                 }
5306             }
5307         }
5308     }
5309     if (argc == 3) {
5310         int _v;
5311         {
5312             void *ptr;
5313             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5314                 _v = 0;
5315                 PyErr_Clear();
5316             }else {
5317                 _v = 1;
5318             }
5319         }
5320         if (_v) {
5321             {
5322                 _v = PyString_Check(argv[1]) ? 1 : 0;
5323             }
5324             if (_v) {
5325                 {
5326                     void *ptr;
5327                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5328                         _v = 0;
5329                         PyErr_Clear();
5330                     }else {
5331                         _v = 1;
5332                     }
5333                 }
5334                 if (_v) {
5335                     return _wrap_Configuration_getValue__SWIG_4(self,args);
5336                 }
5337             }
5338         }
5339     }
5340     if (argc == 3) {
5341         int _v;
5342         {
5343             void *ptr;
5344             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5345                 _v = 0;
5346                 PyErr_Clear();
5347             }else {
5348                 _v = 1;
5349             }
5350         }
5351         if (_v) {
5352             {
5353                 _v = PyString_Check(argv[1]) ? 1 : 0;
5354             }
5355             if (_v) {
5356                 {
5357                     void *ptr;
5358                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5359                         _v = 0;
5360                         PyErr_Clear();
5361                     }else {
5362                         _v = 1;
5363                     }
5364                 }
5365                 if (_v) {
5366                     return _wrap_Configuration_getValue__SWIG_5(self,args);
5367                 }
5368             }
5369         }
5370     }
5371     
5372     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5373     return NULL;
5374 }
5375
5376
5377 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5378     PyObject *obj;
5379     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5380     SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5381     Py_INCREF(obj);
5382     return Py_BuildValue((char *)"");
5383 }
5384 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5385     PyObject *resultobj;
5386     char *arg1 ;
5387     
5388     if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5389     otk::OBDisplay::initialize(arg1);
5390     
5391     Py_INCREF(Py_None); resultobj = Py_None;
5392     return resultobj;
5393     fail:
5394     return NULL;
5395 }
5396
5397
5398 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5399     PyObject *resultobj;
5400     
5401     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5402     otk::OBDisplay::destroy();
5403     
5404     Py_INCREF(Py_None); resultobj = Py_None;
5405     return resultobj;
5406     fail:
5407     return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5412     PyObject *resultobj;
5413     otk::BGCCache *result;
5414     
5415     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5416     result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5417     
5418     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5419     return resultobj;
5420     fail:
5421     return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5426     PyObject *resultobj;
5427     int arg1 ;
5428     otk::ScreenInfo *result;
5429     
5430     if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5431     result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5432     
5433     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5434     return resultobj;
5435     fail:
5436     return NULL;
5437 }
5438
5439
5440 static PyObject *_wrap_OBDisplay_findScreen(PyObject *self, PyObject *args) {
5441     PyObject *resultobj;
5442     Window arg1 ;
5443     otk::ScreenInfo *result;
5444     PyObject * obj0  = 0 ;
5445     
5446     if(!PyArg_ParseTuple(args,(char *)"O:OBDisplay_findScreen",&obj0)) goto fail;
5447     arg1 = (Window) PyInt_AsLong(obj0);
5448     if (PyErr_Occurred()) SWIG_fail;
5449     result = (otk::ScreenInfo *)otk::OBDisplay::findScreen(arg1);
5450     
5451     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5452     return resultobj;
5453     fail:
5454     return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_OBDisplay_xkb(PyObject *self, PyObject *args) {
5459     PyObject *resultobj;
5460     bool result;
5461     
5462     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkb")) goto fail;
5463     result = (bool)otk::OBDisplay::xkb();
5464     
5465     resultobj = PyInt_FromLong((long)result);
5466     return resultobj;
5467     fail:
5468     return NULL;
5469 }
5470
5471
5472 static PyObject *_wrap_OBDisplay_xkbEventBase(PyObject *self, PyObject *args) {
5473     PyObject *resultobj;
5474     int result;
5475     
5476     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xkbEventBase")) goto fail;
5477     result = (int)otk::OBDisplay::xkbEventBase();
5478     
5479     resultobj = PyInt_FromLong((long)result);
5480     return resultobj;
5481     fail:
5482     return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5487     PyObject *resultobj;
5488     bool result;
5489     
5490     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5491     result = (bool)otk::OBDisplay::shape();
5492     
5493     resultobj = PyInt_FromLong((long)result);
5494     return resultobj;
5495     fail:
5496     return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5501     PyObject *resultobj;
5502     int result;
5503     
5504     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5505     result = (int)otk::OBDisplay::shapeEventBase();
5506     
5507     resultobj = PyInt_FromLong((long)result);
5508     return resultobj;
5509     fail:
5510     return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5515     PyObject *resultobj;
5516     bool result;
5517     
5518     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5519     result = (bool)otk::OBDisplay::xinerama();
5520     
5521     resultobj = PyInt_FromLong((long)result);
5522     return resultobj;
5523     fail:
5524     return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) {
5529     PyObject *resultobj;
5530     unsigned int result;
5531     
5532     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail;
5533     result = (unsigned int)otk::OBDisplay::numLockMask();
5534     
5535     resultobj = PyInt_FromLong((long)result);
5536     return resultobj;
5537     fail:
5538     return NULL;
5539 }
5540
5541
5542 static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) {
5543     PyObject *resultobj;
5544     unsigned int result;
5545     
5546     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail;
5547     result = (unsigned int)otk::OBDisplay::scrollLockMask();
5548     
5549     resultobj = PyInt_FromLong((long)result);
5550     return resultobj;
5551     fail:
5552     return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5557     PyObject *resultobj;
5558     
5559     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5560     otk::OBDisplay::grab();
5561     
5562     Py_INCREF(Py_None); resultobj = Py_None;
5563     return resultobj;
5564     fail:
5565     return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5570     PyObject *resultobj;
5571     
5572     if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5573     otk::OBDisplay::ungrab();
5574     
5575     Py_INCREF(Py_None); resultobj = Py_None;
5576     return resultobj;
5577     fail:
5578     return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5583     PyObject *resultobj;
5584     unsigned int arg1 ;
5585     unsigned int arg2 ;
5586     Window arg3 ;
5587     bool arg4 ;
5588     unsigned int arg5 ;
5589     int arg6 ;
5590     int arg7 ;
5591     Window arg8 ;
5592     Cursor arg9 ;
5593     bool arg10 ;
5594     PyObject * obj0  = 0 ;
5595     PyObject * obj1  = 0 ;
5596     PyObject * obj2  = 0 ;
5597     PyObject * obj3  = 0 ;
5598     PyObject * obj4  = 0 ;
5599     PyObject * obj7  = 0 ;
5600     PyObject * obj8  = 0 ;
5601     PyObject * obj9  = 0 ;
5602     
5603     if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5604     arg1 = (unsigned int) PyInt_AsLong(obj0);
5605     if (PyErr_Occurred()) SWIG_fail;
5606     arg2 = (unsigned int) PyInt_AsLong(obj1);
5607     if (PyErr_Occurred()) SWIG_fail;
5608     arg3 = (Window) PyInt_AsLong(obj2);
5609     if (PyErr_Occurred()) SWIG_fail;
5610     arg4 = (bool) PyInt_AsLong(obj3);
5611     if (PyErr_Occurred()) SWIG_fail;
5612     arg5 = (unsigned int) PyInt_AsLong(obj4);
5613     if (PyErr_Occurred()) SWIG_fail;
5614     arg8 = (Window) PyInt_AsLong(obj7);
5615     if (PyErr_Occurred()) SWIG_fail;
5616     arg9 = (Cursor) PyInt_AsLong(obj8);
5617     if (PyErr_Occurred()) SWIG_fail;
5618     arg10 = (bool) PyInt_AsLong(obj9);
5619     if (PyErr_Occurred()) SWIG_fail;
5620     otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5621     
5622     Py_INCREF(Py_None); resultobj = Py_None;
5623     return resultobj;
5624     fail:
5625     return NULL;
5626 }
5627
5628
5629 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5630     PyObject *resultobj;
5631     unsigned int arg1 ;
5632     unsigned int arg2 ;
5633     Window arg3 ;
5634     PyObject * obj0  = 0 ;
5635     PyObject * obj1  = 0 ;
5636     PyObject * obj2  = 0 ;
5637     
5638     if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5639     arg1 = (unsigned int) PyInt_AsLong(obj0);
5640     if (PyErr_Occurred()) SWIG_fail;
5641     arg2 = (unsigned int) PyInt_AsLong(obj1);
5642     if (PyErr_Occurred()) SWIG_fail;
5643     arg3 = (Window) PyInt_AsLong(obj2);
5644     if (PyErr_Occurred()) SWIG_fail;
5645     otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5646     
5647     Py_INCREF(Py_None); resultobj = Py_None;
5648     return resultobj;
5649     fail:
5650     return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5655     PyObject *resultobj;
5656     unsigned int arg1 ;
5657     unsigned int arg2 ;
5658     Window arg3 ;
5659     bool arg4 ;
5660     int arg5 ;
5661     int arg6 ;
5662     bool arg7 ;
5663     PyObject * obj0  = 0 ;
5664     PyObject * obj1  = 0 ;
5665     PyObject * obj2  = 0 ;
5666     PyObject * obj3  = 0 ;
5667     PyObject * obj6  = 0 ;
5668     
5669     if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5670     arg1 = (unsigned int) PyInt_AsLong(obj0);
5671     if (PyErr_Occurred()) SWIG_fail;
5672     arg2 = (unsigned int) PyInt_AsLong(obj1);
5673     if (PyErr_Occurred()) SWIG_fail;
5674     arg3 = (Window) PyInt_AsLong(obj2);
5675     if (PyErr_Occurred()) SWIG_fail;
5676     arg4 = (bool) PyInt_AsLong(obj3);
5677     if (PyErr_Occurred()) SWIG_fail;
5678     arg7 = (bool) PyInt_AsLong(obj6);
5679     if (PyErr_Occurred()) SWIG_fail;
5680     otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5681     
5682     Py_INCREF(Py_None); resultobj = Py_None;
5683     return resultobj;
5684     fail:
5685     return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5690     PyObject *resultobj;
5691     unsigned int arg1 ;
5692     unsigned int arg2 ;
5693     Window arg3 ;
5694     PyObject * obj0  = 0 ;
5695     PyObject * obj1  = 0 ;
5696     PyObject * obj2  = 0 ;
5697     
5698     if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5699     arg1 = (unsigned int) PyInt_AsLong(obj0);
5700     if (PyErr_Occurred()) SWIG_fail;
5701     arg2 = (unsigned int) PyInt_AsLong(obj1);
5702     if (PyErr_Occurred()) SWIG_fail;
5703     arg3 = (Window) PyInt_AsLong(obj2);
5704     if (PyErr_Occurred()) SWIG_fail;
5705     otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5706     
5707     Py_INCREF(Py_None); resultobj = Py_None;
5708     return resultobj;
5709     fail:
5710     return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5715     PyObject *resultobj;
5716     otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5717     PyObject * obj0  = 0 ;
5718     
5719     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5720     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5721     delete arg1;
5722     
5723     Py_INCREF(Py_None); resultobj = Py_None;
5724     return resultobj;
5725     fail:
5726     return NULL;
5727 }
5728
5729
5730 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5731     PyObject *obj;
5732     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5733     SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5734     Py_INCREF(obj);
5735     return Py_BuildValue((char *)"");
5736 }
5737 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5738     PyObject *resultobj;
5739     std::string result;
5740     
5741     if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5742     result = otk::BFont::fallbackFont();
5743     
5744     {
5745         resultobj = PyString_FromString((&result)->c_str());
5746     }
5747     return resultobj;
5748     fail:
5749     return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5754     PyObject *resultobj;
5755     std::string *arg1 = 0 ;
5756     std::string temp1 ;
5757     PyObject * obj0  = 0 ;
5758     
5759     if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5760     {
5761         if (PyString_Check(obj0)) {
5762             temp1 = std::string(PyString_AsString(obj0));
5763             arg1 = &temp1;
5764         }else {
5765             SWIG_exception(SWIG_TypeError, "string expected");
5766         }
5767     }
5768     otk::BFont::setFallbackFont((std::string const &)*arg1);
5769     
5770     Py_INCREF(Py_None); resultobj = Py_None;
5771     return resultobj;
5772     fail:
5773     return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5778     PyObject *resultobj;
5779     int arg1 ;
5780     std::string *arg2 = 0 ;
5781     bool arg3 ;
5782     unsigned char arg4 ;
5783     unsigned char arg5 ;
5784     otk::BFont *result;
5785     std::string temp2 ;
5786     PyObject * obj1  = 0 ;
5787     PyObject * obj2  = 0 ;
5788     PyObject * obj3  = 0 ;
5789     PyObject * obj4  = 0 ;
5790     
5791     if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5792     {
5793         if (PyString_Check(obj1)) {
5794             temp2 = std::string(PyString_AsString(obj1));
5795             arg2 = &temp2;
5796         }else {
5797             SWIG_exception(SWIG_TypeError, "string expected");
5798         }
5799     }
5800     arg3 = (bool) PyInt_AsLong(obj2);
5801     if (PyErr_Occurred()) SWIG_fail;
5802     arg4 = (unsigned char) PyInt_AsLong(obj3);
5803     if (PyErr_Occurred()) SWIG_fail;
5804     arg5 = (unsigned char) PyInt_AsLong(obj4);
5805     if (PyErr_Occurred()) SWIG_fail;
5806     result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5807     
5808     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5809     return resultobj;
5810     fail:
5811     return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5816     PyObject *resultobj;
5817     otk::BFont *arg1 = (otk::BFont *) 0 ;
5818     PyObject * obj0  = 0 ;
5819     
5820     if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5821     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822     delete arg1;
5823     
5824     Py_INCREF(Py_None); resultobj = Py_None;
5825     return resultobj;
5826     fail:
5827     return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5832     PyObject *resultobj;
5833     otk::BFont *arg1 = (otk::BFont *) 0 ;
5834     std::string *result;
5835     PyObject * obj0  = 0 ;
5836     
5837     if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5838     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839     {
5840         std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5841         result = (std::string *) &_result_ref;
5842     }
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_height(PyObject *self, PyObject *args) {
5854     PyObject *resultobj;
5855     otk::BFont *arg1 = (otk::BFont *) 0 ;
5856     unsigned int result;
5857     PyObject * obj0  = 0 ;
5858     
5859     if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5860     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5861     result = (unsigned int)((otk::BFont const *)arg1)->height();
5862     
5863     resultobj = PyInt_FromLong((long)result);
5864     return resultobj;
5865     fail:
5866     return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5871     PyObject *resultobj;
5872     otk::BFont *arg1 = (otk::BFont *) 0 ;
5873     unsigned int result;
5874     PyObject * obj0  = 0 ;
5875     
5876     if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5877     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878     result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5879     
5880     resultobj = PyInt_FromLong((long)result);
5881     return resultobj;
5882     fail:
5883     return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5888     PyObject *resultobj;
5889     otk::BFont *arg1 = (otk::BFont *) 0 ;
5890     std::string *arg2 = 0 ;
5891     bool arg3 = (bool) false ;
5892     unsigned int result;
5893     std::string temp2 ;
5894     PyObject * obj0  = 0 ;
5895     PyObject * obj1  = 0 ;
5896     PyObject * obj2  = 0 ;
5897     
5898     if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5899     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900     {
5901         if (PyString_Check(obj1)) {
5902             temp2 = std::string(PyString_AsString(obj1));
5903             arg2 = &temp2;
5904         }else {
5905             SWIG_exception(SWIG_TypeError, "string expected");
5906         }
5907     }
5908     if (obj2) {
5909         arg3 = (bool) PyInt_AsLong(obj2);
5910         if (PyErr_Occurred()) SWIG_fail;
5911     }
5912     result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5913     
5914     resultobj = PyInt_FromLong((long)result);
5915     return resultobj;
5916     fail:
5917     return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5922     PyObject *resultobj;
5923     otk::BFont *arg1 = (otk::BFont *) 0 ;
5924     XftDraw *arg2 = (XftDraw *) 0 ;
5925     int arg3 ;
5926     int arg4 ;
5927     otk::BColor *arg5 = 0 ;
5928     std::string *arg6 = 0 ;
5929     bool arg7 = (bool) false ;
5930     std::string temp6 ;
5931     PyObject * obj0  = 0 ;
5932     PyObject * obj1  = 0 ;
5933     PyObject * obj4  = 0 ;
5934     PyObject * obj5  = 0 ;
5935     PyObject * obj6  = 0 ;
5936     
5937     if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5938     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5941     if (arg5 == NULL) {
5942         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5943     }
5944     {
5945         if (PyString_Check(obj5)) {
5946             temp6 = std::string(PyString_AsString(obj5));
5947             arg6 = &temp6;
5948         }else {
5949             SWIG_exception(SWIG_TypeError, "string expected");
5950         }
5951     }
5952     if (obj6) {
5953         arg7 = (bool) PyInt_AsLong(obj6);
5954         if (PyErr_Occurred()) SWIG_fail;
5955     }
5956     ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5957     
5958     Py_INCREF(Py_None); resultobj = Py_None;
5959     return resultobj;
5960     fail:
5961     return NULL;
5962 }
5963
5964
5965 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5966     PyObject *obj;
5967     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5968     SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5969     Py_INCREF(obj);
5970     return Py_BuildValue((char *)"");
5971 }
5972 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5973     PyObject *resultobj;
5974     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5975     otk::BColor *arg2 = 0 ;
5976     XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5977     int arg4 ;
5978     int arg5 ;
5979     int arg6 ;
5980     PyObject * obj0  = 0 ;
5981     PyObject * obj1  = 0 ;
5982     PyObject * obj2  = 0 ;
5983     
5984     if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5985     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5986     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5987     if (arg2 == NULL) {
5988         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
5989     }
5990     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5991     (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5992     
5993     Py_INCREF(Py_None); resultobj = Py_None;
5994     return resultobj;
5995     fail:
5996     return NULL;
5997 }
5998
5999
6000 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
6001     PyObject *resultobj;
6002     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6003     XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6004     PyObject * obj0  = 0 ;
6005     PyObject * obj1  = 0 ;
6006     
6007     if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
6008     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6009     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6010     (arg1)->set((XFontStruct const *)arg2);
6011     
6012     Py_INCREF(Py_None); resultobj = Py_None;
6013     return resultobj;
6014     fail:
6015     return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
6020     int argc;
6021     PyObject *argv[7];
6022     int ii;
6023     
6024     argc = PyObject_Length(args);
6025     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6026         argv[ii] = PyTuple_GetItem(args,ii);
6027     }
6028     if (argc == 2) {
6029         int _v;
6030         {
6031             void *ptr;
6032             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6033                 _v = 0;
6034                 PyErr_Clear();
6035             }else {
6036                 _v = 1;
6037             }
6038         }
6039         if (_v) {
6040             {
6041                 void *ptr;
6042                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6043                     _v = 0;
6044                     PyErr_Clear();
6045                 }else {
6046                     _v = 1;
6047                 }
6048             }
6049             if (_v) {
6050                 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6051             }
6052         }
6053     }
6054     if (argc == 6) {
6055         int _v;
6056         {
6057             void *ptr;
6058             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6059                 _v = 0;
6060                 PyErr_Clear();
6061             }else {
6062                 _v = 1;
6063             }
6064         }
6065         if (_v) {
6066             {
6067                 void *ptr;
6068                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6069                     _v = 0;
6070                     PyErr_Clear();
6071                 }else {
6072                     _v = 1;
6073                 }
6074             }
6075             if (_v) {
6076                 {
6077                     void *ptr;
6078                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6079                         _v = 0;
6080                         PyErr_Clear();
6081                     }else {
6082                         _v = 1;
6083                     }
6084                 }
6085                 if (_v) {
6086                     {
6087                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6088                     }
6089                     if (_v) {
6090                         {
6091                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6092                         }
6093                         if (_v) {
6094                             {
6095                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6096                             }
6097                             if (_v) {
6098                                 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6099                             }
6100                         }
6101                     }
6102                 }
6103             }
6104         }
6105     }
6106     
6107     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6108     return NULL;
6109 }
6110
6111
6112 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6113     PyObject *resultobj;
6114     otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6115     PyObject * obj0  = 0 ;
6116     
6117     if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6118     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119     delete arg1;
6120     
6121     Py_INCREF(Py_None); resultobj = Py_None;
6122     return resultobj;
6123     fail:
6124     return NULL;
6125 }
6126
6127
6128 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6129     PyObject *obj;
6130     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6131     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6132     Py_INCREF(obj);
6133     return Py_BuildValue((char *)"");
6134 }
6135 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6136     PyObject *resultobj;
6137     otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6138     GC *result;
6139     PyObject * obj0  = 0 ;
6140     
6141     if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6142     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143     {
6144         GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6145         result = (GC *) &_result_ref;
6146     }
6147     
6148     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6149     return resultobj;
6150     fail:
6151     return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6156     PyObject *resultobj;
6157     otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6158     PyObject * obj0  = 0 ;
6159     
6160     if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6161     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6162     delete arg1;
6163     
6164     Py_INCREF(Py_None); resultobj = Py_None;
6165     return resultobj;
6166     fail:
6167     return NULL;
6168 }
6169
6170
6171 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6172     PyObject *obj;
6173     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6174     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6175     Py_INCREF(obj);
6176     return Py_BuildValue((char *)"");
6177 }
6178 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6179     PyObject *resultobj;
6180     unsigned int arg1 ;
6181     otk::BGCCache *result;
6182     PyObject * obj0  = 0 ;
6183     
6184     if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6185     arg1 = (unsigned int) PyInt_AsLong(obj0);
6186     if (PyErr_Occurred()) SWIG_fail;
6187     result = (otk::BGCCache *)new otk::BGCCache(arg1);
6188     
6189     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6190     return resultobj;
6191     fail:
6192     return NULL;
6193 }
6194
6195
6196 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6197     PyObject *resultobj;
6198     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6199     PyObject * obj0  = 0 ;
6200     
6201     if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6202     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6203     delete arg1;
6204     
6205     Py_INCREF(Py_None); resultobj = Py_None;
6206     return resultobj;
6207     fail:
6208     return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6213     PyObject *resultobj;
6214     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6215     PyObject * obj0  = 0 ;
6216     
6217     if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6218     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219     (arg1)->purge();
6220     
6221     Py_INCREF(Py_None); resultobj = Py_None;
6222     return resultobj;
6223     fail:
6224     return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6229     PyObject *resultobj;
6230     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6231     otk::BColor *arg2 = 0 ;
6232     XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6233     int arg4 = (int) GXcopy ;
6234     int arg5 = (int) ClipByChildren ;
6235     int arg6 = (int) 0 ;
6236     otk::BGCCacheItem *result;
6237     PyObject * obj0  = 0 ;
6238     PyObject * obj1  = 0 ;
6239     PyObject * obj2  = 0 ;
6240     
6241     if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6242     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244     if (arg2 == NULL) {
6245         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6246     }
6247     if (obj2) {
6248         if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249     }
6250     result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6251     
6252     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6253     return resultobj;
6254     fail:
6255     return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6260     PyObject *resultobj;
6261     otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6262     otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6263     PyObject * obj0  = 0 ;
6264     PyObject * obj1  = 0 ;
6265     
6266     if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6267     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6268     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6269     (arg1)->release(arg2);
6270     
6271     Py_INCREF(Py_None); resultobj = Py_None;
6272     return resultobj;
6273     fail:
6274     return NULL;
6275 }
6276
6277
6278 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6279     PyObject *obj;
6280     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6281     SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6282     Py_INCREF(obj);
6283     return Py_BuildValue((char *)"");
6284 }
6285 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6286     PyObject *resultobj;
6287     otk::BColor *arg1 = 0 ;
6288     XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6289     int arg3 = (int) 0 ;
6290     int arg4 = (int) GXcopy ;
6291     int arg5 = (int) ClipByChildren ;
6292     otk::BPen *result;
6293     PyObject * obj0  = 0 ;
6294     PyObject * obj1  = 0 ;
6295     
6296     if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6297     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6298     if (arg1 == NULL) {
6299         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6300     }
6301     if (obj1) {
6302         if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303     }
6304     result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6305     
6306     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6307     return resultobj;
6308     fail:
6309     return NULL;
6310 }
6311
6312
6313 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6314     PyObject *resultobj;
6315     otk::BPen *arg1 = (otk::BPen *) 0 ;
6316     PyObject * obj0  = 0 ;
6317     
6318     if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6319     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6320     delete arg1;
6321     
6322     Py_INCREF(Py_None); resultobj = Py_None;
6323     return resultobj;
6324     fail:
6325     return NULL;
6326 }
6327
6328
6329 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6330     PyObject *resultobj;
6331     otk::BPen *arg1 = (otk::BPen *) 0 ;
6332     GC *result;
6333     PyObject * obj0  = 0 ;
6334     
6335     if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6336     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6337     {
6338         GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6339         result = (GC *) &_result_ref;
6340     }
6341     
6342     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6343     return resultobj;
6344     fail:
6345     return NULL;
6346 }
6347
6348
6349 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6350     PyObject *obj;
6351     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352     SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6353     Py_INCREF(obj);
6354     return Py_BuildValue((char *)"");
6355 }
6356 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6357     PyObject *resultobj;
6358     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6359     int arg2 ;
6360     int arg3 ;
6361     otk::BImage *result;
6362     PyObject * obj0  = 0 ;
6363     
6364     if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6365     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6366     result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6367     
6368     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6369     return resultobj;
6370     fail:
6371     return NULL;
6372 }
6373
6374
6375 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6376     PyObject *resultobj;
6377     otk::BImage *arg1 = (otk::BImage *) 0 ;
6378     PyObject * obj0  = 0 ;
6379     
6380     if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6381     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6382     delete arg1;
6383     
6384     Py_INCREF(Py_None); resultobj = Py_None;
6385     return resultobj;
6386     fail:
6387     return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6392     PyObject *resultobj;
6393     otk::BImage *arg1 = (otk::BImage *) 0 ;
6394     otk::BTexture *arg2 = 0 ;
6395     Pixmap result;
6396     PyObject * obj0  = 0 ;
6397     PyObject * obj1  = 0 ;
6398     
6399     if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6400     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6402     if (arg2 == NULL) {
6403         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6404     }
6405     result = (Pixmap)(arg1)->render((otk::BTexture const &)*arg2);
6406     
6407     resultobj = PyInt_FromLong((long)result);
6408     return resultobj;
6409     fail:
6410     return NULL;
6411 }
6412
6413
6414 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6415     PyObject *obj;
6416     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6417     SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6418     Py_INCREF(obj);
6419     return Py_BuildValue((char *)"");
6420 }
6421 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6422     PyObject *resultobj;
6423     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6424     otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6425     bool arg3 = (bool) False ;
6426     int arg4 = (int) 4 ;
6427     unsigned long arg5 = (unsigned long) 300000l ;
6428     unsigned long arg6 = (unsigned long) 200l ;
6429     otk::BImageControl *result;
6430     PyObject * obj0  = 0 ;
6431     PyObject * obj1  = 0 ;
6432     PyObject * obj2  = 0 ;
6433     PyObject * obj4  = 0 ;
6434     PyObject * obj5  = 0 ;
6435     
6436     if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6437     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6438     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439     if (obj2) {
6440         arg3 = (bool) PyInt_AsLong(obj2);
6441         if (PyErr_Occurred()) SWIG_fail;
6442     }
6443     if (obj4) {
6444         arg5 = (unsigned long) PyInt_AsLong(obj4);
6445         if (PyErr_Occurred()) SWIG_fail;
6446     }
6447     if (obj5) {
6448         arg6 = (unsigned long) PyInt_AsLong(obj5);
6449         if (PyErr_Occurred()) SWIG_fail;
6450     }
6451     result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6452     
6453     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6454     return resultobj;
6455     fail:
6456     return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6461     PyObject *resultobj;
6462     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6463     PyObject * obj0  = 0 ;
6464     
6465     if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6466     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6467     delete arg1;
6468     
6469     Py_INCREF(Py_None); resultobj = Py_None;
6470     return resultobj;
6471     fail:
6472     return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6477     PyObject *resultobj;
6478     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6479     bool result;
6480     PyObject * obj0  = 0 ;
6481     
6482     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6483     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484     result = (bool)(arg1)->doDither();
6485     
6486     resultobj = PyInt_FromLong((long)result);
6487     return resultobj;
6488     fail:
6489     return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6494     PyObject *resultobj;
6495     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6496     otk::ScreenInfo *result;
6497     PyObject * obj0  = 0 ;
6498     
6499     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6500     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6501     result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6502     
6503     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6504     return resultobj;
6505     fail:
6506     return NULL;
6507 }
6508
6509
6510 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6511     PyObject *resultobj;
6512     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6513     Window result;
6514     PyObject * obj0  = 0 ;
6515     
6516     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6517     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518     result = (Window)((otk::BImageControl const *)arg1)->getDrawable();
6519     
6520     resultobj = PyInt_FromLong((long)result);
6521     return resultobj;
6522     fail:
6523     return NULL;
6524 }
6525
6526
6527 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6528     PyObject *resultobj;
6529     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6530     Visual *result;
6531     PyObject * obj0  = 0 ;
6532     
6533     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6534     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6535     result = (Visual *)(arg1)->getVisual();
6536     
6537     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6538     return resultobj;
6539     fail:
6540     return NULL;
6541 }
6542
6543
6544 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6545     PyObject *resultobj;
6546     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6547     int result;
6548     PyObject * obj0  = 0 ;
6549     
6550     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6551     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6552     result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6553     
6554     resultobj = PyInt_FromLong((long)result);
6555     return resultobj;
6556     fail:
6557     return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6562     PyObject *resultobj;
6563     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6564     int result;
6565     PyObject * obj0  = 0 ;
6566     
6567     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6568     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6569     result = (int)((otk::BImageControl const *)arg1)->getDepth();
6570     
6571     resultobj = PyInt_FromLong((long)result);
6572     return resultobj;
6573     fail:
6574     return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6579     PyObject *resultobj;
6580     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6581     int result;
6582     PyObject * obj0  = 0 ;
6583     
6584     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6585     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586     result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6587     
6588     resultobj = PyInt_FromLong((long)result);
6589     return resultobj;
6590     fail:
6591     return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6596     PyObject *resultobj;
6597     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6598     unsigned int arg2 ;
6599     unsigned long result;
6600     PyObject * obj0  = 0 ;
6601     PyObject * obj1  = 0 ;
6602     
6603     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6604     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605     arg2 = (unsigned int) PyInt_AsLong(obj1);
6606     if (PyErr_Occurred()) SWIG_fail;
6607     result = (unsigned long)(arg1)->getSqrt(arg2);
6608     
6609     resultobj = PyInt_FromLong((long)result);
6610     return resultobj;
6611     fail:
6612     return NULL;
6613 }
6614
6615
6616 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6617     PyObject *resultobj;
6618     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6619     unsigned int arg2 ;
6620     unsigned int arg3 ;
6621     otk::BTexture *arg4 = 0 ;
6622     Pixmap result;
6623     PyObject * obj0  = 0 ;
6624     PyObject * obj1  = 0 ;
6625     PyObject * obj2  = 0 ;
6626     PyObject * obj3  = 0 ;
6627     
6628     if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6629     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6630     arg2 = (unsigned int) PyInt_AsLong(obj1);
6631     if (PyErr_Occurred()) SWIG_fail;
6632     arg3 = (unsigned int) PyInt_AsLong(obj2);
6633     if (PyErr_Occurred()) SWIG_fail;
6634     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635     if (arg4 == NULL) {
6636         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
6637     }
6638     result = (Pixmap)(arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6639     
6640     resultobj = PyInt_FromLong((long)result);
6641     return resultobj;
6642     fail:
6643     return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6648     PyObject *resultobj;
6649     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6650     PyObject * obj0  = 0 ;
6651     
6652     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6653     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6654     (arg1)->installRootColormap();
6655     
6656     Py_INCREF(Py_None); resultobj = Py_None;
6657     return resultobj;
6658     fail:
6659     return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6664     PyObject *resultobj;
6665     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6666     Pixmap arg2 ;
6667     PyObject * obj0  = 0 ;
6668     PyObject * obj1  = 0 ;
6669     
6670     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6671     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6672     arg2 = (Pixmap) PyInt_AsLong(obj1);
6673     if (PyErr_Occurred()) SWIG_fail;
6674     (arg1)->removeImage(arg2);
6675     
6676     Py_INCREF(Py_None); resultobj = Py_None;
6677     return resultobj;
6678     fail:
6679     return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6684     PyObject *resultobj;
6685     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6686     unsigned char **arg2 = (unsigned char **) 0 ;
6687     unsigned char **arg3 = (unsigned char **) 0 ;
6688     unsigned char **arg4 = (unsigned char **) 0 ;
6689     int *arg5 = (int *) 0 ;
6690     int *arg6 = (int *) 0 ;
6691     int *arg7 = (int *) 0 ;
6692     int *arg8 = (int *) 0 ;
6693     int *arg9 = (int *) 0 ;
6694     int *arg10 = (int *) 0 ;
6695     PyObject * obj0  = 0 ;
6696     PyObject * obj1  = 0 ;
6697     PyObject * obj2  = 0 ;
6698     PyObject * obj3  = 0 ;
6699     PyObject * obj4  = 0 ;
6700     PyObject * obj5  = 0 ;
6701     PyObject * obj6  = 0 ;
6702     PyObject * obj7  = 0 ;
6703     PyObject * obj8  = 0 ;
6704     PyObject * obj9  = 0 ;
6705     
6706     if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6707     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6712     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6713     if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714     if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6715     if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716     if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6717     (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6718     
6719     Py_INCREF(Py_None); resultobj = Py_None;
6720     return resultobj;
6721     fail:
6722     return NULL;
6723 }
6724
6725
6726 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6727     PyObject *resultobj;
6728     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6729     XColor **arg2 = (XColor **) 0 ;
6730     int *arg3 = (int *) 0 ;
6731     PyObject * obj0  = 0 ;
6732     PyObject * obj1  = 0 ;
6733     PyObject * obj2  = 0 ;
6734     
6735     if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6736     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6737     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6739     (arg1)->getXColorTable(arg2,arg3);
6740     
6741     Py_INCREF(Py_None); resultobj = Py_None;
6742     return resultobj;
6743     fail:
6744     return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6749     PyObject *resultobj;
6750     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6751     unsigned int arg2 ;
6752     unsigned int arg3 ;
6753     unsigned int **arg4 = (unsigned int **) 0 ;
6754     unsigned int **arg5 = (unsigned int **) 0 ;
6755     PyObject * obj0  = 0 ;
6756     PyObject * obj1  = 0 ;
6757     PyObject * obj2  = 0 ;
6758     PyObject * obj3  = 0 ;
6759     PyObject * obj4  = 0 ;
6760     
6761     if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6762     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6763     arg2 = (unsigned int) PyInt_AsLong(obj1);
6764     if (PyErr_Occurred()) SWIG_fail;
6765     arg3 = (unsigned int) PyInt_AsLong(obj2);
6766     if (PyErr_Occurred()) SWIG_fail;
6767     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769     (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6770     
6771     Py_INCREF(Py_None); resultobj = Py_None;
6772     return resultobj;
6773     fail:
6774     return NULL;
6775 }
6776
6777
6778 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6779     PyObject *resultobj;
6780     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6781     bool arg2 ;
6782     PyObject * obj0  = 0 ;
6783     PyObject * obj1  = 0 ;
6784     
6785     if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6786     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6787     arg2 = (bool) PyInt_AsLong(obj1);
6788     if (PyErr_Occurred()) SWIG_fail;
6789     (arg1)->setDither(arg2);
6790     
6791     Py_INCREF(Py_None); resultobj = Py_None;
6792     return resultobj;
6793     fail:
6794     return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6799     PyObject *resultobj;
6800     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6801     int arg2 ;
6802     PyObject * obj0  = 0 ;
6803     
6804     if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6805     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6806     (arg1)->setColorsPerChannel(arg2);
6807     
6808     Py_INCREF(Py_None); resultobj = Py_None;
6809     return resultobj;
6810     fail:
6811     return NULL;
6812 }
6813
6814
6815 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6816     PyObject *resultobj;
6817     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6818     PyObject * obj0  = 0 ;
6819     
6820     if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6821     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822     otk::BImageControl::timeout(arg1);
6823     
6824     Py_INCREF(Py_None); resultobj = Py_None;
6825     return resultobj;
6826     fail:
6827     return NULL;
6828 }
6829
6830
6831 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6832     PyObject *obj;
6833     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6834     SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6835     Py_INCREF(obj);
6836     return Py_BuildValue((char *)"");
6837 }
6838 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6839     PyObject *resultobj;
6840     otk::Point *result;
6841     
6842     if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6843     result = (otk::Point *)new otk::Point();
6844     
6845     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6846     return resultobj;
6847     fail:
6848     return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6853     PyObject *resultobj;
6854     int arg1 ;
6855     int arg2 ;
6856     otk::Point *result;
6857     
6858     if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6859     result = (otk::Point *)new otk::Point(arg1,arg2);
6860     
6861     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6862     return resultobj;
6863     fail:
6864     return NULL;
6865 }
6866
6867
6868 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6869     int argc;
6870     PyObject *argv[3];
6871     int ii;
6872     
6873     argc = PyObject_Length(args);
6874     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6875         argv[ii] = PyTuple_GetItem(args,ii);
6876     }
6877     if (argc == 0) {
6878         return _wrap_new_Point__SWIG_0(self,args);
6879     }
6880     if (argc == 2) {
6881         int _v;
6882         {
6883             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6884         }
6885         if (_v) {
6886             {
6887                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6888             }
6889             if (_v) {
6890                 return _wrap_new_Point__SWIG_1(self,args);
6891             }
6892         }
6893     }
6894     
6895     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6896     return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6901     PyObject *resultobj;
6902     otk::Point *arg1 = (otk::Point *) 0 ;
6903     int arg2 ;
6904     PyObject * obj0  = 0 ;
6905     
6906     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6907     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6908     (arg1)->setX(arg2);
6909     
6910     Py_INCREF(Py_None); resultobj = Py_None;
6911     return resultobj;
6912     fail:
6913     return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6918     PyObject *resultobj;
6919     otk::Point *arg1 = (otk::Point *) 0 ;
6920     int result;
6921     PyObject * obj0  = 0 ;
6922     
6923     if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925     result = (int)((otk::Point const *)arg1)->x();
6926     
6927     resultobj = PyInt_FromLong((long)result);
6928     return resultobj;
6929     fail:
6930     return NULL;
6931 }
6932
6933
6934 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6935     PyObject *resultobj;
6936     otk::Point *arg1 = (otk::Point *) 0 ;
6937     int arg2 ;
6938     PyObject * obj0  = 0 ;
6939     
6940     if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6941     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942     (arg1)->setY(arg2);
6943     
6944     Py_INCREF(Py_None); resultobj = Py_None;
6945     return resultobj;
6946     fail:
6947     return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6952     PyObject *resultobj;
6953     otk::Point *arg1 = (otk::Point *) 0 ;
6954     int result;
6955     PyObject * obj0  = 0 ;
6956     
6957     if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6958     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6959     result = (int)((otk::Point const *)arg1)->y();
6960     
6961     resultobj = PyInt_FromLong((long)result);
6962     return resultobj;
6963     fail:
6964     return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6969     PyObject *resultobj;
6970     otk::Point *arg1 = (otk::Point *) 0 ;
6971     int arg2 ;
6972     int arg3 ;
6973     PyObject * obj0  = 0 ;
6974     
6975     if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6976     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6977     (arg1)->setPoint(arg2,arg3);
6978     
6979     Py_INCREF(Py_None); resultobj = Py_None;
6980     return resultobj;
6981     fail:
6982     return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6987     PyObject *resultobj;
6988     otk::Point *arg1 = (otk::Point *) 0 ;
6989     PyObject * obj0  = 0 ;
6990     
6991     if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6992     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993     delete arg1;
6994     
6995     Py_INCREF(Py_None); resultobj = Py_None;
6996     return resultobj;
6997     fail:
6998     return NULL;
6999 }
7000
7001
7002 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
7003     PyObject *obj;
7004     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7005     SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
7006     Py_INCREF(obj);
7007     return Py_BuildValue((char *)"");
7008 }
7009 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7010     PyObject *resultobj;
7011     otk::OBProperty *result;
7012     
7013     if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7014     result = (otk::OBProperty *)new otk::OBProperty();
7015     
7016     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7017     return resultobj;
7018     fail:
7019     return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7024     PyObject *resultobj;
7025     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7026     PyObject * obj0  = 0 ;
7027     
7028     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7029     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7030     delete arg1;
7031     
7032     Py_INCREF(Py_None); resultobj = Py_None;
7033     return resultobj;
7034     fail:
7035     return NULL;
7036 }
7037
7038
7039 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7040     PyObject *resultobj;
7041     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7042     Window arg2 ;
7043     int arg3 ;
7044     int arg4 ;
7045     unsigned long arg5 ;
7046     PyObject * obj0  = 0 ;
7047     PyObject * obj1  = 0 ;
7048     PyObject * obj4  = 0 ;
7049     
7050     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7051     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052     arg2 = (Window) PyInt_AsLong(obj1);
7053     if (PyErr_Occurred()) SWIG_fail;
7054     arg5 = (unsigned long) PyInt_AsLong(obj4);
7055     if (PyErr_Occurred()) SWIG_fail;
7056     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7057     
7058     Py_INCREF(Py_None); resultobj = Py_None;
7059     return resultobj;
7060     fail:
7061     return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7066     PyObject *resultobj;
7067     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7068     Window arg2 ;
7069     int arg3 ;
7070     int arg4 ;
7071     unsigned long *arg5 ;
7072     int arg6 ;
7073     PyObject * obj0  = 0 ;
7074     PyObject * obj1  = 0 ;
7075     PyObject * obj4  = 0 ;
7076     
7077     if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7078     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079     arg2 = (Window) PyInt_AsLong(obj1);
7080     if (PyErr_Occurred()) SWIG_fail;
7081     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7082     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7083     
7084     Py_INCREF(Py_None); resultobj = Py_None;
7085     return resultobj;
7086     fail:
7087     return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7092     PyObject *resultobj;
7093     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7094     Window arg2 ;
7095     int arg3 ;
7096     int arg4 ;
7097     std::string *arg5 = 0 ;
7098     std::string temp5 ;
7099     PyObject * obj0  = 0 ;
7100     PyObject * obj1  = 0 ;
7101     PyObject * obj4  = 0 ;
7102     
7103     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7104     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105     arg2 = (Window) PyInt_AsLong(obj1);
7106     if (PyErr_Occurred()) SWIG_fail;
7107     {
7108         if (PyString_Check(obj4)) {
7109             temp5 = std::string(PyString_AsString(obj4));
7110             arg5 = &temp5;
7111         }else {
7112             SWIG_exception(SWIG_TypeError, "string expected");
7113         }
7114     }
7115     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7116     
7117     Py_INCREF(Py_None); resultobj = Py_None;
7118     return resultobj;
7119     fail:
7120     return NULL;
7121 }
7122
7123
7124 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7125     PyObject *resultobj;
7126     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7127     Window arg2 ;
7128     int arg3 ;
7129     int arg4 ;
7130     otk::OBProperty::StringVect *arg5 = 0 ;
7131     PyObject * obj0  = 0 ;
7132     PyObject * obj1  = 0 ;
7133     PyObject * obj4  = 0 ;
7134     
7135     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7136     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7137     arg2 = (Window) PyInt_AsLong(obj1);
7138     if (PyErr_Occurred()) SWIG_fail;
7139     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140     if (arg5 == NULL) {
7141         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7142     }
7143     ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7144     
7145     Py_INCREF(Py_None); resultobj = Py_None;
7146     return resultobj;
7147     fail:
7148     return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7153     int argc;
7154     PyObject *argv[7];
7155     int ii;
7156     
7157     argc = PyObject_Length(args);
7158     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7159         argv[ii] = PyTuple_GetItem(args,ii);
7160     }
7161     if (argc == 5) {
7162         int _v;
7163         {
7164             void *ptr;
7165             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7166                 _v = 0;
7167                 PyErr_Clear();
7168             }else {
7169                 _v = 1;
7170             }
7171         }
7172         if (_v) {
7173             {
7174                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7175             }
7176             if (_v) {
7177                 {
7178                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7179                 }
7180                 if (_v) {
7181                     {
7182                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7183                     }
7184                     if (_v) {
7185                         {
7186                             void *ptr;
7187                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7188                                 _v = 0;
7189                                 PyErr_Clear();
7190                             }else {
7191                                 _v = 1;
7192                             }
7193                         }
7194                         if (_v) {
7195                             return _wrap_OBProperty_set__SWIG_3(self,args);
7196                         }
7197                     }
7198                 }
7199             }
7200         }
7201     }
7202     if (argc == 5) {
7203         int _v;
7204         {
7205             void *ptr;
7206             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7207                 _v = 0;
7208                 PyErr_Clear();
7209             }else {
7210                 _v = 1;
7211             }
7212         }
7213         if (_v) {
7214             {
7215                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7216             }
7217             if (_v) {
7218                 {
7219                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7220                 }
7221                 if (_v) {
7222                     {
7223                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7224                     }
7225                     if (_v) {
7226                         {
7227                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7228                         }
7229                         if (_v) {
7230                             return _wrap_OBProperty_set__SWIG_0(self,args);
7231                         }
7232                     }
7233                 }
7234             }
7235         }
7236     }
7237     if (argc == 5) {
7238         int _v;
7239         {
7240             void *ptr;
7241             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7242                 _v = 0;
7243                 PyErr_Clear();
7244             }else {
7245                 _v = 1;
7246             }
7247         }
7248         if (_v) {
7249             {
7250                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7251             }
7252             if (_v) {
7253                 {
7254                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7255                 }
7256                 if (_v) {
7257                     {
7258                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7259                     }
7260                     if (_v) {
7261                         {
7262                             _v = PyString_Check(argv[4]) ? 1 : 0;
7263                         }
7264                         if (_v) {
7265                             return _wrap_OBProperty_set__SWIG_2(self,args);
7266                         }
7267                     }
7268                 }
7269             }
7270         }
7271     }
7272     if (argc == 6) {
7273         int _v;
7274         {
7275             void *ptr;
7276             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7277                 _v = 0;
7278                 PyErr_Clear();
7279             }else {
7280                 _v = 1;
7281             }
7282         }
7283         if (_v) {
7284             {
7285                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7286             }
7287             if (_v) {
7288                 {
7289                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7290                 }
7291                 if (_v) {
7292                     {
7293                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7294                     }
7295                     if (_v) {
7296                         {
7297                             void *ptr;
7298                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7299                                 _v = 0;
7300                                 PyErr_Clear();
7301                             }else {
7302                                 _v = 1;
7303                             }
7304                         }
7305                         if (_v) {
7306                             {
7307                                 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7308                             }
7309                             if (_v) {
7310                                 return _wrap_OBProperty_set__SWIG_1(self,args);
7311                             }
7312                         }
7313                     }
7314                 }
7315             }
7316         }
7317     }
7318     
7319     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7320     return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7325     PyObject *resultobj;
7326     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7327     Window arg2 ;
7328     int arg3 ;
7329     int arg4 ;
7330     unsigned long *arg5 = (unsigned long *) 0 ;
7331     unsigned long **arg6 = (unsigned long **) 0 ;
7332     bool result;
7333     PyObject * obj0  = 0 ;
7334     PyObject * obj1  = 0 ;
7335     PyObject * obj4  = 0 ;
7336     PyObject * obj5  = 0 ;
7337     
7338     if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7339     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7340     arg2 = (Window) PyInt_AsLong(obj1);
7341     if (PyErr_Occurred()) SWIG_fail;
7342     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7345     
7346     resultobj = PyInt_FromLong((long)result);
7347     return resultobj;
7348     fail:
7349     return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7354     PyObject *resultobj;
7355     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7356     Window arg2 ;
7357     int arg3 ;
7358     int arg4 ;
7359     unsigned long *arg5 = (unsigned long *) 0 ;
7360     bool result;
7361     PyObject * obj0  = 0 ;
7362     PyObject * obj1  = 0 ;
7363     PyObject * obj4  = 0 ;
7364     
7365     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7366     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7367     arg2 = (Window) PyInt_AsLong(obj1);
7368     if (PyErr_Occurred()) SWIG_fail;
7369     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7370     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7371     
7372     resultobj = PyInt_FromLong((long)result);
7373     return resultobj;
7374     fail:
7375     return NULL;
7376 }
7377
7378
7379 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7380     PyObject *resultobj;
7381     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7382     Window arg2 ;
7383     int arg3 ;
7384     int arg4 ;
7385     std::string *arg5 = (std::string *) 0 ;
7386     bool result;
7387     PyObject * obj0  = 0 ;
7388     PyObject * obj1  = 0 ;
7389     PyObject * obj4  = 0 ;
7390     
7391     if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7392     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7393     arg2 = (Window) PyInt_AsLong(obj1);
7394     if (PyErr_Occurred()) SWIG_fail;
7395     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7396     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7397     
7398     resultobj = PyInt_FromLong((long)result);
7399     return resultobj;
7400     fail:
7401     return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7406     PyObject *resultobj;
7407     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7408     Window arg2 ;
7409     int arg3 ;
7410     int arg4 ;
7411     unsigned long *arg5 = (unsigned long *) 0 ;
7412     otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7413     bool result;
7414     PyObject * obj0  = 0 ;
7415     PyObject * obj1  = 0 ;
7416     PyObject * obj4  = 0 ;
7417     PyObject * obj5  = 0 ;
7418     
7419     if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7420     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421     arg2 = (Window) PyInt_AsLong(obj1);
7422     if (PyErr_Occurred()) SWIG_fail;
7423     if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7424     if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7425     result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7426     
7427     resultobj = PyInt_FromLong((long)result);
7428     return resultobj;
7429     fail:
7430     return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7435     int argc;
7436     PyObject *argv[7];
7437     int ii;
7438     
7439     argc = PyObject_Length(args);
7440     for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7441         argv[ii] = PyTuple_GetItem(args,ii);
7442     }
7443     if (argc == 5) {
7444         int _v;
7445         {
7446             void *ptr;
7447             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7448                 _v = 0;
7449                 PyErr_Clear();
7450             }else {
7451                 _v = 1;
7452             }
7453         }
7454         if (_v) {
7455             {
7456                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7457             }
7458             if (_v) {
7459                 {
7460                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7461                 }
7462                 if (_v) {
7463                     {
7464                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7465                     }
7466                     if (_v) {
7467                         {
7468                             void *ptr;
7469                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7470                                 _v = 0;
7471                                 PyErr_Clear();
7472                             }else {
7473                                 _v = 1;
7474                             }
7475                         }
7476                         if (_v) {
7477                             return _wrap_OBProperty_get__SWIG_1(self,args);
7478                         }
7479                     }
7480                 }
7481             }
7482         }
7483     }
7484     if (argc == 5) {
7485         int _v;
7486         {
7487             void *ptr;
7488             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7489                 _v = 0;
7490                 PyErr_Clear();
7491             }else {
7492                 _v = 1;
7493             }
7494         }
7495         if (_v) {
7496             {
7497                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7498             }
7499             if (_v) {
7500                 {
7501                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7502                 }
7503                 if (_v) {
7504                     {
7505                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7506                     }
7507                     if (_v) {
7508                         {
7509                             void *ptr;
7510                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7511                                 _v = 0;
7512                                 PyErr_Clear();
7513                             }else {
7514                                 _v = 1;
7515                             }
7516                         }
7517                         if (_v) {
7518                             return _wrap_OBProperty_get__SWIG_2(self,args);
7519                         }
7520                     }
7521                 }
7522             }
7523         }
7524     }
7525     if (argc == 6) {
7526         int _v;
7527         {
7528             void *ptr;
7529             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7530                 _v = 0;
7531                 PyErr_Clear();
7532             }else {
7533                 _v = 1;
7534             }
7535         }
7536         if (_v) {
7537             {
7538                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7539             }
7540             if (_v) {
7541                 {
7542                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7543                 }
7544                 if (_v) {
7545                     {
7546                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7547                     }
7548                     if (_v) {
7549                         {
7550                             void *ptr;
7551                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7552                                 _v = 0;
7553                                 PyErr_Clear();
7554                             }else {
7555                                 _v = 1;
7556                             }
7557                         }
7558                         if (_v) {
7559                             {
7560                                 void *ptr;
7561                                 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7562                                     _v = 0;
7563                                     PyErr_Clear();
7564                                 }else {
7565                                     _v = 1;
7566                                 }
7567                             }
7568                             if (_v) {
7569                                 return _wrap_OBProperty_get__SWIG_0(self,args);
7570                             }
7571                         }
7572                     }
7573                 }
7574             }
7575         }
7576     }
7577     if (argc == 6) {
7578         int _v;
7579         {
7580             void *ptr;
7581             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7582                 _v = 0;
7583                 PyErr_Clear();
7584             }else {
7585                 _v = 1;
7586             }
7587         }
7588         if (_v) {
7589             {
7590                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7591             }
7592             if (_v) {
7593                 {
7594                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7595                 }
7596                 if (_v) {
7597                     {
7598                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7599                     }
7600                     if (_v) {
7601                         {
7602                             void *ptr;
7603                             if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7604                                 _v = 0;
7605                                 PyErr_Clear();
7606                             }else {
7607                                 _v = 1;
7608                             }
7609                         }
7610                         if (_v) {
7611                             {
7612                                 void *ptr;
7613                                 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7614                                     _v = 0;
7615                                     PyErr_Clear();
7616                                 }else {
7617                                     _v = 1;
7618                                 }
7619                             }
7620                             if (_v) {
7621                                 return _wrap_OBProperty_get__SWIG_3(self,args);
7622                             }
7623                         }
7624                     }
7625                 }
7626             }
7627         }
7628     }
7629     
7630     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7631     return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7636     PyObject *resultobj;
7637     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7638     Window arg2 ;
7639     int arg3 ;
7640     PyObject * obj0  = 0 ;
7641     PyObject * obj1  = 0 ;
7642     
7643     if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7644     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645     arg2 = (Window) PyInt_AsLong(obj1);
7646     if (PyErr_Occurred()) SWIG_fail;
7647     ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7648     
7649     Py_INCREF(Py_None); resultobj = Py_None;
7650     return resultobj;
7651     fail:
7652     return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7657     PyObject *resultobj;
7658     otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7659     int arg2 ;
7660     Atom result;
7661     PyObject * obj0  = 0 ;
7662     
7663     if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7664     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7665     result = (Atom)((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7666     
7667     resultobj = PyInt_FromLong((long)result);
7668     return resultobj;
7669     fail:
7670     return NULL;
7671 }
7672
7673
7674 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7675     PyObject *obj;
7676     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7677     SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7678     Py_INCREF(obj);
7679     return Py_BuildValue((char *)"");
7680 }
7681 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7682     PyObject *resultobj;
7683     otk::Rect *result;
7684     
7685     if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7686     result = (otk::Rect *)new otk::Rect();
7687     
7688     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7689     return resultobj;
7690     fail:
7691     return NULL;
7692 }
7693
7694
7695 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7696     PyObject *resultobj;
7697     int arg1 ;
7698     int arg2 ;
7699     int arg3 ;
7700     int arg4 ;
7701     otk::Rect *result;
7702     
7703     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7704     result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7705     
7706     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7707     return resultobj;
7708     fail:
7709     return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7714     PyObject *resultobj;
7715     otk::Point *arg1 = 0 ;
7716     otk::Point *arg2 = 0 ;
7717     otk::Rect *result;
7718     PyObject * obj0  = 0 ;
7719     PyObject * obj1  = 0 ;
7720     
7721     if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7722     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723     if (arg1 == NULL) {
7724         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7725     }
7726     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727     if (arg2 == NULL) {
7728         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7729     }
7730     result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7731     
7732     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7733     return resultobj;
7734     fail:
7735     return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7740     PyObject *resultobj;
7741     otk::Rect *arg1 = 0 ;
7742     otk::Rect *result;
7743     PyObject * obj0  = 0 ;
7744     
7745     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7746     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7747     if (arg1 == NULL) {
7748         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7749     }
7750     result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7751     
7752     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7753     return resultobj;
7754     fail:
7755     return NULL;
7756 }
7757
7758
7759 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7760     PyObject *resultobj;
7761     XRectangle *arg1 = 0 ;
7762     otk::Rect *result;
7763     PyObject * obj0  = 0 ;
7764     
7765     if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7766     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7767     if (arg1 == NULL) {
7768         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
7769     }
7770     result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7771     
7772     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7773     return resultobj;
7774     fail:
7775     return NULL;
7776 }
7777
7778
7779 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7780     int argc;
7781     PyObject *argv[5];
7782     int ii;
7783     
7784     argc = PyObject_Length(args);
7785     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7786         argv[ii] = PyTuple_GetItem(args,ii);
7787     }
7788     if (argc == 0) {
7789         return _wrap_new_Rect__SWIG_0(self,args);
7790     }
7791     if (argc == 1) {
7792         int _v;
7793         {
7794             void *ptr;
7795             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7796                 _v = 0;
7797                 PyErr_Clear();
7798             }else {
7799                 _v = 1;
7800             }
7801         }
7802         if (_v) {
7803             return _wrap_new_Rect__SWIG_3(self,args);
7804         }
7805     }
7806     if (argc == 1) {
7807         int _v;
7808         {
7809             void *ptr;
7810             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7811                 _v = 0;
7812                 PyErr_Clear();
7813             }else {
7814                 _v = 1;
7815             }
7816         }
7817         if (_v) {
7818             return _wrap_new_Rect__SWIG_4(self,args);
7819         }
7820     }
7821     if (argc == 2) {
7822         int _v;
7823         {
7824             void *ptr;
7825             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7826                 _v = 0;
7827                 PyErr_Clear();
7828             }else {
7829                 _v = 1;
7830             }
7831         }
7832         if (_v) {
7833             {
7834                 void *ptr;
7835                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7836                     _v = 0;
7837                     PyErr_Clear();
7838                 }else {
7839                     _v = 1;
7840                 }
7841             }
7842             if (_v) {
7843                 return _wrap_new_Rect__SWIG_2(self,args);
7844             }
7845         }
7846     }
7847     if (argc == 4) {
7848         int _v;
7849         {
7850             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7851         }
7852         if (_v) {
7853             {
7854                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7855             }
7856             if (_v) {
7857                 {
7858                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7859                 }
7860                 if (_v) {
7861                     {
7862                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7863                     }
7864                     if (_v) {
7865                         return _wrap_new_Rect__SWIG_1(self,args);
7866                     }
7867                 }
7868             }
7869         }
7870     }
7871     
7872     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7873     return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7878     PyObject *resultobj;
7879     otk::Rect *arg1 = (otk::Rect *) 0 ;
7880     int result;
7881     PyObject * obj0  = 0 ;
7882     
7883     if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7884     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885     result = (int)((otk::Rect const *)arg1)->left();
7886     
7887     resultobj = PyInt_FromLong((long)result);
7888     return resultobj;
7889     fail:
7890     return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7895     PyObject *resultobj;
7896     otk::Rect *arg1 = (otk::Rect *) 0 ;
7897     int result;
7898     PyObject * obj0  = 0 ;
7899     
7900     if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7901     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7902     result = (int)((otk::Rect const *)arg1)->top();
7903     
7904     resultobj = PyInt_FromLong((long)result);
7905     return resultobj;
7906     fail:
7907     return NULL;
7908 }
7909
7910
7911 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7912     PyObject *resultobj;
7913     otk::Rect *arg1 = (otk::Rect *) 0 ;
7914     int result;
7915     PyObject * obj0  = 0 ;
7916     
7917     if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7918     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919     result = (int)((otk::Rect const *)arg1)->right();
7920     
7921     resultobj = PyInt_FromLong((long)result);
7922     return resultobj;
7923     fail:
7924     return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7929     PyObject *resultobj;
7930     otk::Rect *arg1 = (otk::Rect *) 0 ;
7931     int result;
7932     PyObject * obj0  = 0 ;
7933     
7934     if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7935     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936     result = (int)((otk::Rect const *)arg1)->bottom();
7937     
7938     resultobj = PyInt_FromLong((long)result);
7939     return resultobj;
7940     fail:
7941     return NULL;
7942 }
7943
7944
7945 static PyObject *_wrap_Rect_x(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_x",&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)->x();
7954     
7955     resultobj = PyInt_FromLong((long)result);
7956     return resultobj;
7957     fail:
7958     return NULL;
7959 }
7960
7961
7962 static PyObject *_wrap_Rect_y(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_y",&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)->y();
7971     
7972     resultobj = PyInt_FromLong((long)result);
7973     return resultobj;
7974     fail:
7975     return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
7980     PyObject *resultobj;
7981     otk::Rect *arg1 = (otk::Rect *) 0 ;
7982     otk::Point result;
7983     PyObject * obj0  = 0 ;
7984     
7985     if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
7986     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987     result = ((otk::Rect const *)arg1)->location();
7988     
7989     {
7990         otk::Point * resultptr;
7991         resultptr = new otk::Point((otk::Point &) result);
7992         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
7993     }
7994     return resultobj;
7995     fail:
7996     return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8001     PyObject *resultobj;
8002     otk::Rect *arg1 = (otk::Rect *) 0 ;
8003     int arg2 ;
8004     PyObject * obj0  = 0 ;
8005     
8006     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8007     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008     (arg1)->setX(arg2);
8009     
8010     Py_INCREF(Py_None); resultobj = Py_None;
8011     return resultobj;
8012     fail:
8013     return NULL;
8014 }
8015
8016
8017 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8018     PyObject *resultobj;
8019     otk::Rect *arg1 = (otk::Rect *) 0 ;
8020     int arg2 ;
8021     PyObject * obj0  = 0 ;
8022     
8023     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8024     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8025     (arg1)->setY(arg2);
8026     
8027     Py_INCREF(Py_None); resultobj = Py_None;
8028     return resultobj;
8029     fail:
8030     return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8035     PyObject *resultobj;
8036     otk::Rect *arg1 = (otk::Rect *) 0 ;
8037     int arg2 ;
8038     int arg3 ;
8039     PyObject * obj0  = 0 ;
8040     
8041     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8042     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8043     (arg1)->setPos(arg2,arg3);
8044     
8045     Py_INCREF(Py_None); resultobj = Py_None;
8046     return resultobj;
8047     fail:
8048     return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8053     PyObject *resultobj;
8054     otk::Rect *arg1 = (otk::Rect *) 0 ;
8055     otk::Point *arg2 = 0 ;
8056     PyObject * obj0  = 0 ;
8057     PyObject * obj1  = 0 ;
8058     
8059     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8060     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8061     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8062     if (arg2 == NULL) {
8063         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8064     }
8065     (arg1)->setPos((otk::Point const &)*arg2);
8066     
8067     Py_INCREF(Py_None); resultobj = Py_None;
8068     return resultobj;
8069     fail:
8070     return NULL;
8071 }
8072
8073
8074 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8075     int argc;
8076     PyObject *argv[4];
8077     int ii;
8078     
8079     argc = PyObject_Length(args);
8080     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8081         argv[ii] = PyTuple_GetItem(args,ii);
8082     }
8083     if (argc == 2) {
8084         int _v;
8085         {
8086             void *ptr;
8087             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8088                 _v = 0;
8089                 PyErr_Clear();
8090             }else {
8091                 _v = 1;
8092             }
8093         }
8094         if (_v) {
8095             {
8096                 void *ptr;
8097                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8098                     _v = 0;
8099                     PyErr_Clear();
8100                 }else {
8101                     _v = 1;
8102                 }
8103             }
8104             if (_v) {
8105                 return _wrap_Rect_setPos__SWIG_1(self,args);
8106             }
8107         }
8108     }
8109     if (argc == 3) {
8110         int _v;
8111         {
8112             void *ptr;
8113             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8114                 _v = 0;
8115                 PyErr_Clear();
8116             }else {
8117                 _v = 1;
8118             }
8119         }
8120         if (_v) {
8121             {
8122                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8123             }
8124             if (_v) {
8125                 {
8126                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8127                 }
8128                 if (_v) {
8129                     return _wrap_Rect_setPos__SWIG_0(self,args);
8130                 }
8131             }
8132         }
8133     }
8134     
8135     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8136     return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8141     PyObject *resultobj;
8142     otk::Rect *arg1 = (otk::Rect *) 0 ;
8143     int result;
8144     PyObject * obj0  = 0 ;
8145     
8146     if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8147     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148     result = (int)((otk::Rect const *)arg1)->width();
8149     
8150     resultobj = PyInt_FromLong((long)result);
8151     return resultobj;
8152     fail:
8153     return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8158     PyObject *resultobj;
8159     otk::Rect *arg1 = (otk::Rect *) 0 ;
8160     int result;
8161     PyObject * obj0  = 0 ;
8162     
8163     if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8164     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8165     result = (int)((otk::Rect const *)arg1)->height();
8166     
8167     resultobj = PyInt_FromLong((long)result);
8168     return resultobj;
8169     fail:
8170     return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8175     PyObject *resultobj;
8176     otk::Rect *arg1 = (otk::Rect *) 0 ;
8177     otk::Point result;
8178     PyObject * obj0  = 0 ;
8179     
8180     if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8181     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8182     result = ((otk::Rect const *)arg1)->size();
8183     
8184     {
8185         otk::Point * resultptr;
8186         resultptr = new otk::Point((otk::Point &) result);
8187         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8188     }
8189     return resultobj;
8190     fail:
8191     return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8196     PyObject *resultobj;
8197     otk::Rect *arg1 = (otk::Rect *) 0 ;
8198     int arg2 ;
8199     PyObject * obj0  = 0 ;
8200     
8201     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8202     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8203     (arg1)->setWidth(arg2);
8204     
8205     Py_INCREF(Py_None); resultobj = Py_None;
8206     return resultobj;
8207     fail:
8208     return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8213     PyObject *resultobj;
8214     otk::Rect *arg1 = (otk::Rect *) 0 ;
8215     int arg2 ;
8216     PyObject * obj0  = 0 ;
8217     
8218     if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8219     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8220     (arg1)->setHeight(arg2);
8221     
8222     Py_INCREF(Py_None); resultobj = Py_None;
8223     return resultobj;
8224     fail:
8225     return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8230     PyObject *resultobj;
8231     otk::Rect *arg1 = (otk::Rect *) 0 ;
8232     int arg2 ;
8233     int arg3 ;
8234     PyObject * obj0  = 0 ;
8235     
8236     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8237     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8238     (arg1)->setSize(arg2,arg3);
8239     
8240     Py_INCREF(Py_None); resultobj = Py_None;
8241     return resultobj;
8242     fail:
8243     return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8248     PyObject *resultobj;
8249     otk::Rect *arg1 = (otk::Rect *) 0 ;
8250     otk::Point *arg2 = 0 ;
8251     PyObject * obj0  = 0 ;
8252     PyObject * obj1  = 0 ;
8253     
8254     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8255     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8256     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8257     if (arg2 == NULL) {
8258         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8259     }
8260     (arg1)->setSize((otk::Point const &)*arg2);
8261     
8262     Py_INCREF(Py_None); resultobj = Py_None;
8263     return resultobj;
8264     fail:
8265     return NULL;
8266 }
8267
8268
8269 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8270     int argc;
8271     PyObject *argv[4];
8272     int ii;
8273     
8274     argc = PyObject_Length(args);
8275     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8276         argv[ii] = PyTuple_GetItem(args,ii);
8277     }
8278     if (argc == 2) {
8279         int _v;
8280         {
8281             void *ptr;
8282             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8283                 _v = 0;
8284                 PyErr_Clear();
8285             }else {
8286                 _v = 1;
8287             }
8288         }
8289         if (_v) {
8290             {
8291                 void *ptr;
8292                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8293                     _v = 0;
8294                     PyErr_Clear();
8295                 }else {
8296                     _v = 1;
8297                 }
8298             }
8299             if (_v) {
8300                 return _wrap_Rect_setSize__SWIG_1(self,args);
8301             }
8302         }
8303     }
8304     if (argc == 3) {
8305         int _v;
8306         {
8307             void *ptr;
8308             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8309                 _v = 0;
8310                 PyErr_Clear();
8311             }else {
8312                 _v = 1;
8313             }
8314         }
8315         if (_v) {
8316             {
8317                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8318             }
8319             if (_v) {
8320                 {
8321                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8322                 }
8323                 if (_v) {
8324                     return _wrap_Rect_setSize__SWIG_0(self,args);
8325                 }
8326             }
8327         }
8328     }
8329     
8330     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8331     return NULL;
8332 }
8333
8334
8335 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8336     PyObject *resultobj;
8337     otk::Rect *arg1 = (otk::Rect *) 0 ;
8338     int arg2 ;
8339     int arg3 ;
8340     int arg4 ;
8341     int arg5 ;
8342     PyObject * obj0  = 0 ;
8343     
8344     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8345     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8346     (arg1)->setRect(arg2,arg3,arg4,arg5);
8347     
8348     Py_INCREF(Py_None); resultobj = Py_None;
8349     return resultobj;
8350     fail:
8351     return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8356     PyObject *resultobj;
8357     otk::Rect *arg1 = (otk::Rect *) 0 ;
8358     otk::Point *arg2 = 0 ;
8359     otk::Point *arg3 = 0 ;
8360     PyObject * obj0  = 0 ;
8361     PyObject * obj1  = 0 ;
8362     PyObject * obj2  = 0 ;
8363     
8364     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8365     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8366     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367     if (arg2 == NULL) {
8368         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8369     }
8370     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371     if (arg3 == NULL) {
8372         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8373     }
8374     (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8375     
8376     Py_INCREF(Py_None); resultobj = Py_None;
8377     return resultobj;
8378     fail:
8379     return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8384     int argc;
8385     PyObject *argv[6];
8386     int ii;
8387     
8388     argc = PyObject_Length(args);
8389     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8390         argv[ii] = PyTuple_GetItem(args,ii);
8391     }
8392     if (argc == 3) {
8393         int _v;
8394         {
8395             void *ptr;
8396             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8397                 _v = 0;
8398                 PyErr_Clear();
8399             }else {
8400                 _v = 1;
8401             }
8402         }
8403         if (_v) {
8404             {
8405                 void *ptr;
8406                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8407                     _v = 0;
8408                     PyErr_Clear();
8409                 }else {
8410                     _v = 1;
8411                 }
8412             }
8413             if (_v) {
8414                 {
8415                     void *ptr;
8416                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8417                         _v = 0;
8418                         PyErr_Clear();
8419                     }else {
8420                         _v = 1;
8421                     }
8422                 }
8423                 if (_v) {
8424                     return _wrap_Rect_setRect__SWIG_1(self,args);
8425                 }
8426             }
8427         }
8428     }
8429     if (argc == 5) {
8430         int _v;
8431         {
8432             void *ptr;
8433             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8434                 _v = 0;
8435                 PyErr_Clear();
8436             }else {
8437                 _v = 1;
8438             }
8439         }
8440         if (_v) {
8441             {
8442                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8443             }
8444             if (_v) {
8445                 {
8446                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8447                 }
8448                 if (_v) {
8449                     {
8450                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8451                     }
8452                     if (_v) {
8453                         {
8454                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8455                         }
8456                         if (_v) {
8457                             return _wrap_Rect_setRect__SWIG_0(self,args);
8458                         }
8459                     }
8460                 }
8461             }
8462         }
8463     }
8464     
8465     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8466     return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8471     PyObject *resultobj;
8472     otk::Rect *arg1 = (otk::Rect *) 0 ;
8473     int arg2 ;
8474     int arg3 ;
8475     int arg4 ;
8476     int arg5 ;
8477     PyObject * obj0  = 0 ;
8478     
8479     if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8480     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8481     (arg1)->setCoords(arg2,arg3,arg4,arg5);
8482     
8483     Py_INCREF(Py_None); resultobj = Py_None;
8484     return resultobj;
8485     fail:
8486     return NULL;
8487 }
8488
8489
8490 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8491     PyObject *resultobj;
8492     otk::Rect *arg1 = (otk::Rect *) 0 ;
8493     otk::Point *arg2 = 0 ;
8494     otk::Point *arg3 = 0 ;
8495     PyObject * obj0  = 0 ;
8496     PyObject * obj1  = 0 ;
8497     PyObject * obj2  = 0 ;
8498     
8499     if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8500     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8501     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8502     if (arg2 == NULL) {
8503         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8504     }
8505     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506     if (arg3 == NULL) {
8507         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8508     }
8509     (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8510     
8511     Py_INCREF(Py_None); resultobj = Py_None;
8512     return resultobj;
8513     fail:
8514     return NULL;
8515 }
8516
8517
8518 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8519     int argc;
8520     PyObject *argv[6];
8521     int ii;
8522     
8523     argc = PyObject_Length(args);
8524     for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8525         argv[ii] = PyTuple_GetItem(args,ii);
8526     }
8527     if (argc == 3) {
8528         int _v;
8529         {
8530             void *ptr;
8531             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8532                 _v = 0;
8533                 PyErr_Clear();
8534             }else {
8535                 _v = 1;
8536             }
8537         }
8538         if (_v) {
8539             {
8540                 void *ptr;
8541                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8542                     _v = 0;
8543                     PyErr_Clear();
8544                 }else {
8545                     _v = 1;
8546                 }
8547             }
8548             if (_v) {
8549                 {
8550                     void *ptr;
8551                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8552                         _v = 0;
8553                         PyErr_Clear();
8554                     }else {
8555                         _v = 1;
8556                     }
8557                 }
8558                 if (_v) {
8559                     return _wrap_Rect_setCoords__SWIG_1(self,args);
8560                 }
8561             }
8562         }
8563     }
8564     if (argc == 5) {
8565         int _v;
8566         {
8567             void *ptr;
8568             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8569                 _v = 0;
8570                 PyErr_Clear();
8571             }else {
8572                 _v = 1;
8573             }
8574         }
8575         if (_v) {
8576             {
8577                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8578             }
8579             if (_v) {
8580                 {
8581                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8582                 }
8583                 if (_v) {
8584                     {
8585                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8586                     }
8587                     if (_v) {
8588                         {
8589                             _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8590                         }
8591                         if (_v) {
8592                             return _wrap_Rect_setCoords__SWIG_0(self,args);
8593                         }
8594                     }
8595                 }
8596             }
8597         }
8598     }
8599     
8600     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8601     return NULL;
8602 }
8603
8604
8605 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8606     PyObject *resultobj;
8607     otk::Rect *arg1 = (otk::Rect *) 0 ;
8608     otk::Rect *arg2 = 0 ;
8609     bool result;
8610     PyObject * obj0  = 0 ;
8611     PyObject * obj1  = 0 ;
8612     
8613     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8614     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616     if (arg2 == NULL) {
8617         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8618     }
8619     result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8620     
8621     resultobj = PyInt_FromLong((long)result);
8622     return resultobj;
8623     fail:
8624     return NULL;
8625 }
8626
8627
8628 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8629     PyObject *resultobj;
8630     otk::Rect *arg1 = (otk::Rect *) 0 ;
8631     bool result;
8632     PyObject * obj0  = 0 ;
8633     
8634     if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8635     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8636     result = (bool)((otk::Rect const *)arg1)->valid();
8637     
8638     resultobj = PyInt_FromLong((long)result);
8639     return resultobj;
8640     fail:
8641     return NULL;
8642 }
8643
8644
8645 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8646     PyObject *resultobj;
8647     otk::Rect *arg1 = (otk::Rect *) 0 ;
8648     otk::Rect *arg2 = 0 ;
8649     bool result;
8650     PyObject * obj0  = 0 ;
8651     PyObject * obj1  = 0 ;
8652     
8653     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8654     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8655     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656     if (arg2 == NULL) {
8657         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8658     }
8659     result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8660     
8661     resultobj = PyInt_FromLong((long)result);
8662     return resultobj;
8663     fail:
8664     return NULL;
8665 }
8666
8667
8668 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8669     PyObject *resultobj;
8670     otk::Rect *arg1 = (otk::Rect *) 0 ;
8671     int arg2 ;
8672     int arg3 ;
8673     bool result;
8674     PyObject * obj0  = 0 ;
8675     
8676     if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8677     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8678     result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8679     
8680     resultobj = PyInt_FromLong((long)result);
8681     return resultobj;
8682     fail:
8683     return NULL;
8684 }
8685
8686
8687 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8688     PyObject *resultobj;
8689     otk::Rect *arg1 = (otk::Rect *) 0 ;
8690     otk::Point *arg2 = 0 ;
8691     bool result;
8692     PyObject * obj0  = 0 ;
8693     PyObject * obj1  = 0 ;
8694     
8695     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8696     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8698     if (arg2 == NULL) {
8699         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8700     }
8701     result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8702     
8703     resultobj = PyInt_FromLong((long)result);
8704     return resultobj;
8705     fail:
8706     return NULL;
8707 }
8708
8709
8710 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8711     PyObject *resultobj;
8712     otk::Rect *arg1 = (otk::Rect *) 0 ;
8713     otk::Rect *arg2 = 0 ;
8714     bool result;
8715     PyObject * obj0  = 0 ;
8716     PyObject * obj1  = 0 ;
8717     
8718     if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8719     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8720     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8721     if (arg2 == NULL) {
8722         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
8723     }
8724     result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8725     
8726     resultobj = PyInt_FromLong((long)result);
8727     return resultobj;
8728     fail:
8729     return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8734     int argc;
8735     PyObject *argv[4];
8736     int ii;
8737     
8738     argc = PyObject_Length(args);
8739     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8740         argv[ii] = PyTuple_GetItem(args,ii);
8741     }
8742     if (argc == 2) {
8743         int _v;
8744         {
8745             void *ptr;
8746             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8747                 _v = 0;
8748                 PyErr_Clear();
8749             }else {
8750                 _v = 1;
8751             }
8752         }
8753         if (_v) {
8754             {
8755                 void *ptr;
8756                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8757                     _v = 0;
8758                     PyErr_Clear();
8759                 }else {
8760                     _v = 1;
8761                 }
8762             }
8763             if (_v) {
8764                 return _wrap_Rect_contains__SWIG_1(self,args);
8765             }
8766         }
8767     }
8768     if (argc == 2) {
8769         int _v;
8770         {
8771             void *ptr;
8772             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8773                 _v = 0;
8774                 PyErr_Clear();
8775             }else {
8776                 _v = 1;
8777             }
8778         }
8779         if (_v) {
8780             {
8781                 void *ptr;
8782                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8783                     _v = 0;
8784                     PyErr_Clear();
8785                 }else {
8786                     _v = 1;
8787                 }
8788             }
8789             if (_v) {
8790                 return _wrap_Rect_contains__SWIG_2(self,args);
8791             }
8792         }
8793     }
8794     if (argc == 3) {
8795         int _v;
8796         {
8797             void *ptr;
8798             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8799                 _v = 0;
8800                 PyErr_Clear();
8801             }else {
8802                 _v = 1;
8803             }
8804         }
8805         if (_v) {
8806             {
8807                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8808             }
8809             if (_v) {
8810                 {
8811                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8812                 }
8813                 if (_v) {
8814                     return _wrap_Rect_contains__SWIG_0(self,args);
8815                 }
8816             }
8817         }
8818     }
8819     
8820     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8821     return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8826     PyObject *resultobj;
8827     otk::Rect *arg1 = (otk::Rect *) 0 ;
8828     PyObject * obj0  = 0 ;
8829     
8830     if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8831     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8832     delete arg1;
8833     
8834     Py_INCREF(Py_None); resultobj = Py_None;
8835     return resultobj;
8836     fail:
8837     return NULL;
8838 }
8839
8840
8841 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8842     PyObject *obj;
8843     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8844     SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8845     Py_INCREF(obj);
8846     return Py_BuildValue((char *)"");
8847 }
8848 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8849     PyObject *resultobj;
8850     unsigned int arg1 ;
8851     otk::ScreenInfo *result;
8852     PyObject * obj0  = 0 ;
8853     
8854     if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8855     arg1 = (unsigned int) PyInt_AsLong(obj0);
8856     if (PyErr_Occurred()) SWIG_fail;
8857     result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8858     
8859     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8860     return resultobj;
8861     fail:
8862     return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8867     PyObject *resultobj;
8868     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8869     Visual *result;
8870     PyObject * obj0  = 0 ;
8871     
8872     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8873     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8874     result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8875     
8876     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8877     return resultobj;
8878     fail:
8879     return NULL;
8880 }
8881
8882
8883 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8884     PyObject *resultobj;
8885     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8886     Window result;
8887     PyObject * obj0  = 0 ;
8888     
8889     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8890     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891     result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
8892     
8893     resultobj = PyInt_FromLong((long)result);
8894     return resultobj;
8895     fail:
8896     return NULL;
8897 }
8898
8899
8900 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8901     PyObject *resultobj;
8902     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8903     Colormap result;
8904     PyObject * obj0  = 0 ;
8905     
8906     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8907     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8908     result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
8909     
8910     resultobj = PyInt_FromLong((long)result);
8911     return resultobj;
8912     fail:
8913     return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8918     PyObject *resultobj;
8919     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8920     int result;
8921     PyObject * obj0  = 0 ;
8922     
8923     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8924     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925     result = (int)((otk::ScreenInfo const *)arg1)->depth();
8926     
8927     resultobj = PyInt_FromLong((long)result);
8928     return resultobj;
8929     fail:
8930     return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8935     PyObject *resultobj;
8936     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8937     unsigned int result;
8938     PyObject * obj0  = 0 ;
8939     
8940     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8941     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8942     result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8943     
8944     resultobj = PyInt_FromLong((long)result);
8945     return resultobj;
8946     fail:
8947     return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8952     PyObject *resultobj;
8953     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8954     otk::Rect *result;
8955     PyObject * obj0  = 0 ;
8956     
8957     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8958     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959     {
8960         otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8961         result = (otk::Rect *) &_result_ref;
8962     }
8963     
8964     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8965     return resultobj;
8966     fail:
8967     return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
8972     PyObject *resultobj;
8973     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8974     unsigned int result;
8975     PyObject * obj0  = 0 ;
8976     
8977     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
8978     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979     result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
8980     
8981     resultobj = PyInt_FromLong((long)result);
8982     return resultobj;
8983     fail:
8984     return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
8989     PyObject *resultobj;
8990     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8991     unsigned int result;
8992     PyObject * obj0  = 0 ;
8993     
8994     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
8995     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996     result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
8997     
8998     resultobj = PyInt_FromLong((long)result);
8999     return resultobj;
9000     fail:
9001     return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9006     PyObject *resultobj;
9007     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9008     std::string *result;
9009     PyObject * obj0  = 0 ;
9010     
9011     if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9012     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013     {
9014         std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9015         result = (std::string *) &_result_ref;
9016     }
9017     
9018     {
9019         resultobj = PyString_FromString(result->c_str());
9020     }
9021     return resultobj;
9022     fail:
9023     return NULL;
9024 }
9025
9026
9027 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9028     PyObject *resultobj;
9029     otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9030     PyObject * obj0  = 0 ;
9031     
9032     if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9033     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034     delete arg1;
9035     
9036     Py_INCREF(Py_None); resultobj = Py_None;
9037     return resultobj;
9038     fail:
9039     return NULL;
9040 }
9041
9042
9043 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9044     PyObject *obj;
9045     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9046     SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9047     Py_INCREF(obj);
9048     return Py_BuildValue((char *)"");
9049 }
9050 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9051     PyObject *resultobj;
9052     otk::Strut *arg1 = (otk::Strut *) 0 ;
9053     unsigned int arg2 ;
9054     PyObject * obj0  = 0 ;
9055     PyObject * obj1  = 0 ;
9056     
9057     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9058     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9059     arg2 = (unsigned int) PyInt_AsLong(obj1);
9060     if (PyErr_Occurred()) SWIG_fail;
9061     if (arg1) (arg1)->top = arg2;
9062     
9063     Py_INCREF(Py_None); resultobj = Py_None;
9064     return resultobj;
9065     fail:
9066     return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9071     PyObject *resultobj;
9072     otk::Strut *arg1 = (otk::Strut *) 0 ;
9073     unsigned int result;
9074     PyObject * obj0  = 0 ;
9075     
9076     if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9077     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9078     result = (unsigned int) ((arg1)->top);
9079     
9080     resultobj = PyInt_FromLong((long)result);
9081     return resultobj;
9082     fail:
9083     return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9088     PyObject *resultobj;
9089     otk::Strut *arg1 = (otk::Strut *) 0 ;
9090     unsigned int arg2 ;
9091     PyObject * obj0  = 0 ;
9092     PyObject * obj1  = 0 ;
9093     
9094     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9095     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9096     arg2 = (unsigned int) PyInt_AsLong(obj1);
9097     if (PyErr_Occurred()) SWIG_fail;
9098     if (arg1) (arg1)->bottom = arg2;
9099     
9100     Py_INCREF(Py_None); resultobj = Py_None;
9101     return resultobj;
9102     fail:
9103     return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9108     PyObject *resultobj;
9109     otk::Strut *arg1 = (otk::Strut *) 0 ;
9110     unsigned int result;
9111     PyObject * obj0  = 0 ;
9112     
9113     if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9114     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9115     result = (unsigned int) ((arg1)->bottom);
9116     
9117     resultobj = PyInt_FromLong((long)result);
9118     return resultobj;
9119     fail:
9120     return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9125     PyObject *resultobj;
9126     otk::Strut *arg1 = (otk::Strut *) 0 ;
9127     unsigned int arg2 ;
9128     PyObject * obj0  = 0 ;
9129     PyObject * obj1  = 0 ;
9130     
9131     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9132     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133     arg2 = (unsigned int) PyInt_AsLong(obj1);
9134     if (PyErr_Occurred()) SWIG_fail;
9135     if (arg1) (arg1)->left = arg2;
9136     
9137     Py_INCREF(Py_None); resultobj = Py_None;
9138     return resultobj;
9139     fail:
9140     return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9145     PyObject *resultobj;
9146     otk::Strut *arg1 = (otk::Strut *) 0 ;
9147     unsigned int result;
9148     PyObject * obj0  = 0 ;
9149     
9150     if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9151     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152     result = (unsigned int) ((arg1)->left);
9153     
9154     resultobj = PyInt_FromLong((long)result);
9155     return resultobj;
9156     fail:
9157     return NULL;
9158 }
9159
9160
9161 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9162     PyObject *resultobj;
9163     otk::Strut *arg1 = (otk::Strut *) 0 ;
9164     unsigned int arg2 ;
9165     PyObject * obj0  = 0 ;
9166     PyObject * obj1  = 0 ;
9167     
9168     if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9169     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170     arg2 = (unsigned int) PyInt_AsLong(obj1);
9171     if (PyErr_Occurred()) SWIG_fail;
9172     if (arg1) (arg1)->right = arg2;
9173     
9174     Py_INCREF(Py_None); resultobj = Py_None;
9175     return resultobj;
9176     fail:
9177     return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9182     PyObject *resultobj;
9183     otk::Strut *arg1 = (otk::Strut *) 0 ;
9184     unsigned int result;
9185     PyObject * obj0  = 0 ;
9186     
9187     if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9188     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9189     result = (unsigned int) ((arg1)->right);
9190     
9191     resultobj = PyInt_FromLong((long)result);
9192     return resultobj;
9193     fail:
9194     return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9199     PyObject *resultobj;
9200     otk::Strut *result;
9201     
9202     if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9203     result = (otk::Strut *)new otk::Strut();
9204     
9205     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9206     return resultobj;
9207     fail:
9208     return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9213     PyObject *resultobj;
9214     int arg1 ;
9215     int arg2 ;
9216     int arg3 ;
9217     int arg4 ;
9218     otk::Strut *result;
9219     
9220     if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9221     result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9222     
9223     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9224     return resultobj;
9225     fail:
9226     return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9231     int argc;
9232     PyObject *argv[5];
9233     int ii;
9234     
9235     argc = PyObject_Length(args);
9236     for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9237         argv[ii] = PyTuple_GetItem(args,ii);
9238     }
9239     if (argc == 0) {
9240         return _wrap_new_Strut__SWIG_0(self,args);
9241     }
9242     if (argc == 4) {
9243         int _v;
9244         {
9245             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9246         }
9247         if (_v) {
9248             {
9249                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9250             }
9251             if (_v) {
9252                 {
9253                     _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9254                 }
9255                 if (_v) {
9256                     {
9257                         _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9258                     }
9259                     if (_v) {
9260                         return _wrap_new_Strut__SWIG_1(self,args);
9261                     }
9262                 }
9263             }
9264         }
9265     }
9266     
9267     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9268     return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9273     PyObject *resultobj;
9274     otk::Strut *arg1 = (otk::Strut *) 0 ;
9275     PyObject * obj0  = 0 ;
9276     
9277     if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9278     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9279     delete arg1;
9280     
9281     Py_INCREF(Py_None); resultobj = Py_None;
9282     return resultobj;
9283     fail:
9284     return NULL;
9285 }
9286
9287
9288 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9289     PyObject *obj;
9290     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9291     SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9292     Py_INCREF(obj);
9293     return Py_BuildValue((char *)"");
9294 }
9295 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9296     PyObject *resultobj;
9297     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9298     Pixmap arg2 ;
9299     PyObject * obj0  = 0 ;
9300     PyObject * obj1  = 0 ;
9301     
9302     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9303     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9304     arg2 = (Pixmap) PyInt_AsLong(obj1);
9305     if (PyErr_Occurred()) SWIG_fail;
9306     if (arg1) (arg1)->mask = arg2;
9307     
9308     Py_INCREF(Py_None); resultobj = Py_None;
9309     return resultobj;
9310     fail:
9311     return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9316     PyObject *resultobj;
9317     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9318     Pixmap result;
9319     PyObject * obj0  = 0 ;
9320     
9321     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9322     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9323     result = (Pixmap) ((arg1)->mask);
9324     
9325     resultobj = PyInt_FromLong((long)result);
9326     return resultobj;
9327     fail:
9328     return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9333     PyObject *resultobj;
9334     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9335     unsigned int arg2 ;
9336     PyObject * obj0  = 0 ;
9337     PyObject * obj1  = 0 ;
9338     
9339     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9340     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341     arg2 = (unsigned int) PyInt_AsLong(obj1);
9342     if (PyErr_Occurred()) SWIG_fail;
9343     if (arg1) (arg1)->w = arg2;
9344     
9345     Py_INCREF(Py_None); resultobj = Py_None;
9346     return resultobj;
9347     fail:
9348     return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9353     PyObject *resultobj;
9354     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9355     unsigned int result;
9356     PyObject * obj0  = 0 ;
9357     
9358     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9359     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9360     result = (unsigned int) ((arg1)->w);
9361     
9362     resultobj = PyInt_FromLong((long)result);
9363     return resultobj;
9364     fail:
9365     return NULL;
9366 }
9367
9368
9369 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9370     PyObject *resultobj;
9371     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9372     unsigned int arg2 ;
9373     PyObject * obj0  = 0 ;
9374     PyObject * obj1  = 0 ;
9375     
9376     if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9377     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378     arg2 = (unsigned int) PyInt_AsLong(obj1);
9379     if (PyErr_Occurred()) SWIG_fail;
9380     if (arg1) (arg1)->h = arg2;
9381     
9382     Py_INCREF(Py_None); resultobj = Py_None;
9383     return resultobj;
9384     fail:
9385     return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9390     PyObject *resultobj;
9391     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9392     unsigned int result;
9393     PyObject * obj0  = 0 ;
9394     
9395     if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9396     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9397     result = (unsigned int) ((arg1)->h);
9398     
9399     resultobj = PyInt_FromLong((long)result);
9400     return resultobj;
9401     fail:
9402     return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9407     PyObject *resultobj;
9408     otk::PixmapMask *result;
9409     
9410     if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9411     result = (otk::PixmapMask *)new otk::PixmapMask();
9412     
9413     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9414     return resultobj;
9415     fail:
9416     return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9421     PyObject *resultobj;
9422     otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9423     PyObject * obj0  = 0 ;
9424     
9425     if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9426     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427     delete arg1;
9428     
9429     Py_INCREF(Py_None); resultobj = Py_None;
9430     return resultobj;
9431     fail:
9432     return NULL;
9433 }
9434
9435
9436 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9437     PyObject *obj;
9438     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9439     SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9440     Py_INCREF(obj);
9441     return Py_BuildValue((char *)"");
9442 }
9443 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9444     PyObject *resultobj;
9445     otk::Style *arg1 = (otk::Style *) 0 ;
9446     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9447     PyObject * obj0  = 0 ;
9448     PyObject * obj1  = 0 ;
9449     
9450     if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9451     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9452     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9453     if (arg1) (arg1)->image_control = arg2;
9454     
9455     Py_INCREF(Py_None); resultobj = Py_None;
9456     return resultobj;
9457     fail:
9458     return NULL;
9459 }
9460
9461
9462 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9463     PyObject *resultobj;
9464     otk::Style *arg1 = (otk::Style *) 0 ;
9465     otk::BImageControl *result;
9466     PyObject * obj0  = 0 ;
9467     
9468     if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9469     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9470     result = (otk::BImageControl *) ((arg1)->image_control);
9471     
9472     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9473     return resultobj;
9474     fail:
9475     return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9480     PyObject *resultobj;
9481     otk::Style *arg1 = (otk::Style *) 0 ;
9482     otk::BColor *arg2 = (otk::BColor *) 0 ;
9483     PyObject * obj0  = 0 ;
9484     PyObject * obj1  = 0 ;
9485     
9486     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9487     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9489     if (arg1) (arg1)->l_text_focus = *arg2;
9490     
9491     Py_INCREF(Py_None); resultobj = Py_None;
9492     return resultobj;
9493     fail:
9494     return NULL;
9495 }
9496
9497
9498 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9499     PyObject *resultobj;
9500     otk::Style *arg1 = (otk::Style *) 0 ;
9501     otk::BColor *result;
9502     PyObject * obj0  = 0 ;
9503     
9504     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9505     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506     result = (otk::BColor *)& ((arg1)->l_text_focus);
9507     
9508     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9509     return resultobj;
9510     fail:
9511     return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9516     PyObject *resultobj;
9517     otk::Style *arg1 = (otk::Style *) 0 ;
9518     otk::BColor *arg2 = (otk::BColor *) 0 ;
9519     PyObject * obj0  = 0 ;
9520     PyObject * obj1  = 0 ;
9521     
9522     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9523     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9524     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9525     if (arg1) (arg1)->l_text_unfocus = *arg2;
9526     
9527     Py_INCREF(Py_None); resultobj = Py_None;
9528     return resultobj;
9529     fail:
9530     return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9535     PyObject *resultobj;
9536     otk::Style *arg1 = (otk::Style *) 0 ;
9537     otk::BColor *result;
9538     PyObject * obj0  = 0 ;
9539     
9540     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9541     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9542     result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9543     
9544     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9545     return resultobj;
9546     fail:
9547     return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9552     PyObject *resultobj;
9553     otk::Style *arg1 = (otk::Style *) 0 ;
9554     otk::BColor *arg2 = (otk::BColor *) 0 ;
9555     PyObject * obj0  = 0 ;
9556     PyObject * obj1  = 0 ;
9557     
9558     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9559     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9560     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9561     if (arg1) (arg1)->b_pic_focus = *arg2;
9562     
9563     Py_INCREF(Py_None); resultobj = Py_None;
9564     return resultobj;
9565     fail:
9566     return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9571     PyObject *resultobj;
9572     otk::Style *arg1 = (otk::Style *) 0 ;
9573     otk::BColor *result;
9574     PyObject * obj0  = 0 ;
9575     
9576     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9577     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578     result = (otk::BColor *)& ((arg1)->b_pic_focus);
9579     
9580     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9581     return resultobj;
9582     fail:
9583     return NULL;
9584 }
9585
9586
9587 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9588     PyObject *resultobj;
9589     otk::Style *arg1 = (otk::Style *) 0 ;
9590     otk::BColor *arg2 = (otk::BColor *) 0 ;
9591     PyObject * obj0  = 0 ;
9592     PyObject * obj1  = 0 ;
9593     
9594     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9595     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9596     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597     if (arg1) (arg1)->b_pic_unfocus = *arg2;
9598     
9599     Py_INCREF(Py_None); resultobj = Py_None;
9600     return resultobj;
9601     fail:
9602     return NULL;
9603 }
9604
9605
9606 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9607     PyObject *resultobj;
9608     otk::Style *arg1 = (otk::Style *) 0 ;
9609     otk::BColor *result;
9610     PyObject * obj0  = 0 ;
9611     
9612     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9613     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9614     result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9615     
9616     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9617     return resultobj;
9618     fail:
9619     return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9624     PyObject *resultobj;
9625     otk::Style *arg1 = (otk::Style *) 0 ;
9626     otk::BColor *arg2 = (otk::BColor *) 0 ;
9627     PyObject * obj0  = 0 ;
9628     PyObject * obj1  = 0 ;
9629     
9630     if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9631     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9632     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9633     if (arg1) (arg1)->border_color = *arg2;
9634     
9635     Py_INCREF(Py_None); resultobj = Py_None;
9636     return resultobj;
9637     fail:
9638     return NULL;
9639 }
9640
9641
9642 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9643     PyObject *resultobj;
9644     otk::Style *arg1 = (otk::Style *) 0 ;
9645     otk::BColor *result;
9646     PyObject * obj0  = 0 ;
9647     
9648     if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9649     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650     result = (otk::BColor *)& ((arg1)->border_color);
9651     
9652     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9653     return resultobj;
9654     fail:
9655     return NULL;
9656 }
9657
9658
9659 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9660     PyObject *resultobj;
9661     otk::Style *arg1 = (otk::Style *) 0 ;
9662     otk::BFont *arg2 = (otk::BFont *) 0 ;
9663     PyObject * obj0  = 0 ;
9664     PyObject * obj1  = 0 ;
9665     
9666     if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9667     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9669     if (arg1) (arg1)->font = arg2;
9670     
9671     Py_INCREF(Py_None); resultobj = Py_None;
9672     return resultobj;
9673     fail:
9674     return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9679     PyObject *resultobj;
9680     otk::Style *arg1 = (otk::Style *) 0 ;
9681     otk::BFont *result;
9682     PyObject * obj0  = 0 ;
9683     
9684     if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9685     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9686     result = (otk::BFont *) ((arg1)->font);
9687     
9688     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9689     return resultobj;
9690     fail:
9691     return NULL;
9692 }
9693
9694
9695 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9696     PyObject *resultobj;
9697     otk::Style *arg1 = (otk::Style *) 0 ;
9698     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9699     PyObject * obj0  = 0 ;
9700     PyObject * obj1  = 0 ;
9701     
9702     if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9703     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9704     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9705     if (arg1) (arg1)->f_focus = *arg2;
9706     
9707     Py_INCREF(Py_None); resultobj = Py_None;
9708     return resultobj;
9709     fail:
9710     return NULL;
9711 }
9712
9713
9714 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9715     PyObject *resultobj;
9716     otk::Style *arg1 = (otk::Style *) 0 ;
9717     otk::BTexture *result;
9718     PyObject * obj0  = 0 ;
9719     
9720     if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9721     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722     result = (otk::BTexture *)& ((arg1)->f_focus);
9723     
9724     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9725     return resultobj;
9726     fail:
9727     return NULL;
9728 }
9729
9730
9731 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9732     PyObject *resultobj;
9733     otk::Style *arg1 = (otk::Style *) 0 ;
9734     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9735     PyObject * obj0  = 0 ;
9736     PyObject * obj1  = 0 ;
9737     
9738     if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9739     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9740     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9741     if (arg1) (arg1)->f_unfocus = *arg2;
9742     
9743     Py_INCREF(Py_None); resultobj = Py_None;
9744     return resultobj;
9745     fail:
9746     return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9751     PyObject *resultobj;
9752     otk::Style *arg1 = (otk::Style *) 0 ;
9753     otk::BTexture *result;
9754     PyObject * obj0  = 0 ;
9755     
9756     if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9757     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758     result = (otk::BTexture *)& ((arg1)->f_unfocus);
9759     
9760     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9761     return resultobj;
9762     fail:
9763     return NULL;
9764 }
9765
9766
9767 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9768     PyObject *resultobj;
9769     otk::Style *arg1 = (otk::Style *) 0 ;
9770     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9771     PyObject * obj0  = 0 ;
9772     PyObject * obj1  = 0 ;
9773     
9774     if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9775     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9776     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9777     if (arg1) (arg1)->t_focus = *arg2;
9778     
9779     Py_INCREF(Py_None); resultobj = Py_None;
9780     return resultobj;
9781     fail:
9782     return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9787     PyObject *resultobj;
9788     otk::Style *arg1 = (otk::Style *) 0 ;
9789     otk::BTexture *result;
9790     PyObject * obj0  = 0 ;
9791     
9792     if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9793     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794     result = (otk::BTexture *)& ((arg1)->t_focus);
9795     
9796     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9797     return resultobj;
9798     fail:
9799     return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9804     PyObject *resultobj;
9805     otk::Style *arg1 = (otk::Style *) 0 ;
9806     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9807     PyObject * obj0  = 0 ;
9808     PyObject * obj1  = 0 ;
9809     
9810     if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9811     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9813     if (arg1) (arg1)->t_unfocus = *arg2;
9814     
9815     Py_INCREF(Py_None); resultobj = Py_None;
9816     return resultobj;
9817     fail:
9818     return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9823     PyObject *resultobj;
9824     otk::Style *arg1 = (otk::Style *) 0 ;
9825     otk::BTexture *result;
9826     PyObject * obj0  = 0 ;
9827     
9828     if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9829     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830     result = (otk::BTexture *)& ((arg1)->t_unfocus);
9831     
9832     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9833     return resultobj;
9834     fail:
9835     return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9840     PyObject *resultobj;
9841     otk::Style *arg1 = (otk::Style *) 0 ;
9842     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9843     PyObject * obj0  = 0 ;
9844     PyObject * obj1  = 0 ;
9845     
9846     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9847     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9849     if (arg1) (arg1)->l_focus = *arg2;
9850     
9851     Py_INCREF(Py_None); resultobj = Py_None;
9852     return resultobj;
9853     fail:
9854     return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9859     PyObject *resultobj;
9860     otk::Style *arg1 = (otk::Style *) 0 ;
9861     otk::BTexture *result;
9862     PyObject * obj0  = 0 ;
9863     
9864     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9865     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9866     result = (otk::BTexture *)& ((arg1)->l_focus);
9867     
9868     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9869     return resultobj;
9870     fail:
9871     return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9876     PyObject *resultobj;
9877     otk::Style *arg1 = (otk::Style *) 0 ;
9878     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9879     PyObject * obj0  = 0 ;
9880     PyObject * obj1  = 0 ;
9881     
9882     if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9883     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885     if (arg1) (arg1)->l_unfocus = *arg2;
9886     
9887     Py_INCREF(Py_None); resultobj = Py_None;
9888     return resultobj;
9889     fail:
9890     return NULL;
9891 }
9892
9893
9894 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9895     PyObject *resultobj;
9896     otk::Style *arg1 = (otk::Style *) 0 ;
9897     otk::BTexture *result;
9898     PyObject * obj0  = 0 ;
9899     
9900     if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9901     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9902     result = (otk::BTexture *)& ((arg1)->l_unfocus);
9903     
9904     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9905     return resultobj;
9906     fail:
9907     return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9912     PyObject *resultobj;
9913     otk::Style *arg1 = (otk::Style *) 0 ;
9914     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9915     PyObject * obj0  = 0 ;
9916     PyObject * obj1  = 0 ;
9917     
9918     if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9919     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9920     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9921     if (arg1) (arg1)->h_focus = *arg2;
9922     
9923     Py_INCREF(Py_None); resultobj = Py_None;
9924     return resultobj;
9925     fail:
9926     return NULL;
9927 }
9928
9929
9930 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9931     PyObject *resultobj;
9932     otk::Style *arg1 = (otk::Style *) 0 ;
9933     otk::BTexture *result;
9934     PyObject * obj0  = 0 ;
9935     
9936     if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9937     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9938     result = (otk::BTexture *)& ((arg1)->h_focus);
9939     
9940     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9941     return resultobj;
9942     fail:
9943     return NULL;
9944 }
9945
9946
9947 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9948     PyObject *resultobj;
9949     otk::Style *arg1 = (otk::Style *) 0 ;
9950     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9951     PyObject * obj0  = 0 ;
9952     PyObject * obj1  = 0 ;
9953     
9954     if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9955     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9956     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9957     if (arg1) (arg1)->h_unfocus = *arg2;
9958     
9959     Py_INCREF(Py_None); resultobj = Py_None;
9960     return resultobj;
9961     fail:
9962     return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9967     PyObject *resultobj;
9968     otk::Style *arg1 = (otk::Style *) 0 ;
9969     otk::BTexture *result;
9970     PyObject * obj0  = 0 ;
9971     
9972     if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9973     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9974     result = (otk::BTexture *)& ((arg1)->h_unfocus);
9975     
9976     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9977     return resultobj;
9978     fail:
9979     return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9984     PyObject *resultobj;
9985     otk::Style *arg1 = (otk::Style *) 0 ;
9986     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9987     PyObject * obj0  = 0 ;
9988     PyObject * obj1  = 0 ;
9989     
9990     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9991     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9993     if (arg1) (arg1)->b_focus = *arg2;
9994     
9995     Py_INCREF(Py_None); resultobj = Py_None;
9996     return resultobj;
9997     fail:
9998     return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10003     PyObject *resultobj;
10004     otk::Style *arg1 = (otk::Style *) 0 ;
10005     otk::BTexture *result;
10006     PyObject * obj0  = 0 ;
10007     
10008     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10009     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010     result = (otk::BTexture *)& ((arg1)->b_focus);
10011     
10012     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10013     return resultobj;
10014     fail:
10015     return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10020     PyObject *resultobj;
10021     otk::Style *arg1 = (otk::Style *) 0 ;
10022     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10023     PyObject * obj0  = 0 ;
10024     PyObject * obj1  = 0 ;
10025     
10026     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10027     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10028     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10029     if (arg1) (arg1)->b_unfocus = *arg2;
10030     
10031     Py_INCREF(Py_None); resultobj = Py_None;
10032     return resultobj;
10033     fail:
10034     return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10039     PyObject *resultobj;
10040     otk::Style *arg1 = (otk::Style *) 0 ;
10041     otk::BTexture *result;
10042     PyObject * obj0  = 0 ;
10043     
10044     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10045     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10046     result = (otk::BTexture *)& ((arg1)->b_unfocus);
10047     
10048     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10049     return resultobj;
10050     fail:
10051     return NULL;
10052 }
10053
10054
10055 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10056     PyObject *resultobj;
10057     otk::Style *arg1 = (otk::Style *) 0 ;
10058     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10059     PyObject * obj0  = 0 ;
10060     PyObject * obj1  = 0 ;
10061     
10062     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10063     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10065     if (arg1) (arg1)->b_pressed_focus = *arg2;
10066     
10067     Py_INCREF(Py_None); resultobj = Py_None;
10068     return resultobj;
10069     fail:
10070     return NULL;
10071 }
10072
10073
10074 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10075     PyObject *resultobj;
10076     otk::Style *arg1 = (otk::Style *) 0 ;
10077     otk::BTexture *result;
10078     PyObject * obj0  = 0 ;
10079     
10080     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10081     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10082     result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10083     
10084     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10085     return resultobj;
10086     fail:
10087     return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10092     PyObject *resultobj;
10093     otk::Style *arg1 = (otk::Style *) 0 ;
10094     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10095     PyObject * obj0  = 0 ;
10096     PyObject * obj1  = 0 ;
10097     
10098     if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10099     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10100     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10101     if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10102     
10103     Py_INCREF(Py_None); resultobj = Py_None;
10104     return resultobj;
10105     fail:
10106     return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10111     PyObject *resultobj;
10112     otk::Style *arg1 = (otk::Style *) 0 ;
10113     otk::BTexture *result;
10114     PyObject * obj0  = 0 ;
10115     
10116     if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10117     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10118     result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10119     
10120     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10121     return resultobj;
10122     fail:
10123     return NULL;
10124 }
10125
10126
10127 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10128     PyObject *resultobj;
10129     otk::Style *arg1 = (otk::Style *) 0 ;
10130     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10131     PyObject * obj0  = 0 ;
10132     PyObject * obj1  = 0 ;
10133     
10134     if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10135     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10137     if (arg1) (arg1)->g_focus = *arg2;
10138     
10139     Py_INCREF(Py_None); resultobj = Py_None;
10140     return resultobj;
10141     fail:
10142     return NULL;
10143 }
10144
10145
10146 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10147     PyObject *resultobj;
10148     otk::Style *arg1 = (otk::Style *) 0 ;
10149     otk::BTexture *result;
10150     PyObject * obj0  = 0 ;
10151     
10152     if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10153     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10154     result = (otk::BTexture *)& ((arg1)->g_focus);
10155     
10156     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10157     return resultobj;
10158     fail:
10159     return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10164     PyObject *resultobj;
10165     otk::Style *arg1 = (otk::Style *) 0 ;
10166     otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10167     PyObject * obj0  = 0 ;
10168     PyObject * obj1  = 0 ;
10169     
10170     if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10171     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10173     if (arg1) (arg1)->g_unfocus = *arg2;
10174     
10175     Py_INCREF(Py_None); resultobj = Py_None;
10176     return resultobj;
10177     fail:
10178     return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10183     PyObject *resultobj;
10184     otk::Style *arg1 = (otk::Style *) 0 ;
10185     otk::BTexture *result;
10186     PyObject * obj0  = 0 ;
10187     
10188     if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10189     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190     result = (otk::BTexture *)& ((arg1)->g_unfocus);
10191     
10192     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10193     return resultobj;
10194     fail:
10195     return NULL;
10196 }
10197
10198
10199 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10200     PyObject *resultobj;
10201     otk::Style *arg1 = (otk::Style *) 0 ;
10202     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10203     PyObject * obj0  = 0 ;
10204     PyObject * obj1  = 0 ;
10205     
10206     if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10207     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10208     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10209     if (arg1) (arg1)->close_button = *arg2;
10210     
10211     Py_INCREF(Py_None); resultobj = Py_None;
10212     return resultobj;
10213     fail:
10214     return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10219     PyObject *resultobj;
10220     otk::Style *arg1 = (otk::Style *) 0 ;
10221     otk::PixmapMask *result;
10222     PyObject * obj0  = 0 ;
10223     
10224     if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10225     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10226     result = (otk::PixmapMask *)& ((arg1)->close_button);
10227     
10228     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10229     return resultobj;
10230     fail:
10231     return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10236     PyObject *resultobj;
10237     otk::Style *arg1 = (otk::Style *) 0 ;
10238     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10239     PyObject * obj0  = 0 ;
10240     PyObject * obj1  = 0 ;
10241     
10242     if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10243     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10244     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10245     if (arg1) (arg1)->max_button = *arg2;
10246     
10247     Py_INCREF(Py_None); resultobj = Py_None;
10248     return resultobj;
10249     fail:
10250     return NULL;
10251 }
10252
10253
10254 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10255     PyObject *resultobj;
10256     otk::Style *arg1 = (otk::Style *) 0 ;
10257     otk::PixmapMask *result;
10258     PyObject * obj0  = 0 ;
10259     
10260     if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10261     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10262     result = (otk::PixmapMask *)& ((arg1)->max_button);
10263     
10264     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10265     return resultobj;
10266     fail:
10267     return NULL;
10268 }
10269
10270
10271 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10272     PyObject *resultobj;
10273     otk::Style *arg1 = (otk::Style *) 0 ;
10274     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10275     PyObject * obj0  = 0 ;
10276     PyObject * obj1  = 0 ;
10277     
10278     if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10279     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10281     if (arg1) (arg1)->icon_button = *arg2;
10282     
10283     Py_INCREF(Py_None); resultobj = Py_None;
10284     return resultobj;
10285     fail:
10286     return NULL;
10287 }
10288
10289
10290 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10291     PyObject *resultobj;
10292     otk::Style *arg1 = (otk::Style *) 0 ;
10293     otk::PixmapMask *result;
10294     PyObject * obj0  = 0 ;
10295     
10296     if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10297     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10298     result = (otk::PixmapMask *)& ((arg1)->icon_button);
10299     
10300     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10301     return resultobj;
10302     fail:
10303     return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10308     PyObject *resultobj;
10309     otk::Style *arg1 = (otk::Style *) 0 ;
10310     otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10311     PyObject * obj0  = 0 ;
10312     PyObject * obj1  = 0 ;
10313     
10314     if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10315     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10316     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10317     if (arg1) (arg1)->stick_button = *arg2;
10318     
10319     Py_INCREF(Py_None); resultobj = Py_None;
10320     return resultobj;
10321     fail:
10322     return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10327     PyObject *resultobj;
10328     otk::Style *arg1 = (otk::Style *) 0 ;
10329     otk::PixmapMask *result;
10330     PyObject * obj0  = 0 ;
10331     
10332     if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10333     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334     result = (otk::PixmapMask *)& ((arg1)->stick_button);
10335     
10336     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10337     return resultobj;
10338     fail:
10339     return NULL;
10340 }
10341
10342
10343 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10344     PyObject *resultobj;
10345     otk::Style *arg1 = (otk::Style *) 0 ;
10346     int arg2 ;
10347     PyObject * obj0  = 0 ;
10348     
10349     if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10350     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10351     if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10352     
10353     Py_INCREF(Py_None); resultobj = Py_None;
10354     return resultobj;
10355     fail:
10356     return NULL;
10357 }
10358
10359
10360 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10361     PyObject *resultobj;
10362     otk::Style *arg1 = (otk::Style *) 0 ;
10363     int result;
10364     PyObject * obj0  = 0 ;
10365     
10366     if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10367     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368     result = (int) ((arg1)->justify);
10369     
10370     resultobj = PyInt_FromLong((long)result);
10371     return resultobj;
10372     fail:
10373     return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10378     PyObject *resultobj;
10379     otk::Style *arg1 = (otk::Style *) 0 ;
10380     int arg2 ;
10381     PyObject * obj0  = 0 ;
10382     
10383     if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10384     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10385     if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10386     
10387     Py_INCREF(Py_None); resultobj = Py_None;
10388     return resultobj;
10389     fail:
10390     return NULL;
10391 }
10392
10393
10394 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10395     PyObject *resultobj;
10396     otk::Style *arg1 = (otk::Style *) 0 ;
10397     int result;
10398     PyObject * obj0  = 0 ;
10399     
10400     if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10401     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402     result = (int) ((arg1)->bullet_type);
10403     
10404     resultobj = PyInt_FromLong((long)result);
10405     return resultobj;
10406     fail:
10407     return NULL;
10408 }
10409
10410
10411 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10412     PyObject *resultobj;
10413     otk::Style *arg1 = (otk::Style *) 0 ;
10414     unsigned int arg2 ;
10415     PyObject * obj0  = 0 ;
10416     PyObject * obj1  = 0 ;
10417     
10418     if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10419     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10420     arg2 = (unsigned int) PyInt_AsLong(obj1);
10421     if (PyErr_Occurred()) SWIG_fail;
10422     if (arg1) (arg1)->handle_width = arg2;
10423     
10424     Py_INCREF(Py_None); resultobj = Py_None;
10425     return resultobj;
10426     fail:
10427     return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10432     PyObject *resultobj;
10433     otk::Style *arg1 = (otk::Style *) 0 ;
10434     unsigned int result;
10435     PyObject * obj0  = 0 ;
10436     
10437     if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10438     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10439     result = (unsigned int) ((arg1)->handle_width);
10440     
10441     resultobj = PyInt_FromLong((long)result);
10442     return resultobj;
10443     fail:
10444     return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10449     PyObject *resultobj;
10450     otk::Style *arg1 = (otk::Style *) 0 ;
10451     unsigned int arg2 ;
10452     PyObject * obj0  = 0 ;
10453     PyObject * obj1  = 0 ;
10454     
10455     if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10456     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10457     arg2 = (unsigned int) PyInt_AsLong(obj1);
10458     if (PyErr_Occurred()) SWIG_fail;
10459     if (arg1) (arg1)->bevel_width = arg2;
10460     
10461     Py_INCREF(Py_None); resultobj = Py_None;
10462     return resultobj;
10463     fail:
10464     return NULL;
10465 }
10466
10467
10468 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10469     PyObject *resultobj;
10470     otk::Style *arg1 = (otk::Style *) 0 ;
10471     unsigned int result;
10472     PyObject * obj0  = 0 ;
10473     
10474     if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10475     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10476     result = (unsigned int) ((arg1)->bevel_width);
10477     
10478     resultobj = PyInt_FromLong((long)result);
10479     return resultobj;
10480     fail:
10481     return NULL;
10482 }
10483
10484
10485 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10486     PyObject *resultobj;
10487     otk::Style *arg1 = (otk::Style *) 0 ;
10488     unsigned int arg2 ;
10489     PyObject * obj0  = 0 ;
10490     PyObject * obj1  = 0 ;
10491     
10492     if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10493     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494     arg2 = (unsigned int) PyInt_AsLong(obj1);
10495     if (PyErr_Occurred()) SWIG_fail;
10496     if (arg1) (arg1)->frame_width = arg2;
10497     
10498     Py_INCREF(Py_None); resultobj = Py_None;
10499     return resultobj;
10500     fail:
10501     return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10506     PyObject *resultobj;
10507     otk::Style *arg1 = (otk::Style *) 0 ;
10508     unsigned int result;
10509     PyObject * obj0  = 0 ;
10510     
10511     if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10512     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10513     result = (unsigned int) ((arg1)->frame_width);
10514     
10515     resultobj = PyInt_FromLong((long)result);
10516     return resultobj;
10517     fail:
10518     return NULL;
10519 }
10520
10521
10522 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10523     PyObject *resultobj;
10524     otk::Style *arg1 = (otk::Style *) 0 ;
10525     unsigned int arg2 ;
10526     PyObject * obj0  = 0 ;
10527     PyObject * obj1  = 0 ;
10528     
10529     if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10530     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10531     arg2 = (unsigned int) PyInt_AsLong(obj1);
10532     if (PyErr_Occurred()) SWIG_fail;
10533     if (arg1) (arg1)->border_width = arg2;
10534     
10535     Py_INCREF(Py_None); resultobj = Py_None;
10536     return resultobj;
10537     fail:
10538     return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10543     PyObject *resultobj;
10544     otk::Style *arg1 = (otk::Style *) 0 ;
10545     unsigned int result;
10546     PyObject * obj0  = 0 ;
10547     
10548     if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10549     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10550     result = (unsigned int) ((arg1)->border_width);
10551     
10552     resultobj = PyInt_FromLong((long)result);
10553     return resultobj;
10554     fail:
10555     return NULL;
10556 }
10557
10558
10559 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10560     PyObject *resultobj;
10561     otk::Style *arg1 = (otk::Style *) 0 ;
10562     unsigned int arg2 ;
10563     PyObject * obj0  = 0 ;
10564     PyObject * obj1  = 0 ;
10565     
10566     if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10567     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10568     arg2 = (unsigned int) PyInt_AsLong(obj1);
10569     if (PyErr_Occurred()) SWIG_fail;
10570     if (arg1) (arg1)->screen_number = arg2;
10571     
10572     Py_INCREF(Py_None); resultobj = Py_None;
10573     return resultobj;
10574     fail:
10575     return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10580     PyObject *resultobj;
10581     otk::Style *arg1 = (otk::Style *) 0 ;
10582     unsigned int result;
10583     PyObject * obj0  = 0 ;
10584     
10585     if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10586     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587     result = (unsigned int) ((arg1)->screen_number);
10588     
10589     resultobj = PyInt_FromLong((long)result);
10590     return resultobj;
10591     fail:
10592     return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10597     PyObject *resultobj;
10598     otk::Style *arg1 = (otk::Style *) 0 ;
10599     bool arg2 ;
10600     PyObject * obj0  = 0 ;
10601     PyObject * obj1  = 0 ;
10602     
10603     if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10604     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605     arg2 = (bool) PyInt_AsLong(obj1);
10606     if (PyErr_Occurred()) SWIG_fail;
10607     if (arg1) (arg1)->shadow_fonts = arg2;
10608     
10609     Py_INCREF(Py_None); resultobj = Py_None;
10610     return resultobj;
10611     fail:
10612     return NULL;
10613 }
10614
10615
10616 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10617     PyObject *resultobj;
10618     otk::Style *arg1 = (otk::Style *) 0 ;
10619     bool result;
10620     PyObject * obj0  = 0 ;
10621     
10622     if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10623     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10624     result = (bool) ((arg1)->shadow_fonts);
10625     
10626     resultobj = PyInt_FromLong((long)result);
10627     return resultobj;
10628     fail:
10629     return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10634     PyObject *resultobj;
10635     otk::Style *arg1 = (otk::Style *) 0 ;
10636     bool arg2 ;
10637     PyObject * obj0  = 0 ;
10638     PyObject * obj1  = 0 ;
10639     
10640     if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10641     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10642     arg2 = (bool) PyInt_AsLong(obj1);
10643     if (PyErr_Occurred()) SWIG_fail;
10644     if (arg1) (arg1)->aa_fonts = arg2;
10645     
10646     Py_INCREF(Py_None); resultobj = Py_None;
10647     return resultobj;
10648     fail:
10649     return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10654     PyObject *resultobj;
10655     otk::Style *arg1 = (otk::Style *) 0 ;
10656     bool result;
10657     PyObject * obj0  = 0 ;
10658     
10659     if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10660     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661     result = (bool) ((arg1)->aa_fonts);
10662     
10663     resultobj = PyInt_FromLong((long)result);
10664     return resultobj;
10665     fail:
10666     return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10671     PyObject *resultobj;
10672     otk::Style *result;
10673     
10674     if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10675     result = (otk::Style *)new otk::Style();
10676     
10677     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10678     return resultobj;
10679     fail:
10680     return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10685     PyObject *resultobj;
10686     otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10687     otk::Style *result;
10688     PyObject * obj0  = 0 ;
10689     
10690     if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10691     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692     result = (otk::Style *)new otk::Style(arg1);
10693     
10694     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10695     return resultobj;
10696     fail:
10697     return NULL;
10698 }
10699
10700
10701 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10702     int argc;
10703     PyObject *argv[2];
10704     int ii;
10705     
10706     argc = PyObject_Length(args);
10707     for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10708         argv[ii] = PyTuple_GetItem(args,ii);
10709     }
10710     if (argc == 0) {
10711         return _wrap_new_Style__SWIG_0(self,args);
10712     }
10713     if (argc == 1) {
10714         int _v;
10715         {
10716             void *ptr;
10717             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10718                 _v = 0;
10719                 PyErr_Clear();
10720             }else {
10721                 _v = 1;
10722             }
10723         }
10724         if (_v) {
10725             return _wrap_new_Style__SWIG_1(self,args);
10726         }
10727     }
10728     
10729     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10730     return NULL;
10731 }
10732
10733
10734 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10735     PyObject *resultobj;
10736     otk::Style *arg1 = (otk::Style *) 0 ;
10737     PyObject * obj0  = 0 ;
10738     
10739     if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10740     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741     delete arg1;
10742     
10743     Py_INCREF(Py_None); resultobj = Py_None;
10744     return resultobj;
10745     fail:
10746     return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10751     PyObject *resultobj;
10752     otk::Style *arg1 = (otk::Style *) 0 ;
10753     std::string *arg2 = 0 ;
10754     otk::PixmapMask *arg3 = 0 ;
10755     otk::Configuration *arg4 = 0 ;
10756     std::string temp2 ;
10757     PyObject * obj0  = 0 ;
10758     PyObject * obj1  = 0 ;
10759     PyObject * obj2  = 0 ;
10760     PyObject * obj3  = 0 ;
10761     
10762     if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10763     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10764     {
10765         if (PyString_Check(obj1)) {
10766             temp2 = std::string(PyString_AsString(obj1));
10767             arg2 = &temp2;
10768         }else {
10769             SWIG_exception(SWIG_TypeError, "string expected");
10770         }
10771     }
10772     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773     if (arg3 == NULL) {
10774         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10775     }
10776     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10777     if (arg4 == NULL) {
10778         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10779     }
10780     (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10781     
10782     Py_INCREF(Py_None); resultobj = Py_None;
10783     return resultobj;
10784     fail:
10785     return NULL;
10786 }
10787
10788
10789 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10790     PyObject *resultobj;
10791     otk::Style *arg1 = (otk::Style *) 0 ;
10792     std::string *arg2 = 0 ;
10793     std::string *arg3 = 0 ;
10794     otk::Configuration *arg4 = 0 ;
10795     bool arg5 = (bool) false ;
10796     otk::BTexture result;
10797     std::string temp2 ;
10798     std::string temp3 ;
10799     PyObject * obj0  = 0 ;
10800     PyObject * obj1  = 0 ;
10801     PyObject * obj2  = 0 ;
10802     PyObject * obj3  = 0 ;
10803     PyObject * obj4  = 0 ;
10804     
10805     if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10806     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10807     {
10808         if (PyString_Check(obj1)) {
10809             temp2 = std::string(PyString_AsString(obj1));
10810             arg2 = &temp2;
10811         }else {
10812             SWIG_exception(SWIG_TypeError, "string expected");
10813         }
10814     }
10815     {
10816         if (PyString_Check(obj2)) {
10817             temp3 = std::string(PyString_AsString(obj2));
10818             arg3 = &temp3;
10819         }else {
10820             SWIG_exception(SWIG_TypeError, "string expected");
10821         }
10822     }
10823     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10824     if (arg4 == NULL) {
10825         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10826     }
10827     if (obj4) {
10828         arg5 = (bool) PyInt_AsLong(obj4);
10829         if (PyErr_Occurred()) SWIG_fail;
10830     }
10831     result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10832     
10833     {
10834         otk::BTexture * resultptr;
10835         resultptr = new otk::BTexture((otk::BTexture &) result);
10836         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10837     }
10838     return resultobj;
10839     fail:
10840     return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10845     PyObject *resultobj;
10846     otk::Style *arg1 = (otk::Style *) 0 ;
10847     std::string *arg2 = 0 ;
10848     std::string *arg3 = 0 ;
10849     otk::Configuration *arg4 = 0 ;
10850     otk::BColor result;
10851     std::string temp2 ;
10852     std::string temp3 ;
10853     PyObject * obj0  = 0 ;
10854     PyObject * obj1  = 0 ;
10855     PyObject * obj2  = 0 ;
10856     PyObject * obj3  = 0 ;
10857     
10858     if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10859     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860     {
10861         if (PyString_Check(obj1)) {
10862             temp2 = std::string(PyString_AsString(obj1));
10863             arg2 = &temp2;
10864         }else {
10865             SWIG_exception(SWIG_TypeError, "string expected");
10866         }
10867     }
10868     {
10869         if (PyString_Check(obj2)) {
10870             temp3 = std::string(PyString_AsString(obj2));
10871             arg3 = &temp3;
10872         }else {
10873             SWIG_exception(SWIG_TypeError, "string expected");
10874         }
10875     }
10876     if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10877     if (arg4 == NULL) {
10878         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10879     }
10880     result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10881     
10882     {
10883         otk::BColor * resultptr;
10884         resultptr = new otk::BColor((otk::BColor &) result);
10885         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10886     }
10887     return resultobj;
10888     fail:
10889     return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10894     PyObject *resultobj;
10895     otk::Style *arg1 = (otk::Style *) 0 ;
10896     std::string *arg2 = 0 ;
10897     otk::Configuration *arg3 = 0 ;
10898     otk::BFont *result;
10899     std::string temp2 ;
10900     PyObject * obj0  = 0 ;
10901     PyObject * obj1  = 0 ;
10902     PyObject * obj2  = 0 ;
10903     
10904     if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10905     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10906     {
10907         if (PyString_Check(obj1)) {
10908             temp2 = std::string(PyString_AsString(obj1));
10909             arg2 = &temp2;
10910         }else {
10911             SWIG_exception(SWIG_TypeError, "string expected");
10912         }
10913     }
10914     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10915     if (arg3 == NULL) {
10916         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10917     }
10918     result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10919     
10920     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10921     return resultobj;
10922     fail:
10923     return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10928     PyObject *resultobj;
10929     otk::Style *arg1 = (otk::Style *) 0 ;
10930     otk::Configuration *arg2 = 0 ;
10931     PyObject * obj0  = 0 ;
10932     PyObject * obj1  = 0 ;
10933     
10934     if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10935     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10936     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10937     if (arg2 == NULL) {
10938         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
10939     }
10940     (arg1)->load((otk::Configuration const &)*arg2);
10941     
10942     Py_INCREF(Py_None); resultobj = Py_None;
10943     return resultobj;
10944     fail:
10945     return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
10950     PyObject *resultobj;
10951     otk::Style *arg1 = (otk::Style *) 0 ;
10952     otk::PixmapMask *result;
10953     PyObject * obj0  = 0 ;
10954     
10955     if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
10956     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10957     result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
10958     
10959     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10960     return resultobj;
10961     fail:
10962     return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
10967     PyObject *resultobj;
10968     otk::Style *arg1 = (otk::Style *) 0 ;
10969     otk::PixmapMask *result;
10970     PyObject * obj0  = 0 ;
10971     
10972     if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
10973     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10974     result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
10975     
10976     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10977     return resultobj;
10978     fail:
10979     return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
10984     PyObject *resultobj;
10985     otk::Style *arg1 = (otk::Style *) 0 ;
10986     otk::PixmapMask *result;
10987     PyObject * obj0  = 0 ;
10988     
10989     if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
10990     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10991     result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
10992     
10993     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10994     return resultobj;
10995     fail:
10996     return NULL;
10997 }
10998
10999
11000 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11001     PyObject *resultobj;
11002     otk::Style *arg1 = (otk::Style *) 0 ;
11003     otk::PixmapMask *result;
11004     PyObject * obj0  = 0 ;
11005     
11006     if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11007     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008     result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11009     
11010     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11011     return resultobj;
11012     fail:
11013     return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11018     PyObject *resultobj;
11019     otk::Style *arg1 = (otk::Style *) 0 ;
11020     otk::BColor *result;
11021     PyObject * obj0  = 0 ;
11022     
11023     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11024     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025     result = (otk::BColor *)(arg1)->getTextFocus();
11026     
11027     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11028     return resultobj;
11029     fail:
11030     return NULL;
11031 }
11032
11033
11034 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11035     PyObject *resultobj;
11036     otk::Style *arg1 = (otk::Style *) 0 ;
11037     otk::BColor *result;
11038     PyObject * obj0  = 0 ;
11039     
11040     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11041     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11042     result = (otk::BColor *)(arg1)->getTextUnfocus();
11043     
11044     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11045     return resultobj;
11046     fail:
11047     return NULL;
11048 }
11049
11050
11051 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11052     PyObject *resultobj;
11053     otk::Style *arg1 = (otk::Style *) 0 ;
11054     otk::BColor *result;
11055     PyObject * obj0  = 0 ;
11056     
11057     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11058     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11059     result = (otk::BColor *)(arg1)->getButtonPicFocus();
11060     
11061     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11062     return resultobj;
11063     fail:
11064     return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11069     PyObject *resultobj;
11070     otk::Style *arg1 = (otk::Style *) 0 ;
11071     otk::BColor *result;
11072     PyObject * obj0  = 0 ;
11073     
11074     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11075     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11076     result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11077     
11078     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11079     return resultobj;
11080     fail:
11081     return NULL;
11082 }
11083
11084
11085 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11086     PyObject *resultobj;
11087     otk::Style *arg1 = (otk::Style *) 0 ;
11088     otk::BTexture *result;
11089     PyObject * obj0  = 0 ;
11090     
11091     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11092     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11093     result = (otk::BTexture *)(arg1)->getTitleFocus();
11094     
11095     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11096     return resultobj;
11097     fail:
11098     return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11103     PyObject *resultobj;
11104     otk::Style *arg1 = (otk::Style *) 0 ;
11105     otk::BTexture *result;
11106     PyObject * obj0  = 0 ;
11107     
11108     if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11109     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11110     result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11111     
11112     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11113     return resultobj;
11114     fail:
11115     return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11120     PyObject *resultobj;
11121     otk::Style *arg1 = (otk::Style *) 0 ;
11122     otk::BTexture *result;
11123     PyObject * obj0  = 0 ;
11124     
11125     if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11126     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11127     result = (otk::BTexture *)(arg1)->getLabelFocus();
11128     
11129     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11130     return resultobj;
11131     fail:
11132     return NULL;
11133 }
11134
11135
11136 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11137     PyObject *resultobj;
11138     otk::Style *arg1 = (otk::Style *) 0 ;
11139     otk::BTexture *result;
11140     PyObject * obj0  = 0 ;
11141     
11142     if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11143     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11144     result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11145     
11146     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11147     return resultobj;
11148     fail:
11149     return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11154     PyObject *resultobj;
11155     otk::Style *arg1 = (otk::Style *) 0 ;
11156     otk::BTexture *result;
11157     PyObject * obj0  = 0 ;
11158     
11159     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11160     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11161     result = (otk::BTexture *)(arg1)->getHandleFocus();
11162     
11163     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11164     return resultobj;
11165     fail:
11166     return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11171     PyObject *resultobj;
11172     otk::Style *arg1 = (otk::Style *) 0 ;
11173     otk::BTexture *result;
11174     PyObject * obj0  = 0 ;
11175     
11176     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11177     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11178     result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11179     
11180     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11181     return resultobj;
11182     fail:
11183     return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11188     PyObject *resultobj;
11189     otk::Style *arg1 = (otk::Style *) 0 ;
11190     otk::BTexture *result;
11191     PyObject * obj0  = 0 ;
11192     
11193     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11194     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11195     result = (otk::BTexture *)(arg1)->getButtonFocus();
11196     
11197     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11198     return resultobj;
11199     fail:
11200     return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11205     PyObject *resultobj;
11206     otk::Style *arg1 = (otk::Style *) 0 ;
11207     otk::BTexture *result;
11208     PyObject * obj0  = 0 ;
11209     
11210     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11211     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11212     result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11213     
11214     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11215     return resultobj;
11216     fail:
11217     return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11222     PyObject *resultobj;
11223     otk::Style *arg1 = (otk::Style *) 0 ;
11224     otk::BTexture *result;
11225     PyObject * obj0  = 0 ;
11226     
11227     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11228     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11229     result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11230     
11231     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11232     return resultobj;
11233     fail:
11234     return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11239     PyObject *resultobj;
11240     otk::Style *arg1 = (otk::Style *) 0 ;
11241     otk::BTexture *result;
11242     PyObject * obj0  = 0 ;
11243     
11244     if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11245     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246     result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11247     
11248     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11249     return resultobj;
11250     fail:
11251     return NULL;
11252 }
11253
11254
11255 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11256     PyObject *resultobj;
11257     otk::Style *arg1 = (otk::Style *) 0 ;
11258     otk::BTexture *result;
11259     PyObject * obj0  = 0 ;
11260     
11261     if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11262     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11263     result = (otk::BTexture *)(arg1)->getGripFocus();
11264     
11265     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11266     return resultobj;
11267     fail:
11268     return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11273     PyObject *resultobj;
11274     otk::Style *arg1 = (otk::Style *) 0 ;
11275     otk::BTexture *result;
11276     PyObject * obj0  = 0 ;
11277     
11278     if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11279     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11280     result = (otk::BTexture *)(arg1)->getGripUnfocus();
11281     
11282     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11283     return resultobj;
11284     fail:
11285     return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11290     PyObject *resultobj;
11291     otk::Style *arg1 = (otk::Style *) 0 ;
11292     unsigned int result;
11293     PyObject * obj0  = 0 ;
11294     
11295     if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11296     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11297     result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11298     
11299     resultobj = PyInt_FromLong((long)result);
11300     return resultobj;
11301     fail:
11302     return NULL;
11303 }
11304
11305
11306 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11307     PyObject *resultobj;
11308     otk::Style *arg1 = (otk::Style *) 0 ;
11309     unsigned int result;
11310     PyObject * obj0  = 0 ;
11311     
11312     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11313     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11314     result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11315     
11316     resultobj = PyInt_FromLong((long)result);
11317     return resultobj;
11318     fail:
11319     return NULL;
11320 }
11321
11322
11323 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11324     PyObject *resultobj;
11325     otk::Style *arg1 = (otk::Style *) 0 ;
11326     unsigned int result;
11327     PyObject * obj0  = 0 ;
11328     
11329     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11330     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331     result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11332     
11333     resultobj = PyInt_FromLong((long)result);
11334     return resultobj;
11335     fail:
11336     return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11341     PyObject *resultobj;
11342     otk::Style *arg1 = (otk::Style *) 0 ;
11343     unsigned int result;
11344     PyObject * obj0  = 0 ;
11345     
11346     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11347     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11348     result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11349     
11350     resultobj = PyInt_FromLong((long)result);
11351     return resultobj;
11352     fail:
11353     return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11358     PyObject *resultobj;
11359     otk::Style *arg1 = (otk::Style *) 0 ;
11360     otk::BFont *result;
11361     PyObject * obj0  = 0 ;
11362     
11363     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11364     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365     result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11366     
11367     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11368     return resultobj;
11369     fail:
11370     return NULL;
11371 }
11372
11373
11374 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11375     PyObject *resultobj;
11376     otk::Style *arg1 = (otk::Style *) 0 ;
11377     bool arg2 ;
11378     PyObject * obj0  = 0 ;
11379     PyObject * obj1  = 0 ;
11380     
11381     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11382     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383     arg2 = (bool) PyInt_AsLong(obj1);
11384     if (PyErr_Occurred()) SWIG_fail;
11385     (arg1)->setShadowFonts(arg2);
11386     
11387     Py_INCREF(Py_None); resultobj = Py_None;
11388     return resultobj;
11389     fail:
11390     return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11395     PyObject *resultobj;
11396     otk::Style *arg1 = (otk::Style *) 0 ;
11397     bool result;
11398     PyObject * obj0  = 0 ;
11399     
11400     if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11401     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11402     result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11403     
11404     resultobj = PyInt_FromLong((long)result);
11405     return resultobj;
11406     fail:
11407     return NULL;
11408 }
11409
11410
11411 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11412     PyObject *resultobj;
11413     otk::Style *arg1 = (otk::Style *) 0 ;
11414     bool arg2 ;
11415     PyObject * obj0  = 0 ;
11416     PyObject * obj1  = 0 ;
11417     
11418     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11419     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420     arg2 = (bool) PyInt_AsLong(obj1);
11421     if (PyErr_Occurred()) SWIG_fail;
11422     (arg1)->setAAFonts(arg2);
11423     
11424     Py_INCREF(Py_None); resultobj = Py_None;
11425     return resultobj;
11426     fail:
11427     return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11432     PyObject *resultobj;
11433     otk::Style *arg1 = (otk::Style *) 0 ;
11434     bool result;
11435     PyObject * obj0  = 0 ;
11436     
11437     if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11438     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439     result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11440     
11441     resultobj = PyInt_FromLong((long)result);
11442     return resultobj;
11443     fail:
11444     return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11449     PyObject *resultobj;
11450     otk::Style *arg1 = (otk::Style *) 0 ;
11451     int result;
11452     PyObject * obj0  = 0 ;
11453     
11454     if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11455     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11456     result = (int)(arg1)->textJustify();
11457     
11458     resultobj = PyInt_FromLong((long)result);
11459     return resultobj;
11460     fail:
11461     return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11466     PyObject *resultobj;
11467     otk::Style *arg1 = (otk::Style *) 0 ;
11468     int result;
11469     PyObject * obj0  = 0 ;
11470     
11471     if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11472     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11473     result = (int)(arg1)->bulletType();
11474     
11475     resultobj = PyInt_FromLong((long)result);
11476     return resultobj;
11477     fail:
11478     return NULL;
11479 }
11480
11481
11482 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11483     PyObject *resultobj;
11484     otk::Style *arg1 = (otk::Style *) 0 ;
11485     otk::BColor *result;
11486     PyObject * obj0  = 0 ;
11487     
11488     if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11489     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11490     result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11491     
11492     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11493     return resultobj;
11494     fail:
11495     return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11500     PyObject *resultobj;
11501     otk::Style *arg1 = (otk::Style *) 0 ;
11502     otk::BTexture *result;
11503     PyObject * obj0  = 0 ;
11504     
11505     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11506     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11507     result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11508     
11509     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11510     return resultobj;
11511     fail:
11512     return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11517     PyObject *resultobj;
11518     otk::Style *arg1 = (otk::Style *) 0 ;
11519     otk::BTexture *result;
11520     PyObject * obj0  = 0 ;
11521     
11522     if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11523     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11524     result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11525     
11526     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11527     return resultobj;
11528     fail:
11529     return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11534     PyObject *resultobj;
11535     otk::Style *arg1 = (otk::Style *) 0 ;
11536     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11537     PyObject * obj0  = 0 ;
11538     PyObject * obj1  = 0 ;
11539     
11540     if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11541     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11542     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11543     (arg1)->setImageControl(arg2);
11544     
11545     Py_INCREF(Py_None); resultobj = Py_None;
11546     return resultobj;
11547     fail:
11548     return NULL;
11549 }
11550
11551
11552 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11553     PyObject *resultobj;
11554     otk::Style *arg1 = (otk::Style *) 0 ;
11555     unsigned int result;
11556     PyObject * obj0  = 0 ;
11557     
11558     if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11559     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11560     result = (unsigned int)(arg1)->getScreen();
11561     
11562     resultobj = PyInt_FromLong((long)result);
11563     return resultobj;
11564     fail:
11565     return NULL;
11566 }
11567
11568
11569 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11570     PyObject *obj;
11571     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11572     SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11573     Py_INCREF(obj);
11574     return Py_BuildValue((char *)"");
11575 }
11576 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11577     PyObject *resultobj;
11578     unsigned int arg1 = (unsigned int) ~(0u) ;
11579     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11580     otk::BTexture *result;
11581     PyObject * obj0  = 0 ;
11582     PyObject * obj1  = 0 ;
11583     
11584     if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11585     if (obj0) {
11586         arg1 = (unsigned int) PyInt_AsLong(obj0);
11587         if (PyErr_Occurred()) SWIG_fail;
11588     }
11589     if (obj1) {
11590         if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11591     }
11592     result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11593     
11594     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11595     return resultobj;
11596     fail:
11597     return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11602     PyObject *resultobj;
11603     std::string *arg1 = 0 ;
11604     unsigned int arg2 = (unsigned int) ~(0u) ;
11605     otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11606     otk::BTexture *result;
11607     std::string temp1 ;
11608     PyObject * obj0  = 0 ;
11609     PyObject * obj1  = 0 ;
11610     PyObject * obj2  = 0 ;
11611     
11612     if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11613     {
11614         if (PyString_Check(obj0)) {
11615             temp1 = std::string(PyString_AsString(obj0));
11616             arg1 = &temp1;
11617         }else {
11618             SWIG_exception(SWIG_TypeError, "string expected");
11619         }
11620     }
11621     if (obj1) {
11622         arg2 = (unsigned int) PyInt_AsLong(obj1);
11623         if (PyErr_Occurred()) SWIG_fail;
11624     }
11625     if (obj2) {
11626         if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11627     }
11628     result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11629     
11630     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11631     return resultobj;
11632     fail:
11633     return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11638     int argc;
11639     PyObject *argv[4];
11640     int ii;
11641     
11642     argc = PyObject_Length(args);
11643     for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11644         argv[ii] = PyTuple_GetItem(args,ii);
11645     }
11646     if ((argc >= 0) && (argc <= 2)) {
11647         int _v;
11648         if (argc <= 0) {
11649             return _wrap_new_BTexture__SWIG_0(self,args);
11650         }
11651         {
11652             _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11653         }
11654         if (_v) {
11655             if (argc <= 1) {
11656                 return _wrap_new_BTexture__SWIG_0(self,args);
11657             }
11658             {
11659                 void *ptr;
11660                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11661                     _v = 0;
11662                     PyErr_Clear();
11663                 }else {
11664                     _v = 1;
11665                 }
11666             }
11667             if (_v) {
11668                 return _wrap_new_BTexture__SWIG_0(self,args);
11669             }
11670         }
11671     }
11672     if ((argc >= 1) && (argc <= 3)) {
11673         int _v;
11674         {
11675             _v = PyString_Check(argv[0]) ? 1 : 0;
11676         }
11677         if (_v) {
11678             if (argc <= 1) {
11679                 return _wrap_new_BTexture__SWIG_1(self,args);
11680             }
11681             {
11682                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11683             }
11684             if (_v) {
11685                 if (argc <= 2) {
11686                     return _wrap_new_BTexture__SWIG_1(self,args);
11687                 }
11688                 {
11689                     void *ptr;
11690                     if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11691                         _v = 0;
11692                         PyErr_Clear();
11693                     }else {
11694                         _v = 1;
11695                     }
11696                 }
11697                 if (_v) {
11698                     return _wrap_new_BTexture__SWIG_1(self,args);
11699                 }
11700             }
11701         }
11702     }
11703     
11704     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11705     return NULL;
11706 }
11707
11708
11709 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11710     PyObject *resultobj;
11711     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11712     otk::BColor *arg2 = 0 ;
11713     PyObject * obj0  = 0 ;
11714     PyObject * obj1  = 0 ;
11715     
11716     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11717     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11718     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719     if (arg2 == NULL) {
11720         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11721     }
11722     (arg1)->setColor((otk::BColor const &)*arg2);
11723     
11724     Py_INCREF(Py_None); resultobj = Py_None;
11725     return resultobj;
11726     fail:
11727     return NULL;
11728 }
11729
11730
11731 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11732     PyObject *resultobj;
11733     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11734     otk::BColor *arg2 = 0 ;
11735     PyObject * obj0  = 0 ;
11736     PyObject * obj1  = 0 ;
11737     
11738     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11739     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11740     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11741     if (arg2 == NULL) {
11742         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11743     }
11744     (arg1)->setColorTo((otk::BColor const &)*arg2);
11745     
11746     Py_INCREF(Py_None); resultobj = Py_None;
11747     return resultobj;
11748     fail:
11749     return NULL;
11750 }
11751
11752
11753 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11754     PyObject *resultobj;
11755     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11756     otk::BColor *arg2 = 0 ;
11757     PyObject * obj0  = 0 ;
11758     PyObject * obj1  = 0 ;
11759     
11760     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11761     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11762     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11763     if (arg2 == NULL) {
11764         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11765     }
11766     (arg1)->setBorderColor((otk::BColor const &)*arg2);
11767     
11768     Py_INCREF(Py_None); resultobj = Py_None;
11769     return resultobj;
11770     fail:
11771     return NULL;
11772 }
11773
11774
11775 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11776     PyObject *resultobj;
11777     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11778     otk::BColor *result;
11779     PyObject * obj0  = 0 ;
11780     
11781     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11782     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11783     {
11784         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11785         result = (otk::BColor *) &_result_ref;
11786     }
11787     
11788     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11789     return resultobj;
11790     fail:
11791     return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11796     PyObject *resultobj;
11797     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11798     otk::BColor *result;
11799     PyObject * obj0  = 0 ;
11800     
11801     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11802     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803     {
11804         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11805         result = (otk::BColor *) &_result_ref;
11806     }
11807     
11808     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11809     return resultobj;
11810     fail:
11811     return NULL;
11812 }
11813
11814
11815 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11816     PyObject *resultobj;
11817     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11818     otk::BColor *result;
11819     PyObject * obj0  = 0 ;
11820     
11821     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11822     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11823     {
11824         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11825         result = (otk::BColor *) &_result_ref;
11826     }
11827     
11828     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11829     return resultobj;
11830     fail:
11831     return NULL;
11832 }
11833
11834
11835 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11836     PyObject *resultobj;
11837     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11838     otk::BColor *result;
11839     PyObject * obj0  = 0 ;
11840     
11841     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11842     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843     {
11844         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11845         result = (otk::BColor *) &_result_ref;
11846     }
11847     
11848     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11849     return resultobj;
11850     fail:
11851     return NULL;
11852 }
11853
11854
11855 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11856     PyObject *resultobj;
11857     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11858     otk::BColor *result;
11859     PyObject * obj0  = 0 ;
11860     
11861     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11862     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863     {
11864         otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11865         result = (otk::BColor *) &_result_ref;
11866     }
11867     
11868     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11869     return resultobj;
11870     fail:
11871     return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11876     PyObject *resultobj;
11877     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11878     unsigned long result;
11879     PyObject * obj0  = 0 ;
11880     
11881     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11882     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11883     result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11884     
11885     resultobj = PyInt_FromLong((long)result);
11886     return resultobj;
11887     fail:
11888     return NULL;
11889 }
11890
11891
11892 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11893     PyObject *resultobj;
11894     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11895     unsigned long arg2 ;
11896     PyObject * obj0  = 0 ;
11897     PyObject * obj1  = 0 ;
11898     
11899     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11900     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11901     arg2 = (unsigned long) PyInt_AsLong(obj1);
11902     if (PyErr_Occurred()) SWIG_fail;
11903     (arg1)->setTexture(arg2);
11904     
11905     Py_INCREF(Py_None); resultobj = Py_None;
11906     return resultobj;
11907     fail:
11908     return NULL;
11909 }
11910
11911
11912 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11913     PyObject *resultobj;
11914     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11915     unsigned long arg2 ;
11916     PyObject * obj0  = 0 ;
11917     PyObject * obj1  = 0 ;
11918     
11919     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11920     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11921     arg2 = (unsigned long) PyInt_AsLong(obj1);
11922     if (PyErr_Occurred()) SWIG_fail;
11923     (arg1)->addTexture(arg2);
11924     
11925     Py_INCREF(Py_None); resultobj = Py_None;
11926     return resultobj;
11927     fail:
11928     return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11933     PyObject *resultobj;
11934     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11935     otk::BTexture *arg2 = 0 ;
11936     bool result;
11937     PyObject * obj0  = 0 ;
11938     PyObject * obj1  = 0 ;
11939     
11940     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11941     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11942     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943     if (arg2 == NULL) {
11944         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
11945     }
11946     result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11947     
11948     resultobj = PyInt_FromLong((long)result);
11949     return resultobj;
11950     fail:
11951     return NULL;
11952 }
11953
11954
11955 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11956     PyObject *resultobj;
11957     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11958     unsigned int result;
11959     PyObject * obj0  = 0 ;
11960     
11961     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11962     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11963     result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11964     
11965     resultobj = PyInt_FromLong((long)result);
11966     return resultobj;
11967     fail:
11968     return NULL;
11969 }
11970
11971
11972 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11973     PyObject *resultobj;
11974     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11975     unsigned int arg2 ;
11976     PyObject * obj0  = 0 ;
11977     PyObject * obj1  = 0 ;
11978     
11979     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11980     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11981     arg2 = (unsigned int) PyInt_AsLong(obj1);
11982     if (PyErr_Occurred()) SWIG_fail;
11983     (arg1)->setScreen(arg2);
11984     
11985     Py_INCREF(Py_None); resultobj = Py_None;
11986     return resultobj;
11987     fail:
11988     return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11993     PyObject *resultobj;
11994     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11995     otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11996     PyObject * obj0  = 0 ;
11997     PyObject * obj1  = 0 ;
11998     
11999     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12000     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12001     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002     (arg1)->setImageControl(arg2);
12003     
12004     Py_INCREF(Py_None); resultobj = Py_None;
12005     return resultobj;
12006     fail:
12007     return NULL;
12008 }
12009
12010
12011 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12012     PyObject *resultobj;
12013     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12014     std::string *result;
12015     PyObject * obj0  = 0 ;
12016     
12017     if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12018     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12019     {
12020         std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12021         result = (std::string *) &_result_ref;
12022     }
12023     
12024     {
12025         resultobj = PyString_FromString(result->c_str());
12026     }
12027     return resultobj;
12028     fail:
12029     return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12034     PyObject *resultobj;
12035     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12036     std::string *arg2 = 0 ;
12037     std::string temp2 ;
12038     PyObject * obj0  = 0 ;
12039     PyObject * obj1  = 0 ;
12040     
12041     if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12042     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043     {
12044         if (PyString_Check(obj1)) {
12045             temp2 = std::string(PyString_AsString(obj1));
12046             arg2 = &temp2;
12047         }else {
12048             SWIG_exception(SWIG_TypeError, "string expected");
12049         }
12050     }
12051     (arg1)->setDescription((std::string const &)*arg2);
12052     
12053     Py_INCREF(Py_None); resultobj = Py_None;
12054     return resultobj;
12055     fail:
12056     return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12061     PyObject *resultobj;
12062     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12063     unsigned int arg2 ;
12064     unsigned int arg3 ;
12065     Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12066     Pixmap result;
12067     PyObject * obj0  = 0 ;
12068     PyObject * obj1  = 0 ;
12069     PyObject * obj2  = 0 ;
12070     PyObject * obj3  = 0 ;
12071     
12072     if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12073     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12074     arg2 = (unsigned int) PyInt_AsLong(obj1);
12075     if (PyErr_Occurred()) SWIG_fail;
12076     arg3 = (unsigned int) PyInt_AsLong(obj2);
12077     if (PyErr_Occurred()) SWIG_fail;
12078     if (obj3) {
12079         arg4 = (Pixmap) PyInt_AsLong(obj3);
12080         if (PyErr_Occurred()) SWIG_fail;
12081     }
12082     result = (Pixmap)(arg1)->render(arg2,arg3,arg4);
12083     
12084     resultobj = PyInt_FromLong((long)result);
12085     return resultobj;
12086     fail:
12087     return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12092     PyObject *resultobj;
12093     otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12094     PyObject * obj0  = 0 ;
12095     
12096     if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12097     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12098     delete arg1;
12099     
12100     Py_INCREF(Py_None); resultobj = Py_None;
12101     return resultobj;
12102     fail:
12103     return NULL;
12104 }
12105
12106
12107 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12108     PyObject *obj;
12109     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12110     SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12111     Py_INCREF(obj);
12112     return Py_BuildValue((char *)"");
12113 }
12114 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12115     PyObject *resultobj;
12116     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12117     otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12118     otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12119     otk::OBTimer *result;
12120     PyObject * obj0  = 0 ;
12121     PyObject * obj1  = 0 ;
12122     PyObject * obj2  = 0 ;
12123     
12124     if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12125     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127     if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128     result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12129     
12130     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12131     return resultobj;
12132     fail:
12133     return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12138     PyObject *resultobj;
12139     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12140     PyObject * obj0  = 0 ;
12141     
12142     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12143     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12144     delete arg1;
12145     
12146     Py_INCREF(Py_None); resultobj = Py_None;
12147     return resultobj;
12148     fail:
12149     return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12154     PyObject *resultobj;
12155     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12156     PyObject * obj0  = 0 ;
12157     
12158     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12159     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12160     (arg1)->fire();
12161     
12162     Py_INCREF(Py_None); resultobj = Py_None;
12163     return resultobj;
12164     fail:
12165     return NULL;
12166 }
12167
12168
12169 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12170     PyObject *resultobj;
12171     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12172     bool result;
12173     PyObject * obj0  = 0 ;
12174     
12175     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12176     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177     result = (bool)((otk::OBTimer const *)arg1)->timing();
12178     
12179     resultobj = PyInt_FromLong((long)result);
12180     return resultobj;
12181     fail:
12182     return NULL;
12183 }
12184
12185
12186 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12187     PyObject *resultobj;
12188     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12189     bool result;
12190     PyObject * obj0  = 0 ;
12191     
12192     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12193     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12194     result = (bool)((otk::OBTimer const *)arg1)->recurring();
12195     
12196     resultobj = PyInt_FromLong((long)result);
12197     return resultobj;
12198     fail:
12199     return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12204     PyObject *resultobj;
12205     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12206     timeval *result;
12207     PyObject * obj0  = 0 ;
12208     
12209     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12210     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12211     {
12212         timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12213         result = (timeval *) &_result_ref;
12214     }
12215     
12216     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12217     return resultobj;
12218     fail:
12219     return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12224     PyObject *resultobj;
12225     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12226     timeval *result;
12227     PyObject * obj0  = 0 ;
12228     
12229     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12230     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12231     {
12232         timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12233         result = (timeval *) &_result_ref;
12234     }
12235     
12236     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12237     return resultobj;
12238     fail:
12239     return NULL;
12240 }
12241
12242
12243 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12244     PyObject *resultobj;
12245     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12246     timeval *arg2 = 0 ;
12247     timeval result;
12248     PyObject * obj0  = 0 ;
12249     PyObject * obj1  = 0 ;
12250     
12251     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12252     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12253     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12254     if (arg2 == NULL) {
12255         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12256     }
12257     result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12258     
12259     {
12260         timeval * resultptr;
12261         resultptr = new timeval((timeval &) result);
12262         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12263     }
12264     return resultobj;
12265     fail:
12266     return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12271     PyObject *resultobj;
12272     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12273     timeval *arg2 = 0 ;
12274     bool result;
12275     PyObject * obj0  = 0 ;
12276     PyObject * obj1  = 0 ;
12277     
12278     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12279     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12280     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12281     if (arg2 == NULL) {
12282         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12283     }
12284     result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12285     
12286     resultobj = PyInt_FromLong((long)result);
12287     return resultobj;
12288     fail:
12289     return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12294     PyObject *resultobj;
12295     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12296     timeval result;
12297     PyObject * obj0  = 0 ;
12298     
12299     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12300     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12301     result = ((otk::OBTimer const *)arg1)->endTime();
12302     
12303     {
12304         timeval * resultptr;
12305         resultptr = new timeval((timeval &) result);
12306         resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12307     }
12308     return resultobj;
12309     fail:
12310     return NULL;
12311 }
12312
12313
12314 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12315     PyObject *resultobj;
12316     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12317     bool arg2 ;
12318     PyObject * obj0  = 0 ;
12319     PyObject * obj1  = 0 ;
12320     
12321     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12322     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12323     arg2 = (bool) PyInt_AsLong(obj1);
12324     if (PyErr_Occurred()) SWIG_fail;
12325     (arg1)->setRecurring(arg2);
12326     
12327     Py_INCREF(Py_None); resultobj = Py_None;
12328     return resultobj;
12329     fail:
12330     return NULL;
12331 }
12332
12333
12334 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12335     PyObject *resultobj;
12336     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12337     long arg2 ;
12338     PyObject * obj0  = 0 ;
12339     
12340     if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12341     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342     (arg1)->setTimeout(arg2);
12343     
12344     Py_INCREF(Py_None); resultobj = Py_None;
12345     return resultobj;
12346     fail:
12347     return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12352     PyObject *resultobj;
12353     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12354     timeval *arg2 = 0 ;
12355     PyObject * obj0  = 0 ;
12356     PyObject * obj1  = 0 ;
12357     
12358     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12359     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12360     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361     if (arg2 == NULL) {
12362         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12363     }
12364     (arg1)->setTimeout((timeval const &)*arg2);
12365     
12366     Py_INCREF(Py_None); resultobj = Py_None;
12367     return resultobj;
12368     fail:
12369     return NULL;
12370 }
12371
12372
12373 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12374     int argc;
12375     PyObject *argv[3];
12376     int ii;
12377     
12378     argc = PyObject_Length(args);
12379     for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12380         argv[ii] = PyTuple_GetItem(args,ii);
12381     }
12382     if (argc == 2) {
12383         int _v;
12384         {
12385             void *ptr;
12386             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12387                 _v = 0;
12388                 PyErr_Clear();
12389             }else {
12390                 _v = 1;
12391             }
12392         }
12393         if (_v) {
12394             {
12395                 void *ptr;
12396                 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12397                     _v = 0;
12398                     PyErr_Clear();
12399                 }else {
12400                     _v = 1;
12401                 }
12402             }
12403             if (_v) {
12404                 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12405             }
12406         }
12407     }
12408     if (argc == 2) {
12409         int _v;
12410         {
12411             void *ptr;
12412             if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12413                 _v = 0;
12414                 PyErr_Clear();
12415             }else {
12416                 _v = 1;
12417             }
12418         }
12419         if (_v) {
12420             {
12421                 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12422             }
12423             if (_v) {
12424                 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12425             }
12426         }
12427     }
12428     
12429     PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12430     return NULL;
12431 }
12432
12433
12434 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12435     PyObject *resultobj;
12436     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12437     PyObject * obj0  = 0 ;
12438     
12439     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12440     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441     (arg1)->start();
12442     
12443     Py_INCREF(Py_None); resultobj = Py_None;
12444     return resultobj;
12445     fail:
12446     return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12451     PyObject *resultobj;
12452     otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12453     PyObject * obj0  = 0 ;
12454     
12455     if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12456     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457     (arg1)->stop();
12458     
12459     Py_INCREF(Py_None); resultobj = Py_None;
12460     return resultobj;
12461     fail:
12462     return NULL;
12463 }
12464
12465
12466 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12467     PyObject *obj;
12468     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12469     SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12470     Py_INCREF(obj);
12471     return Py_BuildValue((char *)"");
12472 }
12473 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12474     PyObject *resultobj;
12475     otk::OBTimerQueueManager *result;
12476     
12477     if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12478     result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12479     
12480     resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12481     return resultobj;
12482     fail:
12483     return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12488     PyObject *resultobj;
12489     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12490     PyObject * obj0  = 0 ;
12491     
12492     if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12493     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494     delete arg1;
12495     
12496     Py_INCREF(Py_None); resultobj = Py_None;
12497     return resultobj;
12498     fail:
12499     return NULL;
12500 }
12501
12502
12503 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12504     PyObject *resultobj;
12505     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12506     bool arg2 = (bool) true ;
12507     PyObject * obj0  = 0 ;
12508     PyObject * obj1  = 0 ;
12509     
12510     if(!PyArg_ParseTuple(args,(char *)"O|O:OBTimerQueueManager_fire",&obj0,&obj1)) goto fail;
12511     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12512     if (obj1) {
12513         arg2 = (bool) PyInt_AsLong(obj1);
12514         if (PyErr_Occurred()) SWIG_fail;
12515     }
12516     (arg1)->fire(arg2);
12517     
12518     Py_INCREF(Py_None); resultobj = Py_None;
12519     return resultobj;
12520     fail:
12521     return NULL;
12522 }
12523
12524
12525 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12526     PyObject *resultobj;
12527     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12528     otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12529     PyObject * obj0  = 0 ;
12530     PyObject * obj1  = 0 ;
12531     
12532     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12533     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12534     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12535     (arg1)->addTimer(arg2);
12536     
12537     Py_INCREF(Py_None); resultobj = Py_None;
12538     return resultobj;
12539     fail:
12540     return NULL;
12541 }
12542
12543
12544 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12545     PyObject *resultobj;
12546     otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12547     otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12548     PyObject * obj0  = 0 ;
12549     PyObject * obj1  = 0 ;
12550     
12551     if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12552     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12553     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12554     (arg1)->removeTimer(arg2);
12555     
12556     Py_INCREF(Py_None); resultobj = Py_None;
12557     return resultobj;
12558     fail:
12559     return NULL;
12560 }
12561
12562
12563 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12564     PyObject *obj;
12565     if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12566     SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12567     Py_INCREF(obj);
12568     return Py_BuildValue((char *)"");
12569 }
12570 static int _wrap_BSENTINEL_set(PyObject *_val) {
12571     PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12572     return 1;
12573 }
12574
12575
12576 static PyObject *_wrap_BSENTINEL_get() {
12577     PyObject *pyobj;
12578     
12579     pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12580     return pyobj;
12581 }
12582
12583
12584 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12585     PyObject *resultobj;
12586     std::string *arg1 = 0 ;
12587     std::string result;
12588     std::string temp1 ;
12589     PyObject * obj0  = 0 ;
12590     
12591     if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12592     {
12593         if (PyString_Check(obj0)) {
12594             temp1 = std::string(PyString_AsString(obj0));
12595             arg1 = &temp1;
12596         }else {
12597             SWIG_exception(SWIG_TypeError, "string expected");
12598         }
12599     }
12600     result = otk::expandTilde((std::string const &)*arg1);
12601     
12602     {
12603         resultobj = PyString_FromString((&result)->c_str());
12604     }
12605     return resultobj;
12606     fail:
12607     return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12612     PyObject *resultobj;
12613     std::string *arg1 = 0 ;
12614     std::string *arg2 = 0 ;
12615     std::string temp1 ;
12616     std::string temp2 ;
12617     PyObject * obj0  = 0 ;
12618     PyObject * obj1  = 0 ;
12619     
12620     if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12621     {
12622         if (PyString_Check(obj0)) {
12623             temp1 = std::string(PyString_AsString(obj0));
12624             arg1 = &temp1;
12625         }else {
12626             SWIG_exception(SWIG_TypeError, "string expected");
12627         }
12628     }
12629     {
12630         if (PyString_Check(obj1)) {
12631             temp2 = std::string(PyString_AsString(obj1));
12632             arg2 = &temp2;
12633         }else {
12634             SWIG_exception(SWIG_TypeError, "string expected");
12635         }
12636     }
12637     otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12638     
12639     Py_INCREF(Py_None); resultobj = Py_None;
12640     return resultobj;
12641     fail:
12642     return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12647     PyObject *resultobj;
12648     Display *arg1 = (Display *) 0 ;
12649     XTextProperty *arg2 = 0 ;
12650     std::string result;
12651     PyObject * obj0  = 0 ;
12652     PyObject * obj1  = 0 ;
12653     
12654     if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12655     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12656     if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657     if (arg2 == NULL) {
12658         PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; 
12659     }
12660     result = otk::textPropertyToString(arg1,*arg2);
12661     
12662     {
12663         resultobj = PyString_FromString((&result)->c_str());
12664     }
12665     return resultobj;
12666     fail:
12667     return NULL;
12668 }
12669
12670
12671 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12672     PyObject *resultobj;
12673     unsigned long arg1 ;
12674     std::string result;
12675     PyObject * obj0  = 0 ;
12676     
12677     if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12678     arg1 = (unsigned long) PyInt_AsLong(obj0);
12679     if (PyErr_Occurred()) SWIG_fail;
12680     result = otk::itostring(arg1);
12681     
12682     {
12683         resultobj = PyString_FromString((&result)->c_str());
12684     }
12685     return resultobj;
12686     fail:
12687     return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12692     PyObject *resultobj;
12693     long arg1 ;
12694     std::string result;
12695     
12696     if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12697     result = otk::itostring(arg1);
12698     
12699     {
12700         resultobj = PyString_FromString((&result)->c_str());
12701     }
12702     return resultobj;
12703     fail:
12704     return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12709     PyObject *resultobj;
12710     unsigned int arg1 ;
12711     std::string result;
12712     PyObject * obj0  = 0 ;
12713     
12714     if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12715     arg1 = (unsigned int) PyInt_AsLong(obj0);
12716     if (PyErr_Occurred()) SWIG_fail;
12717     result = otk::itostring(arg1);
12718     
12719     {
12720         resultobj = PyString_FromString((&result)->c_str());
12721     }
12722     return resultobj;
12723     fail:
12724     return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12729     PyObject *resultobj;
12730     int arg1 ;
12731     std::string result;
12732     
12733     if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12734     result = otk::itostring(arg1);
12735     
12736     {
12737         resultobj = PyString_FromString((&result)->c_str());
12738     }
12739     return resultobj;
12740     fail:
12741     return NULL;
12742 }
12743
12744
12745 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12746     PyObject *resultobj;
12747     std::string *arg1 = 0 ;
12748     std::string result;
12749     std::string temp1 ;
12750     PyObject * obj0  = 0 ;
12751     
12752     if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12753     {
12754         if (PyString_Check(obj0)) {
12755             temp1 = std::string(PyString_AsString(obj0));
12756             arg1 = &temp1;
12757         }else {
12758             SWIG_exception(SWIG_TypeError, "string expected");
12759         }
12760     }
12761     result = otk::basename((std::string const &)*arg1);
12762     
12763     {
12764         resultobj = PyString_FromString((&result)->c_str());
12765     }
12766     return resultobj;
12767     fail:
12768     return NULL;
12769 }
12770
12771
12772 static PyMethodDef SwigMethods[] = {
12773          { (char *)"OBDisplay_display", _wrap_OBDisplay_display, METH_VARARGS },
12774          { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12775          { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12776          { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12777          { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12778          { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12779          { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12780          { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12781          { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12782          { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12783          { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12784          { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12785          { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
12786          { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12787          { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12788          { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12789          { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12790          { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12791          { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12792          { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12793          { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12794          { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12795          { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12796          { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12797          { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12798          { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12799          { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12800          { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12801          { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12802          { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12803          { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12804          { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12805          { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12806          { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12807          { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12808          { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12809          { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12810          { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12811          { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12812          { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12813          { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12814          { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12815          { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12816          { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12817          { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12818          { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12819          { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12820          { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12821          { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12822          { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12823          { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12824          { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12825          { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12826          { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12827          { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12828          { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12829          { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12830          { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12831          { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12832          { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12833          { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12834          { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12835          { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12836          { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12837          { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12838          { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12839          { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12840          { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12841          { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12842          { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12843          { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12844          { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12845          { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12846          { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12847          { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12848          { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12849          { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12850          { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12851          { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12852          { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12853          { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12854          { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12855          { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12856          { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12857          { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12858          { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12859          { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12860          { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12861          { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12862          { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12863          { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12864          { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12865          { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12866          { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12867          { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12868          { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12869          { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12870          { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12871          { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12872          { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12873          { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12874          { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12875          { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12876          { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12877          { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12878          { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12879          { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12880          { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12881          { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12882          { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12883          { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12884          { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12885          { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12886          { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12887          { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12888          { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12889          { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12890          { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12891          { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12892          { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12893          { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12894          { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12895          { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12896          { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12897          { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12898          { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12899          { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12900          { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12901          { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12902          { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12903          { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12904          { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12905          { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12906          { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12907          { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12908          { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12909          { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12910          { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12911          { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12912          { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12913          { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12914          { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12915          { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12916          { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12917          { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12918          { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12919          { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12920          { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12921          { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12922          { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12923          { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12924          { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12925          { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12926          { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12927          { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12928          { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12929          { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12930          { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12931          { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12932          { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12933          { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12934          { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12935          { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12936          { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12937          { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12938          { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12939          { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12940          { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12941          { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12942          { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12943          { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12944          { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12945          { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12946          { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12947          { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12948          { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12949          { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12950          { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12951          { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12952          { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12953          { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12954          { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12955          { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12956          { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12957          { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12958          { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12959          { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
12960          { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
12961          { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
12962          { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
12963          { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
12964          { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen, METH_VARARGS },
12965          { (char *)"OBDisplay_xkb", _wrap_OBDisplay_xkb, METH_VARARGS },
12966          { (char *)"OBDisplay_xkbEventBase", _wrap_OBDisplay_xkbEventBase, METH_VARARGS },
12967          { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
12968          { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
12969          { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
12970          { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS },
12971          { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS },
12972          { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
12973          { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
12974          { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
12975          { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
12976          { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
12977          { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
12978          { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
12979          { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
12980          { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
12981          { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
12982          { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
12983          { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
12984          { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
12985          { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
12986          { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
12987          { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
12988          { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
12989          { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
12990          { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
12991          { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
12992          { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
12993          { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
12994          { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
12995          { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
12996          { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
12997          { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
12998          { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
12999          { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
13000          { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
13001          { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
13002          { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
13003          { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
13004          { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
13005          { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
13006          { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
13007          { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
13008          { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
13009          { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
13010          { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
13011          { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
13012          { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
13013          { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
13014          { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
13015          { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
13016          { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
13017          { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
13018          { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
13019          { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
13020          { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
13021          { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
13022          { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
13023          { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
13024          { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
13025          { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
13026          { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
13027          { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
13028          { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
13029          { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
13030          { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
13031          { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
13032          { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
13033          { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
13034          { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
13035          { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
13036          { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
13037          { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
13038          { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
13039          { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
13040          { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
13041          { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
13042          { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
13043          { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13044          { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13045          { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13046          { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13047          { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13048          { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13049          { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13050          { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13051          { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13052          { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13053          { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13054          { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13055          { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13056          { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13057          { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13058          { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13059          { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13060          { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13061          { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13062          { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13063          { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13064          { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13065          { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13066          { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13067          { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13068          { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13069          { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13070          { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13071          { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13072          { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13073          { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13074          { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13075          { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13076          { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13077          { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13078          { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13079          { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13080          { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13081          { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13082          { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13083          { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13084          { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13085          { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13086          { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13087          { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13088          { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13089          { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13090          { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13091          { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13092          { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13093          { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13094          { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13095          { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13096          { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13097          { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13098          { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13099          { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13100          { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13101          { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13102          { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13103          { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13104          { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13105          { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13106          { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13107          { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13108          { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13109          { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13110          { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13111          { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13112          { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13113          { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13114          { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13115          { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13116          { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13117          { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13118          { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13119          { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13120          { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13121          { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13122          { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13123          { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13124          { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13125          { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13126          { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13127          { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13128          { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13129          { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13130          { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13131          { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13132          { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13133          { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13134          { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13135          { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13136          { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13137          { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13138          { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13139          { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13140          { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13141          { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13142          { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13143          { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13144          { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13145          { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13146          { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13147          { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13148          { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13149          { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13150          { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13151          { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13152          { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13153          { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13154          { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13155          { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13156          { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13157          { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13158          { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13159          { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13160          { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13161          { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13162          { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13163          { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13164          { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13165          { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13166          { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13167          { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13168          { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13169          { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13170          { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13171          { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13172          { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13173          { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13174          { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13175          { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13176          { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13177          { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
13178          { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
13179          { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
13180          { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
13181          { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13182          { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13183          { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13184          { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13185          { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13186          { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13187          { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13188          { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13189          { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13190          { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13191          { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13192          { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13193          { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13194          { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13195          { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13196          { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13197          { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13198          { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13199          { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13200          { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13201          { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13202          { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13203          { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13204          { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13205          { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13206          { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13207          { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13208          { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13209          { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13210          { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13211          { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13212          { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13213          { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13214          { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13215          { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13216          { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13217          { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13218          { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13219          { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13220          { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13221          { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13222          { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13223          { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13224          { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13225          { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13226          { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13227          { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13228          { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13229          { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13230          { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13231          { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13232          { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13233          { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13234          { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13235          { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13236          { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13237          { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13238          { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13239          { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13240          { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13241          { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13242          { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13243          { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13244          { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13245          { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13246          { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13247          { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13248          { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13249          { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13250          { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13251          { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13252          { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13253          { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13254          { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13255          { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13256          { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13257          { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13258          { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13259          { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13260          { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13261          { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13262          { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13263          { (char *)"basename", _wrap_basename, METH_VARARGS },
13264          { NULL, NULL }
13265 };
13266
13267
13268 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13269
13270 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13271     return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13272 }
13273 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13274     return (void *)((otk::OtkFocusWidget *)  ((otk::OtkFocusLabel *) x));
13275 }
13276 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13277     return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13278 }
13279 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13280     return (void *)((otk::OtkWidget *)  ((otk::OtkAppWidget *) x));
13281 }
13282 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13283     return (void *)((otk::OtkWidget *)  ((otk::OtkFocusWidget *) x));
13284 }
13285 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13286     return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13287 }
13288 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13289     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13290 }
13291 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13292     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13293 }
13294 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13295     return (void *)((otk::OtkEventHandler *)  ((otk::OtkWidget *) x));
13296 }
13297 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13298     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13299 }
13300 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13301     return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13302 }
13303 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13304     return (void *)((otk::OtkFocusLabel *)  ((otk::OtkButton *) x));
13305 }
13306 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13307     return (void *)((otk::OtkEventDispatcher *)  ((otk::OtkApplication *) x));
13308 }
13309 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13310 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13311 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13312 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13313 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13314 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13315 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13316 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13317 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13318 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13319 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13320 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13321 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13322 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13323 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13324 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13325 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13326 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13327 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13328 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13329 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13330 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13331 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13332 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13333 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13334 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13335 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13336 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}};
13337 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}};
13338 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13339 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13340 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13341 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13342 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13343 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13344 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13345 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13346 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13347 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13348 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13349 static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_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},{0}};
13350 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13351 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13352 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13353 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13354 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13355 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13356 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13357 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13358 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}};
13359 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13360 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"},{0}};
13361 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13362 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13363 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13364 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13365 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13366 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13367 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13368 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13369 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13370 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13371 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13372 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13373 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13374 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13375 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13376 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13377 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13378 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13379 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13380 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13381 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13382 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13383 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13384 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13385 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13386 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13387 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13388 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13389
13390 static swig_type_info *swig_types_initial[] = {
13391 _swigt__p_otk__OBProperty__StringVect, 
13392 _swigt__p_otk__BGCCache, 
13393 _swigt__p_otk__BColor, 
13394 _swigt__p_XFontStruct, 
13395 _swigt__p_otk__Configuration, 
13396 _swigt__p_otk__PixmapMask, 
13397 _swigt__p_otk__PointerAssassin, 
13398 _swigt__p_otk__BImage, 
13399 _swigt__p_otk__OBTimer, 
13400 _swigt__p_otk__OtkWidget__OtkWidgetList, 
13401 _swigt__p_bool, 
13402 _swigt__p_otk__OBDisplay, 
13403 _swigt__p_Display, 
13404 _swigt__p_p_XColor, 
13405 _swigt__p_XReparentEvent, 
13406 _swigt__p_otk__BPen, 
13407 _swigt__p_otk__BImageControl, 
13408 _swigt__p_otk__OtkButton, 
13409 _swigt__p_otk__Rect, 
13410 _swigt__p_otk__Style, 
13411 _swigt__p_XSelectionClearEvent, 
13412 _swigt__p_Visual, 
13413 _swigt__p_timeval, 
13414 _swigt__p_int, 
13415 _swigt__p_otk__Strut, 
13416 _swigt__p_otk__OtkApplication, 
13417 _swigt__p_XRectangle, 
13418 _swigt__p_otk__OtkFocusWidget, 
13419 _swigt__p_otk__OtkWidget, 
13420 _swigt__p_XGravityEvent, 
13421 _swigt__p_XVisibilityEvent, 
13422 _swigt__p_XPropertyEvent, 
13423 _swigt__p_otk__BGCCacheContext, 
13424 _swigt__p_XCreateWindowEvent, 
13425 _swigt__p_XDestroyWindowEvent, 
13426 _swigt__p_XCirculateEvent, 
13427 _swigt__p_XConfigureEvent, 
13428 _swigt__p_otk__OBProperty, 
13429 _swigt__p_long, 
13430 _swigt__p_XTextProperty, 
13431 _swigt__p_otk__OtkEventHandler, 
13432 _swigt__p_XCirculateRequestEvent, 
13433 _swigt__p_XConfigureRequestEvent, 
13434 _swigt__p_XMapRequestEvent, 
13435 _swigt__p_XResizeRequestEvent, 
13436 _swigt__p_XSelectionRequestEvent, 
13437 _swigt__otk__OBTimeoutHandler, 
13438 _swigt__p_XftDraw, 
13439 _swigt__p_otk__ScreenInfo, 
13440 _swigt__p_otk__OtkFocusLabel, 
13441 _swigt__p_otk__BTexture, 
13442 _swigt__p_otk__OtkEventDispatcher, 
13443 _swigt__p_otk__BFont, 
13444 _swigt__p_otk__Point, 
13445 _swigt__p_p_char, 
13446 _swigt__p_XMotionEvent, 
13447 _swigt__p_XButtonEvent, 
13448 _swigt__p_XSelectionEvent, 
13449 _swigt__p_GC, 
13450 _swigt__p_otk__OBTimerQueueManager, 
13451 _swigt__p_otk__OtkAppWidget, 
13452 _swigt__p_XKeyEvent, 
13453 _swigt__p_p_unsigned_long, 
13454 _swigt__p_unsigned_long, 
13455 _swigt__p_XEvent, 
13456 _swigt__p_std__string, 
13457 _swigt__p_XCrossingEvent, 
13458 _swigt__p_XMappingEvent, 
13459 _swigt__p_otk__BGCCacheItem, 
13460 _swigt__p_p_unsigned_int, 
13461 _swigt__p_unsigned_int, 
13462 _swigt__p_p_unsigned_char, 
13463 _swigt__p_XClientMessageEvent, 
13464 _swigt__p_XGraphicsExposeEvent, 
13465 _swigt__p_XExposeEvent, 
13466 _swigt__p_XFocusChangeEvent, 
13467 _swigt__p_XNoExposeEvent, 
13468 _swigt__p_XMapEvent, 
13469 _swigt__p_XUnmapEvent, 
13470 _swigt__p_XColormapEvent, 
13471 0
13472 };
13473
13474
13475 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13476
13477 static swig_const_info swig_const_table[] = {
13478 { SWIG_PY_INT,     (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13479 { SWIG_PY_INT,     (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13480 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13481 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13482 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13483 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13484 { SWIG_PY_INT,     (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13485 { SWIG_PY_INT,     (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13486 { SWIG_PY_INT,     (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13487 { SWIG_PY_INT,     (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13488 { SWIG_PY_INT,     (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13489 { SWIG_PY_INT,     (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13490 { SWIG_PY_INT,     (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13491 { SWIG_PY_INT,     (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13492 { SWIG_PY_INT,     (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13493 { SWIG_PY_INT,     (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13494 { SWIG_PY_INT,     (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13495 { SWIG_PY_INT,     (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13496 { SWIG_PY_INT,     (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
13497 { SWIG_PY_INT,     (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13498 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13499 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13500 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13501 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13502 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13503 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13504 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13505 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13506 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13507 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13508 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13509 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13510 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13511 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13512 { SWIG_PY_INT,     (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13513 { SWIG_PY_INT,     (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13514 { SWIG_PY_INT,     (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13515 { SWIG_PY_INT,     (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13516 { SWIG_PY_INT,     (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13517 { SWIG_PY_INT,     (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13518 { SWIG_PY_INT,     (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13519 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13520 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13521 { SWIG_PY_INT,     (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13522 { SWIG_PY_INT,     (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13523 { SWIG_PY_INT,     (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13524 { SWIG_PY_INT,     (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13525 { SWIG_PY_INT,     (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13526 { SWIG_PY_INT,     (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13527 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13528 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13529 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13530 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13531 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13532 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13533 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13534 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13535 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13536 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13537 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13538 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13539 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13540 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13541 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13542 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13543 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13544 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13545 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13546 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13547 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13548 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13549 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13550 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13551 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13552 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13553 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13554 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13555 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13556 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13557 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13558 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
13559 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13560 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13561 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13562 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13563 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13564 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13565 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13566 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
13567 { SWIG_PY_INT,     (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
13568 { SWIG_PY_INT,     (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13569 { 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},
13570 { SWIG_PY_INT,     (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13571 { SWIG_PY_INT,     (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13572 { SWIG_PY_INT,     (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13573 { SWIG_PY_INT,     (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13574 { SWIG_PY_INT,     (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13575 { SWIG_PY_INT,     (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13576 { SWIG_PY_INT,     (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13577 { SWIG_PY_INT,     (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13578 { SWIG_PY_INT,     (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13579 { SWIG_PY_INT,     (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13580 { SWIG_PY_INT,     (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13581 { SWIG_PY_INT,     (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13582 { SWIG_PY_INT,     (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13583 { SWIG_PY_INT,     (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13584 { SWIG_PY_INT,     (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13585 { SWIG_PY_INT,     (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13586 { SWIG_PY_INT,     (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13587 { SWIG_PY_INT,     (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13588 { SWIG_PY_INT,     (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13589 { SWIG_PY_INT,     (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13590 { SWIG_PY_INT,     (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13591 { SWIG_PY_INT,     (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13592 { SWIG_PY_INT,     (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13593 { SWIG_PY_INT,     (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13594 { SWIG_PY_INT,     (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13595 { SWIG_PY_INT,     (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13596 { SWIG_PY_INT,     (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13597 { SWIG_PY_INT,     (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13598 { SWIG_PY_INT,     (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13599 { SWIG_PY_INT,     (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13600 { SWIG_PY_INT,     (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13601 { SWIG_PY_INT,     (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13602 { SWIG_PY_INT,     (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13603 { SWIG_PY_INT,     (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13604 { SWIG_PY_INT,     (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13605 { SWIG_PY_INT,     (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13606 { SWIG_PY_INT,     (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13607 { SWIG_PY_INT,     (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13608 { SWIG_PY_INT,     (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13609 { SWIG_PY_INT,     (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13610 { SWIG_PY_INT,     (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13611 { SWIG_PY_INT,     (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13612 { SWIG_PY_INT,     (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
13613 { SWIG_PY_INT,     (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
13614 { SWIG_PY_INT,     (char *)"None", (long) 0L, 0, 0, 0},
13615 { SWIG_PY_INT,     (char *)"ParentRelative", (long) 1L, 0, 0, 0},
13616 { SWIG_PY_INT,     (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
13617 { SWIG_PY_INT,     (char *)"PointerWindow", (long) 0L, 0, 0, 0},
13618 { SWIG_PY_INT,     (char *)"InputFocus", (long) 1L, 0, 0, 0},
13619 { SWIG_PY_INT,     (char *)"PointerRoot", (long) 1L, 0, 0, 0},
13620 { SWIG_PY_INT,     (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
13621 { SWIG_PY_INT,     (char *)"AnyKey", (long) 0L, 0, 0, 0},
13622 { SWIG_PY_INT,     (char *)"AnyButton", (long) 0L, 0, 0, 0},
13623 { SWIG_PY_INT,     (char *)"AllTemporary", (long) 0L, 0, 0, 0},
13624 { SWIG_PY_INT,     (char *)"CurrentTime", (long) 0L, 0, 0, 0},
13625 { SWIG_PY_INT,     (char *)"NoSymbol", (long) 0L, 0, 0, 0},
13626 { SWIG_PY_INT,     (char *)"NoEventMask", (long) 0L, 0, 0, 0},
13627 { SWIG_PY_INT,     (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
13628 { SWIG_PY_INT,     (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
13629 { SWIG_PY_INT,     (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
13630 { SWIG_PY_INT,     (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
13631 { SWIG_PY_INT,     (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
13632 { SWIG_PY_INT,     (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
13633 { SWIG_PY_INT,     (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
13634 { SWIG_PY_INT,     (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
13635 { SWIG_PY_INT,     (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
13636 { SWIG_PY_INT,     (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
13637 { SWIG_PY_INT,     (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
13638 { SWIG_PY_INT,     (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
13639 { SWIG_PY_INT,     (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
13640 { SWIG_PY_INT,     (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
13641 { SWIG_PY_INT,     (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
13642 { SWIG_PY_INT,     (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
13643 { SWIG_PY_INT,     (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
13644 { SWIG_PY_INT,     (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
13645 { SWIG_PY_INT,     (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
13646 { SWIG_PY_INT,     (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
13647 { SWIG_PY_INT,     (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
13648 { SWIG_PY_INT,     (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
13649 { SWIG_PY_INT,     (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
13650 { SWIG_PY_INT,     (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
13651 { SWIG_PY_INT,     (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
13652 { SWIG_PY_INT,     (char *)"KeyPress", (long) 2, 0, 0, 0},
13653 { SWIG_PY_INT,     (char *)"KeyRelease", (long) 3, 0, 0, 0},
13654 { SWIG_PY_INT,     (char *)"ButtonPress", (long) 4, 0, 0, 0},
13655 { SWIG_PY_INT,     (char *)"ButtonRelease", (long) 5, 0, 0, 0},
13656 { SWIG_PY_INT,     (char *)"MotionNotify", (long) 6, 0, 0, 0},
13657 { SWIG_PY_INT,     (char *)"EnterNotify", (long) 7, 0, 0, 0},
13658 { SWIG_PY_INT,     (char *)"LeaveNotify", (long) 8, 0, 0, 0},
13659 { SWIG_PY_INT,     (char *)"FocusIn", (long) 9, 0, 0, 0},
13660 { SWIG_PY_INT,     (char *)"FocusOut", (long) 10, 0, 0, 0},
13661 { SWIG_PY_INT,     (char *)"KeymapNotify", (long) 11, 0, 0, 0},
13662 { SWIG_PY_INT,     (char *)"Expose", (long) 12, 0, 0, 0},
13663 { SWIG_PY_INT,     (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
13664 { SWIG_PY_INT,     (char *)"NoExpose", (long) 14, 0, 0, 0},
13665 { SWIG_PY_INT,     (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
13666 { SWIG_PY_INT,     (char *)"CreateNotify", (long) 16, 0, 0, 0},
13667 { SWIG_PY_INT,     (char *)"DestroyNotify", (long) 17, 0, 0, 0},
13668 { SWIG_PY_INT,     (char *)"UnmapNotify", (long) 18, 0, 0, 0},
13669 { SWIG_PY_INT,     (char *)"MapNotify", (long) 19, 0, 0, 0},
13670 { SWIG_PY_INT,     (char *)"MapRequest", (long) 20, 0, 0, 0},
13671 { SWIG_PY_INT,     (char *)"ReparentNotify", (long) 21, 0, 0, 0},
13672 { SWIG_PY_INT,     (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
13673 { SWIG_PY_INT,     (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
13674 { SWIG_PY_INT,     (char *)"GravityNotify", (long) 24, 0, 0, 0},
13675 { SWIG_PY_INT,     (char *)"ResizeRequest", (long) 25, 0, 0, 0},
13676 { SWIG_PY_INT,     (char *)"CirculateNotify", (long) 26, 0, 0, 0},
13677 { SWIG_PY_INT,     (char *)"CirculateRequest", (long) 27, 0, 0, 0},
13678 { SWIG_PY_INT,     (char *)"PropertyNotify", (long) 28, 0, 0, 0},
13679 { SWIG_PY_INT,     (char *)"SelectionClear", (long) 29, 0, 0, 0},
13680 { SWIG_PY_INT,     (char *)"SelectionRequest", (long) 30, 0, 0, 0},
13681 { SWIG_PY_INT,     (char *)"SelectionNotify", (long) 31, 0, 0, 0},
13682 { SWIG_PY_INT,     (char *)"ColormapNotify", (long) 32, 0, 0, 0},
13683 { SWIG_PY_INT,     (char *)"ClientMessage", (long) 33, 0, 0, 0},
13684 { SWIG_PY_INT,     (char *)"MappingNotify", (long) 34, 0, 0, 0},
13685 { SWIG_PY_INT,     (char *)"LASTEvent", (long) 35, 0, 0, 0},
13686 { SWIG_PY_INT,     (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
13687 { SWIG_PY_INT,     (char *)"LockMask", (long) (1<<1), 0, 0, 0},
13688 { SWIG_PY_INT,     (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
13689 { SWIG_PY_INT,     (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
13690 { SWIG_PY_INT,     (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
13691 { SWIG_PY_INT,     (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
13692 { SWIG_PY_INT,     (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
13693 { SWIG_PY_INT,     (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
13694 { SWIG_PY_INT,     (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
13695 { SWIG_PY_INT,     (char *)"LockMapIndex", (long) 1, 0, 0, 0},
13696 { SWIG_PY_INT,     (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
13697 { SWIG_PY_INT,     (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
13698 { SWIG_PY_INT,     (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
13699 { SWIG_PY_INT,     (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
13700 { SWIG_PY_INT,     (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
13701 { SWIG_PY_INT,     (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
13702 { SWIG_PY_INT,     (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
13703 { SWIG_PY_INT,     (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
13704 { SWIG_PY_INT,     (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
13705 { SWIG_PY_INT,     (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
13706 { SWIG_PY_INT,     (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
13707 { SWIG_PY_INT,     (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
13708 { SWIG_PY_INT,     (char *)"Button1", (long) 1, 0, 0, 0},
13709 { SWIG_PY_INT,     (char *)"Button2", (long) 2, 0, 0, 0},
13710 { SWIG_PY_INT,     (char *)"Button3", (long) 3, 0, 0, 0},
13711 { SWIG_PY_INT,     (char *)"Button4", (long) 4, 0, 0, 0},
13712 { SWIG_PY_INT,     (char *)"Button5", (long) 5, 0, 0, 0},
13713 { SWIG_PY_INT,     (char *)"NotifyNormal", (long) 0, 0, 0, 0},
13714 { SWIG_PY_INT,     (char *)"NotifyGrab", (long) 1, 0, 0, 0},
13715 { SWIG_PY_INT,     (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
13716 { SWIG_PY_INT,     (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
13717 { SWIG_PY_INT,     (char *)"NotifyHint", (long) 1, 0, 0, 0},
13718 { SWIG_PY_INT,     (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
13719 { SWIG_PY_INT,     (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
13720 { SWIG_PY_INT,     (char *)"NotifyInferior", (long) 2, 0, 0, 0},
13721 { SWIG_PY_INT,     (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
13722 { SWIG_PY_INT,     (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
13723 { SWIG_PY_INT,     (char *)"NotifyPointer", (long) 5, 0, 0, 0},
13724 { SWIG_PY_INT,     (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
13725 { SWIG_PY_INT,     (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
13726 { SWIG_PY_INT,     (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
13727 { SWIG_PY_INT,     (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
13728 { SWIG_PY_INT,     (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
13729 { SWIG_PY_INT,     (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
13730 { SWIG_PY_INT,     (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
13731 { SWIG_PY_INT,     (char *)"FamilyInternet", (long) 0, 0, 0, 0},
13732 { SWIG_PY_INT,     (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
13733 { SWIG_PY_INT,     (char *)"FamilyChaos", (long) 2, 0, 0, 0},
13734 { SWIG_PY_INT,     (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
13735 { SWIG_PY_INT,     (char *)"PropertyDelete", (long) 1, 0, 0, 0},
13736 { SWIG_PY_INT,     (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
13737 { SWIG_PY_INT,     (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
13738 { SWIG_PY_INT,     (char *)"GrabModeSync", (long) 0, 0, 0, 0},
13739 { SWIG_PY_INT,     (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
13740 { SWIG_PY_INT,     (char *)"GrabSuccess", (long) 0, 0, 0, 0},
13741 { SWIG_PY_INT,     (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
13742 { SWIG_PY_INT,     (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
13743 { SWIG_PY_INT,     (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
13744 { SWIG_PY_INT,     (char *)"GrabFrozen", (long) 4, 0, 0, 0},
13745 { SWIG_PY_INT,     (char *)"AsyncPointer", (long) 0, 0, 0, 0},
13746 { SWIG_PY_INT,     (char *)"SyncPointer", (long) 1, 0, 0, 0},
13747 { SWIG_PY_INT,     (char *)"ReplayPointer", (long) 2, 0, 0, 0},
13748 { SWIG_PY_INT,     (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
13749 { SWIG_PY_INT,     (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
13750 { SWIG_PY_INT,     (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
13751 { SWIG_PY_INT,     (char *)"AsyncBoth", (long) 6, 0, 0, 0},
13752 { SWIG_PY_INT,     (char *)"SyncBoth", (long) 7, 0, 0, 0},
13753 { SWIG_PY_INT,     (char *)"RevertToParent", (long) 2, 0, 0, 0},
13754 { SWIG_PY_INT,     (char *)"Success", (long) 0, 0, 0, 0},
13755 { SWIG_PY_INT,     (char *)"BadRequest", (long) 1, 0, 0, 0},
13756 { SWIG_PY_INT,     (char *)"BadValue", (long) 2, 0, 0, 0},
13757 { SWIG_PY_INT,     (char *)"BadWindow", (long) 3, 0, 0, 0},
13758 { SWIG_PY_INT,     (char *)"BadPixmap", (long) 4, 0, 0, 0},
13759 { SWIG_PY_INT,     (char *)"BadAtom", (long) 5, 0, 0, 0},
13760 { SWIG_PY_INT,     (char *)"BadCursor", (long) 6, 0, 0, 0},
13761 { SWIG_PY_INT,     (char *)"BadFont", (long) 7, 0, 0, 0},
13762 { SWIG_PY_INT,     (char *)"BadMatch", (long) 8, 0, 0, 0},
13763 { SWIG_PY_INT,     (char *)"BadDrawable", (long) 9, 0, 0, 0},
13764 { SWIG_PY_INT,     (char *)"BadAccess", (long) 10, 0, 0, 0},
13765 { SWIG_PY_INT,     (char *)"BadAlloc", (long) 11, 0, 0, 0},
13766 { SWIG_PY_INT,     (char *)"BadColor", (long) 12, 0, 0, 0},
13767 { SWIG_PY_INT,     (char *)"BadGC", (long) 13, 0, 0, 0},
13768 { SWIG_PY_INT,     (char *)"BadIDChoice", (long) 14, 0, 0, 0},
13769 { SWIG_PY_INT,     (char *)"BadName", (long) 15, 0, 0, 0},
13770 { SWIG_PY_INT,     (char *)"BadLength", (long) 16, 0, 0, 0},
13771 { SWIG_PY_INT,     (char *)"BadImplementation", (long) 17, 0, 0, 0},
13772 { SWIG_PY_INT,     (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
13773 { SWIG_PY_INT,     (char *)"LastExtensionError", (long) 255, 0, 0, 0},
13774 { SWIG_PY_INT,     (char *)"InputOutput", (long) 1, 0, 0, 0},
13775 { SWIG_PY_INT,     (char *)"InputOnly", (long) 2, 0, 0, 0},
13776 { SWIG_PY_INT,     (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
13777 { SWIG_PY_INT,     (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
13778 { SWIG_PY_INT,     (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
13779 { SWIG_PY_INT,     (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
13780 { SWIG_PY_INT,     (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
13781 { SWIG_PY_INT,     (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
13782 { SWIG_PY_INT,     (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
13783 { SWIG_PY_INT,     (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
13784 { SWIG_PY_INT,     (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
13785 { SWIG_PY_INT,     (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
13786 { SWIG_PY_INT,     (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
13787 { SWIG_PY_INT,     (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
13788 { SWIG_PY_INT,     (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
13789 { SWIG_PY_INT,     (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
13790 { SWIG_PY_INT,     (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
13791 { SWIG_PY_INT,     (char *)"CWX", (long) (1<<0), 0, 0, 0},
13792 { SWIG_PY_INT,     (char *)"CWY", (long) (1<<1), 0, 0, 0},
13793 { SWIG_PY_INT,     (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
13794 { SWIG_PY_INT,     (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
13795 { SWIG_PY_INT,     (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
13796 { SWIG_PY_INT,     (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
13797 { SWIG_PY_INT,     (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
13798 { SWIG_PY_INT,     (char *)"ForgetGravity", (long) 0, 0, 0, 0},
13799 { SWIG_PY_INT,     (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
13800 { SWIG_PY_INT,     (char *)"NorthGravity", (long) 2, 0, 0, 0},
13801 { SWIG_PY_INT,     (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
13802 { SWIG_PY_INT,     (char *)"WestGravity", (long) 4, 0, 0, 0},
13803 { SWIG_PY_INT,     (char *)"CenterGravity", (long) 5, 0, 0, 0},
13804 { SWIG_PY_INT,     (char *)"EastGravity", (long) 6, 0, 0, 0},
13805 { SWIG_PY_INT,     (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
13806 { SWIG_PY_INT,     (char *)"SouthGravity", (long) 8, 0, 0, 0},
13807 { SWIG_PY_INT,     (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
13808 { SWIG_PY_INT,     (char *)"StaticGravity", (long) 10, 0, 0, 0},
13809 { SWIG_PY_INT,     (char *)"UnmapGravity", (long) 0, 0, 0, 0},
13810 { SWIG_PY_INT,     (char *)"NotUseful", (long) 0, 0, 0, 0},
13811 { SWIG_PY_INT,     (char *)"WhenMapped", (long) 1, 0, 0, 0},
13812 { SWIG_PY_INT,     (char *)"Always", (long) 2, 0, 0, 0},
13813 { SWIG_PY_INT,     (char *)"IsUnmapped", (long) 0, 0, 0, 0},
13814 { SWIG_PY_INT,     (char *)"IsUnviewable", (long) 1, 0, 0, 0},
13815 { SWIG_PY_INT,     (char *)"IsViewable", (long) 2, 0, 0, 0},
13816 { SWIG_PY_INT,     (char *)"SetModeInsert", (long) 0, 0, 0, 0},
13817 { SWIG_PY_INT,     (char *)"SetModeDelete", (long) 1, 0, 0, 0},
13818 { SWIG_PY_INT,     (char *)"DestroyAll", (long) 0, 0, 0, 0},
13819 { SWIG_PY_INT,     (char *)"RetainPermanent", (long) 1, 0, 0, 0},
13820 { SWIG_PY_INT,     (char *)"RetainTemporary", (long) 2, 0, 0, 0},
13821 { SWIG_PY_INT,     (char *)"Above", (long) 0, 0, 0, 0},
13822 { SWIG_PY_INT,     (char *)"Below", (long) 1, 0, 0, 0},
13823 { SWIG_PY_INT,     (char *)"TopIf", (long) 2, 0, 0, 0},
13824 { SWIG_PY_INT,     (char *)"BottomIf", (long) 3, 0, 0, 0},
13825 { SWIG_PY_INT,     (char *)"Opposite", (long) 4, 0, 0, 0},
13826 { SWIG_PY_INT,     (char *)"RaiseLowest", (long) 0, 0, 0, 0},
13827 { SWIG_PY_INT,     (char *)"LowerHighest", (long) 1, 0, 0, 0},
13828 { SWIG_PY_INT,     (char *)"PropModeReplace", (long) 0, 0, 0, 0},
13829 { SWIG_PY_INT,     (char *)"PropModePrepend", (long) 1, 0, 0, 0},
13830 { SWIG_PY_INT,     (char *)"PropModeAppend", (long) 2, 0, 0, 0},
13831 { SWIG_PY_INT,     (char *)"GXclear", (long) 0x0, 0, 0, 0},
13832 { SWIG_PY_INT,     (char *)"GXand", (long) 0x1, 0, 0, 0},
13833 { SWIG_PY_INT,     (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
13834 { SWIG_PY_INT,     (char *)"GXcopy", (long) 0x3, 0, 0, 0},
13835 { SWIG_PY_INT,     (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
13836 { SWIG_PY_INT,     (char *)"GXnoop", (long) 0x5, 0, 0, 0},
13837 { SWIG_PY_INT,     (char *)"GXxor", (long) 0x6, 0, 0, 0},
13838 { SWIG_PY_INT,     (char *)"GXor", (long) 0x7, 0, 0, 0},
13839 { SWIG_PY_INT,     (char *)"GXnor", (long) 0x8, 0, 0, 0},
13840 { SWIG_PY_INT,     (char *)"GXequiv", (long) 0x9, 0, 0, 0},
13841 { SWIG_PY_INT,     (char *)"GXinvert", (long) 0xa, 0, 0, 0},
13842 { SWIG_PY_INT,     (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
13843 { SWIG_PY_INT,     (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
13844 { SWIG_PY_INT,     (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
13845 { SWIG_PY_INT,     (char *)"GXnand", (long) 0xe, 0, 0, 0},
13846 { SWIG_PY_INT,     (char *)"GXset", (long) 0xf, 0, 0, 0},
13847 { SWIG_PY_INT,     (char *)"LineSolid", (long) 0, 0, 0, 0},
13848 { SWIG_PY_INT,     (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
13849 { SWIG_PY_INT,     (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
13850 { SWIG_PY_INT,     (char *)"CapNotLast", (long) 0, 0, 0, 0},
13851 { SWIG_PY_INT,     (char *)"CapButt", (long) 1, 0, 0, 0},
13852 { SWIG_PY_INT,     (char *)"CapRound", (long) 2, 0, 0, 0},
13853 { SWIG_PY_INT,     (char *)"CapProjecting", (long) 3, 0, 0, 0},
13854 { SWIG_PY_INT,     (char *)"JoinMiter", (long) 0, 0, 0, 0},
13855 { SWIG_PY_INT,     (char *)"JoinRound", (long) 1, 0, 0, 0},
13856 { SWIG_PY_INT,     (char *)"JoinBevel", (long) 2, 0, 0, 0},
13857 { SWIG_PY_INT,     (char *)"FillSolid", (long) 0, 0, 0, 0},
13858 { SWIG_PY_INT,     (char *)"FillTiled", (long) 1, 0, 0, 0},
13859 { SWIG_PY_INT,     (char *)"FillStippled", (long) 2, 0, 0, 0},
13860 { SWIG_PY_INT,     (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
13861 { SWIG_PY_INT,     (char *)"EvenOddRule", (long) 0, 0, 0, 0},
13862 { SWIG_PY_INT,     (char *)"WindingRule", (long) 1, 0, 0, 0},
13863 { SWIG_PY_INT,     (char *)"ClipByChildren", (long) 0, 0, 0, 0},
13864 { SWIG_PY_INT,     (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
13865 { SWIG_PY_INT,     (char *)"Unsorted", (long) 0, 0, 0, 0},
13866 { SWIG_PY_INT,     (char *)"YSorted", (long) 1, 0, 0, 0},
13867 { SWIG_PY_INT,     (char *)"YXSorted", (long) 2, 0, 0, 0},
13868 { SWIG_PY_INT,     (char *)"YXBanded", (long) 3, 0, 0, 0},
13869 { SWIG_PY_INT,     (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
13870 { SWIG_PY_INT,     (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
13871 { SWIG_PY_INT,     (char *)"Complex", (long) 0, 0, 0, 0},
13872 { SWIG_PY_INT,     (char *)"Nonconvex", (long) 1, 0, 0, 0},
13873 { SWIG_PY_INT,     (char *)"Convex", (long) 2, 0, 0, 0},
13874 { SWIG_PY_INT,     (char *)"ArcChord", (long) 0, 0, 0, 0},
13875 { SWIG_PY_INT,     (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
13876 { SWIG_PY_INT,     (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
13877 { SWIG_PY_INT,     (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
13878 { SWIG_PY_INT,     (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
13879 { SWIG_PY_INT,     (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
13880 { SWIG_PY_INT,     (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
13881 { SWIG_PY_INT,     (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
13882 { SWIG_PY_INT,     (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
13883 { SWIG_PY_INT,     (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
13884 { SWIG_PY_INT,     (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
13885 { SWIG_PY_INT,     (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
13886 { SWIG_PY_INT,     (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
13887 { SWIG_PY_INT,     (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
13888 { SWIG_PY_INT,     (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
13889 { SWIG_PY_INT,     (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
13890 { SWIG_PY_INT,     (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
13891 { SWIG_PY_INT,     (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
13892 { SWIG_PY_INT,     (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
13893 { SWIG_PY_INT,     (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
13894 { SWIG_PY_INT,     (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
13895 { SWIG_PY_INT,     (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
13896 { SWIG_PY_INT,     (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
13897 { SWIG_PY_INT,     (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
13898 { SWIG_PY_INT,     (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
13899 { SWIG_PY_INT,     (char *)"GCLastBit", (long) 22, 0, 0, 0},
13900 { SWIG_PY_INT,     (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
13901 { SWIG_PY_INT,     (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
13902 { SWIG_PY_INT,     (char *)"FontChange", (long) 255, 0, 0, 0},
13903 { SWIG_PY_INT,     (char *)"XYBitmap", (long) 0, 0, 0, 0},
13904 { SWIG_PY_INT,     (char *)"XYPixmap", (long) 1, 0, 0, 0},
13905 { SWIG_PY_INT,     (char *)"ZPixmap", (long) 2, 0, 0, 0},
13906 { SWIG_PY_INT,     (char *)"AllocNone", (long) 0, 0, 0, 0},
13907 { SWIG_PY_INT,     (char *)"AllocAll", (long) 1, 0, 0, 0},
13908 { SWIG_PY_INT,     (char *)"DoRed", (long) (1<<0), 0, 0, 0},
13909 { SWIG_PY_INT,     (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
13910 { SWIG_PY_INT,     (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
13911 { SWIG_PY_INT,     (char *)"CursorShape", (long) 0, 0, 0, 0},
13912 { SWIG_PY_INT,     (char *)"TileShape", (long) 1, 0, 0, 0},
13913 { SWIG_PY_INT,     (char *)"StippleShape", (long) 2, 0, 0, 0},
13914 { SWIG_PY_INT,     (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
13915 { SWIG_PY_INT,     (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
13916 { SWIG_PY_INT,     (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
13917 { SWIG_PY_INT,     (char *)"LedModeOff", (long) 0, 0, 0, 0},
13918 { SWIG_PY_INT,     (char *)"LedModeOn", (long) 1, 0, 0, 0},
13919 { SWIG_PY_INT,     (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
13920 { SWIG_PY_INT,     (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
13921 { SWIG_PY_INT,     (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
13922 { SWIG_PY_INT,     (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
13923 { SWIG_PY_INT,     (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
13924 { SWIG_PY_INT,     (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
13925 { SWIG_PY_INT,     (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
13926 { SWIG_PY_INT,     (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
13927 { SWIG_PY_INT,     (char *)"MappingSuccess", (long) 0, 0, 0, 0},
13928 { SWIG_PY_INT,     (char *)"MappingBusy", (long) 1, 0, 0, 0},
13929 { SWIG_PY_INT,     (char *)"MappingFailed", (long) 2, 0, 0, 0},
13930 { SWIG_PY_INT,     (char *)"MappingModifier", (long) 0, 0, 0, 0},
13931 { SWIG_PY_INT,     (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
13932 { SWIG_PY_INT,     (char *)"MappingPointer", (long) 2, 0, 0, 0},
13933 { SWIG_PY_INT,     (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
13934 { SWIG_PY_INT,     (char *)"PreferBlanking", (long) 1, 0, 0, 0},
13935 { SWIG_PY_INT,     (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
13936 { SWIG_PY_INT,     (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
13937 { SWIG_PY_INT,     (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
13938 { SWIG_PY_INT,     (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
13939 { SWIG_PY_INT,     (char *)"AllowExposures", (long) 1, 0, 0, 0},
13940 { SWIG_PY_INT,     (char *)"DefaultExposures", (long) 2, 0, 0, 0},
13941 { SWIG_PY_INT,     (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
13942 { SWIG_PY_INT,     (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
13943 { SWIG_PY_INT,     (char *)"HostInsert", (long) 0, 0, 0, 0},
13944 { SWIG_PY_INT,     (char *)"HostDelete", (long) 1, 0, 0, 0},
13945 { SWIG_PY_INT,     (char *)"EnableAccess", (long) 1, 0, 0, 0},
13946 { SWIG_PY_INT,     (char *)"DisableAccess", (long) 0, 0, 0, 0},
13947 { SWIG_PY_INT,     (char *)"StaticGray", (long) 0, 0, 0, 0},
13948 { SWIG_PY_INT,     (char *)"GrayScale", (long) 1, 0, 0, 0},
13949 { SWIG_PY_INT,     (char *)"StaticColor", (long) 2, 0, 0, 0},
13950 { SWIG_PY_INT,     (char *)"PseudoColor", (long) 3, 0, 0, 0},
13951 { SWIG_PY_INT,     (char *)"TrueColor", (long) 4, 0, 0, 0},
13952 { SWIG_PY_INT,     (char *)"DirectColor", (long) 5, 0, 0, 0},
13953 { SWIG_PY_INT,     (char *)"LSBFirst", (long) 0, 0, 0, 0},
13954 { SWIG_PY_INT,     (char *)"MSBFirst", (long) 1, 0, 0, 0},
13955 {0}};
13956
13957 #ifdef __cplusplus
13958 }
13959 #endif
13960
13961 #ifdef __cplusplus
13962 extern "C"
13963 #endif
13964 SWIGEXPORT(void) SWIG_init(void) {
13965     static PyObject *SWIG_globals = 0; 
13966     static int       typeinit = 0;
13967     PyObject *m, *d;
13968     int       i;
13969     if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13970     m = Py_InitModule((char *) SWIG_name, SwigMethods);
13971     d = PyModule_GetDict(m);
13972     
13973     if (!typeinit) {
13974         for (i = 0; swig_types_initial[i]; i++) {
13975             swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13976         }
13977         typeinit = 1;
13978     }
13979     SWIG_InstallConstants(d,swig_const_table);
13980     
13981     PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13982     SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13983 }
13984