]> Dogcows Code - chaz/openbox/blob - otk/otk_wrap.cc
08451e9858cce4137dd99bed3d0ce95bde3c4a05
[chaz/openbox] / otk / otk_wrap.cc
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021222-0248
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__BGCCache swig_types[0]
649 #define SWIGTYPE_p_otk__BColor swig_types[1]
650 #define SWIGTYPE_p_otk__OBProperty__StringVect 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_Atom swig_types[6]
655 #define SWIGTYPE_p_otk__PointerAssassin swig_types[7]
656 #define SWIGTYPE_p_otk__BImage swig_types[8]
657 #define SWIGTYPE_p_otk__OBTimer swig_types[9]
658 #define SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[10]
659 #define SWIGTYPE_p_bool swig_types[11]
660 #define SWIGTYPE_p_otk__OBDisplay swig_types[12]
661 #define SWIGTYPE_p_Display swig_types[13]
662 #define SWIGTYPE_p_p_XColor swig_types[14]
663 #define SWIGTYPE_p_XReparentEvent swig_types[15]
664 #define SWIGTYPE_p_otk__BPen swig_types[16]
665 #define SWIGTYPE_p_otk__BImageControl swig_types[17]
666 #define SWIGTYPE_p_otk__OtkButton swig_types[18]
667 #define SWIGTYPE_p_otk__Rect swig_types[19]
668 #define SWIGTYPE_p_otk__Style swig_types[20]
669 #define SWIGTYPE_p_XSelectionClearEvent swig_types[21]
670 #define SWIGTYPE_p_Visual swig_types[22]
671 #define SWIGTYPE_p_timeval swig_types[23]
672 #define SWIGTYPE_p_int swig_types[24]
673 #define SWIGTYPE_p_otk__Strut swig_types[25]
674 #define SWIGTYPE_p_otk__OtkApplication swig_types[26]
675 #define SWIGTYPE_p_XRectangle swig_types[27]
676 #define SWIGTYPE_p_otk__OtkFocusWidget swig_types[28]
677 #define SWIGTYPE_p_otk__OtkWidget swig_types[29]
678 #define SWIGTYPE_p_Cursor swig_types[30]
679 #define SWIGTYPE_p_Colormap swig_types[31]
680 #define SWIGTYPE_p_XGravityEvent swig_types[32]
681 #define SWIGTYPE_p_XVisibilityEvent swig_types[33]
682 #define SWIGTYPE_p_XPropertyEvent swig_types[34]
683 #define SWIGTYPE_p_Window swig_types[35]
684 #define SWIGTYPE_p_otk__BGCCacheContext swig_types[36]
685 #define SWIGTYPE_p_XCreateWindowEvent swig_types[37]
686 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[38]
687 #define SWIGTYPE_p_XCirculateEvent swig_types[39]
688 #define SWIGTYPE_p_XConfigureEvent swig_types[40]
689 #define SWIGTYPE_p_otk__OBProperty swig_types[41]
690 #define SWIGTYPE_p_long swig_types[42]
691 #define SWIGTYPE_p_XTextProperty swig_types[43]
692 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[44]
693 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[45]
694 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[46]
695 #define SWIGTYPE_p_XMapRequestEvent swig_types[47]
696 #define SWIGTYPE_p_XResizeRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[49]
698 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[50]
699 #define SWIGTYPE_p_XftDraw swig_types[51]
700 #define SWIGTYPE_p_otk__ScreenInfo swig_types[52]
701 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[53]
702 #define SWIGTYPE_p_otk__BTexture swig_types[54]
703 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[55]
704 #define SWIGTYPE_p_otk__BFont swig_types[56]
705 #define SWIGTYPE_p_otk__Point swig_types[57]
706 #define SWIGTYPE_p_p_char swig_types[58]
707 #define SWIGTYPE_p_XMotionEvent swig_types[59]
708 #define SWIGTYPE_p_XButtonEvent swig_types[60]
709 #define SWIGTYPE_p_XSelectionEvent swig_types[61]
710 #define SWIGTYPE_p_Pixmap swig_types[62]
711 #define SWIGTYPE_p_GC swig_types[63]
712 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[64]
713 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[65]
714 #define SWIGTYPE_p_XKeyEvent swig_types[66]
715 #define SWIGTYPE_p_unsigned_long swig_types[67]
716 #define SWIGTYPE_p_XEvent swig_types[68]
717 #define SWIGTYPE_p_p_unsigned_long swig_types[69]
718 #define SWIGTYPE_p_std__string swig_types[70]
719 #define SWIGTYPE_p_XCrossingEvent swig_types[71]
720 #define SWIGTYPE_p_XMappingEvent swig_types[72]
721 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[73]
722 #define SWIGTYPE_p_p_unsigned_int swig_types[74]
723 #define SWIGTYPE_p_unsigned_int swig_types[75]
724 #define SWIGTYPE_p_p_unsigned_char swig_types[76]
725 #define SWIGTYPE_p_XClientMessageEvent swig_types[77]
726 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[78]
727 #define SWIGTYPE_p_XExposeEvent swig_types[79]
728 #define SWIGTYPE_p_XFocusChangeEvent swig_types[80]
729 #define SWIGTYPE_p_XNoExposeEvent swig_types[81]
730 #define SWIGTYPE_p_XMapEvent swig_types[82]
731 #define SWIGTYPE_p_XUnmapEvent swig_types[83]
732 #define SWIGTYPE_p_XColormapEvent swig_types[84]
733 static swig_type_info *swig_types[86];
734
735 /* -------- TYPES TABLE (END) -------- */
736
737
738 /*-----------------------------------------------
739 @(target):= _otk.so
740 ------------------------------------------------*/
741 #define SWIG_init init_otk
742
743 #define SWIG_name "_otk"
744
745 #ifdef HAVE_CONFIG_H
746 # include "../config.h"
747 #endif
748
749 #include "application.hh"
750 #include "appwidget.hh"
751 #include "assassin.hh"
752 #include "button.hh"
753 #include "color.hh"
754 #include "configuration.hh"
755 #include "display.hh"
756 #include "eventdispatcher.hh"
757 #include "eventhandler.hh"
758 #include "focuslabel.hh"
759 #include "focuswidget.hh"
760 #include "font.hh"
761 #include "gccache.hh"
762 #include "image.hh"
763 #include "label.hh"
764 #include "point.hh"
765 #include "property.hh"
766 #include "rect.hh"
767 #include "screeninfo.hh"
768 #include "strut.hh"
769 #include "style.hh"
770 #include "texture.hh"
771 #include "timer.hh"
772 #include "timerqueue.hh"
773 #include "timerqueuemanager.hh"
774 #include "util.hh"
775 #include "widget.hh"
776
777
778 #define SWIG_MemoryError 1
779 #define SWIG_IOError 2
780 #define SWIG_RuntimeError 3
781 #define SWIG_IndexError 4
782 #define SWIG_TypeError 5
783 #define SWIG_DivisionByZero 6
784 #define SWIG_OverflowError 7
785 #define SWIG_SyntaxError 8
786 #define SWIG_ValueError 9
787 #define SWIG_SystemError 10
788 #define SWIG_UnknownError 99
789
790
791 static void _SWIG_exception(int code, const char *msg) {
792 switch(code) {
793 case SWIG_MemoryError:
794 PyErr_SetString(PyExc_MemoryError,msg);
795 break;
796 case SWIG_IOError:
797 PyErr_SetString(PyExc_IOError,msg);
798 break;
799 case SWIG_RuntimeError:
800 PyErr_SetString(PyExc_RuntimeError,msg);
801 break;
802 case SWIG_IndexError:
803 PyErr_SetString(PyExc_IndexError,msg);
804 break;
805 case SWIG_TypeError:
806 PyErr_SetString(PyExc_TypeError,msg);
807 break;
808 case SWIG_DivisionByZero:
809 PyErr_SetString(PyExc_ZeroDivisionError,msg);
810 break;
811 case SWIG_OverflowError:
812 PyErr_SetString(PyExc_OverflowError,msg);
813 break;
814 case SWIG_SyntaxError:
815 PyErr_SetString(PyExc_SyntaxError,msg);
816 break;
817 case SWIG_ValueError:
818 PyErr_SetString(PyExc_ValueError,msg);
819 break;
820 case SWIG_SystemError:
821 PyErr_SetString(PyExc_SystemError,msg);
822 break;
823 default:
824 PyErr_SetString(PyExc_RuntimeError,msg);
825 break;
826 }
827 }
828
829 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
830
831
832 #include <string>
833
834
835 #include <string>
836
837 static PyObject* SwigInt_FromBool(bool b) {
838 return PyInt_FromLong(b ? 1L : 0L);
839 }
840 static double SwigNumber_Check(PyObject* o) {
841 return PyFloat_Check(o) || PyInt_Check(o);
842 }
843 static double SwigNumber_AsDouble(PyObject* o) {
844 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
845 }
846 static PyObject* SwigString_FromString(const std::string& s) {
847 return PyString_FromString(s.c_str());
848 }
849 static std::string SwigString_AsString(PyObject* o) {
850 return std::string(PyString_AsString(o));
851 }
852
853
854 #include <vector>
855 #include <algorithm>
856 #include <stdexcept>
857
858 #ifdef __cplusplus
859 extern "C" {
860 #endif
861 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
862 PyObject *resultobj;
863 otk::OtkEventDispatcher *result;
864
865 if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
866 result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
867
868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
869 return resultobj;
870 fail:
871 return NULL;
872 }
873
874
875 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
876 PyObject *resultobj;
877 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
878 PyObject * obj0 = 0 ;
879
880 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
882 delete arg1;
883
884 Py_INCREF(Py_None); resultobj = Py_None;
885 return resultobj;
886 fail:
887 return NULL;
888 }
889
890
891 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
892 PyObject *resultobj;
893 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
894 PyObject * obj0 = 0 ;
895
896 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
898 (arg1)->clearAllHandlers();
899
900 Py_INCREF(Py_None); resultobj = Py_None;
901 return resultobj;
902 fail:
903 return NULL;
904 }
905
906
907 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
908 PyObject *resultobj;
909 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
910 Window arg2 ;
911 otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
912 Window *argp2 ;
913 PyObject * obj0 = 0 ;
914 PyObject * obj1 = 0 ;
915 PyObject * obj2 = 0 ;
916
917 if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
919 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
920 arg2 = *argp2;
921 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
922 (arg1)->registerHandler(arg2,arg3);
923
924 Py_INCREF(Py_None); resultobj = Py_None;
925 return resultobj;
926 fail:
927 return NULL;
928 }
929
930
931 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
932 PyObject *resultobj;
933 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
934 Window arg2 ;
935 Window *argp2 ;
936 PyObject * obj0 = 0 ;
937 PyObject * obj1 = 0 ;
938
939 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
941 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
942 arg2 = *argp2;
943 (arg1)->clearHandler(arg2);
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_dispatchEvents(PyObject *self, PyObject *args) {
953 PyObject *resultobj;
954 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
955 PyObject * obj0 = 0 ;
956
957 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 (arg1)->dispatchEvents();
960
961 Py_INCREF(Py_None); resultobj = Py_None;
962 return resultobj;
963 fail:
964 return NULL;
965 }
966
967
968 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
969 PyObject *resultobj;
970 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
971 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
972 PyObject * obj0 = 0 ;
973 PyObject * obj1 = 0 ;
974
975 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 (arg1)->setFallbackHandler(arg2);
979
980 Py_INCREF(Py_None); resultobj = Py_None;
981 return resultobj;
982 fail:
983 return NULL;
984 }
985
986
987 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
988 PyObject *resultobj;
989 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
990 otk::OtkEventHandler *result;
991 PyObject * obj0 = 0 ;
992
993 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
995 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
996
997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
998 return resultobj;
999 fail:
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1005 PyObject *resultobj;
1006 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1007 Window arg2 ;
1008 otk::OtkEventHandler *result;
1009 Window *argp2 ;
1010 PyObject * obj0 = 0 ;
1011 PyObject * obj1 = 0 ;
1012
1013 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1015 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1016 arg2 = *argp2;
1017 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1018
1019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1020 return resultobj;
1021 fail:
1022 return NULL;
1023 }
1024
1025
1026 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1027 PyObject *obj;
1028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1029 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1030 Py_INCREF(obj);
1031 return Py_BuildValue((char *)"");
1032 }
1033 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1034 PyObject *resultobj;
1035 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1036 XEvent *arg2 = 0 ;
1037 PyObject * obj0 = 0 ;
1038 PyObject * obj1 = 0 ;
1039
1040 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1043 if (arg2 == NULL) {
1044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1045 }
1046 (arg1)->handle((XEvent const &)*arg2);
1047
1048 Py_INCREF(Py_None); resultobj = Py_None;
1049 return resultobj;
1050 fail:
1051 return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1056 PyObject *resultobj;
1057 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1058 XKeyEvent *arg2 = 0 ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061
1062 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1065 if (arg2 == NULL) {
1066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1067 }
1068 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1069
1070 Py_INCREF(Py_None); resultobj = Py_None;
1071 return resultobj;
1072 fail:
1073 return NULL;
1074 }
1075
1076
1077 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1078 PyObject *resultobj;
1079 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1080 XKeyEvent *arg2 = 0 ;
1081 PyObject * obj0 = 0 ;
1082 PyObject * obj1 = 0 ;
1083
1084 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1087 if (arg2 == NULL) {
1088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1089 }
1090 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1091
1092 Py_INCREF(Py_None); resultobj = Py_None;
1093 return resultobj;
1094 fail:
1095 return NULL;
1096 }
1097
1098
1099 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1100 PyObject *resultobj;
1101 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1102 XButtonEvent *arg2 = 0 ;
1103 PyObject * obj0 = 0 ;
1104 PyObject * obj1 = 0 ;
1105
1106 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if (arg2 == NULL) {
1110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1111 }
1112 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1113
1114 Py_INCREF(Py_None); resultobj = Py_None;
1115 return resultobj;
1116 fail:
1117 return NULL;
1118 }
1119
1120
1121 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1122 PyObject *resultobj;
1123 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1124 XButtonEvent *arg2 = 0 ;
1125 PyObject * obj0 = 0 ;
1126 PyObject * obj1 = 0 ;
1127
1128 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1131 if (arg2 == NULL) {
1132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1133 }
1134 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1135
1136 Py_INCREF(Py_None); resultobj = Py_None;
1137 return resultobj;
1138 fail:
1139 return NULL;
1140 }
1141
1142
1143 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1144 PyObject *resultobj;
1145 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1146 XMotionEvent *arg2 = 0 ;
1147 PyObject * obj0 = 0 ;
1148 PyObject * obj1 = 0 ;
1149
1150 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1153 if (arg2 == NULL) {
1154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1155 }
1156 (arg1)->motionHandler((XMotionEvent const &)*arg2);
1157
1158 Py_INCREF(Py_None); resultobj = Py_None;
1159 return resultobj;
1160 fail:
1161 return NULL;
1162 }
1163
1164
1165 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1166 PyObject *resultobj;
1167 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1168 XCrossingEvent *arg2 = 0 ;
1169 PyObject * obj0 = 0 ;
1170 PyObject * obj1 = 0 ;
1171
1172 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1175 if (arg2 == NULL) {
1176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1177 }
1178 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1179
1180 Py_INCREF(Py_None); resultobj = Py_None;
1181 return resultobj;
1182 fail:
1183 return NULL;
1184 }
1185
1186
1187 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1188 PyObject *resultobj;
1189 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1190 XCrossingEvent *arg2 = 0 ;
1191 PyObject * obj0 = 0 ;
1192 PyObject * obj1 = 0 ;
1193
1194 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1197 if (arg2 == NULL) {
1198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1199 }
1200 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1201
1202 Py_INCREF(Py_None); resultobj = Py_None;
1203 return resultobj;
1204 fail:
1205 return NULL;
1206 }
1207
1208
1209 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1210 PyObject *resultobj;
1211 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1212 XFocusChangeEvent *arg2 = 0 ;
1213 PyObject * obj0 = 0 ;
1214 PyObject * obj1 = 0 ;
1215
1216 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1219 if (arg2 == NULL) {
1220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1221 }
1222 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1223
1224 Py_INCREF(Py_None); resultobj = Py_None;
1225 return resultobj;
1226 fail:
1227 return NULL;
1228 }
1229
1230
1231 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1232 PyObject *resultobj;
1233 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1234 XFocusChangeEvent *arg2 = 0 ;
1235 PyObject * obj0 = 0 ;
1236 PyObject * obj1 = 0 ;
1237
1238 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1241 if (arg2 == NULL) {
1242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1243 }
1244 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1245
1246 Py_INCREF(Py_None); resultobj = Py_None;
1247 return resultobj;
1248 fail:
1249 return NULL;
1250 }
1251
1252
1253 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1254 PyObject *resultobj;
1255 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1256 XExposeEvent *arg2 = 0 ;
1257 PyObject * obj0 = 0 ;
1258 PyObject * obj1 = 0 ;
1259
1260 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1263 if (arg2 == NULL) {
1264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1265 }
1266 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1267
1268 Py_INCREF(Py_None); resultobj = Py_None;
1269 return resultobj;
1270 fail:
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1276 PyObject *resultobj;
1277 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1278 XGraphicsExposeEvent *arg2 = 0 ;
1279 PyObject * obj0 = 0 ;
1280 PyObject * obj1 = 0 ;
1281
1282 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1285 if (arg2 == NULL) {
1286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1287 }
1288 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1289
1290 Py_INCREF(Py_None); resultobj = Py_None;
1291 return resultobj;
1292 fail:
1293 return NULL;
1294 }
1295
1296
1297 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1298 PyObject *resultobj;
1299 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1300 XNoExposeEvent *arg2 = 0 ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj1 = 0 ;
1303
1304 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1307 if (arg2 == NULL) {
1308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1309 }
1310 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1311
1312 Py_INCREF(Py_None); resultobj = Py_None;
1313 return resultobj;
1314 fail:
1315 return NULL;
1316 }
1317
1318
1319 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1320 PyObject *resultobj;
1321 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1322 XCirculateRequestEvent *arg2 = 0 ;
1323 PyObject * obj0 = 0 ;
1324 PyObject * obj1 = 0 ;
1325
1326 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1329 if (arg2 == NULL) {
1330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1331 }
1332 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1333
1334 Py_INCREF(Py_None); resultobj = Py_None;
1335 return resultobj;
1336 fail:
1337 return NULL;
1338 }
1339
1340
1341 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1342 PyObject *resultobj;
1343 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1344 XConfigureRequestEvent *arg2 = 0 ;
1345 PyObject * obj0 = 0 ;
1346 PyObject * obj1 = 0 ;
1347
1348 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1351 if (arg2 == NULL) {
1352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1353 }
1354 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1355
1356 Py_INCREF(Py_None); resultobj = Py_None;
1357 return resultobj;
1358 fail:
1359 return NULL;
1360 }
1361
1362
1363 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1364 PyObject *resultobj;
1365 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1366 XMapRequestEvent *arg2 = 0 ;
1367 PyObject * obj0 = 0 ;
1368 PyObject * obj1 = 0 ;
1369
1370 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1373 if (arg2 == NULL) {
1374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1375 }
1376 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1377
1378 Py_INCREF(Py_None); resultobj = Py_None;
1379 return resultobj;
1380 fail:
1381 return NULL;
1382 }
1383
1384
1385 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1386 PyObject *resultobj;
1387 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1388 XResizeRequestEvent *arg2 = 0 ;
1389 PyObject * obj0 = 0 ;
1390 PyObject * obj1 = 0 ;
1391
1392 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1395 if (arg2 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1397 }
1398 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1399
1400 Py_INCREF(Py_None); resultobj = Py_None;
1401 return resultobj;
1402 fail:
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1408 PyObject *resultobj;
1409 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1410 XCirculateEvent *arg2 = 0 ;
1411 PyObject * obj0 = 0 ;
1412 PyObject * obj1 = 0 ;
1413
1414 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 if (arg2 == NULL) {
1418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1419 }
1420 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1421
1422 Py_INCREF(Py_None); resultobj = Py_None;
1423 return resultobj;
1424 fail:
1425 return NULL;
1426 }
1427
1428
1429 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1430 PyObject *resultobj;
1431 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1432 XConfigureEvent *arg2 = 0 ;
1433 PyObject * obj0 = 0 ;
1434 PyObject * obj1 = 0 ;
1435
1436 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 if (arg2 == NULL) {
1440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1441 }
1442 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1443
1444 Py_INCREF(Py_None); resultobj = Py_None;
1445 return resultobj;
1446 fail:
1447 return NULL;
1448 }
1449
1450
1451 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1452 PyObject *resultobj;
1453 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1454 XCreateWindowEvent *arg2 = 0 ;
1455 PyObject * obj0 = 0 ;
1456 PyObject * obj1 = 0 ;
1457
1458 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461 if (arg2 == NULL) {
1462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1463 }
1464 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1465
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1474 PyObject *resultobj;
1475 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1476 XDestroyWindowEvent *arg2 = 0 ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1479
1480 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1483 if (arg2 == NULL) {
1484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1485 }
1486 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1487
1488 Py_INCREF(Py_None); resultobj = Py_None;
1489 return resultobj;
1490 fail:
1491 return NULL;
1492 }
1493
1494
1495 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1496 PyObject *resultobj;
1497 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1498 XGravityEvent *arg2 = 0 ;
1499 PyObject * obj0 = 0 ;
1500 PyObject * obj1 = 0 ;
1501
1502 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 if (arg2 == NULL) {
1506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1507 }
1508 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1509
1510 Py_INCREF(Py_None); resultobj = Py_None;
1511 return resultobj;
1512 fail:
1513 return NULL;
1514 }
1515
1516
1517 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1518 PyObject *resultobj;
1519 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1520 XMapEvent *arg2 = 0 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523
1524 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1527 if (arg2 == NULL) {
1528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1529 }
1530 (arg1)->mapHandler((XMapEvent const &)*arg2);
1531
1532 Py_INCREF(Py_None); resultobj = Py_None;
1533 return resultobj;
1534 fail:
1535 return NULL;
1536 }
1537
1538
1539 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1540 PyObject *resultobj;
1541 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1542 XMappingEvent *arg2 = 0 ;
1543 PyObject * obj0 = 0 ;
1544 PyObject * obj1 = 0 ;
1545
1546 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1549 if (arg2 == NULL) {
1550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1551 }
1552 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1553
1554 Py_INCREF(Py_None); resultobj = Py_None;
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1562 PyObject *resultobj;
1563 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1564 XReparentEvent *arg2 = 0 ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1567
1568 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1571 if (arg2 == NULL) {
1572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1573 }
1574 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1575
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 return resultobj;
1578 fail:
1579 return NULL;
1580 }
1581
1582
1583 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1584 PyObject *resultobj;
1585 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1586 XUnmapEvent *arg2 = 0 ;
1587 PyObject * obj0 = 0 ;
1588 PyObject * obj1 = 0 ;
1589
1590 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1593 if (arg2 == NULL) {
1594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1595 }
1596 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1597
1598 Py_INCREF(Py_None); resultobj = Py_None;
1599 return resultobj;
1600 fail:
1601 return NULL;
1602 }
1603
1604
1605 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1606 PyObject *resultobj;
1607 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1608 XVisibilityEvent *arg2 = 0 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611
1612 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 if (arg2 == NULL) {
1616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1617 }
1618 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1619
1620 Py_INCREF(Py_None); resultobj = Py_None;
1621 return resultobj;
1622 fail:
1623 return NULL;
1624 }
1625
1626
1627 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1628 PyObject *resultobj;
1629 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1630 XColormapEvent *arg2 = 0 ;
1631 PyObject * obj0 = 0 ;
1632 PyObject * obj1 = 0 ;
1633
1634 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 if (arg2 == NULL) {
1638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1639 }
1640 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1641
1642 Py_INCREF(Py_None); resultobj = Py_None;
1643 return resultobj;
1644 fail:
1645 return NULL;
1646 }
1647
1648
1649 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1650 PyObject *resultobj;
1651 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1652 XPropertyEvent *arg2 = 0 ;
1653 PyObject * obj0 = 0 ;
1654 PyObject * obj1 = 0 ;
1655
1656 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1659 if (arg2 == NULL) {
1660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1661 }
1662 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1663
1664 Py_INCREF(Py_None); resultobj = Py_None;
1665 return resultobj;
1666 fail:
1667 return NULL;
1668 }
1669
1670
1671 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1672 PyObject *resultobj;
1673 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1674 XSelectionClearEvent *arg2 = 0 ;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1677
1678 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1681 if (arg2 == NULL) {
1682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1683 }
1684 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1685
1686 Py_INCREF(Py_None); resultobj = Py_None;
1687 return resultobj;
1688 fail:
1689 return NULL;
1690 }
1691
1692
1693 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1694 PyObject *resultobj;
1695 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1696 XSelectionEvent *arg2 = 0 ;
1697 PyObject * obj0 = 0 ;
1698 PyObject * obj1 = 0 ;
1699
1700 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1703 if (arg2 == NULL) {
1704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1705 }
1706 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1707
1708 Py_INCREF(Py_None); resultobj = Py_None;
1709 return resultobj;
1710 fail:
1711 return NULL;
1712 }
1713
1714
1715 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1716 PyObject *resultobj;
1717 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1718 XSelectionRequestEvent *arg2 = 0 ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721
1722 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 if (arg2 == NULL) {
1726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1727 }
1728 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1729
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1740 XClientMessageEvent *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743
1744 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1747 if (arg2 == NULL) {
1748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1749 }
1750 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1751
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756 }
1757
1758
1759 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1760 PyObject *resultobj;
1761 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1762 PyObject * obj0 = 0 ;
1763
1764 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1766 delete arg1;
1767
1768 Py_INCREF(Py_None); resultobj = Py_None;
1769 return resultobj;
1770 fail:
1771 return NULL;
1772 }
1773
1774
1775 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1776 PyObject *obj;
1777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1778 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1779 Py_INCREF(obj);
1780 return Py_BuildValue((char *)"");
1781 }
1782 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1783 PyObject *resultobj;
1784 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1785 int arg2 = (int) otk::OtkWidget::Horizontal ;
1786 otk::OtkWidget *result;
1787 PyObject * obj0 = 0 ;
1788
1789 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1791 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1792
1793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1794 return resultobj;
1795 fail:
1796 return NULL;
1797 }
1798
1799
1800 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1801 PyObject *resultobj;
1802 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1803 otk::Style *arg2 = (otk::Style *) 0 ;
1804 int arg3 = (int) otk::OtkWidget::Horizontal ;
1805 Cursor arg4 = (Cursor) 0 ;
1806 int arg5 = (int) 1 ;
1807 otk::OtkWidget *result;
1808 Cursor *argp4 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj3 = 0 ;
1812
1813 if(!PyArg_ParseTuple(args,(char *)"OO|iOi:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
1814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1816 if (obj3) {
1817 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1818 arg4 = *argp4;
1819 }
1820 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5);
1821
1822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1823 return resultobj;
1824 fail:
1825 return NULL;
1826 }
1827
1828
1829 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1830 int argc;
1831 PyObject *argv[6];
1832 int ii;
1833
1834 argc = PyObject_Length(args);
1835 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
1836 argv[ii] = PyTuple_GetItem(args,ii);
1837 }
1838 if ((argc >= 1) && (argc <= 2)) {
1839 int _v;
1840 {
1841 void *ptr;
1842 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1843 _v = 0;
1844 PyErr_Clear();
1845 }else {
1846 _v = 1;
1847 }
1848 }
1849 if (_v) {
1850 if (argc <= 1) {
1851 return _wrap_new_OtkWidget__SWIG_0(self,args);
1852 }
1853 {
1854 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1855 }
1856 if (_v) {
1857 return _wrap_new_OtkWidget__SWIG_0(self,args);
1858 }
1859 }
1860 }
1861 if ((argc >= 2) && (argc <= 5)) {
1862 int _v;
1863 {
1864 void *ptr;
1865 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1866 _v = 0;
1867 PyErr_Clear();
1868 }else {
1869 _v = 1;
1870 }
1871 }
1872 if (_v) {
1873 {
1874 void *ptr;
1875 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1876 _v = 0;
1877 PyErr_Clear();
1878 }else {
1879 _v = 1;
1880 }
1881 }
1882 if (_v) {
1883 if (argc <= 2) {
1884 return _wrap_new_OtkWidget__SWIG_1(self,args);
1885 }
1886 {
1887 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1888 }
1889 if (_v) {
1890 if (argc <= 3) {
1891 return _wrap_new_OtkWidget__SWIG_1(self,args);
1892 }
1893 {
1894 void *ptr;
1895 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_Cursor, 0) == -1) {
1896 _v = 0;
1897 PyErr_Clear();
1898 }else {
1899 _v = 1;
1900 }
1901 }
1902 if (_v) {
1903 if (argc <= 4) {
1904 return _wrap_new_OtkWidget__SWIG_1(self,args);
1905 }
1906 {
1907 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1908 }
1909 if (_v) {
1910 return _wrap_new_OtkWidget__SWIG_1(self,args);
1911 }
1912 }
1913 }
1914 }
1915 }
1916 }
1917
1918 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1919 return NULL;
1920 }
1921
1922
1923 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1924 PyObject *resultobj;
1925 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1926 PyObject * obj0 = 0 ;
1927
1928 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1930 delete arg1;
1931
1932 Py_INCREF(Py_None); resultobj = Py_None;
1933 return resultobj;
1934 fail:
1935 return NULL;
1936 }
1937
1938
1939 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
1940 PyObject *resultobj;
1941 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1942 PyObject * obj0 = 0 ;
1943
1944 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
1945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1946 (arg1)->update();
1947
1948 Py_INCREF(Py_None); resultobj = Py_None;
1949 return resultobj;
1950 fail:
1951 return NULL;
1952 }
1953
1954
1955 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
1956 PyObject *resultobj;
1957 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1958 XExposeEvent *arg2 = 0 ;
1959 PyObject * obj0 = 0 ;
1960 PyObject * obj1 = 0 ;
1961
1962 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
1963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1965 if (arg2 == NULL) {
1966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1967 }
1968 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1969
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
1978 PyObject *resultobj;
1979 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1980 XConfigureEvent *arg2 = 0 ;
1981 PyObject * obj0 = 0 ;
1982 PyObject * obj1 = 0 ;
1983
1984 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 if (arg2 == NULL) {
1988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1989 }
1990 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1991
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2000 PyObject *resultobj;
2001 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2002 Window result;
2003 PyObject * obj0 = 0 ;
2004
2005 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 result = ((otk::OtkWidget const *)arg1)->window();
2008
2009 {
2010 Window * resultptr;
2011 resultptr = new Window((Window &) result);
2012 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
2013 }
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2021 PyObject *resultobj;
2022 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2023 otk::OtkWidget *result;
2024 PyObject * obj0 = 0 ;
2025
2026 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2028 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2029
2030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2038 PyObject *resultobj;
2039 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2040 otk::OtkWidget::OtkWidgetList *result;
2041 PyObject * obj0 = 0 ;
2042
2043 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2045 {
2046 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2047 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2048 }
2049
2050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2051 return resultobj;
2052 fail:
2053 return NULL;
2054 }
2055
2056
2057 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2058 PyObject *resultobj;
2059 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2060 unsigned int result;
2061 PyObject * obj0 = 0 ;
2062
2063 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2066
2067 resultobj = PyInt_FromLong((long)result);
2068 return resultobj;
2069 fail:
2070 return NULL;
2071 }
2072
2073
2074 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2075 PyObject *resultobj;
2076 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2077 otk::Rect *result;
2078 PyObject * obj0 = 0 ;
2079
2080 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2082 {
2083 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2084 result = (otk::Rect *) &_result_ref;
2085 }
2086
2087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2095 PyObject *resultobj;
2096 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2097 otk::Point *arg2 = 0 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2100
2101 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2104 if (arg2 == NULL) {
2105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2106 }
2107 (arg1)->move((otk::Point const &)*arg2);
2108
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 return resultobj;
2111 fail:
2112 return NULL;
2113 }
2114
2115
2116 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2117 PyObject *resultobj;
2118 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2119 int arg2 ;
2120 int arg3 ;
2121 PyObject * obj0 = 0 ;
2122
2123 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2125 (arg1)->move(arg2,arg3);
2126
2127 Py_INCREF(Py_None); resultobj = Py_None;
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2135 int argc;
2136 PyObject *argv[4];
2137 int ii;
2138
2139 argc = PyObject_Length(args);
2140 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2141 argv[ii] = PyTuple_GetItem(args,ii);
2142 }
2143 if (argc == 2) {
2144 int _v;
2145 {
2146 void *ptr;
2147 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2148 _v = 0;
2149 PyErr_Clear();
2150 }else {
2151 _v = 1;
2152 }
2153 }
2154 if (_v) {
2155 {
2156 void *ptr;
2157 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2158 _v = 0;
2159 PyErr_Clear();
2160 }else {
2161 _v = 1;
2162 }
2163 }
2164 if (_v) {
2165 return _wrap_OtkWidget_move__SWIG_0(self,args);
2166 }
2167 }
2168 }
2169 if (argc == 3) {
2170 int _v;
2171 {
2172 void *ptr;
2173 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2174 _v = 0;
2175 PyErr_Clear();
2176 }else {
2177 _v = 1;
2178 }
2179 }
2180 if (_v) {
2181 {
2182 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2183 }
2184 if (_v) {
2185 {
2186 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2187 }
2188 if (_v) {
2189 return _wrap_OtkWidget_move__SWIG_1(self,args);
2190 }
2191 }
2192 }
2193 }
2194
2195 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2196 return NULL;
2197 }
2198
2199
2200 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2201 PyObject *resultobj;
2202 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2203 int arg2 ;
2204 PyObject * obj0 = 0 ;
2205
2206 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2208 (arg1)->setWidth(arg2);
2209
2210 Py_INCREF(Py_None); resultobj = Py_None;
2211 return resultobj;
2212 fail:
2213 return NULL;
2214 }
2215
2216
2217 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2218 PyObject *resultobj;
2219 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2220 int arg2 ;
2221 PyObject * obj0 = 0 ;
2222
2223 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 (arg1)->setHeight(arg2);
2226
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2235 PyObject *resultobj;
2236 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2237 int result;
2238 PyObject * obj0 = 0 ;
2239
2240 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 result = (int)((otk::OtkWidget const *)arg1)->width();
2243
2244 resultobj = PyInt_FromLong((long)result);
2245 return resultobj;
2246 fail:
2247 return NULL;
2248 }
2249
2250
2251 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2252 PyObject *resultobj;
2253 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2254 int result;
2255 PyObject * obj0 = 0 ;
2256
2257 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2259 result = (int)((otk::OtkWidget const *)arg1)->height();
2260
2261 resultobj = PyInt_FromLong((long)result);
2262 return resultobj;
2263 fail:
2264 return NULL;
2265 }
2266
2267
2268 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2269 PyObject *resultobj;
2270 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2271 otk::Point *arg2 = 0 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274
2275 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2278 if (arg2 == NULL) {
2279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2280 }
2281 (arg1)->resize((otk::Point const &)*arg2);
2282
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 return resultobj;
2285 fail:
2286 return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2291 PyObject *resultobj;
2292 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2293 int arg2 ;
2294 int arg3 ;
2295 PyObject * obj0 = 0 ;
2296
2297 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2299 (arg1)->resize(arg2,arg3);
2300
2301 Py_INCREF(Py_None); resultobj = Py_None;
2302 return resultobj;
2303 fail:
2304 return NULL;
2305 }
2306
2307
2308 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2309 int argc;
2310 PyObject *argv[4];
2311 int ii;
2312
2313 argc = PyObject_Length(args);
2314 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2315 argv[ii] = PyTuple_GetItem(args,ii);
2316 }
2317 if (argc == 2) {
2318 int _v;
2319 {
2320 void *ptr;
2321 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2322 _v = 0;
2323 PyErr_Clear();
2324 }else {
2325 _v = 1;
2326 }
2327 }
2328 if (_v) {
2329 {
2330 void *ptr;
2331 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2332 _v = 0;
2333 PyErr_Clear();
2334 }else {
2335 _v = 1;
2336 }
2337 }
2338 if (_v) {
2339 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2340 }
2341 }
2342 }
2343 if (argc == 3) {
2344 int _v;
2345 {
2346 void *ptr;
2347 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2348 _v = 0;
2349 PyErr_Clear();
2350 }else {
2351 _v = 1;
2352 }
2353 }
2354 if (_v) {
2355 {
2356 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2357 }
2358 if (_v) {
2359 {
2360 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2361 }
2362 if (_v) {
2363 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2364 }
2365 }
2366 }
2367 }
2368
2369 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2370 return NULL;
2371 }
2372
2373
2374 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2375 PyObject *resultobj;
2376 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2377 otk::Rect *arg2 = 0 ;
2378 PyObject * obj0 = 0 ;
2379 PyObject * obj1 = 0 ;
2380
2381 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2384 if (arg2 == NULL) {
2385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2386 }
2387 (arg1)->setGeometry((otk::Rect const &)*arg2);
2388
2389 Py_INCREF(Py_None); resultobj = Py_None;
2390 return resultobj;
2391 fail:
2392 return NULL;
2393 }
2394
2395
2396 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2397 PyObject *resultobj;
2398 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2399 otk::Point *arg2 = 0 ;
2400 int arg3 ;
2401 int arg4 ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404
2405 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2408 if (arg2 == NULL) {
2409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2410 }
2411 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2412
2413 Py_INCREF(Py_None); resultobj = Py_None;
2414 return resultobj;
2415 fail:
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2421 PyObject *resultobj;
2422 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2423 int arg2 ;
2424 int arg3 ;
2425 int arg4 ;
2426 int arg5 ;
2427 PyObject * obj0 = 0 ;
2428
2429 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2432
2433 Py_INCREF(Py_None); resultobj = Py_None;
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2441 int argc;
2442 PyObject *argv[6];
2443 int ii;
2444
2445 argc = PyObject_Length(args);
2446 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2447 argv[ii] = PyTuple_GetItem(args,ii);
2448 }
2449 if (argc == 2) {
2450 int _v;
2451 {
2452 void *ptr;
2453 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2454 _v = 0;
2455 PyErr_Clear();
2456 }else {
2457 _v = 1;
2458 }
2459 }
2460 if (_v) {
2461 {
2462 void *ptr;
2463 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2464 _v = 0;
2465 PyErr_Clear();
2466 }else {
2467 _v = 1;
2468 }
2469 }
2470 if (_v) {
2471 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2472 }
2473 }
2474 }
2475 if (argc == 4) {
2476 int _v;
2477 {
2478 void *ptr;
2479 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2480 _v = 0;
2481 PyErr_Clear();
2482 }else {
2483 _v = 1;
2484 }
2485 }
2486 if (_v) {
2487 {
2488 void *ptr;
2489 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2490 _v = 0;
2491 PyErr_Clear();
2492 }else {
2493 _v = 1;
2494 }
2495 }
2496 if (_v) {
2497 {
2498 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2499 }
2500 if (_v) {
2501 {
2502 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2503 }
2504 if (_v) {
2505 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2506 }
2507 }
2508 }
2509 }
2510 }
2511 if (argc == 5) {
2512 int _v;
2513 {
2514 void *ptr;
2515 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2516 _v = 0;
2517 PyErr_Clear();
2518 }else {
2519 _v = 1;
2520 }
2521 }
2522 if (_v) {
2523 {
2524 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2525 }
2526 if (_v) {
2527 {
2528 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2529 }
2530 if (_v) {
2531 {
2532 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2533 }
2534 if (_v) {
2535 {
2536 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2537 }
2538 if (_v) {
2539 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2540 }
2541 }
2542 }
2543 }
2544 }
2545 }
2546
2547 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2548 return NULL;
2549 }
2550
2551
2552 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2553 PyObject *resultobj;
2554 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2555 bool result;
2556 PyObject * obj0 = 0 ;
2557
2558 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2561
2562 resultobj = PyInt_FromLong((long)result);
2563 return resultobj;
2564 fail:
2565 return NULL;
2566 }
2567
2568
2569 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2570 PyObject *resultobj;
2571 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2572 bool arg2 = (bool) false ;
2573 PyObject * obj0 = 0 ;
2574 PyObject * obj1 = 0 ;
2575
2576 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2578 if (obj1) {
2579 arg2 = (bool) PyInt_AsLong(obj1);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 }
2582 (arg1)->show(arg2);
2583
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 return resultobj;
2586 fail:
2587 return NULL;
2588 }
2589
2590
2591 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2592 PyObject *resultobj;
2593 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2594 bool arg2 = (bool) false ;
2595 PyObject * obj0 = 0 ;
2596 PyObject * obj1 = 0 ;
2597
2598 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2600 if (obj1) {
2601 arg2 = (bool) PyInt_AsLong(obj1);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 (arg1)->hide(arg2);
2605
2606 Py_INCREF(Py_None); resultobj = Py_None;
2607 return resultobj;
2608 fail:
2609 return NULL;
2610 }
2611
2612
2613 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2614 PyObject *resultobj;
2615 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2616 bool result;
2617 PyObject * obj0 = 0 ;
2618
2619 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2621 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2622
2623 resultobj = PyInt_FromLong((long)result);
2624 return resultobj;
2625 fail:
2626 return NULL;
2627 }
2628
2629
2630 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2631 PyObject *resultobj;
2632 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2633 PyObject * obj0 = 0 ;
2634
2635 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2637 (arg1)->focus();
2638
2639 Py_INCREF(Py_None); resultobj = Py_None;
2640 return resultobj;
2641 fail:
2642 return NULL;
2643 }
2644
2645
2646 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2647 PyObject *resultobj;
2648 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2649 PyObject * obj0 = 0 ;
2650
2651 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 (arg1)->unfocus();
2654
2655 Py_INCREF(Py_None); resultobj = Py_None;
2656 return resultobj;
2657 fail:
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2663 PyObject *resultobj;
2664 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2665 bool result;
2666 PyObject * obj0 = 0 ;
2667
2668 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2671
2672 resultobj = PyInt_FromLong((long)result);
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2680 PyObject *resultobj;
2681 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2682 bool result;
2683 PyObject * obj0 = 0 ;
2684
2685 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 result = (bool)(arg1)->grabMouse();
2688
2689 resultobj = PyInt_FromLong((long)result);
2690 return resultobj;
2691 fail:
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2697 PyObject *resultobj;
2698 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2699 PyObject * obj0 = 0 ;
2700
2701 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2703 (arg1)->ungrabMouse();
2704
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 return resultobj;
2707 fail:
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2713 PyObject *resultobj;
2714 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2715 bool result;
2716 PyObject * obj0 = 0 ;
2717
2718 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2721
2722 resultobj = PyInt_FromLong((long)result);
2723 return resultobj;
2724 fail:
2725 return NULL;
2726 }
2727
2728
2729 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2730 PyObject *resultobj;
2731 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2732 bool result;
2733 PyObject * obj0 = 0 ;
2734
2735 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2737 result = (bool)(arg1)->grabKeyboard();
2738
2739 resultobj = PyInt_FromLong((long)result);
2740 return resultobj;
2741 fail:
2742 return NULL;
2743 }
2744
2745
2746 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2747 PyObject *resultobj;
2748 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2749 PyObject * obj0 = 0 ;
2750
2751 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2753 (arg1)->ungrabKeyboard();
2754
2755 Py_INCREF(Py_None); resultobj = Py_None;
2756 return resultobj;
2757 fail:
2758 return NULL;
2759 }
2760
2761
2762 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2763 PyObject *resultobj;
2764 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2765 otk::BTexture *result;
2766 PyObject * obj0 = 0 ;
2767
2768 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2771
2772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2773 return resultobj;
2774 fail:
2775 return NULL;
2776 }
2777
2778
2779 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2780 PyObject *resultobj;
2781 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2782 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2783 PyObject * obj0 = 0 ;
2784 PyObject * obj1 = 0 ;
2785
2786 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2789 (arg1)->setTexture(arg2);
2790
2791 Py_INCREF(Py_None); resultobj = Py_None;
2792 return resultobj;
2793 fail:
2794 return NULL;
2795 }
2796
2797
2798 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2799 PyObject *resultobj;
2800 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2801 otk::BColor *result;
2802 PyObject * obj0 = 0 ;
2803
2804 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2807
2808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2816 PyObject *resultobj;
2817 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2818 otk::BColor *arg2 = (otk::BColor *) 0 ;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2821
2822 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 (arg1)->setBorderColor((otk::BColor const *)arg2);
2826
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2835 PyObject *resultobj;
2836 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2837 int result;
2838 PyObject * obj0 = 0 ;
2839
2840 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2843
2844 resultobj = PyInt_FromLong((long)result);
2845 return resultobj;
2846 fail:
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2852 PyObject *resultobj;
2853 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2854 int arg2 ;
2855 PyObject * obj0 = 0 ;
2856
2857 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 (arg1)->setBorderWidth(arg2);
2860
2861 Py_INCREF(Py_None); resultobj = Py_None;
2862 return resultobj;
2863 fail:
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2869 PyObject *resultobj;
2870 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2871 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2872 bool arg3 = (bool) false ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj1 = 0 ;
2875 PyObject * obj2 = 0 ;
2876
2877 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2880 if (obj2) {
2881 arg3 = (bool) PyInt_AsLong(obj2);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 (arg1)->addChild(arg2,arg3);
2885
2886 Py_INCREF(Py_None); resultobj = Py_None;
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2894 PyObject *resultobj;
2895 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2896 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2899
2900 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2903 (arg1)->removeChild(arg2);
2904
2905 Py_INCREF(Py_None); resultobj = Py_None;
2906 return resultobj;
2907 fail:
2908 return NULL;
2909 }
2910
2911
2912 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2913 PyObject *resultobj;
2914 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2915 bool result;
2916 PyObject * obj0 = 0 ;
2917
2918 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2921
2922 resultobj = PyInt_FromLong((long)result);
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2930 PyObject *resultobj;
2931 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2932 bool arg2 = (bool) true ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935
2936 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938 if (obj1) {
2939 arg2 = (bool) PyInt_AsLong(obj1);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 (arg1)->setStretchableHorz(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_isStretchableVert(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_isStretchableVert",&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)->isStretchableVert();
2960
2961 resultobj = PyInt_FromLong((long)result);
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_OtkWidget_setStretchableVert(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_setStretchableVert",&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)->setStretchableVert(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_cursor(PyObject *self, PyObject *args) {
2991 PyObject *resultobj;
2992 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2993 Cursor result;
2994 PyObject * obj0 = 0 ;
2995
2996 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 result = ((otk::OtkWidget const *)arg1)->cursor();
2999
3000 {
3001 Cursor * resultptr;
3002 resultptr = new Cursor((Cursor &) result);
3003 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Cursor, 1);
3004 }
3005 return resultobj;
3006 fail:
3007 return NULL;
3008 }
3009
3010
3011 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3012 PyObject *resultobj;
3013 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3014 Cursor arg2 ;
3015 Cursor *argp2 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3018
3019 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3021 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3022 arg2 = *argp2;
3023 (arg1)->setCursor(arg2);
3024
3025 Py_INCREF(Py_None); resultobj = Py_None;
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3033 PyObject *resultobj;
3034 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3035 int result;
3036 PyObject * obj0 = 0 ;
3037
3038 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3041
3042 resultobj = PyInt_FromLong((long)result);
3043 return resultobj;
3044 fail:
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3050 PyObject *resultobj;
3051 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3052 int arg2 ;
3053 PyObject * obj0 = 0 ;
3054
3055 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3057 (arg1)->setBevelWidth(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_direction(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_direction",&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)->direction();
3075
3076 resultobj = PyInt_FromLong((long)result);
3077 return resultobj;
3078 fail:
3079 return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_OtkWidget_setDirection(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_setDirection",&obj0,&arg2)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 (arg1)->setDirection((otk::OtkWidget::Direction )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_style(PyObject *self, PyObject *args) {
3101 PyObject *resultobj;
3102 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3103 otk::Style *result;
3104 PyObject * obj0 = 0 ;
3105
3106 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3109
3110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3118 PyObject *resultobj;
3119 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3120 otk::Style *arg2 = (otk::Style *) 0 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123
3124 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 (arg1)->setStyle(arg2);
3128
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3137 PyObject *resultobj;
3138 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3139 otk::OtkEventDispatcher *result;
3140 PyObject * obj0 = 0 ;
3141
3142 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3144 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3145
3146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3147 return resultobj;
3148 fail:
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3154 PyObject *resultobj;
3155 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3156 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159
3160 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 (arg1)->setEventDispatcher(arg2);
3164
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_OtkWidget_unmanaged(PyObject *self, PyObject *args) {
3173 PyObject *resultobj;
3174 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3175 PyObject * obj0 = 0 ;
3176
3177 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unmanaged",&obj0)) goto fail;
3178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3179 (arg1)->unmanaged();
3180
3181 Py_INCREF(Py_None); resultobj = Py_None;
3182 return resultobj;
3183 fail:
3184 return NULL;
3185 }
3186
3187
3188 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3189 PyObject *obj;
3190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3191 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3192 Py_INCREF(obj);
3193 return Py_BuildValue((char *)"");
3194 }
3195 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3196 PyObject *resultobj;
3197 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3198 int arg2 = (int) otk::OtkWidget::Horizontal ;
3199 otk::OtkFocusWidget *result;
3200 PyObject * obj0 = 0 ;
3201
3202 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3204 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3205
3206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3207 return resultobj;
3208 fail:
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3214 PyObject *resultobj;
3215 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3216 PyObject * obj0 = 0 ;
3217
3218 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 delete arg1;
3221
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3230 PyObject *resultobj;
3231 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3232 PyObject * obj0 = 0 ;
3233
3234 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3236 (arg1)->focus();
3237
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3246 PyObject *resultobj;
3247 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3248 PyObject * obj0 = 0 ;
3249
3250 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 (arg1)->unfocus();
3253
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3262 PyObject *resultobj;
3263 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3264 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267
3268 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 (arg1)->setTexture(arg2);
3272
3273 Py_INCREF(Py_None); resultobj = Py_None;
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3281 PyObject *resultobj;
3282 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3283 otk::BColor *arg2 = (otk::BColor *) 0 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3286
3287 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 (arg1)->setBorderColor((otk::BColor const *)arg2);
3291
3292 Py_INCREF(Py_None); resultobj = Py_None;
3293 return resultobj;
3294 fail:
3295 return NULL;
3296 }
3297
3298
3299 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3300 PyObject *resultobj;
3301 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3302 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3305
3306 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 (arg1)->setUnfocusTexture(arg2);
3310
3311 Py_INCREF(Py_None); resultobj = Py_None;
3312 return resultobj;
3313 fail:
3314 return NULL;
3315 }
3316
3317
3318 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3319 PyObject *resultobj;
3320 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3321 otk::BTexture *result;
3322 PyObject * obj0 = 0 ;
3323
3324 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3327
3328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3336 PyObject *resultobj;
3337 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3338 otk::BColor *arg2 = (otk::BColor *) 0 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341
3342 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3345 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3346
3347 Py_INCREF(Py_None); resultobj = Py_None;
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3355 PyObject *resultobj;
3356 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3357 otk::BColor *result;
3358 PyObject * obj0 = 0 ;
3359
3360 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3363
3364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3372 PyObject *resultobj;
3373 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3374 bool result;
3375 PyObject * obj0 = 0 ;
3376
3377 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3380
3381 resultobj = PyInt_FromLong((long)result);
3382 return resultobj;
3383 fail:
3384 return NULL;
3385 }
3386
3387
3388 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3389 PyObject *resultobj;
3390 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3391 bool result;
3392 PyObject * obj0 = 0 ;
3393
3394 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3396 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3397
3398 resultobj = PyInt_FromLong((long)result);
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3406 PyObject *obj;
3407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3408 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3409 Py_INCREF(obj);
3410 return Py_BuildValue((char *)"");
3411 }
3412 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3413 PyObject *resultobj;
3414 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3415 otk::OtkFocusLabel *result;
3416 PyObject * obj0 = 0 ;
3417
3418 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3420 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3421
3422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3423 return resultobj;
3424 fail:
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3430 PyObject *resultobj;
3431 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3432 PyObject * obj0 = 0 ;
3433
3434 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3436 delete arg1;
3437
3438 Py_INCREF(Py_None); resultobj = Py_None;
3439 return resultobj;
3440 fail:
3441 return NULL;
3442 }
3443
3444
3445 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3446 PyObject *resultobj;
3447 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3448 std::string *result;
3449 PyObject * obj0 = 0 ;
3450
3451 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3453 {
3454 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3455 result = (std::string *) &_result_ref;
3456 }
3457
3458 {
3459 resultobj = PyString_FromString(result->c_str());
3460 }
3461 return resultobj;
3462 fail:
3463 return NULL;
3464 }
3465
3466
3467 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3468 PyObject *resultobj;
3469 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3470 std::string *arg2 = 0 ;
3471 std::string temp2 ;
3472 PyObject * obj0 = 0 ;
3473 PyObject * obj1 = 0 ;
3474
3475 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3477 {
3478 if (PyString_Check(obj1)) {
3479 temp2 = std::string(PyString_AsString(obj1));
3480 arg2 = &temp2;
3481 }else {
3482 SWIG_exception(SWIG_TypeError, "string expected");
3483 }
3484 }
3485 (arg1)->setText((std::string const &)*arg2);
3486
3487 Py_INCREF(Py_None); resultobj = Py_None;
3488 return resultobj;
3489 fail:
3490 return NULL;
3491 }
3492
3493
3494 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3495 PyObject *resultobj;
3496 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3497 PyObject * obj0 = 0 ;
3498
3499 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3501 (arg1)->update();
3502
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3511 PyObject *resultobj;
3512 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3513 otk::Style *arg2 = (otk::Style *) 0 ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3516
3517 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3520 (arg1)->setStyle(arg2);
3521
3522 Py_INCREF(Py_None); resultobj = Py_None;
3523 return resultobj;
3524 fail:
3525 return NULL;
3526 }
3527
3528
3529 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3530 PyObject *obj;
3531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3532 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3533 Py_INCREF(obj);
3534 return Py_BuildValue((char *)"");
3535 }
3536 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3537 PyObject *resultobj;
3538 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3539 int arg2 = (int) otk::OtkWidget::Horizontal ;
3540 Cursor arg3 = (Cursor) 0 ;
3541 int arg4 = (int) 1 ;
3542 otk::OtkAppWidget *result;
3543 Cursor *argp3 ;
3544 PyObject * obj0 = 0 ;
3545 PyObject * obj2 = 0 ;
3546
3547 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3549 if (obj2) {
3550 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3551 arg3 = *argp3;
3552 }
3553 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3554
3555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3563 PyObject *resultobj;
3564 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3565 PyObject * obj0 = 0 ;
3566
3567 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 delete arg1;
3570
3571 Py_INCREF(Py_None); resultobj = Py_None;
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3579 PyObject *resultobj;
3580 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3581 PyObject * obj0 = 0 ;
3582
3583 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 (arg1)->show();
3586
3587 Py_INCREF(Py_None); resultobj = Py_None;
3588 return resultobj;
3589 fail:
3590 return NULL;
3591 }
3592
3593
3594 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3595 PyObject *resultobj;
3596 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3597 PyObject * obj0 = 0 ;
3598
3599 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3601 (arg1)->hide();
3602
3603 Py_INCREF(Py_None); resultobj = Py_None;
3604 return resultobj;
3605 fail:
3606 return NULL;
3607 }
3608
3609
3610 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3611 PyObject *resultobj;
3612 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3613 XClientMessageEvent *arg2 = 0 ;
3614 PyObject * obj0 = 0 ;
3615 PyObject * obj1 = 0 ;
3616
3617 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 if (arg2 == NULL) {
3621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3622 }
3623 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3624
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3633 PyObject *obj;
3634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3635 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3636 Py_INCREF(obj);
3637 return Py_BuildValue((char *)"");
3638 }
3639 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3640 PyObject *resultobj;
3641 int arg1 ;
3642 char **arg2 = (char **) 0 ;
3643 otk::OtkApplication *result;
3644 PyObject * obj1 = 0 ;
3645
3646 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3648 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3649
3650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3651 return resultobj;
3652 fail:
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3658 PyObject *resultobj;
3659 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3660 PyObject * obj0 = 0 ;
3661
3662 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3664 delete arg1;
3665
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 return resultobj;
3668 fail:
3669 return NULL;
3670 }
3671
3672
3673 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3674 PyObject *resultobj;
3675 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3676 PyObject * obj0 = 0 ;
3677
3678 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3680 (arg1)->run();
3681
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3690 PyObject *resultobj;
3691 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3692 bool arg2 ;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj1 = 0 ;
3695
3696 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 arg2 = (bool) PyInt_AsLong(obj1);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 (arg1)->setDockable(arg2);
3701
3702 Py_INCREF(Py_None); resultobj = Py_None;
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3710 PyObject *resultobj;
3711 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3712 bool result;
3713 PyObject * obj0 = 0 ;
3714
3715 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3718
3719 resultobj = PyInt_FromLong((long)result);
3720 return resultobj;
3721 fail:
3722 return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3727 PyObject *resultobj;
3728 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3729 otk::Style *result;
3730 PyObject * obj0 = 0 ;
3731
3732 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3735
3736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3737 return resultobj;
3738 fail:
3739 return NULL;
3740 }
3741
3742
3743 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3744 PyObject *obj;
3745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3746 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3747 Py_INCREF(obj);
3748 return Py_BuildValue((char *)"");
3749 }
3750 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3751 PyObject *resultobj;
3752 otk::PointerAssassin *result;
3753
3754 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3755 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3756
3757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3765 PyObject *resultobj;
3766 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3767 PyObject * obj0 = 0 ;
3768
3769 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3771 delete arg1;
3772
3773 Py_INCREF(Py_None); resultobj = Py_None;
3774 return resultobj;
3775 fail:
3776 return NULL;
3777 }
3778
3779
3780 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3781 PyObject *obj;
3782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3783 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3784 Py_INCREF(obj);
3785 return Py_BuildValue((char *)"");
3786 }
3787 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3788 PyObject *resultobj;
3789 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3790 otk::OtkButton *result;
3791 PyObject * obj0 = 0 ;
3792
3793 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3795 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3796
3797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3805 PyObject *resultobj;
3806 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3807 PyObject * obj0 = 0 ;
3808
3809 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 delete arg1;
3812
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3821 PyObject *resultobj;
3822 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3823 otk::BTexture *result;
3824 PyObject * obj0 = 0 ;
3825
3826 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3829
3830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3838 PyObject *resultobj;
3839 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3840 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3843
3844 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3847 (arg1)->setPressedFocusTexture(arg2);
3848
3849 Py_INCREF(Py_None); resultobj = Py_None;
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3857 PyObject *resultobj;
3858 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3859 otk::BTexture *result;
3860 PyObject * obj0 = 0 ;
3861
3862 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3864 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3865
3866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3874 PyObject *resultobj;
3875 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3876 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3879
3880 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 (arg1)->setPressedUnfocusTexture(arg2);
3884
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3893 PyObject *resultobj;
3894 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3895 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3896 PyObject * obj0 = 0 ;
3897 PyObject * obj1 = 0 ;
3898
3899 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3902 (arg1)->setTexture(arg2);
3903
3904 Py_INCREF(Py_None); resultobj = Py_None;
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3912 PyObject *resultobj;
3913 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3914 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917
3918 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3921 (arg1)->setUnfocusTexture(arg2);
3922
3923 Py_INCREF(Py_None); resultobj = Py_None;
3924 return resultobj;
3925 fail:
3926 return NULL;
3927 }
3928
3929
3930 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3931 PyObject *resultobj;
3932 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3933 bool result;
3934 PyObject * obj0 = 0 ;
3935
3936 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3939
3940 resultobj = PyInt_FromLong((long)result);
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3948 PyObject *resultobj;
3949 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3950 unsigned int arg2 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953
3954 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 arg2 = (unsigned int) PyInt_AsLong(obj1);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 (arg1)->press(arg2);
3959
3960 Py_INCREF(Py_None); resultobj = Py_None;
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
3968 PyObject *resultobj;
3969 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3970 unsigned int arg2 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973
3974 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 arg2 = (unsigned int) PyInt_AsLong(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 (arg1)->release(arg2);
3979
3980 Py_INCREF(Py_None); resultobj = Py_None;
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
3988 PyObject *resultobj;
3989 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3990 XButtonEvent *arg2 = 0 ;
3991 PyObject * obj0 = 0 ;
3992 PyObject * obj1 = 0 ;
3993
3994 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997 if (arg2 == NULL) {
3998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3999 }
4000 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4001
4002 Py_INCREF(Py_None); resultobj = Py_None;
4003 return resultobj;
4004 fail:
4005 return NULL;
4006 }
4007
4008
4009 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4010 PyObject *resultobj;
4011 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4012 XButtonEvent *arg2 = 0 ;
4013 PyObject * obj0 = 0 ;
4014 PyObject * obj1 = 0 ;
4015
4016 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 if (arg2 == NULL) {
4020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4021 }
4022 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4023
4024 Py_INCREF(Py_None); resultobj = Py_None;
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4032 PyObject *resultobj;
4033 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4034 otk::Style *arg2 = (otk::Style *) 0 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4037
4038 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4041 (arg1)->setStyle(arg2);
4042
4043 Py_INCREF(Py_None); resultobj = Py_None;
4044 return resultobj;
4045 fail:
4046 return NULL;
4047 }
4048
4049
4050 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4051 PyObject *obj;
4052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4053 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4054 Py_INCREF(obj);
4055 return Py_BuildValue((char *)"");
4056 }
4057 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4058 PyObject *resultobj;
4059 unsigned int arg1 = (unsigned int) ~(0u) ;
4060 otk::BColor *result;
4061 PyObject * obj0 = 0 ;
4062
4063 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4064 if (obj0) {
4065 arg1 = (unsigned int) PyInt_AsLong(obj0);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 result = (otk::BColor *)new otk::BColor(arg1);
4069
4070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4078 PyObject *resultobj;
4079 int arg1 ;
4080 int arg2 ;
4081 int arg3 ;
4082 unsigned int arg4 = (unsigned int) ~(0u) ;
4083 otk::BColor *result;
4084 PyObject * obj3 = 0 ;
4085
4086 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4087 if (obj3) {
4088 arg4 = (unsigned int) PyInt_AsLong(obj3);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4092
4093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4101 PyObject *resultobj;
4102 std::string *arg1 = 0 ;
4103 unsigned int arg2 = (unsigned int) ~(0u) ;
4104 otk::BColor *result;
4105 std::string temp1 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108
4109 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4110 {
4111 if (PyString_Check(obj0)) {
4112 temp1 = std::string(PyString_AsString(obj0));
4113 arg1 = &temp1;
4114 }else {
4115 SWIG_exception(SWIG_TypeError, "string expected");
4116 }
4117 }
4118 if (obj1) {
4119 arg2 = (unsigned int) PyInt_AsLong(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4123
4124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4132 int argc;
4133 PyObject *argv[5];
4134 int ii;
4135
4136 argc = PyObject_Length(args);
4137 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4138 argv[ii] = PyTuple_GetItem(args,ii);
4139 }
4140 if ((argc >= 0) && (argc <= 1)) {
4141 int _v;
4142 if (argc <= 0) {
4143 return _wrap_new_BColor__SWIG_0(self,args);
4144 }
4145 {
4146 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4147 }
4148 if (_v) {
4149 return _wrap_new_BColor__SWIG_0(self,args);
4150 }
4151 }
4152 if ((argc >= 1) && (argc <= 2)) {
4153 int _v;
4154 {
4155 _v = PyString_Check(argv[0]) ? 1 : 0;
4156 }
4157 if (_v) {
4158 if (argc <= 1) {
4159 return _wrap_new_BColor__SWIG_2(self,args);
4160 }
4161 {
4162 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4163 }
4164 if (_v) {
4165 return _wrap_new_BColor__SWIG_2(self,args);
4166 }
4167 }
4168 }
4169 if ((argc >= 3) && (argc <= 4)) {
4170 int _v;
4171 {
4172 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4173 }
4174 if (_v) {
4175 {
4176 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4177 }
4178 if (_v) {
4179 {
4180 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4181 }
4182 if (_v) {
4183 if (argc <= 3) {
4184 return _wrap_new_BColor__SWIG_1(self,args);
4185 }
4186 {
4187 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4188 }
4189 if (_v) {
4190 return _wrap_new_BColor__SWIG_1(self,args);
4191 }
4192 }
4193 }
4194 }
4195 }
4196
4197 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4203 PyObject *resultobj;
4204 otk::BColor *arg1 = (otk::BColor *) 0 ;
4205 PyObject * obj0 = 0 ;
4206
4207 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 delete arg1;
4210
4211 Py_INCREF(Py_None); resultobj = Py_None;
4212 return resultobj;
4213 fail:
4214 return NULL;
4215 }
4216
4217
4218 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4219 PyObject *resultobj;
4220 otk::BColor *arg1 = (otk::BColor *) 0 ;
4221 std::string *result;
4222 PyObject * obj0 = 0 ;
4223
4224 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4226 {
4227 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4228 result = (std::string *) &_result_ref;
4229 }
4230
4231 {
4232 resultobj = PyString_FromString(result->c_str());
4233 }
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4241 PyObject *resultobj;
4242 otk::BColor *arg1 = (otk::BColor *) 0 ;
4243 int result;
4244 PyObject * obj0 = 0 ;
4245
4246 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 result = (int)((otk::BColor const *)arg1)->red();
4249
4250 resultobj = PyInt_FromLong((long)result);
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 static PyObject *_wrap_BColor_green(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_green",&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)->green();
4266
4267 resultobj = PyInt_FromLong((long)result);
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_BColor_blue(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_blue",&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)->blue();
4283
4284 resultobj = PyInt_FromLong((long)result);
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4292 PyObject *resultobj;
4293 otk::BColor *arg1 = (otk::BColor *) 0 ;
4294 int arg2 ;
4295 int arg3 ;
4296 int arg4 ;
4297 PyObject * obj0 = 0 ;
4298
4299 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 (arg1)->setRGB(arg2,arg3,arg4);
4302
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4311 PyObject *resultobj;
4312 otk::BColor *arg1 = (otk::BColor *) 0 ;
4313 unsigned int result;
4314 PyObject * obj0 = 0 ;
4315
4316 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4319
4320 resultobj = PyInt_FromLong((long)result);
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4328 PyObject *resultobj;
4329 otk::BColor *arg1 = (otk::BColor *) 0 ;
4330 unsigned int arg2 = (unsigned int) ~(0u) ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333
4334 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 if (obj1) {
4337 arg2 = (unsigned int) PyInt_AsLong(obj1);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 (arg1)->setScreen(arg2);
4341
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4350 PyObject *resultobj;
4351 otk::BColor *arg1 = (otk::BColor *) 0 ;
4352 bool result;
4353 PyObject * obj0 = 0 ;
4354
4355 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4357 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4358
4359 resultobj = PyInt_FromLong((long)result);
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_BColor_isValid(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_isValid",&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)->isValid();
4375
4376 resultobj = PyInt_FromLong((long)result);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4384 PyObject *resultobj;
4385 otk::BColor *arg1 = (otk::BColor *) 0 ;
4386 unsigned long result;
4387 PyObject * obj0 = 0 ;
4388
4389 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4392
4393 resultobj = PyInt_FromLong((long)result);
4394 return resultobj;
4395 fail:
4396 return NULL;
4397 }
4398
4399
4400 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4401 PyObject *resultobj;
4402 otk::BColor *arg1 = (otk::BColor *) 0 ;
4403 otk::BColor *arg2 = 0 ;
4404 bool result;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407
4408 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 if (arg2 == NULL) {
4412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4413 }
4414 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4415
4416 resultobj = PyInt_FromLong((long)result);
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4424 PyObject *resultobj;
4425
4426 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4427 otk::BColor::cleanupColorCache();
4428
4429 Py_INCREF(Py_None); resultobj = Py_None;
4430 return resultobj;
4431 fail:
4432 return NULL;
4433 }
4434
4435
4436 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4437 PyObject *obj;
4438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4439 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4440 Py_INCREF(obj);
4441 return Py_BuildValue((char *)"");
4442 }
4443 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4444 PyObject *resultobj;
4445 std::string *arg1 = 0 ;
4446 bool arg2 = (bool) True ;
4447 otk::Configuration *result;
4448 std::string temp1 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451
4452 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4453 {
4454 if (PyString_Check(obj0)) {
4455 temp1 = std::string(PyString_AsString(obj0));
4456 arg1 = &temp1;
4457 }else {
4458 SWIG_exception(SWIG_TypeError, "string expected");
4459 }
4460 }
4461 if (obj1) {
4462 arg2 = (bool) PyInt_AsLong(obj1);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4466
4467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4468 return resultobj;
4469 fail:
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4475 PyObject *resultobj;
4476 bool arg1 = (bool) True ;
4477 otk::Configuration *result;
4478 PyObject * obj0 = 0 ;
4479
4480 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4481 if (obj0) {
4482 arg1 = (bool) PyInt_AsLong(obj0);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 result = (otk::Configuration *)new otk::Configuration(arg1);
4486
4487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4495 int argc;
4496 PyObject *argv[3];
4497 int ii;
4498
4499 argc = PyObject_Length(args);
4500 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4501 argv[ii] = PyTuple_GetItem(args,ii);
4502 }
4503 if ((argc >= 0) && (argc <= 1)) {
4504 int _v;
4505 if (argc <= 0) {
4506 return _wrap_new_Configuration__SWIG_1(self,args);
4507 }
4508 {
4509 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4510 }
4511 if (_v) {
4512 return _wrap_new_Configuration__SWIG_1(self,args);
4513 }
4514 }
4515 if ((argc >= 1) && (argc <= 2)) {
4516 int _v;
4517 {
4518 _v = PyString_Check(argv[0]) ? 1 : 0;
4519 }
4520 if (_v) {
4521 if (argc <= 1) {
4522 return _wrap_new_Configuration__SWIG_0(self,args);
4523 }
4524 {
4525 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4526 }
4527 if (_v) {
4528 return _wrap_new_Configuration__SWIG_0(self,args);
4529 }
4530 }
4531 }
4532
4533 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4534 return NULL;
4535 }
4536
4537
4538 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4539 PyObject *resultobj;
4540 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4541 PyObject * obj0 = 0 ;
4542
4543 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4545 delete arg1;
4546
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4555 PyObject *resultobj;
4556 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4557 std::string *result;
4558 PyObject * obj0 = 0 ;
4559
4560 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562 {
4563 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4564 result = (std::string *) &_result_ref;
4565 }
4566
4567 {
4568 resultobj = PyString_FromString(result->c_str());
4569 }
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4577 PyObject *resultobj;
4578 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4579 std::string *arg2 = 0 ;
4580 std::string temp2 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583
4584 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 {
4587 if (PyString_Check(obj1)) {
4588 temp2 = std::string(PyString_AsString(obj1));
4589 arg2 = &temp2;
4590 }else {
4591 SWIG_exception(SWIG_TypeError, "string expected");
4592 }
4593 }
4594 (arg1)->setFile((std::string const &)*arg2);
4595
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600 }
4601
4602
4603 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4604 PyObject *resultobj;
4605 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4606 bool result;
4607 PyObject * obj0 = 0 ;
4608
4609 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4612
4613 resultobj = PyInt_FromLong((long)result);
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4621 PyObject *resultobj;
4622 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4623 bool arg2 ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626
4627 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4629 arg2 = (bool) PyInt_AsLong(obj1);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 (arg1)->setAutoSave(arg2);
4632
4633 Py_INCREF(Py_None); resultobj = Py_None;
4634 return resultobj;
4635 fail:
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4641 PyObject *resultobj;
4642 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4643 bool result;
4644 PyObject * obj0 = 0 ;
4645
4646 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4648 result = (bool)((otk::Configuration const *)arg1)->isModified();
4649
4650 resultobj = PyInt_FromLong((long)result);
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4658 PyObject *resultobj;
4659 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4660 PyObject * obj0 = 0 ;
4661
4662 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 (arg1)->save();
4665
4666 Py_INCREF(Py_None); resultobj = Py_None;
4667 return resultobj;
4668 fail:
4669 return NULL;
4670 }
4671
4672
4673 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4674 PyObject *resultobj;
4675 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4676 bool result;
4677 PyObject * obj0 = 0 ;
4678
4679 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4681 result = (bool)(arg1)->load();
4682
4683 resultobj = PyInt_FromLong((long)result);
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4691 PyObject *resultobj;
4692 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4693 std::string *arg2 = 0 ;
4694 bool arg3 = (bool) False ;
4695 bool result;
4696 std::string temp2 ;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 PyObject * obj2 = 0 ;
4700
4701 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 {
4704 if (PyString_Check(obj1)) {
4705 temp2 = std::string(PyString_AsString(obj1));
4706 arg2 = &temp2;
4707 }else {
4708 SWIG_exception(SWIG_TypeError, "string expected");
4709 }
4710 }
4711 if (obj2) {
4712 arg3 = (bool) PyInt_AsLong(obj2);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4716
4717 resultobj = PyInt_FromLong((long)result);
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4725 PyObject *resultobj;
4726 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4727 PyObject * obj0 = 0 ;
4728
4729 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 (arg1)->create();
4732
4733 Py_INCREF(Py_None); resultobj = Py_None;
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4741 PyObject *resultobj;
4742 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4743 std::string *arg2 = 0 ;
4744 bool arg3 ;
4745 std::string temp2 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749
4750 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4752 {
4753 if (PyString_Check(obj1)) {
4754 temp2 = std::string(PyString_AsString(obj1));
4755 arg2 = &temp2;
4756 }else {
4757 SWIG_exception(SWIG_TypeError, "string expected");
4758 }
4759 }
4760 arg3 = (bool) PyInt_AsLong(obj2);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 (arg1)->setValue((std::string const &)*arg2,arg3);
4763
4764 Py_INCREF(Py_None); resultobj = Py_None;
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4772 PyObject *resultobj;
4773 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4774 std::string *arg2 = 0 ;
4775 int arg3 ;
4776 std::string temp2 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779
4780 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4782 {
4783 if (PyString_Check(obj1)) {
4784 temp2 = std::string(PyString_AsString(obj1));
4785 arg2 = &temp2;
4786 }else {
4787 SWIG_exception(SWIG_TypeError, "string expected");
4788 }
4789 }
4790 (arg1)->setValue((std::string const &)*arg2,arg3);
4791
4792 Py_INCREF(Py_None); resultobj = Py_None;
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4800 PyObject *resultobj;
4801 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4802 std::string *arg2 = 0 ;
4803 unsigned int arg3 ;
4804 std::string temp2 ;
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
4808
4809 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 {
4812 if (PyString_Check(obj1)) {
4813 temp2 = std::string(PyString_AsString(obj1));
4814 arg2 = &temp2;
4815 }else {
4816 SWIG_exception(SWIG_TypeError, "string expected");
4817 }
4818 }
4819 arg3 = (unsigned int) PyInt_AsLong(obj2);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 (arg1)->setValue((std::string const &)*arg2,arg3);
4822
4823 Py_INCREF(Py_None); resultobj = Py_None;
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4831 PyObject *resultobj;
4832 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4833 std::string *arg2 = 0 ;
4834 long arg3 ;
4835 std::string temp2 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4838
4839 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4841 {
4842 if (PyString_Check(obj1)) {
4843 temp2 = std::string(PyString_AsString(obj1));
4844 arg2 = &temp2;
4845 }else {
4846 SWIG_exception(SWIG_TypeError, "string expected");
4847 }
4848 }
4849 (arg1)->setValue((std::string const &)*arg2,arg3);
4850
4851 Py_INCREF(Py_None); resultobj = Py_None;
4852 return resultobj;
4853 fail:
4854 return NULL;
4855 }
4856
4857
4858 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4859 PyObject *resultobj;
4860 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4861 std::string *arg2 = 0 ;
4862 unsigned long arg3 ;
4863 std::string temp2 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4867
4868 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4870 {
4871 if (PyString_Check(obj1)) {
4872 temp2 = std::string(PyString_AsString(obj1));
4873 arg2 = &temp2;
4874 }else {
4875 SWIG_exception(SWIG_TypeError, "string expected");
4876 }
4877 }
4878 arg3 = (unsigned long) PyInt_AsLong(obj2);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 (arg1)->setValue((std::string const &)*arg2,arg3);
4881
4882 Py_INCREF(Py_None); resultobj = Py_None;
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4890 PyObject *resultobj;
4891 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4892 std::string *arg2 = 0 ;
4893 std::string *arg3 = 0 ;
4894 std::string temp2 ;
4895 std::string temp3 ;
4896 PyObject * obj0 = 0 ;
4897 PyObject * obj1 = 0 ;
4898 PyObject * obj2 = 0 ;
4899
4900 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4902 {
4903 if (PyString_Check(obj1)) {
4904 temp2 = std::string(PyString_AsString(obj1));
4905 arg2 = &temp2;
4906 }else {
4907 SWIG_exception(SWIG_TypeError, "string expected");
4908 }
4909 }
4910 {
4911 if (PyString_Check(obj2)) {
4912 temp3 = std::string(PyString_AsString(obj2));
4913 arg3 = &temp3;
4914 }else {
4915 SWIG_exception(SWIG_TypeError, "string expected");
4916 }
4917 }
4918 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4919
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4928 PyObject *resultobj;
4929 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4930 std::string *arg2 = 0 ;
4931 char *arg3 ;
4932 std::string temp2 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935
4936 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 {
4939 if (PyString_Check(obj1)) {
4940 temp2 = std::string(PyString_AsString(obj1));
4941 arg2 = &temp2;
4942 }else {
4943 SWIG_exception(SWIG_TypeError, "string expected");
4944 }
4945 }
4946 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4947
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4956 PyObject *resultobj;
4957 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4958 std::string *arg2 = 0 ;
4959 bool *arg3 = 0 ;
4960 bool result;
4961 std::string temp2 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 PyObject * obj2 = 0 ;
4965
4966 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4968 {
4969 if (PyString_Check(obj1)) {
4970 temp2 = std::string(PyString_AsString(obj1));
4971 arg2 = &temp2;
4972 }else {
4973 SWIG_exception(SWIG_TypeError, "string expected");
4974 }
4975 }
4976 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 if (arg3 == NULL) {
4978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4979 }
4980 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
4981
4982 resultobj = PyInt_FromLong((long)result);
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
4990 PyObject *resultobj;
4991 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4992 std::string *arg2 = 0 ;
4993 int *arg3 = 0 ;
4994 bool result;
4995 std::string temp2 ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999
5000 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 {
5003 if (PyString_Check(obj1)) {
5004 temp2 = std::string(PyString_AsString(obj1));
5005 arg2 = &temp2;
5006 }else {
5007 SWIG_exception(SWIG_TypeError, "string expected");
5008 }
5009 }
5010 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 if (arg3 == NULL) {
5012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5013 }
5014 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5015
5016 resultobj = PyInt_FromLong((long)result);
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5024 PyObject *resultobj;
5025 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5026 std::string *arg2 = 0 ;
5027 unsigned int *arg3 = 0 ;
5028 bool result;
5029 std::string temp2 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 PyObject * obj2 = 0 ;
5033
5034 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 if (PyString_Check(obj1)) {
5038 temp2 = std::string(PyString_AsString(obj1));
5039 arg2 = &temp2;
5040 }else {
5041 SWIG_exception(SWIG_TypeError, "string expected");
5042 }
5043 }
5044 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 if (arg3 == NULL) {
5046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5047 }
5048 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5049
5050 resultobj = PyInt_FromLong((long)result);
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5058 PyObject *resultobj;
5059 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5060 std::string *arg2 = 0 ;
5061 long *arg3 = 0 ;
5062 bool result;
5063 std::string temp2 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 PyObject * obj2 = 0 ;
5067
5068 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5070 {
5071 if (PyString_Check(obj1)) {
5072 temp2 = std::string(PyString_AsString(obj1));
5073 arg2 = &temp2;
5074 }else {
5075 SWIG_exception(SWIG_TypeError, "string expected");
5076 }
5077 }
5078 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 if (arg3 == NULL) {
5080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5081 }
5082 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5083
5084 resultobj = PyInt_FromLong((long)result);
5085 return resultobj;
5086 fail:
5087 return NULL;
5088 }
5089
5090
5091 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5092 PyObject *resultobj;
5093 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5094 std::string *arg2 = 0 ;
5095 unsigned long *arg3 = 0 ;
5096 bool result;
5097 std::string temp2 ;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 PyObject * obj2 = 0 ;
5101
5102 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5104 {
5105 if (PyString_Check(obj1)) {
5106 temp2 = std::string(PyString_AsString(obj1));
5107 arg2 = &temp2;
5108 }else {
5109 SWIG_exception(SWIG_TypeError, "string expected");
5110 }
5111 }
5112 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113 if (arg3 == NULL) {
5114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5115 }
5116 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5117
5118 resultobj = PyInt_FromLong((long)result);
5119 return resultobj;
5120 fail:
5121 return NULL;
5122 }
5123
5124
5125 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5126 PyObject *resultobj;
5127 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5128 std::string *arg2 = 0 ;
5129 std::string *arg3 = 0 ;
5130 bool result;
5131 std::string temp2 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 PyObject * obj2 = 0 ;
5135
5136 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 {
5139 if (PyString_Check(obj1)) {
5140 temp2 = std::string(PyString_AsString(obj1));
5141 arg2 = &temp2;
5142 }else {
5143 SWIG_exception(SWIG_TypeError, "string expected");
5144 }
5145 }
5146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 if (arg3 == NULL) {
5148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5149 }
5150 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5151
5152 resultobj = PyInt_FromLong((long)result);
5153 return resultobj;
5154 fail:
5155 return NULL;
5156 }
5157
5158
5159 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5160 int argc;
5161 PyObject *argv[4];
5162 int ii;
5163
5164 argc = PyObject_Length(args);
5165 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5166 argv[ii] = PyTuple_GetItem(args,ii);
5167 }
5168 if (argc == 3) {
5169 int _v;
5170 {
5171 void *ptr;
5172 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5173 _v = 0;
5174 PyErr_Clear();
5175 }else {
5176 _v = 1;
5177 }
5178 }
5179 if (_v) {
5180 {
5181 _v = PyString_Check(argv[1]) ? 1 : 0;
5182 }
5183 if (_v) {
5184 {
5185 void *ptr;
5186 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5187 _v = 0;
5188 PyErr_Clear();
5189 }else {
5190 _v = 1;
5191 }
5192 }
5193 if (_v) {
5194 return _wrap_Configuration_getValue__SWIG_0(self,args);
5195 }
5196 }
5197 }
5198 }
5199 if (argc == 3) {
5200 int _v;
5201 {
5202 void *ptr;
5203 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5204 _v = 0;
5205 PyErr_Clear();
5206 }else {
5207 _v = 1;
5208 }
5209 }
5210 if (_v) {
5211 {
5212 _v = PyString_Check(argv[1]) ? 1 : 0;
5213 }
5214 if (_v) {
5215 {
5216 void *ptr;
5217 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5218 _v = 0;
5219 PyErr_Clear();
5220 }else {
5221 _v = 1;
5222 }
5223 }
5224 if (_v) {
5225 return _wrap_Configuration_getValue__SWIG_1(self,args);
5226 }
5227 }
5228 }
5229 }
5230 if (argc == 3) {
5231 int _v;
5232 {
5233 void *ptr;
5234 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5235 _v = 0;
5236 PyErr_Clear();
5237 }else {
5238 _v = 1;
5239 }
5240 }
5241 if (_v) {
5242 {
5243 _v = PyString_Check(argv[1]) ? 1 : 0;
5244 }
5245 if (_v) {
5246 {
5247 void *ptr;
5248 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5249 _v = 0;
5250 PyErr_Clear();
5251 }else {
5252 _v = 1;
5253 }
5254 }
5255 if (_v) {
5256 return _wrap_Configuration_getValue__SWIG_2(self,args);
5257 }
5258 }
5259 }
5260 }
5261 if (argc == 3) {
5262 int _v;
5263 {
5264 void *ptr;
5265 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5266 _v = 0;
5267 PyErr_Clear();
5268 }else {
5269 _v = 1;
5270 }
5271 }
5272 if (_v) {
5273 {
5274 _v = PyString_Check(argv[1]) ? 1 : 0;
5275 }
5276 if (_v) {
5277 {
5278 void *ptr;
5279 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5280 _v = 0;
5281 PyErr_Clear();
5282 }else {
5283 _v = 1;
5284 }
5285 }
5286 if (_v) {
5287 return _wrap_Configuration_getValue__SWIG_3(self,args);
5288 }
5289 }
5290 }
5291 }
5292 if (argc == 3) {
5293 int _v;
5294 {
5295 void *ptr;
5296 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5297 _v = 0;
5298 PyErr_Clear();
5299 }else {
5300 _v = 1;
5301 }
5302 }
5303 if (_v) {
5304 {
5305 _v = PyString_Check(argv[1]) ? 1 : 0;
5306 }
5307 if (_v) {
5308 {
5309 void *ptr;
5310 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5311 _v = 0;
5312 PyErr_Clear();
5313 }else {
5314 _v = 1;
5315 }
5316 }
5317 if (_v) {
5318 return _wrap_Configuration_getValue__SWIG_4(self,args);
5319 }
5320 }
5321 }
5322 }
5323 if (argc == 3) {
5324 int _v;
5325 {
5326 void *ptr;
5327 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5328 _v = 0;
5329 PyErr_Clear();
5330 }else {
5331 _v = 1;
5332 }
5333 }
5334 if (_v) {
5335 {
5336 _v = PyString_Check(argv[1]) ? 1 : 0;
5337 }
5338 if (_v) {
5339 {
5340 void *ptr;
5341 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5342 _v = 0;
5343 PyErr_Clear();
5344 }else {
5345 _v = 1;
5346 }
5347 }
5348 if (_v) {
5349 return _wrap_Configuration_getValue__SWIG_5(self,args);
5350 }
5351 }
5352 }
5353 }
5354
5355 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5356 return NULL;
5357 }
5358
5359
5360 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5361 PyObject *obj;
5362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5363 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5364 Py_INCREF(obj);
5365 return Py_BuildValue((char *)"");
5366 }
5367 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5368 {
5369 void *temp;
5370 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5371 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5372 return 1;
5373 }
5374 otk::OBDisplay::display = (Display *) temp;
5375 }
5376 return 0;
5377 }
5378
5379
5380 static PyObject *_wrap_OBDisplay_display_get() {
5381 PyObject *pyobj;
5382
5383 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5384 return pyobj;
5385 }
5386
5387
5388 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5389 PyObject *resultobj;
5390 char *arg1 ;
5391
5392 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5393 otk::OBDisplay::initialize(arg1);
5394
5395 Py_INCREF(Py_None); resultobj = Py_None;
5396 return resultobj;
5397 fail:
5398 return NULL;
5399 }
5400
5401
5402 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5403 PyObject *resultobj;
5404
5405 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5406 otk::OBDisplay::destroy();
5407
5408 Py_INCREF(Py_None); resultobj = Py_None;
5409 return resultobj;
5410 fail:
5411 return NULL;
5412 }
5413
5414
5415 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5416 PyObject *resultobj;
5417 otk::BGCCache *result;
5418
5419 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5420 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5421
5422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5423 return resultobj;
5424 fail:
5425 return NULL;
5426 }
5427
5428
5429 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5430 PyObject *resultobj;
5431 int arg1 ;
5432 otk::ScreenInfo *result;
5433
5434 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5435 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5436
5437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5438 return resultobj;
5439 fail:
5440 return NULL;
5441 }
5442
5443
5444 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5445 PyObject *resultobj;
5446 bool result;
5447
5448 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5449 result = (bool)otk::OBDisplay::shape();
5450
5451 resultobj = PyInt_FromLong((long)result);
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5459 PyObject *resultobj;
5460 int result;
5461
5462 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5463 result = (int)otk::OBDisplay::shapeEventBase();
5464
5465 resultobj = PyInt_FromLong((long)result);
5466 return resultobj;
5467 fail:
5468 return NULL;
5469 }
5470
5471
5472 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5473 PyObject *resultobj;
5474 bool result;
5475
5476 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5477 result = (bool)otk::OBDisplay::xinerama();
5478
5479 resultobj = PyInt_FromLong((long)result);
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5487 PyObject *resultobj;
5488
5489 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5490 otk::OBDisplay::grab();
5491
5492 Py_INCREF(Py_None); resultobj = Py_None;
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5500 PyObject *resultobj;
5501
5502 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5503 otk::OBDisplay::ungrab();
5504
5505 Py_INCREF(Py_None); resultobj = Py_None;
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5513 PyObject *resultobj;
5514 unsigned int arg1 ;
5515 unsigned int arg2 ;
5516 Window arg3 ;
5517 bool arg4 ;
5518 unsigned int arg5 ;
5519 int arg6 ;
5520 int arg7 ;
5521 Window arg8 ;
5522 Cursor arg9 ;
5523 bool arg10 ;
5524 Window *argp3 ;
5525 Window *argp8 ;
5526 Cursor *argp9 ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 PyObject * obj2 = 0 ;
5530 PyObject * obj3 = 0 ;
5531 PyObject * obj4 = 0 ;
5532 PyObject * obj7 = 0 ;
5533 PyObject * obj8 = 0 ;
5534 PyObject * obj9 = 0 ;
5535
5536 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5537 arg1 = (unsigned int) PyInt_AsLong(obj0);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 arg2 = (unsigned int) PyInt_AsLong(obj1);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5542 arg3 = *argp3;
5543 arg4 = (bool) PyInt_AsLong(obj3);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 arg5 = (unsigned int) PyInt_AsLong(obj4);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5548 arg8 = *argp8;
5549 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5550 arg9 = *argp9;
5551 arg10 = (bool) PyInt_AsLong(obj9);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5554
5555 Py_INCREF(Py_None); resultobj = Py_None;
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5563 PyObject *resultobj;
5564 unsigned int arg1 ;
5565 unsigned int arg2 ;
5566 Window arg3 ;
5567 Window *argp3 ;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 PyObject * obj2 = 0 ;
5571
5572 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5573 arg1 = (unsigned int) PyInt_AsLong(obj0);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 arg2 = (unsigned int) PyInt_AsLong(obj1);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5578 arg3 = *argp3;
5579 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5580
5581 Py_INCREF(Py_None); resultobj = Py_None;
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5589 PyObject *resultobj;
5590 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5591 PyObject * obj0 = 0 ;
5592
5593 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 delete arg1;
5596
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5605 PyObject *obj;
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5608 Py_INCREF(obj);
5609 return Py_BuildValue((char *)"");
5610 }
5611 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5612 PyObject *resultobj;
5613 std::string result;
5614
5615 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5616 result = otk::BFont::fallbackFont();
5617
5618 {
5619 resultobj = PyString_FromString((&result)->c_str());
5620 }
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5628 PyObject *resultobj;
5629 std::string *arg1 = 0 ;
5630 std::string temp1 ;
5631 PyObject * obj0 = 0 ;
5632
5633 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5634 {
5635 if (PyString_Check(obj0)) {
5636 temp1 = std::string(PyString_AsString(obj0));
5637 arg1 = &temp1;
5638 }else {
5639 SWIG_exception(SWIG_TypeError, "string expected");
5640 }
5641 }
5642 otk::BFont::setFallbackFont((std::string const &)*arg1);
5643
5644 Py_INCREF(Py_None); resultobj = Py_None;
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5652 PyObject *resultobj;
5653 int arg1 ;
5654 std::string *arg2 = 0 ;
5655 bool arg3 ;
5656 unsigned char arg4 ;
5657 unsigned char arg5 ;
5658 otk::BFont *result;
5659 std::string temp2 ;
5660 PyObject * obj1 = 0 ;
5661 PyObject * obj2 = 0 ;
5662 PyObject * obj3 = 0 ;
5663 PyObject * obj4 = 0 ;
5664
5665 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5666 {
5667 if (PyString_Check(obj1)) {
5668 temp2 = std::string(PyString_AsString(obj1));
5669 arg2 = &temp2;
5670 }else {
5671 SWIG_exception(SWIG_TypeError, "string expected");
5672 }
5673 }
5674 arg3 = (bool) PyInt_AsLong(obj2);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 arg4 = (unsigned char) PyInt_AsLong(obj3);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 arg5 = (unsigned char) PyInt_AsLong(obj4);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5681
5682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5683 return resultobj;
5684 fail:
5685 return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5690 PyObject *resultobj;
5691 otk::BFont *arg1 = (otk::BFont *) 0 ;
5692 PyObject * obj0 = 0 ;
5693
5694 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 delete arg1;
5697
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702 }
5703
5704
5705 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5706 PyObject *resultobj;
5707 otk::BFont *arg1 = (otk::BFont *) 0 ;
5708 std::string *result;
5709 PyObject * obj0 = 0 ;
5710
5711 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5715 result = (std::string *) &_result_ref;
5716 }
5717
5718 {
5719 resultobj = PyString_FromString(result->c_str());
5720 }
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5728 PyObject *resultobj;
5729 otk::BFont *arg1 = (otk::BFont *) 0 ;
5730 unsigned int result;
5731 PyObject * obj0 = 0 ;
5732
5733 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 result = (unsigned int)((otk::BFont const *)arg1)->height();
5736
5737 resultobj = PyInt_FromLong((long)result);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741 }
5742
5743
5744 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5745 PyObject *resultobj;
5746 otk::BFont *arg1 = (otk::BFont *) 0 ;
5747 unsigned int result;
5748 PyObject * obj0 = 0 ;
5749
5750 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5753
5754 resultobj = PyInt_FromLong((long)result);
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5762 PyObject *resultobj;
5763 otk::BFont *arg1 = (otk::BFont *) 0 ;
5764 std::string *arg2 = 0 ;
5765 bool arg3 = (bool) false ;
5766 unsigned int result;
5767 std::string temp2 ;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 PyObject * obj2 = 0 ;
5771
5772 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5774 {
5775 if (PyString_Check(obj1)) {
5776 temp2 = std::string(PyString_AsString(obj1));
5777 arg2 = &temp2;
5778 }else {
5779 SWIG_exception(SWIG_TypeError, "string expected");
5780 }
5781 }
5782 if (obj2) {
5783 arg3 = (bool) PyInt_AsLong(obj2);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5787
5788 resultobj = PyInt_FromLong((long)result);
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5796 PyObject *resultobj;
5797 otk::BFont *arg1 = (otk::BFont *) 0 ;
5798 XftDraw *arg2 = (XftDraw *) 0 ;
5799 int arg3 ;
5800 int arg4 ;
5801 otk::BColor *arg5 = 0 ;
5802 std::string *arg6 = 0 ;
5803 bool arg7 = (bool) false ;
5804 std::string temp6 ;
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 PyObject * obj4 = 0 ;
5808 PyObject * obj5 = 0 ;
5809 PyObject * obj6 = 0 ;
5810
5811 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5815 if (arg5 == NULL) {
5816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5817 }
5818 {
5819 if (PyString_Check(obj5)) {
5820 temp6 = std::string(PyString_AsString(obj5));
5821 arg6 = &temp6;
5822 }else {
5823 SWIG_exception(SWIG_TypeError, "string expected");
5824 }
5825 }
5826 if (obj6) {
5827 arg7 = (bool) PyInt_AsLong(obj6);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5831
5832 Py_INCREF(Py_None); resultobj = Py_None;
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5840 PyObject *obj;
5841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5842 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5843 Py_INCREF(obj);
5844 return Py_BuildValue((char *)"");
5845 }
5846 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5847 PyObject *resultobj;
5848 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5849 otk::BColor *arg2 = 0 ;
5850 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5851 int arg4 ;
5852 int arg5 ;
5853 int arg6 ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 PyObject * obj2 = 0 ;
5857
5858 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5861 if (arg2 == NULL) {
5862 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5863 }
5864 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5866
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5875 PyObject *resultobj;
5876 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5877 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880
5881 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 (arg1)->set((XFontStruct const *)arg2);
5885
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
5894 int argc;
5895 PyObject *argv[7];
5896 int ii;
5897
5898 argc = PyObject_Length(args);
5899 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
5900 argv[ii] = PyTuple_GetItem(args,ii);
5901 }
5902 if (argc == 2) {
5903 int _v;
5904 {
5905 void *ptr;
5906 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5907 _v = 0;
5908 PyErr_Clear();
5909 }else {
5910 _v = 1;
5911 }
5912 }
5913 if (_v) {
5914 {
5915 void *ptr;
5916 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5917 _v = 0;
5918 PyErr_Clear();
5919 }else {
5920 _v = 1;
5921 }
5922 }
5923 if (_v) {
5924 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
5925 }
5926 }
5927 }
5928 if (argc == 6) {
5929 int _v;
5930 {
5931 void *ptr;
5932 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5933 _v = 0;
5934 PyErr_Clear();
5935 }else {
5936 _v = 1;
5937 }
5938 }
5939 if (_v) {
5940 {
5941 void *ptr;
5942 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
5943 _v = 0;
5944 PyErr_Clear();
5945 }else {
5946 _v = 1;
5947 }
5948 }
5949 if (_v) {
5950 {
5951 void *ptr;
5952 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5953 _v = 0;
5954 PyErr_Clear();
5955 }else {
5956 _v = 1;
5957 }
5958 }
5959 if (_v) {
5960 {
5961 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5962 }
5963 if (_v) {
5964 {
5965 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5966 }
5967 if (_v) {
5968 {
5969 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
5970 }
5971 if (_v) {
5972 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
5973 }
5974 }
5975 }
5976 }
5977 }
5978 }
5979 }
5980
5981 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
5987 PyObject *resultobj;
5988 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5989 PyObject * obj0 = 0 ;
5990
5991 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5993 delete arg1;
5994
5995 Py_INCREF(Py_None); resultobj = Py_None;
5996 return resultobj;
5997 fail:
5998 return NULL;
5999 }
6000
6001
6002 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6003 PyObject *obj;
6004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6005 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6006 Py_INCREF(obj);
6007 return Py_BuildValue((char *)"");
6008 }
6009 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6010 PyObject *resultobj;
6011 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6012 GC *result;
6013 PyObject * obj0 = 0 ;
6014
6015 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6017 {
6018 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6019 result = (GC *) &_result_ref;
6020 }
6021
6022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6030 PyObject *resultobj;
6031 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6032 PyObject * obj0 = 0 ;
6033
6034 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6036 delete arg1;
6037
6038 Py_INCREF(Py_None); resultobj = Py_None;
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6046 PyObject *obj;
6047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6048 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6049 Py_INCREF(obj);
6050 return Py_BuildValue((char *)"");
6051 }
6052 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6053 PyObject *resultobj;
6054 unsigned int arg1 ;
6055 otk::BGCCache *result;
6056 PyObject * obj0 = 0 ;
6057
6058 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6059 arg1 = (unsigned int) PyInt_AsLong(obj0);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6062
6063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6071 PyObject *resultobj;
6072 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6073 PyObject * obj0 = 0 ;
6074
6075 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6077 delete arg1;
6078
6079 Py_INCREF(Py_None); resultobj = Py_None;
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6087 PyObject *resultobj;
6088 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6089 PyObject * obj0 = 0 ;
6090
6091 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6093 (arg1)->purge();
6094
6095 Py_INCREF(Py_None); resultobj = Py_None;
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6103 PyObject *resultobj;
6104 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6105 otk::BColor *arg2 = 0 ;
6106 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6107 int arg4 = (int) GXcopy ;
6108 int arg5 = (int) ClipByChildren ;
6109 int arg6 = (int) 0 ;
6110 otk::BGCCacheItem *result;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 PyObject * obj2 = 0 ;
6114
6115 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 if (arg2 == NULL) {
6119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6120 }
6121 if (obj2) {
6122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6123 }
6124 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6125
6126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6134 PyObject *resultobj;
6135 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6136 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139
6140 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143 (arg1)->release(arg2);
6144
6145 Py_INCREF(Py_None); resultobj = Py_None;
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6153 PyObject *obj;
6154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6155 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6156 Py_INCREF(obj);
6157 return Py_BuildValue((char *)"");
6158 }
6159 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6160 PyObject *resultobj;
6161 otk::BColor *arg1 = 0 ;
6162 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6163 int arg3 = (int) 0 ;
6164 int arg4 = (int) GXcopy ;
6165 int arg5 = (int) ClipByChildren ;
6166 otk::BPen *result;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169
6170 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 if (arg1 == NULL) {
6173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6174 }
6175 if (obj1) {
6176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6177 }
6178 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6179
6180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6188 PyObject *resultobj;
6189 otk::BPen *arg1 = (otk::BPen *) 0 ;
6190 PyObject * obj0 = 0 ;
6191
6192 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6194 delete arg1;
6195
6196 Py_INCREF(Py_None); resultobj = Py_None;
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6204 PyObject *resultobj;
6205 otk::BPen *arg1 = (otk::BPen *) 0 ;
6206 GC *result;
6207 PyObject * obj0 = 0 ;
6208
6209 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6211 {
6212 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6213 result = (GC *) &_result_ref;
6214 }
6215
6216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6224 PyObject *obj;
6225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6226 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6227 Py_INCREF(obj);
6228 return Py_BuildValue((char *)"");
6229 }
6230 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6231 PyObject *resultobj;
6232 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6233 int arg2 ;
6234 int arg3 ;
6235 otk::BImage *result;
6236 PyObject * obj0 = 0 ;
6237
6238 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6240 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6241
6242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6250 PyObject *resultobj;
6251 otk::BImage *arg1 = (otk::BImage *) 0 ;
6252 PyObject * obj0 = 0 ;
6253
6254 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6256 delete arg1;
6257
6258 Py_INCREF(Py_None); resultobj = Py_None;
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6266 PyObject *resultobj;
6267 otk::BImage *arg1 = (otk::BImage *) 0 ;
6268 otk::BTexture *arg2 = 0 ;
6269 Pixmap result;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272
6273 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 if (arg2 == NULL) {
6277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6278 }
6279 result = (arg1)->render((otk::BTexture const &)*arg2);
6280
6281 {
6282 Pixmap * resultptr;
6283 resultptr = new Pixmap((Pixmap &) result);
6284 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6285 }
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6293 PyObject *obj;
6294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6295 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6296 Py_INCREF(obj);
6297 return Py_BuildValue((char *)"");
6298 }
6299 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6300 PyObject *resultobj;
6301 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6302 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6303 bool arg3 = (bool) False ;
6304 int arg4 = (int) 4 ;
6305 unsigned long arg5 = (unsigned long) 300000l ;
6306 unsigned long arg6 = (unsigned long) 200l ;
6307 otk::BImageControl *result;
6308 PyObject * obj0 = 0 ;
6309 PyObject * obj1 = 0 ;
6310 PyObject * obj2 = 0 ;
6311 PyObject * obj4 = 0 ;
6312 PyObject * obj5 = 0 ;
6313
6314 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6317 if (obj2) {
6318 arg3 = (bool) PyInt_AsLong(obj2);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 if (obj4) {
6322 arg5 = (unsigned long) PyInt_AsLong(obj4);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 if (obj5) {
6326 arg6 = (unsigned long) PyInt_AsLong(obj5);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6330
6331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6339 PyObject *resultobj;
6340 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6341 PyObject * obj0 = 0 ;
6342
6343 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 delete arg1;
6346
6347 Py_INCREF(Py_None); resultobj = Py_None;
6348 return resultobj;
6349 fail:
6350 return NULL;
6351 }
6352
6353
6354 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6355 PyObject *resultobj;
6356 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6357 bool result;
6358 PyObject * obj0 = 0 ;
6359
6360 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 result = (bool)(arg1)->doDither();
6363
6364 resultobj = PyInt_FromLong((long)result);
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6372 PyObject *resultobj;
6373 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6374 otk::ScreenInfo *result;
6375 PyObject * obj0 = 0 ;
6376
6377 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6379 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6380
6381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6389 PyObject *resultobj;
6390 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6391 Window result;
6392 PyObject * obj0 = 0 ;
6393
6394 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 result = ((otk::BImageControl const *)arg1)->getDrawable();
6397
6398 {
6399 Window * resultptr;
6400 resultptr = new Window((Window &) result);
6401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6402 }
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6410 PyObject *resultobj;
6411 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6412 Visual *result;
6413 PyObject * obj0 = 0 ;
6414
6415 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6417 result = (Visual *)(arg1)->getVisual();
6418
6419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6427 PyObject *resultobj;
6428 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6429 int result;
6430 PyObject * obj0 = 0 ;
6431
6432 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6434 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6435
6436 resultobj = PyInt_FromLong((long)result);
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6444 PyObject *resultobj;
6445 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6446 int result;
6447 PyObject * obj0 = 0 ;
6448
6449 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6452
6453 resultobj = PyInt_FromLong((long)result);
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6461 PyObject *resultobj;
6462 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6463 int result;
6464 PyObject * obj0 = 0 ;
6465
6466 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6468 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6469
6470 resultobj = PyInt_FromLong((long)result);
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6478 PyObject *resultobj;
6479 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6480 unsigned int arg2 ;
6481 unsigned long result;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484
6485 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 arg2 = (unsigned int) PyInt_AsLong(obj1);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 result = (unsigned long)(arg1)->getSqrt(arg2);
6490
6491 resultobj = PyInt_FromLong((long)result);
6492 return resultobj;
6493 fail:
6494 return NULL;
6495 }
6496
6497
6498 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6499 PyObject *resultobj;
6500 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6501 unsigned int arg2 ;
6502 unsigned int arg3 ;
6503 otk::BTexture *arg4 = 0 ;
6504 Pixmap result;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 PyObject * obj2 = 0 ;
6508 PyObject * obj3 = 0 ;
6509
6510 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 arg2 = (unsigned int) PyInt_AsLong(obj1);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 arg3 = (unsigned int) PyInt_AsLong(obj2);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 if (arg4 == NULL) {
6518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6519 }
6520 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6521
6522 {
6523 Pixmap * resultptr;
6524 resultptr = new Pixmap((Pixmap &) result);
6525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6526 }
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6534 PyObject *resultobj;
6535 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6536 PyObject * obj0 = 0 ;
6537
6538 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 (arg1)->installRootColormap();
6541
6542 Py_INCREF(Py_None); resultobj = Py_None;
6543 return resultobj;
6544 fail:
6545 return NULL;
6546 }
6547
6548
6549 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6550 PyObject *resultobj;
6551 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6552 Pixmap arg2 ;
6553 Pixmap *argp2 ;
6554 PyObject * obj0 = 0 ;
6555 PyObject * obj1 = 0 ;
6556
6557 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6559 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6560 arg2 = *argp2;
6561 (arg1)->removeImage(arg2);
6562
6563 Py_INCREF(Py_None); resultobj = Py_None;
6564 return resultobj;
6565 fail:
6566 return NULL;
6567 }
6568
6569
6570 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6571 PyObject *resultobj;
6572 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6573 unsigned char **arg2 = (unsigned char **) 0 ;
6574 unsigned char **arg3 = (unsigned char **) 0 ;
6575 unsigned char **arg4 = (unsigned char **) 0 ;
6576 int *arg5 = (int *) 0 ;
6577 int *arg6 = (int *) 0 ;
6578 int *arg7 = (int *) 0 ;
6579 int *arg8 = (int *) 0 ;
6580 int *arg9 = (int *) 0 ;
6581 int *arg10 = (int *) 0 ;
6582 PyObject * obj0 = 0 ;
6583 PyObject * obj1 = 0 ;
6584 PyObject * obj2 = 0 ;
6585 PyObject * obj3 = 0 ;
6586 PyObject * obj4 = 0 ;
6587 PyObject * obj5 = 0 ;
6588 PyObject * obj6 = 0 ;
6589 PyObject * obj7 = 0 ;
6590 PyObject * obj8 = 0 ;
6591 PyObject * obj9 = 0 ;
6592
6593 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6596 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6598 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6600 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6601 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6603 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6604 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6605
6606 Py_INCREF(Py_None); resultobj = Py_None;
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6614 PyObject *resultobj;
6615 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6616 XColor **arg2 = (XColor **) 0 ;
6617 int *arg3 = (int *) 0 ;
6618 PyObject * obj0 = 0 ;
6619 PyObject * obj1 = 0 ;
6620 PyObject * obj2 = 0 ;
6621
6622 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6625 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6626 (arg1)->getXColorTable(arg2,arg3);
6627
6628 Py_INCREF(Py_None); resultobj = Py_None;
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6636 PyObject *resultobj;
6637 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6638 unsigned int arg2 ;
6639 unsigned int arg3 ;
6640 unsigned int **arg4 = (unsigned int **) 0 ;
6641 unsigned int **arg5 = (unsigned int **) 0 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6647
6648 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6650 arg2 = (unsigned int) PyInt_AsLong(obj1);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 arg3 = (unsigned int) PyInt_AsLong(obj2);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6656 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6657
6658 Py_INCREF(Py_None); resultobj = Py_None;
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6666 PyObject *resultobj;
6667 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6668 bool arg2 ;
6669 PyObject * obj0 = 0 ;
6670 PyObject * obj1 = 0 ;
6671
6672 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6674 arg2 = (bool) PyInt_AsLong(obj1);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 (arg1)->setDither(arg2);
6677
6678 Py_INCREF(Py_None); resultobj = Py_None;
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6686 PyObject *resultobj;
6687 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6688 int arg2 ;
6689 PyObject * obj0 = 0 ;
6690
6691 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6693 (arg1)->setColorsPerChannel(arg2);
6694
6695 Py_INCREF(Py_None); resultobj = Py_None;
6696 return resultobj;
6697 fail:
6698 return NULL;
6699 }
6700
6701
6702 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6703 PyObject *resultobj;
6704 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6705 PyObject * obj0 = 0 ;
6706
6707 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 otk::BImageControl::timeout(arg1);
6710
6711 Py_INCREF(Py_None); resultobj = Py_None;
6712 return resultobj;
6713 fail:
6714 return NULL;
6715 }
6716
6717
6718 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6719 PyObject *obj;
6720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6721 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6722 Py_INCREF(obj);
6723 return Py_BuildValue((char *)"");
6724 }
6725 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6726 PyObject *resultobj;
6727 otk::Point *result;
6728
6729 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6730 result = (otk::Point *)new otk::Point();
6731
6732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6740 PyObject *resultobj;
6741 int arg1 ;
6742 int arg2 ;
6743 otk::Point *result;
6744
6745 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6746 result = (otk::Point *)new otk::Point(arg1,arg2);
6747
6748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6756 int argc;
6757 PyObject *argv[3];
6758 int ii;
6759
6760 argc = PyObject_Length(args);
6761 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6762 argv[ii] = PyTuple_GetItem(args,ii);
6763 }
6764 if (argc == 0) {
6765 return _wrap_new_Point__SWIG_0(self,args);
6766 }
6767 if (argc == 2) {
6768 int _v;
6769 {
6770 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6771 }
6772 if (_v) {
6773 {
6774 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6775 }
6776 if (_v) {
6777 return _wrap_new_Point__SWIG_1(self,args);
6778 }
6779 }
6780 }
6781
6782 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6788 PyObject *resultobj;
6789 otk::Point *arg1 = (otk::Point *) 0 ;
6790 int arg2 ;
6791 PyObject * obj0 = 0 ;
6792
6793 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6795 (arg1)->setX(arg2);
6796
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6805 PyObject *resultobj;
6806 otk::Point *arg1 = (otk::Point *) 0 ;
6807 int result;
6808 PyObject * obj0 = 0 ;
6809
6810 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 result = (int)((otk::Point const *)arg1)->x();
6813
6814 resultobj = PyInt_FromLong((long)result);
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6822 PyObject *resultobj;
6823 otk::Point *arg1 = (otk::Point *) 0 ;
6824 int arg2 ;
6825 PyObject * obj0 = 0 ;
6826
6827 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6829 (arg1)->setY(arg2);
6830
6831 Py_INCREF(Py_None); resultobj = Py_None;
6832 return resultobj;
6833 fail:
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6839 PyObject *resultobj;
6840 otk::Point *arg1 = (otk::Point *) 0 ;
6841 int result;
6842 PyObject * obj0 = 0 ;
6843
6844 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 result = (int)((otk::Point const *)arg1)->y();
6847
6848 resultobj = PyInt_FromLong((long)result);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6856 PyObject *resultobj;
6857 otk::Point *arg1 = (otk::Point *) 0 ;
6858 int arg2 ;
6859 int arg3 ;
6860 PyObject * obj0 = 0 ;
6861
6862 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 (arg1)->setPoint(arg2,arg3);
6865
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6874 PyObject *resultobj;
6875 otk::Point *arg1 = (otk::Point *) 0 ;
6876 PyObject * obj0 = 0 ;
6877
6878 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6880 delete arg1;
6881
6882 Py_INCREF(Py_None); resultobj = Py_None;
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
6890 PyObject *obj;
6891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6892 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
6893 Py_INCREF(obj);
6894 return Py_BuildValue((char *)"");
6895 }
6896 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
6897 PyObject *resultobj;
6898 otk::OBProperty *result;
6899
6900 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
6901 result = (otk::OBProperty *)new otk::OBProperty();
6902
6903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
6911 PyObject *resultobj;
6912 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6913 PyObject * obj0 = 0 ;
6914
6915 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
6916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6917 delete arg1;
6918
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
6927 PyObject *resultobj;
6928 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6929 Window arg2 ;
6930 int arg3 ;
6931 int arg4 ;
6932 unsigned long arg5 ;
6933 Window *argp2 ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 PyObject * obj4 = 0 ;
6937
6938 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6940 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6941 arg2 = *argp2;
6942 arg5 = (unsigned long) PyInt_AsLong(obj4);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
6945
6946 Py_INCREF(Py_None); resultobj = Py_None;
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
6954 PyObject *resultobj;
6955 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6956 Window arg2 ;
6957 int arg3 ;
6958 int arg4 ;
6959 unsigned long *arg5 ;
6960 int arg6 ;
6961 Window *argp2 ;
6962 PyObject * obj0 = 0 ;
6963 PyObject * obj1 = 0 ;
6964 PyObject * obj4 = 0 ;
6965
6966 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6969 arg2 = *argp2;
6970 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6971 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
6972
6973 Py_INCREF(Py_None); resultobj = Py_None;
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
6981 PyObject *resultobj;
6982 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6983 Window arg2 ;
6984 int arg3 ;
6985 int arg4 ;
6986 std::string *arg5 = 0 ;
6987 Window *argp2 ;
6988 std::string temp5 ;
6989 PyObject * obj0 = 0 ;
6990 PyObject * obj1 = 0 ;
6991 PyObject * obj4 = 0 ;
6992
6993 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6995 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6996 arg2 = *argp2;
6997 {
6998 if (PyString_Check(obj4)) {
6999 temp5 = std::string(PyString_AsString(obj4));
7000 arg5 = &temp5;
7001 }else {
7002 SWIG_exception(SWIG_TypeError, "string expected");
7003 }
7004 }
7005 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7006
7007 Py_INCREF(Py_None); resultobj = Py_None;
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7015 PyObject *resultobj;
7016 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7017 Window arg2 ;
7018 int arg3 ;
7019 int arg4 ;
7020 otk::OBProperty::StringVect *arg5 = 0 ;
7021 Window *argp2 ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 PyObject * obj4 = 0 ;
7025
7026 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7029 arg2 = *argp2;
7030 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 if (arg5 == NULL) {
7032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7033 }
7034 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7035
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7044 int argc;
7045 PyObject *argv[7];
7046 int ii;
7047
7048 argc = PyObject_Length(args);
7049 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7050 argv[ii] = PyTuple_GetItem(args,ii);
7051 }
7052 if (argc == 5) {
7053 int _v;
7054 {
7055 void *ptr;
7056 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7057 _v = 0;
7058 PyErr_Clear();
7059 }else {
7060 _v = 1;
7061 }
7062 }
7063 if (_v) {
7064 {
7065 void *ptr;
7066 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7067 _v = 0;
7068 PyErr_Clear();
7069 }else {
7070 _v = 1;
7071 }
7072 }
7073 if (_v) {
7074 {
7075 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7076 }
7077 if (_v) {
7078 {
7079 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7080 }
7081 if (_v) {
7082 {
7083 void *ptr;
7084 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7085 _v = 0;
7086 PyErr_Clear();
7087 }else {
7088 _v = 1;
7089 }
7090 }
7091 if (_v) {
7092 return _wrap_OBProperty_set__SWIG_3(self,args);
7093 }
7094 }
7095 }
7096 }
7097 }
7098 }
7099 if (argc == 5) {
7100 int _v;
7101 {
7102 void *ptr;
7103 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7104 _v = 0;
7105 PyErr_Clear();
7106 }else {
7107 _v = 1;
7108 }
7109 }
7110 if (_v) {
7111 {
7112 void *ptr;
7113 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7114 _v = 0;
7115 PyErr_Clear();
7116 }else {
7117 _v = 1;
7118 }
7119 }
7120 if (_v) {
7121 {
7122 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7123 }
7124 if (_v) {
7125 {
7126 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7127 }
7128 if (_v) {
7129 {
7130 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7131 }
7132 if (_v) {
7133 return _wrap_OBProperty_set__SWIG_0(self,args);
7134 }
7135 }
7136 }
7137 }
7138 }
7139 }
7140 if (argc == 5) {
7141 int _v;
7142 {
7143 void *ptr;
7144 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7145 _v = 0;
7146 PyErr_Clear();
7147 }else {
7148 _v = 1;
7149 }
7150 }
7151 if (_v) {
7152 {
7153 void *ptr;
7154 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7155 _v = 0;
7156 PyErr_Clear();
7157 }else {
7158 _v = 1;
7159 }
7160 }
7161 if (_v) {
7162 {
7163 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7164 }
7165 if (_v) {
7166 {
7167 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7168 }
7169 if (_v) {
7170 {
7171 _v = PyString_Check(argv[4]) ? 1 : 0;
7172 }
7173 if (_v) {
7174 return _wrap_OBProperty_set__SWIG_2(self,args);
7175 }
7176 }
7177 }
7178 }
7179 }
7180 }
7181 if (argc == 6) {
7182 int _v;
7183 {
7184 void *ptr;
7185 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7186 _v = 0;
7187 PyErr_Clear();
7188 }else {
7189 _v = 1;
7190 }
7191 }
7192 if (_v) {
7193 {
7194 void *ptr;
7195 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7196 _v = 0;
7197 PyErr_Clear();
7198 }else {
7199 _v = 1;
7200 }
7201 }
7202 if (_v) {
7203 {
7204 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7205 }
7206 if (_v) {
7207 {
7208 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7209 }
7210 if (_v) {
7211 {
7212 void *ptr;
7213 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7214 _v = 0;
7215 PyErr_Clear();
7216 }else {
7217 _v = 1;
7218 }
7219 }
7220 if (_v) {
7221 {
7222 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7223 }
7224 if (_v) {
7225 return _wrap_OBProperty_set__SWIG_1(self,args);
7226 }
7227 }
7228 }
7229 }
7230 }
7231 }
7232 }
7233
7234 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7235 return NULL;
7236 }
7237
7238
7239 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7240 PyObject *resultobj;
7241 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7242 Window arg2 ;
7243 int arg3 ;
7244 int arg4 ;
7245 unsigned long *arg5 = (unsigned long *) 0 ;
7246 unsigned long **arg6 = (unsigned long **) 0 ;
7247 bool result;
7248 Window *argp2 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 PyObject * obj4 = 0 ;
7252 PyObject * obj5 = 0 ;
7253
7254 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7257 arg2 = *argp2;
7258 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7261
7262 resultobj = PyInt_FromLong((long)result);
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7270 PyObject *resultobj;
7271 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7272 Window arg2 ;
7273 int arg3 ;
7274 int arg4 ;
7275 unsigned long *arg5 = (unsigned long *) 0 ;
7276 bool result;
7277 Window *argp2 ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 PyObject * obj4 = 0 ;
7281
7282 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7284 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7285 arg2 = *argp2;
7286 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7288
7289 resultobj = PyInt_FromLong((long)result);
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7297 PyObject *resultobj;
7298 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7299 Window arg2 ;
7300 int arg3 ;
7301 int arg4 ;
7302 std::string *arg5 = (std::string *) 0 ;
7303 bool result;
7304 Window *argp2 ;
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 PyObject * obj4 = 0 ;
7308
7309 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7311 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7312 arg2 = *argp2;
7313 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7314 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7315
7316 resultobj = PyInt_FromLong((long)result);
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7324 PyObject *resultobj;
7325 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7326 Window arg2 ;
7327 int arg3 ;
7328 int arg4 ;
7329 unsigned long *arg5 = (unsigned long *) 0 ;
7330 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7331 bool result;
7332 Window *argp2 ;
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 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7341 arg2 = *argp2;
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_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )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(PyObject *self, PyObject *args) {
7354 int argc;
7355 PyObject *argv[7];
7356 int ii;
7357
7358 argc = PyObject_Length(args);
7359 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7360 argv[ii] = PyTuple_GetItem(args,ii);
7361 }
7362 if (argc == 5) {
7363 int _v;
7364 {
7365 void *ptr;
7366 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7367 _v = 0;
7368 PyErr_Clear();
7369 }else {
7370 _v = 1;
7371 }
7372 }
7373 if (_v) {
7374 {
7375 void *ptr;
7376 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7377 _v = 0;
7378 PyErr_Clear();
7379 }else {
7380 _v = 1;
7381 }
7382 }
7383 if (_v) {
7384 {
7385 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7386 }
7387 if (_v) {
7388 {
7389 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7390 }
7391 if (_v) {
7392 {
7393 void *ptr;
7394 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7395 _v = 0;
7396 PyErr_Clear();
7397 }else {
7398 _v = 1;
7399 }
7400 }
7401 if (_v) {
7402 return _wrap_OBProperty_get__SWIG_1(self,args);
7403 }
7404 }
7405 }
7406 }
7407 }
7408 }
7409 if (argc == 5) {
7410 int _v;
7411 {
7412 void *ptr;
7413 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7414 _v = 0;
7415 PyErr_Clear();
7416 }else {
7417 _v = 1;
7418 }
7419 }
7420 if (_v) {
7421 {
7422 void *ptr;
7423 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7424 _v = 0;
7425 PyErr_Clear();
7426 }else {
7427 _v = 1;
7428 }
7429 }
7430 if (_v) {
7431 {
7432 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7433 }
7434 if (_v) {
7435 {
7436 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7437 }
7438 if (_v) {
7439 {
7440 void *ptr;
7441 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7442 _v = 0;
7443 PyErr_Clear();
7444 }else {
7445 _v = 1;
7446 }
7447 }
7448 if (_v) {
7449 return _wrap_OBProperty_get__SWIG_2(self,args);
7450 }
7451 }
7452 }
7453 }
7454 }
7455 }
7456 if (argc == 6) {
7457 int _v;
7458 {
7459 void *ptr;
7460 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7461 _v = 0;
7462 PyErr_Clear();
7463 }else {
7464 _v = 1;
7465 }
7466 }
7467 if (_v) {
7468 {
7469 void *ptr;
7470 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7471 _v = 0;
7472 PyErr_Clear();
7473 }else {
7474 _v = 1;
7475 }
7476 }
7477 if (_v) {
7478 {
7479 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7480 }
7481 if (_v) {
7482 {
7483 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7484 }
7485 if (_v) {
7486 {
7487 void *ptr;
7488 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7489 _v = 0;
7490 PyErr_Clear();
7491 }else {
7492 _v = 1;
7493 }
7494 }
7495 if (_v) {
7496 {
7497 void *ptr;
7498 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7499 _v = 0;
7500 PyErr_Clear();
7501 }else {
7502 _v = 1;
7503 }
7504 }
7505 if (_v) {
7506 return _wrap_OBProperty_get__SWIG_0(self,args);
7507 }
7508 }
7509 }
7510 }
7511 }
7512 }
7513 }
7514 if (argc == 6) {
7515 int _v;
7516 {
7517 void *ptr;
7518 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7519 _v = 0;
7520 PyErr_Clear();
7521 }else {
7522 _v = 1;
7523 }
7524 }
7525 if (_v) {
7526 {
7527 void *ptr;
7528 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7529 _v = 0;
7530 PyErr_Clear();
7531 }else {
7532 _v = 1;
7533 }
7534 }
7535 if (_v) {
7536 {
7537 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7538 }
7539 if (_v) {
7540 {
7541 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7542 }
7543 if (_v) {
7544 {
7545 void *ptr;
7546 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7547 _v = 0;
7548 PyErr_Clear();
7549 }else {
7550 _v = 1;
7551 }
7552 }
7553 if (_v) {
7554 {
7555 void *ptr;
7556 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7557 _v = 0;
7558 PyErr_Clear();
7559 }else {
7560 _v = 1;
7561 }
7562 }
7563 if (_v) {
7564 return _wrap_OBProperty_get__SWIG_3(self,args);
7565 }
7566 }
7567 }
7568 }
7569 }
7570 }
7571 }
7572
7573 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7579 PyObject *resultobj;
7580 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7581 Window arg2 ;
7582 int arg3 ;
7583 Window *argp2 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586
7587 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7589 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7590 arg2 = *argp2;
7591 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7592
7593 Py_INCREF(Py_None); resultobj = Py_None;
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7601 PyObject *resultobj;
7602 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7603 int arg2 ;
7604 Atom result;
7605 PyObject * obj0 = 0 ;
7606
7607 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7610
7611 {
7612 Atom * resultptr;
7613 resultptr = new Atom((Atom &) result);
7614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7615 }
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7623 PyObject *obj;
7624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7625 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7626 Py_INCREF(obj);
7627 return Py_BuildValue((char *)"");
7628 }
7629 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7630 PyObject *resultobj;
7631 otk::Rect *result;
7632
7633 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7634 result = (otk::Rect *)new otk::Rect();
7635
7636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7644 PyObject *resultobj;
7645 int arg1 ;
7646 int arg2 ;
7647 int arg3 ;
7648 int arg4 ;
7649 otk::Rect *result;
7650
7651 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7652 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7653
7654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7662 PyObject *resultobj;
7663 otk::Point *arg1 = 0 ;
7664 otk::Point *arg2 = 0 ;
7665 otk::Rect *result;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668
7669 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 if (arg1 == NULL) {
7672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7673 }
7674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7675 if (arg2 == NULL) {
7676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7677 }
7678 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7679
7680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7688 PyObject *resultobj;
7689 otk::Rect *arg1 = 0 ;
7690 otk::Rect *result;
7691 PyObject * obj0 = 0 ;
7692
7693 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 if (arg1 == NULL) {
7696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7697 }
7698 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7699
7700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7708 PyObject *resultobj;
7709 XRectangle *arg1 = 0 ;
7710 otk::Rect *result;
7711 PyObject * obj0 = 0 ;
7712
7713 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7715 if (arg1 == NULL) {
7716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7717 }
7718 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7719
7720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7728 int argc;
7729 PyObject *argv[5];
7730 int ii;
7731
7732 argc = PyObject_Length(args);
7733 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7734 argv[ii] = PyTuple_GetItem(args,ii);
7735 }
7736 if (argc == 0) {
7737 return _wrap_new_Rect__SWIG_0(self,args);
7738 }
7739 if (argc == 1) {
7740 int _v;
7741 {
7742 void *ptr;
7743 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7744 _v = 0;
7745 PyErr_Clear();
7746 }else {
7747 _v = 1;
7748 }
7749 }
7750 if (_v) {
7751 return _wrap_new_Rect__SWIG_3(self,args);
7752 }
7753 }
7754 if (argc == 1) {
7755 int _v;
7756 {
7757 void *ptr;
7758 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7759 _v = 0;
7760 PyErr_Clear();
7761 }else {
7762 _v = 1;
7763 }
7764 }
7765 if (_v) {
7766 return _wrap_new_Rect__SWIG_4(self,args);
7767 }
7768 }
7769 if (argc == 2) {
7770 int _v;
7771 {
7772 void *ptr;
7773 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7774 _v = 0;
7775 PyErr_Clear();
7776 }else {
7777 _v = 1;
7778 }
7779 }
7780 if (_v) {
7781 {
7782 void *ptr;
7783 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7784 _v = 0;
7785 PyErr_Clear();
7786 }else {
7787 _v = 1;
7788 }
7789 }
7790 if (_v) {
7791 return _wrap_new_Rect__SWIG_2(self,args);
7792 }
7793 }
7794 }
7795 if (argc == 4) {
7796 int _v;
7797 {
7798 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7799 }
7800 if (_v) {
7801 {
7802 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7803 }
7804 if (_v) {
7805 {
7806 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7807 }
7808 if (_v) {
7809 {
7810 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7811 }
7812 if (_v) {
7813 return _wrap_new_Rect__SWIG_1(self,args);
7814 }
7815 }
7816 }
7817 }
7818 }
7819
7820 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7821 return NULL;
7822 }
7823
7824
7825 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7826 PyObject *resultobj;
7827 otk::Rect *arg1 = (otk::Rect *) 0 ;
7828 int result;
7829 PyObject * obj0 = 0 ;
7830
7831 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7833 result = (int)((otk::Rect const *)arg1)->left();
7834
7835 resultobj = PyInt_FromLong((long)result);
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7843 PyObject *resultobj;
7844 otk::Rect *arg1 = (otk::Rect *) 0 ;
7845 int result;
7846 PyObject * obj0 = 0 ;
7847
7848 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 result = (int)((otk::Rect const *)arg1)->top();
7851
7852 resultobj = PyInt_FromLong((long)result);
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7860 PyObject *resultobj;
7861 otk::Rect *arg1 = (otk::Rect *) 0 ;
7862 int result;
7863 PyObject * obj0 = 0 ;
7864
7865 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7867 result = (int)((otk::Rect const *)arg1)->right();
7868
7869 resultobj = PyInt_FromLong((long)result);
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7877 PyObject *resultobj;
7878 otk::Rect *arg1 = (otk::Rect *) 0 ;
7879 int result;
7880 PyObject * obj0 = 0 ;
7881
7882 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 result = (int)((otk::Rect const *)arg1)->bottom();
7885
7886 resultobj = PyInt_FromLong((long)result);
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7894 PyObject *resultobj;
7895 otk::Rect *arg1 = (otk::Rect *) 0 ;
7896 int result;
7897 PyObject * obj0 = 0 ;
7898
7899 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7901 result = (int)((otk::Rect const *)arg1)->x();
7902
7903 resultobj = PyInt_FromLong((long)result);
7904 return resultobj;
7905 fail:
7906 return NULL;
7907 }
7908
7909
7910 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
7911 PyObject *resultobj;
7912 otk::Rect *arg1 = (otk::Rect *) 0 ;
7913 int result;
7914 PyObject * obj0 = 0 ;
7915
7916 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7918 result = (int)((otk::Rect const *)arg1)->y();
7919
7920 resultobj = PyInt_FromLong((long)result);
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
7928 PyObject *resultobj;
7929 otk::Rect *arg1 = (otk::Rect *) 0 ;
7930 otk::Point result;
7931 PyObject * obj0 = 0 ;
7932
7933 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 result = ((otk::Rect const *)arg1)->location();
7936
7937 {
7938 otk::Point * resultptr;
7939 resultptr = new otk::Point((otk::Point &) result);
7940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
7949 PyObject *resultobj;
7950 otk::Rect *arg1 = (otk::Rect *) 0 ;
7951 int arg2 ;
7952 PyObject * obj0 = 0 ;
7953
7954 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 (arg1)->setX(arg2);
7957
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
7966 PyObject *resultobj;
7967 otk::Rect *arg1 = (otk::Rect *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970
7971 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 (arg1)->setY(arg2);
7974
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
7983 PyObject *resultobj;
7984 otk::Rect *arg1 = (otk::Rect *) 0 ;
7985 int arg2 ;
7986 int arg3 ;
7987 PyObject * obj0 = 0 ;
7988
7989 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 (arg1)->setPos(arg2,arg3);
7992
7993 Py_INCREF(Py_None); resultobj = Py_None;
7994 return resultobj;
7995 fail:
7996 return NULL;
7997 }
7998
7999
8000 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8001 PyObject *resultobj;
8002 otk::Rect *arg1 = (otk::Rect *) 0 ;
8003 otk::Point *arg2 = 0 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006
8007 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8010 if (arg2 == NULL) {
8011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8012 }
8013 (arg1)->setPos((otk::Point const &)*arg2);
8014
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8023 int argc;
8024 PyObject *argv[4];
8025 int ii;
8026
8027 argc = PyObject_Length(args);
8028 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8029 argv[ii] = PyTuple_GetItem(args,ii);
8030 }
8031 if (argc == 2) {
8032 int _v;
8033 {
8034 void *ptr;
8035 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8036 _v = 0;
8037 PyErr_Clear();
8038 }else {
8039 _v = 1;
8040 }
8041 }
8042 if (_v) {
8043 {
8044 void *ptr;
8045 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8046 _v = 0;
8047 PyErr_Clear();
8048 }else {
8049 _v = 1;
8050 }
8051 }
8052 if (_v) {
8053 return _wrap_Rect_setPos__SWIG_1(self,args);
8054 }
8055 }
8056 }
8057 if (argc == 3) {
8058 int _v;
8059 {
8060 void *ptr;
8061 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8062 _v = 0;
8063 PyErr_Clear();
8064 }else {
8065 _v = 1;
8066 }
8067 }
8068 if (_v) {
8069 {
8070 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8071 }
8072 if (_v) {
8073 {
8074 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8075 }
8076 if (_v) {
8077 return _wrap_Rect_setPos__SWIG_0(self,args);
8078 }
8079 }
8080 }
8081 }
8082
8083 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8089 PyObject *resultobj;
8090 otk::Rect *arg1 = (otk::Rect *) 0 ;
8091 int result;
8092 PyObject * obj0 = 0 ;
8093
8094 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 result = (int)((otk::Rect const *)arg1)->width();
8097
8098 resultobj = PyInt_FromLong((long)result);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8106 PyObject *resultobj;
8107 otk::Rect *arg1 = (otk::Rect *) 0 ;
8108 int result;
8109 PyObject * obj0 = 0 ;
8110
8111 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 result = (int)((otk::Rect const *)arg1)->height();
8114
8115 resultobj = PyInt_FromLong((long)result);
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8123 PyObject *resultobj;
8124 otk::Rect *arg1 = (otk::Rect *) 0 ;
8125 otk::Point result;
8126 PyObject * obj0 = 0 ;
8127
8128 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8130 result = ((otk::Rect const *)arg1)->size();
8131
8132 {
8133 otk::Point * resultptr;
8134 resultptr = new otk::Point((otk::Point &) result);
8135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8136 }
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8144 PyObject *resultobj;
8145 otk::Rect *arg1 = (otk::Rect *) 0 ;
8146 int arg2 ;
8147 PyObject * obj0 = 0 ;
8148
8149 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8151 (arg1)->setWidth(arg2);
8152
8153 Py_INCREF(Py_None); resultobj = Py_None;
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8161 PyObject *resultobj;
8162 otk::Rect *arg1 = (otk::Rect *) 0 ;
8163 int arg2 ;
8164 PyObject * obj0 = 0 ;
8165
8166 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 (arg1)->setHeight(arg2);
8169
8170 Py_INCREF(Py_None); resultobj = Py_None;
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8178 PyObject *resultobj;
8179 otk::Rect *arg1 = (otk::Rect *) 0 ;
8180 int arg2 ;
8181 int arg3 ;
8182 PyObject * obj0 = 0 ;
8183
8184 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8186 (arg1)->setSize(arg2,arg3);
8187
8188 Py_INCREF(Py_None); resultobj = Py_None;
8189 return resultobj;
8190 fail:
8191 return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8196 PyObject *resultobj;
8197 otk::Rect *arg1 = (otk::Rect *) 0 ;
8198 otk::Point *arg2 = 0 ;
8199 PyObject * obj0 = 0 ;
8200 PyObject * obj1 = 0 ;
8201
8202 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 if (arg2 == NULL) {
8206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8207 }
8208 (arg1)->setSize((otk::Point const &)*arg2);
8209
8210 Py_INCREF(Py_None); resultobj = Py_None;
8211 return resultobj;
8212 fail:
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8218 int argc;
8219 PyObject *argv[4];
8220 int ii;
8221
8222 argc = PyObject_Length(args);
8223 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8224 argv[ii] = PyTuple_GetItem(args,ii);
8225 }
8226 if (argc == 2) {
8227 int _v;
8228 {
8229 void *ptr;
8230 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8231 _v = 0;
8232 PyErr_Clear();
8233 }else {
8234 _v = 1;
8235 }
8236 }
8237 if (_v) {
8238 {
8239 void *ptr;
8240 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8241 _v = 0;
8242 PyErr_Clear();
8243 }else {
8244 _v = 1;
8245 }
8246 }
8247 if (_v) {
8248 return _wrap_Rect_setSize__SWIG_1(self,args);
8249 }
8250 }
8251 }
8252 if (argc == 3) {
8253 int _v;
8254 {
8255 void *ptr;
8256 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8257 _v = 0;
8258 PyErr_Clear();
8259 }else {
8260 _v = 1;
8261 }
8262 }
8263 if (_v) {
8264 {
8265 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8266 }
8267 if (_v) {
8268 {
8269 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8270 }
8271 if (_v) {
8272 return _wrap_Rect_setSize__SWIG_0(self,args);
8273 }
8274 }
8275 }
8276 }
8277
8278 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8284 PyObject *resultobj;
8285 otk::Rect *arg1 = (otk::Rect *) 0 ;
8286 int arg2 ;
8287 int arg3 ;
8288 int arg4 ;
8289 int arg5 ;
8290 PyObject * obj0 = 0 ;
8291
8292 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8294 (arg1)->setRect(arg2,arg3,arg4,arg5);
8295
8296 Py_INCREF(Py_None); resultobj = Py_None;
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8304 PyObject *resultobj;
8305 otk::Rect *arg1 = (otk::Rect *) 0 ;
8306 otk::Point *arg2 = 0 ;
8307 otk::Point *arg3 = 0 ;
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 PyObject * obj2 = 0 ;
8311
8312 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8315 if (arg2 == NULL) {
8316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8317 }
8318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 if (arg3 == NULL) {
8320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8321 }
8322 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8323
8324 Py_INCREF(Py_None); resultobj = Py_None;
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8332 int argc;
8333 PyObject *argv[6];
8334 int ii;
8335
8336 argc = PyObject_Length(args);
8337 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8338 argv[ii] = PyTuple_GetItem(args,ii);
8339 }
8340 if (argc == 3) {
8341 int _v;
8342 {
8343 void *ptr;
8344 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8345 _v = 0;
8346 PyErr_Clear();
8347 }else {
8348 _v = 1;
8349 }
8350 }
8351 if (_v) {
8352 {
8353 void *ptr;
8354 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8355 _v = 0;
8356 PyErr_Clear();
8357 }else {
8358 _v = 1;
8359 }
8360 }
8361 if (_v) {
8362 {
8363 void *ptr;
8364 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8365 _v = 0;
8366 PyErr_Clear();
8367 }else {
8368 _v = 1;
8369 }
8370 }
8371 if (_v) {
8372 return _wrap_Rect_setRect__SWIG_1(self,args);
8373 }
8374 }
8375 }
8376 }
8377 if (argc == 5) {
8378 int _v;
8379 {
8380 void *ptr;
8381 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8382 _v = 0;
8383 PyErr_Clear();
8384 }else {
8385 _v = 1;
8386 }
8387 }
8388 if (_v) {
8389 {
8390 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8391 }
8392 if (_v) {
8393 {
8394 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8395 }
8396 if (_v) {
8397 {
8398 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8399 }
8400 if (_v) {
8401 {
8402 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8403 }
8404 if (_v) {
8405 return _wrap_Rect_setRect__SWIG_0(self,args);
8406 }
8407 }
8408 }
8409 }
8410 }
8411 }
8412
8413 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8414 return NULL;
8415 }
8416
8417
8418 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8419 PyObject *resultobj;
8420 otk::Rect *arg1 = (otk::Rect *) 0 ;
8421 int arg2 ;
8422 int arg3 ;
8423 int arg4 ;
8424 int arg5 ;
8425 PyObject * obj0 = 0 ;
8426
8427 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8429 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8430
8431 Py_INCREF(Py_None); resultobj = Py_None;
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8439 PyObject *resultobj;
8440 otk::Rect *arg1 = (otk::Rect *) 0 ;
8441 otk::Point *arg2 = 0 ;
8442 otk::Point *arg3 = 0 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 PyObject * obj2 = 0 ;
8446
8447 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8450 if (arg2 == NULL) {
8451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8452 }
8453 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8454 if (arg3 == NULL) {
8455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8456 }
8457 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8458
8459 Py_INCREF(Py_None); resultobj = Py_None;
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8467 int argc;
8468 PyObject *argv[6];
8469 int ii;
8470
8471 argc = PyObject_Length(args);
8472 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8473 argv[ii] = PyTuple_GetItem(args,ii);
8474 }
8475 if (argc == 3) {
8476 int _v;
8477 {
8478 void *ptr;
8479 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8480 _v = 0;
8481 PyErr_Clear();
8482 }else {
8483 _v = 1;
8484 }
8485 }
8486 if (_v) {
8487 {
8488 void *ptr;
8489 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8490 _v = 0;
8491 PyErr_Clear();
8492 }else {
8493 _v = 1;
8494 }
8495 }
8496 if (_v) {
8497 {
8498 void *ptr;
8499 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8500 _v = 0;
8501 PyErr_Clear();
8502 }else {
8503 _v = 1;
8504 }
8505 }
8506 if (_v) {
8507 return _wrap_Rect_setCoords__SWIG_1(self,args);
8508 }
8509 }
8510 }
8511 }
8512 if (argc == 5) {
8513 int _v;
8514 {
8515 void *ptr;
8516 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8517 _v = 0;
8518 PyErr_Clear();
8519 }else {
8520 _v = 1;
8521 }
8522 }
8523 if (_v) {
8524 {
8525 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8526 }
8527 if (_v) {
8528 {
8529 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8530 }
8531 if (_v) {
8532 {
8533 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8534 }
8535 if (_v) {
8536 {
8537 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8538 }
8539 if (_v) {
8540 return _wrap_Rect_setCoords__SWIG_0(self,args);
8541 }
8542 }
8543 }
8544 }
8545 }
8546 }
8547
8548 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8549 return NULL;
8550 }
8551
8552
8553 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8554 PyObject *resultobj;
8555 otk::Rect *arg1 = (otk::Rect *) 0 ;
8556 otk::Rect *arg2 = 0 ;
8557 bool result;
8558 PyObject * obj0 = 0 ;
8559 PyObject * obj1 = 0 ;
8560
8561 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8564 if (arg2 == NULL) {
8565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8566 }
8567 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8568
8569 resultobj = PyInt_FromLong((long)result);
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8577 PyObject *resultobj;
8578 otk::Rect *arg1 = (otk::Rect *) 0 ;
8579 bool result;
8580 PyObject * obj0 = 0 ;
8581
8582 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8584 result = (bool)((otk::Rect const *)arg1)->valid();
8585
8586 resultobj = PyInt_FromLong((long)result);
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8594 PyObject *resultobj;
8595 otk::Rect *arg1 = (otk::Rect *) 0 ;
8596 otk::Rect *arg2 = 0 ;
8597 bool result;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600
8601 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8604 if (arg2 == NULL) {
8605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8606 }
8607 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8608
8609 resultobj = PyInt_FromLong((long)result);
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8617 PyObject *resultobj;
8618 otk::Rect *arg1 = (otk::Rect *) 0 ;
8619 int arg2 ;
8620 int arg3 ;
8621 bool result;
8622 PyObject * obj0 = 0 ;
8623
8624 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8626 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8627
8628 resultobj = PyInt_FromLong((long)result);
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8636 PyObject *resultobj;
8637 otk::Rect *arg1 = (otk::Rect *) 0 ;
8638 otk::Point *arg2 = 0 ;
8639 bool result;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642
8643 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8646 if (arg2 == NULL) {
8647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8648 }
8649 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8650
8651 resultobj = PyInt_FromLong((long)result);
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8659 PyObject *resultobj;
8660 otk::Rect *arg1 = (otk::Rect *) 0 ;
8661 otk::Rect *arg2 = 0 ;
8662 bool result;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8665
8666 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8669 if (arg2 == NULL) {
8670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8671 }
8672 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8673
8674 resultobj = PyInt_FromLong((long)result);
8675 return resultobj;
8676 fail:
8677 return NULL;
8678 }
8679
8680
8681 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8682 int argc;
8683 PyObject *argv[4];
8684 int ii;
8685
8686 argc = PyObject_Length(args);
8687 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8688 argv[ii] = PyTuple_GetItem(args,ii);
8689 }
8690 if (argc == 2) {
8691 int _v;
8692 {
8693 void *ptr;
8694 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8695 _v = 0;
8696 PyErr_Clear();
8697 }else {
8698 _v = 1;
8699 }
8700 }
8701 if (_v) {
8702 {
8703 void *ptr;
8704 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8705 _v = 0;
8706 PyErr_Clear();
8707 }else {
8708 _v = 1;
8709 }
8710 }
8711 if (_v) {
8712 return _wrap_Rect_contains__SWIG_1(self,args);
8713 }
8714 }
8715 }
8716 if (argc == 2) {
8717 int _v;
8718 {
8719 void *ptr;
8720 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8721 _v = 0;
8722 PyErr_Clear();
8723 }else {
8724 _v = 1;
8725 }
8726 }
8727 if (_v) {
8728 {
8729 void *ptr;
8730 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8731 _v = 0;
8732 PyErr_Clear();
8733 }else {
8734 _v = 1;
8735 }
8736 }
8737 if (_v) {
8738 return _wrap_Rect_contains__SWIG_2(self,args);
8739 }
8740 }
8741 }
8742 if (argc == 3) {
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 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8756 }
8757 if (_v) {
8758 {
8759 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8760 }
8761 if (_v) {
8762 return _wrap_Rect_contains__SWIG_0(self,args);
8763 }
8764 }
8765 }
8766 }
8767
8768 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8774 PyObject *resultobj;
8775 otk::Rect *arg1 = (otk::Rect *) 0 ;
8776 PyObject * obj0 = 0 ;
8777
8778 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8780 delete arg1;
8781
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8790 PyObject *obj;
8791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8792 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8793 Py_INCREF(obj);
8794 return Py_BuildValue((char *)"");
8795 }
8796 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8797 PyObject *resultobj;
8798 unsigned int arg1 ;
8799 otk::ScreenInfo *result;
8800 PyObject * obj0 = 0 ;
8801
8802 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8803 arg1 = (unsigned int) PyInt_AsLong(obj0);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8806
8807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8815 PyObject *resultobj;
8816 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8817 Visual *result;
8818 PyObject * obj0 = 0 ;
8819
8820 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8823
8824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8832 PyObject *resultobj;
8833 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8834 Window result;
8835 PyObject * obj0 = 0 ;
8836
8837 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
8840
8841 {
8842 Window * resultptr;
8843 resultptr = new Window((Window &) result);
8844 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
8845 }
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8853 PyObject *resultobj;
8854 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8855 Colormap result;
8856 PyObject * obj0 = 0 ;
8857
8858 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 result = ((otk::ScreenInfo const *)arg1)->colormap();
8861
8862 {
8863 Colormap * resultptr;
8864 resultptr = new Colormap((Colormap &) result);
8865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
8866 }
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8874 PyObject *resultobj;
8875 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8876 int result;
8877 PyObject * obj0 = 0 ;
8878
8879 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8881 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8882
8883 resultobj = PyInt_FromLong((long)result);
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8891 PyObject *resultobj;
8892 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8893 unsigned int result;
8894 PyObject * obj0 = 0 ;
8895
8896 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8898 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8899
8900 resultobj = PyInt_FromLong((long)result);
8901 return resultobj;
8902 fail:
8903 return NULL;
8904 }
8905
8906
8907 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8908 PyObject *resultobj;
8909 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8910 otk::Rect *result;
8911 PyObject * obj0 = 0 ;
8912
8913 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8915 {
8916 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8917 result = (otk::Rect *) &_result_ref;
8918 }
8919
8920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
8928 PyObject *resultobj;
8929 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8930 unsigned int result;
8931 PyObject * obj0 = 0 ;
8932
8933 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
8936
8937 resultobj = PyInt_FromLong((long)result);
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
8945 PyObject *resultobj;
8946 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8947 unsigned int result;
8948 PyObject * obj0 = 0 ;
8949
8950 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
8953
8954 resultobj = PyInt_FromLong((long)result);
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
8962 PyObject *resultobj;
8963 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8964 std::string *result;
8965 PyObject * obj0 = 0 ;
8966
8967 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8969 {
8970 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
8971 result = (std::string *) &_result_ref;
8972 }
8973
8974 {
8975 resultobj = PyString_FromString(result->c_str());
8976 }
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
8984 PyObject *resultobj;
8985 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8986 PyObject * obj0 = 0 ;
8987
8988 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8990 delete arg1;
8991
8992 Py_INCREF(Py_None); resultobj = Py_None;
8993 return resultobj;
8994 fail:
8995 return NULL;
8996 }
8997
8998
8999 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9000 PyObject *obj;
9001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9002 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9003 Py_INCREF(obj);
9004 return Py_BuildValue((char *)"");
9005 }
9006 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9007 PyObject *resultobj;
9008 otk::Strut *arg1 = (otk::Strut *) 0 ;
9009 unsigned int arg2 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012
9013 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9015 arg2 = (unsigned int) PyInt_AsLong(obj1);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 if (arg1) (arg1)->top = arg2;
9018
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9027 PyObject *resultobj;
9028 otk::Strut *arg1 = (otk::Strut *) 0 ;
9029 unsigned int result;
9030 PyObject * obj0 = 0 ;
9031
9032 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 result = (unsigned int) ((arg1)->top);
9035
9036 resultobj = PyInt_FromLong((long)result);
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9044 PyObject *resultobj;
9045 otk::Strut *arg1 = (otk::Strut *) 0 ;
9046 unsigned int arg2 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049
9050 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9052 arg2 = (unsigned int) PyInt_AsLong(obj1);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 if (arg1) (arg1)->bottom = arg2;
9055
9056 Py_INCREF(Py_None); resultobj = Py_None;
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9064 PyObject *resultobj;
9065 otk::Strut *arg1 = (otk::Strut *) 0 ;
9066 unsigned int result;
9067 PyObject * obj0 = 0 ;
9068
9069 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 result = (unsigned int) ((arg1)->bottom);
9072
9073 resultobj = PyInt_FromLong((long)result);
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9081 PyObject *resultobj;
9082 otk::Strut *arg1 = (otk::Strut *) 0 ;
9083 unsigned int arg2 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086
9087 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 arg2 = (unsigned int) PyInt_AsLong(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 if (arg1) (arg1)->left = arg2;
9092
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9101 PyObject *resultobj;
9102 otk::Strut *arg1 = (otk::Strut *) 0 ;
9103 unsigned int result;
9104 PyObject * obj0 = 0 ;
9105
9106 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9108 result = (unsigned int) ((arg1)->left);
9109
9110 resultobj = PyInt_FromLong((long)result);
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9118 PyObject *resultobj;
9119 otk::Strut *arg1 = (otk::Strut *) 0 ;
9120 unsigned int arg2 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123
9124 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 arg2 = (unsigned int) PyInt_AsLong(obj1);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 if (arg1) (arg1)->right = arg2;
9129
9130 Py_INCREF(Py_None); resultobj = Py_None;
9131 return resultobj;
9132 fail:
9133 return NULL;
9134 }
9135
9136
9137 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9138 PyObject *resultobj;
9139 otk::Strut *arg1 = (otk::Strut *) 0 ;
9140 unsigned int result;
9141 PyObject * obj0 = 0 ;
9142
9143 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9145 result = (unsigned int) ((arg1)->right);
9146
9147 resultobj = PyInt_FromLong((long)result);
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9155 PyObject *resultobj;
9156 otk::Strut *result;
9157
9158 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9159 result = (otk::Strut *)new otk::Strut();
9160
9161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9169 PyObject *resultobj;
9170 int arg1 ;
9171 int arg2 ;
9172 int arg3 ;
9173 int arg4 ;
9174 otk::Strut *result;
9175
9176 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9177 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9178
9179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9187 int argc;
9188 PyObject *argv[5];
9189 int ii;
9190
9191 argc = PyObject_Length(args);
9192 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9193 argv[ii] = PyTuple_GetItem(args,ii);
9194 }
9195 if (argc == 0) {
9196 return _wrap_new_Strut__SWIG_0(self,args);
9197 }
9198 if (argc == 4) {
9199 int _v;
9200 {
9201 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9202 }
9203 if (_v) {
9204 {
9205 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9206 }
9207 if (_v) {
9208 {
9209 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9210 }
9211 if (_v) {
9212 {
9213 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9214 }
9215 if (_v) {
9216 return _wrap_new_Strut__SWIG_1(self,args);
9217 }
9218 }
9219 }
9220 }
9221 }
9222
9223 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9229 PyObject *resultobj;
9230 otk::Strut *arg1 = (otk::Strut *) 0 ;
9231 PyObject * obj0 = 0 ;
9232
9233 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9235 delete arg1;
9236
9237 Py_INCREF(Py_None); resultobj = Py_None;
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9245 PyObject *obj;
9246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9247 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9248 Py_INCREF(obj);
9249 return Py_BuildValue((char *)"");
9250 }
9251 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9252 PyObject *resultobj;
9253 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9254 Pixmap arg2 ;
9255 Pixmap *argp2 ;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258
9259 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9262 arg2 = *argp2;
9263 if (arg1) (arg1)->mask = arg2;
9264
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9273 PyObject *resultobj;
9274 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9275 Pixmap result;
9276 PyObject * obj0 = 0 ;
9277
9278 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9280 result = ((arg1)->mask);
9281
9282 {
9283 Pixmap * resultptr;
9284 resultptr = new Pixmap((Pixmap &) result);
9285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9286 }
9287 return resultobj;
9288 fail:
9289 return NULL;
9290 }
9291
9292
9293 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9294 PyObject *resultobj;
9295 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9296 unsigned int arg2 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299
9300 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9302 arg2 = (unsigned int) PyInt_AsLong(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 if (arg1) (arg1)->w = arg2;
9305
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9314 PyObject *resultobj;
9315 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9316 unsigned int result;
9317 PyObject * obj0 = 0 ;
9318
9319 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 result = (unsigned int) ((arg1)->w);
9322
9323 resultobj = PyInt_FromLong((long)result);
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9331 PyObject *resultobj;
9332 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9333 unsigned int arg2 ;
9334 PyObject * obj0 = 0 ;
9335 PyObject * obj1 = 0 ;
9336
9337 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9339 arg2 = (unsigned int) PyInt_AsLong(obj1);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 if (arg1) (arg1)->h = arg2;
9342
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9351 PyObject *resultobj;
9352 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9353 unsigned int result;
9354 PyObject * obj0 = 0 ;
9355
9356 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9358 result = (unsigned int) ((arg1)->h);
9359
9360 resultobj = PyInt_FromLong((long)result);
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9368 PyObject *resultobj;
9369 otk::PixmapMask *result;
9370
9371 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9372 result = (otk::PixmapMask *)new otk::PixmapMask();
9373
9374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9382 PyObject *resultobj;
9383 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9384 PyObject * obj0 = 0 ;
9385
9386 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9388 delete arg1;
9389
9390 Py_INCREF(Py_None); resultobj = Py_None;
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9398 PyObject *obj;
9399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9400 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9401 Py_INCREF(obj);
9402 return Py_BuildValue((char *)"");
9403 }
9404 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9405 PyObject *resultobj;
9406 otk::Style *arg1 = (otk::Style *) 0 ;
9407 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410
9411 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9414 if (arg1) (arg1)->image_control = arg2;
9415
9416 Py_INCREF(Py_None); resultobj = Py_None;
9417 return resultobj;
9418 fail:
9419 return NULL;
9420 }
9421
9422
9423 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9424 PyObject *resultobj;
9425 otk::Style *arg1 = (otk::Style *) 0 ;
9426 otk::BImageControl *result;
9427 PyObject * obj0 = 0 ;
9428
9429 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 result = (otk::BImageControl *) ((arg1)->image_control);
9432
9433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9441 PyObject *resultobj;
9442 otk::Style *arg1 = (otk::Style *) 0 ;
9443 otk::BColor *arg2 = (otk::BColor *) 0 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446
9447 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 if (arg1) (arg1)->l_text_focus = *arg2;
9451
9452 Py_INCREF(Py_None); resultobj = Py_None;
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9460 PyObject *resultobj;
9461 otk::Style *arg1 = (otk::Style *) 0 ;
9462 otk::BColor *result;
9463 PyObject * obj0 = 0 ;
9464
9465 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 result = (otk::BColor *)& ((arg1)->l_text_focus);
9468
9469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9477 PyObject *resultobj;
9478 otk::Style *arg1 = (otk::Style *) 0 ;
9479 otk::BColor *arg2 = (otk::BColor *) 0 ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482
9483 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 if (arg1) (arg1)->l_text_unfocus = *arg2;
9487
9488 Py_INCREF(Py_None); resultobj = Py_None;
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9496 PyObject *resultobj;
9497 otk::Style *arg1 = (otk::Style *) 0 ;
9498 otk::BColor *result;
9499 PyObject * obj0 = 0 ;
9500
9501 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9504
9505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9506 return resultobj;
9507 fail:
9508 return NULL;
9509 }
9510
9511
9512 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9513 PyObject *resultobj;
9514 otk::Style *arg1 = (otk::Style *) 0 ;
9515 otk::BColor *arg2 = (otk::BColor *) 0 ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518
9519 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 if (arg1) (arg1)->b_pic_focus = *arg2;
9523
9524 Py_INCREF(Py_None); resultobj = Py_None;
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9532 PyObject *resultobj;
9533 otk::Style *arg1 = (otk::Style *) 0 ;
9534 otk::BColor *result;
9535 PyObject * obj0 = 0 ;
9536
9537 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9540
9541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9549 PyObject *resultobj;
9550 otk::Style *arg1 = (otk::Style *) 0 ;
9551 otk::BColor *arg2 = (otk::BColor *) 0 ;
9552 PyObject * obj0 = 0 ;
9553 PyObject * obj1 = 0 ;
9554
9555 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9559
9560 Py_INCREF(Py_None); resultobj = Py_None;
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9568 PyObject *resultobj;
9569 otk::Style *arg1 = (otk::Style *) 0 ;
9570 otk::BColor *result;
9571 PyObject * obj0 = 0 ;
9572
9573 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9575 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9576
9577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9585 PyObject *resultobj;
9586 otk::Style *arg1 = (otk::Style *) 0 ;
9587 otk::BColor *arg2 = (otk::BColor *) 0 ;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9590
9591 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 if (arg1) (arg1)->border_color = *arg2;
9595
9596 Py_INCREF(Py_None); resultobj = Py_None;
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9604 PyObject *resultobj;
9605 otk::Style *arg1 = (otk::Style *) 0 ;
9606 otk::BColor *result;
9607 PyObject * obj0 = 0 ;
9608
9609 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 result = (otk::BColor *)& ((arg1)->border_color);
9612
9613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9621 PyObject *resultobj;
9622 otk::Style *arg1 = (otk::Style *) 0 ;
9623 otk::BFont *arg2 = (otk::BFont *) 0 ;
9624 PyObject * obj0 = 0 ;
9625 PyObject * obj1 = 0 ;
9626
9627 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9630 if (arg1) (arg1)->font = arg2;
9631
9632 Py_INCREF(Py_None); resultobj = Py_None;
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9640 PyObject *resultobj;
9641 otk::Style *arg1 = (otk::Style *) 0 ;
9642 otk::BFont *result;
9643 PyObject * obj0 = 0 ;
9644
9645 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 result = (otk::BFont *) ((arg1)->font);
9648
9649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9657 PyObject *resultobj;
9658 otk::Style *arg1 = (otk::Style *) 0 ;
9659 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662
9663 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9666 if (arg1) (arg1)->f_focus = *arg2;
9667
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9676 PyObject *resultobj;
9677 otk::Style *arg1 = (otk::Style *) 0 ;
9678 otk::BTexture *result;
9679 PyObject * obj0 = 0 ;
9680
9681 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9683 result = (otk::BTexture *)& ((arg1)->f_focus);
9684
9685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9693 PyObject *resultobj;
9694 otk::Style *arg1 = (otk::Style *) 0 ;
9695 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698
9699 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 if (arg1) (arg1)->f_unfocus = *arg2;
9703
9704 Py_INCREF(Py_None); resultobj = Py_None;
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9712 PyObject *resultobj;
9713 otk::Style *arg1 = (otk::Style *) 0 ;
9714 otk::BTexture *result;
9715 PyObject * obj0 = 0 ;
9716
9717 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9720
9721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9729 PyObject *resultobj;
9730 otk::Style *arg1 = (otk::Style *) 0 ;
9731 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9734
9735 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9738 if (arg1) (arg1)->t_focus = *arg2;
9739
9740 Py_INCREF(Py_None); resultobj = Py_None;
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9748 PyObject *resultobj;
9749 otk::Style *arg1 = (otk::Style *) 0 ;
9750 otk::BTexture *result;
9751 PyObject * obj0 = 0 ;
9752
9753 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9755 result = (otk::BTexture *)& ((arg1)->t_focus);
9756
9757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9765 PyObject *resultobj;
9766 otk::Style *arg1 = (otk::Style *) 0 ;
9767 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770
9771 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 if (arg1) (arg1)->t_unfocus = *arg2;
9775
9776 Py_INCREF(Py_None); resultobj = Py_None;
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9784 PyObject *resultobj;
9785 otk::Style *arg1 = (otk::Style *) 0 ;
9786 otk::BTexture *result;
9787 PyObject * obj0 = 0 ;
9788
9789 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9791 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9792
9793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9801 PyObject *resultobj;
9802 otk::Style *arg1 = (otk::Style *) 0 ;
9803 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806
9807 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 if (arg1) (arg1)->l_focus = *arg2;
9811
9812 Py_INCREF(Py_None); resultobj = Py_None;
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9820 PyObject *resultobj;
9821 otk::Style *arg1 = (otk::Style *) 0 ;
9822 otk::BTexture *result;
9823 PyObject * obj0 = 0 ;
9824
9825 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9827 result = (otk::BTexture *)& ((arg1)->l_focus);
9828
9829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9837 PyObject *resultobj;
9838 otk::Style *arg1 = (otk::Style *) 0 ;
9839 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9842
9843 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9846 if (arg1) (arg1)->l_unfocus = *arg2;
9847
9848 Py_INCREF(Py_None); resultobj = Py_None;
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9856 PyObject *resultobj;
9857 otk::Style *arg1 = (otk::Style *) 0 ;
9858 otk::BTexture *result;
9859 PyObject * obj0 = 0 ;
9860
9861 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9863 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9864
9865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9866 return resultobj;
9867 fail:
9868 return NULL;
9869 }
9870
9871
9872 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9873 PyObject *resultobj;
9874 otk::Style *arg1 = (otk::Style *) 0 ;
9875 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9876 PyObject * obj0 = 0 ;
9877 PyObject * obj1 = 0 ;
9878
9879 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9882 if (arg1) (arg1)->h_focus = *arg2;
9883
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9892 PyObject *resultobj;
9893 otk::Style *arg1 = (otk::Style *) 0 ;
9894 otk::BTexture *result;
9895 PyObject * obj0 = 0 ;
9896
9897 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9899 result = (otk::BTexture *)& ((arg1)->h_focus);
9900
9901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9902 return resultobj;
9903 fail:
9904 return NULL;
9905 }
9906
9907
9908 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9909 PyObject *resultobj;
9910 otk::Style *arg1 = (otk::Style *) 0 ;
9911 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914
9915 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 if (arg1) (arg1)->h_unfocus = *arg2;
9919
9920 Py_INCREF(Py_None); resultobj = Py_None;
9921 return resultobj;
9922 fail:
9923 return NULL;
9924 }
9925
9926
9927 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9928 PyObject *resultobj;
9929 otk::Style *arg1 = (otk::Style *) 0 ;
9930 otk::BTexture *result;
9931 PyObject * obj0 = 0 ;
9932
9933 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 result = (otk::BTexture *)& ((arg1)->h_unfocus);
9936
9937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9945 PyObject *resultobj;
9946 otk::Style *arg1 = (otk::Style *) 0 ;
9947 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950
9951 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 if (arg1) (arg1)->b_focus = *arg2;
9955
9956 Py_INCREF(Py_None); resultobj = Py_None;
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
9964 PyObject *resultobj;
9965 otk::Style *arg1 = (otk::Style *) 0 ;
9966 otk::BTexture *result;
9967 PyObject * obj0 = 0 ;
9968
9969 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 result = (otk::BTexture *)& ((arg1)->b_focus);
9972
9973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9974 return resultobj;
9975 fail:
9976 return NULL;
9977 }
9978
9979
9980 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
9981 PyObject *resultobj;
9982 otk::Style *arg1 = (otk::Style *) 0 ;
9983 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9986
9987 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 if (arg1) (arg1)->b_unfocus = *arg2;
9991
9992 Py_INCREF(Py_None); resultobj = Py_None;
9993 return resultobj;
9994 fail:
9995 return NULL;
9996 }
9997
9998
9999 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10000 PyObject *resultobj;
10001 otk::Style *arg1 = (otk::Style *) 0 ;
10002 otk::BTexture *result;
10003 PyObject * obj0 = 0 ;
10004
10005 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10008
10009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_Style_b_pressed_set(PyObject *self, PyObject *args) {
10017 PyObject *resultobj;
10018 otk::Style *arg1 = (otk::Style *) 0 ;
10019 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10022
10023 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_set",&obj0,&obj1)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 if (arg1) (arg1)->b_pressed = *arg2;
10027
10028 Py_INCREF(Py_None); resultobj = Py_None;
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject *_wrap_Style_b_pressed_get(PyObject *self, PyObject *args) {
10036 PyObject *resultobj;
10037 otk::Style *arg1 = (otk::Style *) 0 ;
10038 otk::BTexture *result;
10039 PyObject * obj0 = 0 ;
10040
10041 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_get",&obj0)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10043 result = (otk::BTexture *)& ((arg1)->b_pressed);
10044
10045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10053 PyObject *resultobj;
10054 otk::Style *arg1 = (otk::Style *) 0 ;
10055 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058
10059 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10062 if (arg1) (arg1)->b_pressed_focus = *arg2;
10063
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 return resultobj;
10066 fail:
10067 return NULL;
10068 }
10069
10070
10071 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10072 PyObject *resultobj;
10073 otk::Style *arg1 = (otk::Style *) 0 ;
10074 otk::BTexture *result;
10075 PyObject * obj0 = 0 ;
10076
10077 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10080
10081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10089 PyObject *resultobj;
10090 otk::Style *arg1 = (otk::Style *) 0 ;
10091 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094
10095 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10098 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10099
10100 Py_INCREF(Py_None); resultobj = Py_None;
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10108 PyObject *resultobj;
10109 otk::Style *arg1 = (otk::Style *) 0 ;
10110 otk::BTexture *result;
10111 PyObject * obj0 = 0 ;
10112
10113 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10115 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10116
10117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10118 return resultobj;
10119 fail:
10120 return NULL;
10121 }
10122
10123
10124 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10125 PyObject *resultobj;
10126 otk::Style *arg1 = (otk::Style *) 0 ;
10127 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130
10131 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 if (arg1) (arg1)->g_focus = *arg2;
10135
10136 Py_INCREF(Py_None); resultobj = Py_None;
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10144 PyObject *resultobj;
10145 otk::Style *arg1 = (otk::Style *) 0 ;
10146 otk::BTexture *result;
10147 PyObject * obj0 = 0 ;
10148
10149 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10151 result = (otk::BTexture *)& ((arg1)->g_focus);
10152
10153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10154 return resultobj;
10155 fail:
10156 return NULL;
10157 }
10158
10159
10160 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10161 PyObject *resultobj;
10162 otk::Style *arg1 = (otk::Style *) 0 ;
10163 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166
10167 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 if (arg1) (arg1)->g_unfocus = *arg2;
10171
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10180 PyObject *resultobj;
10181 otk::Style *arg1 = (otk::Style *) 0 ;
10182 otk::BTexture *result;
10183 PyObject * obj0 = 0 ;
10184
10185 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10187 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10188
10189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10197 PyObject *resultobj;
10198 otk::Style *arg1 = (otk::Style *) 0 ;
10199 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
10202
10203 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 if (arg1) (arg1)->close_button = *arg2;
10207
10208 Py_INCREF(Py_None); resultobj = Py_None;
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10216 PyObject *resultobj;
10217 otk::Style *arg1 = (otk::Style *) 0 ;
10218 otk::PixmapMask *result;
10219 PyObject * obj0 = 0 ;
10220
10221 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10223 result = (otk::PixmapMask *)& ((arg1)->close_button);
10224
10225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10226 return resultobj;
10227 fail:
10228 return NULL;
10229 }
10230
10231
10232 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10233 PyObject *resultobj;
10234 otk::Style *arg1 = (otk::Style *) 0 ;
10235 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238
10239 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 if (arg1) (arg1)->max_button = *arg2;
10243
10244 Py_INCREF(Py_None); resultobj = Py_None;
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10252 PyObject *resultobj;
10253 otk::Style *arg1 = (otk::Style *) 0 ;
10254 otk::PixmapMask *result;
10255 PyObject * obj0 = 0 ;
10256
10257 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 result = (otk::PixmapMask *)& ((arg1)->max_button);
10260
10261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10269 PyObject *resultobj;
10270 otk::Style *arg1 = (otk::Style *) 0 ;
10271 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274
10275 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 if (arg1) (arg1)->icon_button = *arg2;
10279
10280 Py_INCREF(Py_None); resultobj = Py_None;
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10288 PyObject *resultobj;
10289 otk::Style *arg1 = (otk::Style *) 0 ;
10290 otk::PixmapMask *result;
10291 PyObject * obj0 = 0 ;
10292
10293 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10295 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10296
10297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10305 PyObject *resultobj;
10306 otk::Style *arg1 = (otk::Style *) 0 ;
10307 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310
10311 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 if (arg1) (arg1)->stick_button = *arg2;
10315
10316 Py_INCREF(Py_None); resultobj = Py_None;
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10324 PyObject *resultobj;
10325 otk::Style *arg1 = (otk::Style *) 0 ;
10326 otk::PixmapMask *result;
10327 PyObject * obj0 = 0 ;
10328
10329 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10332
10333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10341 PyObject *resultobj;
10342 otk::Style *arg1 = (otk::Style *) 0 ;
10343 int arg2 ;
10344 PyObject * obj0 = 0 ;
10345
10346 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10348 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10349
10350 Py_INCREF(Py_None); resultobj = Py_None;
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10358 PyObject *resultobj;
10359 otk::Style *arg1 = (otk::Style *) 0 ;
10360 int result;
10361 PyObject * obj0 = 0 ;
10362
10363 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 result = (int) ((arg1)->justify);
10366
10367 resultobj = PyInt_FromLong((long)result);
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10375 PyObject *resultobj;
10376 otk::Style *arg1 = (otk::Style *) 0 ;
10377 int arg2 ;
10378 PyObject * obj0 = 0 ;
10379
10380 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10383
10384 Py_INCREF(Py_None); resultobj = Py_None;
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10392 PyObject *resultobj;
10393 otk::Style *arg1 = (otk::Style *) 0 ;
10394 int result;
10395 PyObject * obj0 = 0 ;
10396
10397 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10399 result = (int) ((arg1)->bullet_type);
10400
10401 resultobj = PyInt_FromLong((long)result);
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10409 PyObject *resultobj;
10410 otk::Style *arg1 = (otk::Style *) 0 ;
10411 unsigned int arg2 ;
10412 PyObject * obj0 = 0 ;
10413 PyObject * obj1 = 0 ;
10414
10415 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10417 arg2 = (unsigned int) PyInt_AsLong(obj1);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 if (arg1) (arg1)->handle_width = arg2;
10420
10421 Py_INCREF(Py_None); resultobj = Py_None;
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10429 PyObject *resultobj;
10430 otk::Style *arg1 = (otk::Style *) 0 ;
10431 unsigned int result;
10432 PyObject * obj0 = 0 ;
10433
10434 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 result = (unsigned int) ((arg1)->handle_width);
10437
10438 resultobj = PyInt_FromLong((long)result);
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10446 PyObject *resultobj;
10447 otk::Style *arg1 = (otk::Style *) 0 ;
10448 unsigned int arg2 ;
10449 PyObject * obj0 = 0 ;
10450 PyObject * obj1 = 0 ;
10451
10452 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10454 arg2 = (unsigned int) PyInt_AsLong(obj1);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 if (arg1) (arg1)->bevel_width = arg2;
10457
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10466 PyObject *resultobj;
10467 otk::Style *arg1 = (otk::Style *) 0 ;
10468 unsigned int result;
10469 PyObject * obj0 = 0 ;
10470
10471 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10473 result = (unsigned int) ((arg1)->bevel_width);
10474
10475 resultobj = PyInt_FromLong((long)result);
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10483 PyObject *resultobj;
10484 otk::Style *arg1 = (otk::Style *) 0 ;
10485 unsigned int arg2 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488
10489 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 arg2 = (unsigned int) PyInt_AsLong(obj1);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 if (arg1) (arg1)->frame_width = arg2;
10494
10495 Py_INCREF(Py_None); resultobj = Py_None;
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10503 PyObject *resultobj;
10504 otk::Style *arg1 = (otk::Style *) 0 ;
10505 unsigned int result;
10506 PyObject * obj0 = 0 ;
10507
10508 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10510 result = (unsigned int) ((arg1)->frame_width);
10511
10512 resultobj = PyInt_FromLong((long)result);
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10520 PyObject *resultobj;
10521 otk::Style *arg1 = (otk::Style *) 0 ;
10522 unsigned int arg2 ;
10523 PyObject * obj0 = 0 ;
10524 PyObject * obj1 = 0 ;
10525
10526 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10528 arg2 = (unsigned int) PyInt_AsLong(obj1);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 if (arg1) (arg1)->border_width = arg2;
10531
10532 Py_INCREF(Py_None); resultobj = Py_None;
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10540 PyObject *resultobj;
10541 otk::Style *arg1 = (otk::Style *) 0 ;
10542 unsigned int result;
10543 PyObject * obj0 = 0 ;
10544
10545 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10547 result = (unsigned int) ((arg1)->border_width);
10548
10549 resultobj = PyInt_FromLong((long)result);
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10557 PyObject *resultobj;
10558 otk::Style *arg1 = (otk::Style *) 0 ;
10559 unsigned int arg2 ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562
10563 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10565 arg2 = (unsigned int) PyInt_AsLong(obj1);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 if (arg1) (arg1)->screen_number = arg2;
10568
10569 Py_INCREF(Py_None); resultobj = Py_None;
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10577 PyObject *resultobj;
10578 otk::Style *arg1 = (otk::Style *) 0 ;
10579 unsigned int result;
10580 PyObject * obj0 = 0 ;
10581
10582 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10584 result = (unsigned int) ((arg1)->screen_number);
10585
10586 resultobj = PyInt_FromLong((long)result);
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10594 PyObject *resultobj;
10595 otk::Style *arg1 = (otk::Style *) 0 ;
10596 bool arg2 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599
10600 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 arg2 = (bool) PyInt_AsLong(obj1);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 if (arg1) (arg1)->shadow_fonts = arg2;
10605
10606 Py_INCREF(Py_None); resultobj = Py_None;
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10614 PyObject *resultobj;
10615 otk::Style *arg1 = (otk::Style *) 0 ;
10616 bool result;
10617 PyObject * obj0 = 0 ;
10618
10619 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10621 result = (bool) ((arg1)->shadow_fonts);
10622
10623 resultobj = PyInt_FromLong((long)result);
10624 return resultobj;
10625 fail:
10626 return NULL;
10627 }
10628
10629
10630 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10631 PyObject *resultobj;
10632 otk::Style *arg1 = (otk::Style *) 0 ;
10633 bool arg2 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636
10637 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 arg2 = (bool) PyInt_AsLong(obj1);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 if (arg1) (arg1)->aa_fonts = arg2;
10642
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10651 PyObject *resultobj;
10652 otk::Style *arg1 = (otk::Style *) 0 ;
10653 bool result;
10654 PyObject * obj0 = 0 ;
10655
10656 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10658 result = (bool) ((arg1)->aa_fonts);
10659
10660 resultobj = PyInt_FromLong((long)result);
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10668 PyObject *resultobj;
10669 otk::Style *result;
10670
10671 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10672 result = (otk::Style *)new otk::Style();
10673
10674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10682 PyObject *resultobj;
10683 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10684 otk::Style *result;
10685 PyObject * obj0 = 0 ;
10686
10687 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 result = (otk::Style *)new otk::Style(arg1);
10690
10691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10699 int argc;
10700 PyObject *argv[2];
10701 int ii;
10702
10703 argc = PyObject_Length(args);
10704 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10705 argv[ii] = PyTuple_GetItem(args,ii);
10706 }
10707 if (argc == 0) {
10708 return _wrap_new_Style__SWIG_0(self,args);
10709 }
10710 if (argc == 1) {
10711 int _v;
10712 {
10713 void *ptr;
10714 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10715 _v = 0;
10716 PyErr_Clear();
10717 }else {
10718 _v = 1;
10719 }
10720 }
10721 if (_v) {
10722 return _wrap_new_Style__SWIG_1(self,args);
10723 }
10724 }
10725
10726 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10732 PyObject *resultobj;
10733 otk::Style *arg1 = (otk::Style *) 0 ;
10734 PyObject * obj0 = 0 ;
10735
10736 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10738 delete arg1;
10739
10740 Py_INCREF(Py_None); resultobj = Py_None;
10741 return resultobj;
10742 fail:
10743 return NULL;
10744 }
10745
10746
10747 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10748 PyObject *resultobj;
10749 otk::Style *arg1 = (otk::Style *) 0 ;
10750 std::string *arg2 = 0 ;
10751 otk::PixmapMask *arg3 = 0 ;
10752 otk::Configuration *arg4 = 0 ;
10753 std::string temp2 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 PyObject * obj2 = 0 ;
10757 PyObject * obj3 = 0 ;
10758
10759 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10761 {
10762 if (PyString_Check(obj1)) {
10763 temp2 = std::string(PyString_AsString(obj1));
10764 arg2 = &temp2;
10765 }else {
10766 SWIG_exception(SWIG_TypeError, "string expected");
10767 }
10768 }
10769 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 if (arg3 == NULL) {
10771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10772 }
10773 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10774 if (arg4 == NULL) {
10775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10776 }
10777 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10778
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10787 PyObject *resultobj;
10788 otk::Style *arg1 = (otk::Style *) 0 ;
10789 std::string *arg2 = 0 ;
10790 std::string *arg3 = 0 ;
10791 otk::Configuration *arg4 = 0 ;
10792 bool arg5 = (bool) false ;
10793 otk::BTexture result;
10794 std::string temp2 ;
10795 std::string temp3 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 PyObject * obj3 = 0 ;
10800 PyObject * obj4 = 0 ;
10801
10802 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 if (PyString_Check(obj1)) {
10806 temp2 = std::string(PyString_AsString(obj1));
10807 arg2 = &temp2;
10808 }else {
10809 SWIG_exception(SWIG_TypeError, "string expected");
10810 }
10811 }
10812 {
10813 if (PyString_Check(obj2)) {
10814 temp3 = std::string(PyString_AsString(obj2));
10815 arg3 = &temp3;
10816 }else {
10817 SWIG_exception(SWIG_TypeError, "string expected");
10818 }
10819 }
10820 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10821 if (arg4 == NULL) {
10822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10823 }
10824 if (obj4) {
10825 arg5 = (bool) PyInt_AsLong(obj4);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10829
10830 {
10831 otk::BTexture * resultptr;
10832 resultptr = new otk::BTexture((otk::BTexture &) result);
10833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10834 }
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10842 PyObject *resultobj;
10843 otk::Style *arg1 = (otk::Style *) 0 ;
10844 std::string *arg2 = 0 ;
10845 std::string *arg3 = 0 ;
10846 otk::Configuration *arg4 = 0 ;
10847 otk::BColor result;
10848 std::string temp2 ;
10849 std::string temp3 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
10853 PyObject * obj3 = 0 ;
10854
10855 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10857 {
10858 if (PyString_Check(obj1)) {
10859 temp2 = std::string(PyString_AsString(obj1));
10860 arg2 = &temp2;
10861 }else {
10862 SWIG_exception(SWIG_TypeError, "string expected");
10863 }
10864 }
10865 {
10866 if (PyString_Check(obj2)) {
10867 temp3 = std::string(PyString_AsString(obj2));
10868 arg3 = &temp3;
10869 }else {
10870 SWIG_exception(SWIG_TypeError, "string expected");
10871 }
10872 }
10873 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10874 if (arg4 == NULL) {
10875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10876 }
10877 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10878
10879 {
10880 otk::BColor * resultptr;
10881 resultptr = new otk::BColor((otk::BColor &) result);
10882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10883 }
10884 return resultobj;
10885 fail:
10886 return NULL;
10887 }
10888
10889
10890 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10891 PyObject *resultobj;
10892 otk::Style *arg1 = (otk::Style *) 0 ;
10893 std::string *arg2 = 0 ;
10894 otk::Configuration *arg3 = 0 ;
10895 otk::BFont *result;
10896 std::string temp2 ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 PyObject * obj2 = 0 ;
10900
10901 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 {
10904 if (PyString_Check(obj1)) {
10905 temp2 = std::string(PyString_AsString(obj1));
10906 arg2 = &temp2;
10907 }else {
10908 SWIG_exception(SWIG_TypeError, "string expected");
10909 }
10910 }
10911 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 if (arg3 == NULL) {
10913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10914 }
10915 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10916
10917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10925 PyObject *resultobj;
10926 otk::Style *arg1 = (otk::Style *) 0 ;
10927 otk::Configuration *arg2 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930
10931 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10934 if (arg2 == NULL) {
10935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10936 }
10937 (arg1)->load((otk::Configuration const &)*arg2);
10938
10939 Py_INCREF(Py_None); resultobj = Py_None;
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
10947 PyObject *resultobj;
10948 otk::Style *arg1 = (otk::Style *) 0 ;
10949 otk::BColor *result;
10950 PyObject * obj0 = 0 ;
10951
10952 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
10953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10954 result = (otk::BColor *)(arg1)->getTextFocus();
10955
10956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
10964 PyObject *resultobj;
10965 otk::Style *arg1 = (otk::Style *) 0 ;
10966 otk::BColor *result;
10967 PyObject * obj0 = 0 ;
10968
10969 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 result = (otk::BColor *)(arg1)->getTextUnfocus();
10972
10973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
10981 PyObject *resultobj;
10982 otk::Style *arg1 = (otk::Style *) 0 ;
10983 otk::BColor *result;
10984 PyObject * obj0 = 0 ;
10985
10986 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 result = (otk::BColor *)(arg1)->getButtonPicFocus();
10989
10990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10991 return resultobj;
10992 fail:
10993 return NULL;
10994 }
10995
10996
10997 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
10998 PyObject *resultobj;
10999 otk::Style *arg1 = (otk::Style *) 0 ;
11000 otk::BColor *result;
11001 PyObject * obj0 = 0 ;
11002
11003 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11006
11007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11015 PyObject *resultobj;
11016 otk::Style *arg1 = (otk::Style *) 0 ;
11017 otk::BTexture *result;
11018 PyObject * obj0 = 0 ;
11019
11020 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 result = (otk::BTexture *)(arg1)->getTitleFocus();
11023
11024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11032 PyObject *resultobj;
11033 otk::Style *arg1 = (otk::Style *) 0 ;
11034 otk::BTexture *result;
11035 PyObject * obj0 = 0 ;
11036
11037 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11040
11041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11042 return resultobj;
11043 fail:
11044 return NULL;
11045 }
11046
11047
11048 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11049 PyObject *resultobj;
11050 otk::Style *arg1 = (otk::Style *) 0 ;
11051 otk::BTexture *result;
11052 PyObject * obj0 = 0 ;
11053
11054 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11056 result = (otk::BTexture *)(arg1)->getLabelFocus();
11057
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11066 PyObject *resultobj;
11067 otk::Style *arg1 = (otk::Style *) 0 ;
11068 otk::BTexture *result;
11069 PyObject * obj0 = 0 ;
11070
11071 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11073 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11074
11075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11083 PyObject *resultobj;
11084 otk::Style *arg1 = (otk::Style *) 0 ;
11085 otk::BTexture *result;
11086 PyObject * obj0 = 0 ;
11087
11088 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11090 result = (otk::BTexture *)(arg1)->getHandleFocus();
11091
11092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11100 PyObject *resultobj;
11101 otk::Style *arg1 = (otk::Style *) 0 ;
11102 otk::BTexture *result;
11103 PyObject * obj0 = 0 ;
11104
11105 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11108
11109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11117 PyObject *resultobj;
11118 otk::Style *arg1 = (otk::Style *) 0 ;
11119 otk::BTexture *result;
11120 PyObject * obj0 = 0 ;
11121
11122 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11124 result = (otk::BTexture *)(arg1)->getButtonFocus();
11125
11126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11134 PyObject *resultobj;
11135 otk::Style *arg1 = (otk::Style *) 0 ;
11136 otk::BTexture *result;
11137 PyObject * obj0 = 0 ;
11138
11139 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11142
11143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11151 PyObject *resultobj;
11152 otk::Style *arg1 = (otk::Style *) 0 ;
11153 otk::BTexture *result;
11154 PyObject * obj0 = 0 ;
11155
11156 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11159
11160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11161 return resultobj;
11162 fail:
11163 return NULL;
11164 }
11165
11166
11167 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11168 PyObject *resultobj;
11169 otk::Style *arg1 = (otk::Style *) 0 ;
11170 otk::BTexture *result;
11171 PyObject * obj0 = 0 ;
11172
11173 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11176
11177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11185 PyObject *resultobj;
11186 otk::Style *arg1 = (otk::Style *) 0 ;
11187 otk::BTexture *result;
11188 PyObject * obj0 = 0 ;
11189
11190 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 result = (otk::BTexture *)(arg1)->getGripFocus();
11193
11194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11202 PyObject *resultobj;
11203 otk::Style *arg1 = (otk::Style *) 0 ;
11204 otk::BTexture *result;
11205 PyObject * obj0 = 0 ;
11206
11207 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11209 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11210
11211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11219 PyObject *resultobj;
11220 otk::Style *arg1 = (otk::Style *) 0 ;
11221 unsigned int result;
11222 PyObject * obj0 = 0 ;
11223
11224 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11226 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11227
11228 resultobj = PyInt_FromLong((long)result);
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11236 PyObject *resultobj;
11237 otk::Style *arg1 = (otk::Style *) 0 ;
11238 unsigned int result;
11239 PyObject * obj0 = 0 ;
11240
11241 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11243 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11244
11245 resultobj = PyInt_FromLong((long)result);
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11253 PyObject *resultobj;
11254 otk::Style *arg1 = (otk::Style *) 0 ;
11255 unsigned int result;
11256 PyObject * obj0 = 0 ;
11257
11258 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11261
11262 resultobj = PyInt_FromLong((long)result);
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11270 PyObject *resultobj;
11271 otk::Style *arg1 = (otk::Style *) 0 ;
11272 unsigned int result;
11273 PyObject * obj0 = 0 ;
11274
11275 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11278
11279 resultobj = PyInt_FromLong((long)result);
11280 return resultobj;
11281 fail:
11282 return NULL;
11283 }
11284
11285
11286 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11287 PyObject *resultobj;
11288 otk::Style *arg1 = (otk::Style *) 0 ;
11289 otk::BFont *result;
11290 PyObject * obj0 = 0 ;
11291
11292 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11295
11296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11304 PyObject *resultobj;
11305 otk::Style *arg1 = (otk::Style *) 0 ;
11306 bool arg2 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309
11310 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 arg2 = (bool) PyInt_AsLong(obj1);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 (arg1)->setShadowFonts(arg2);
11315
11316 Py_INCREF(Py_None); resultobj = Py_None;
11317 return resultobj;
11318 fail:
11319 return NULL;
11320 }
11321
11322
11323 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11324 PyObject *resultobj;
11325 otk::Style *arg1 = (otk::Style *) 0 ;
11326 bool result;
11327 PyObject * obj0 = 0 ;
11328
11329 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11332
11333 resultobj = PyInt_FromLong((long)result);
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11341 PyObject *resultobj;
11342 otk::Style *arg1 = (otk::Style *) 0 ;
11343 bool arg2 ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346
11347 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11349 arg2 = (bool) PyInt_AsLong(obj1);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 (arg1)->setAAFonts(arg2);
11352
11353 Py_INCREF(Py_None); resultobj = Py_None;
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11361 PyObject *resultobj;
11362 otk::Style *arg1 = (otk::Style *) 0 ;
11363 bool result;
11364 PyObject * obj0 = 0 ;
11365
11366 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11369
11370 resultobj = PyInt_FromLong((long)result);
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11378 PyObject *resultobj;
11379 otk::Style *arg1 = (otk::Style *) 0 ;
11380 int result;
11381 PyObject * obj0 = 0 ;
11382
11383 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 result = (int)(arg1)->textJustify();
11386
11387 resultobj = PyInt_FromLong((long)result);
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11395 PyObject *resultobj;
11396 otk::Style *arg1 = (otk::Style *) 0 ;
11397 int result;
11398 PyObject * obj0 = 0 ;
11399
11400 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11402 result = (int)(arg1)->bulletType();
11403
11404 resultobj = PyInt_FromLong((long)result);
11405 return resultobj;
11406 fail:
11407 return NULL;
11408 }
11409
11410
11411 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11412 PyObject *resultobj;
11413 otk::Style *arg1 = (otk::Style *) 0 ;
11414 otk::BColor *result;
11415 PyObject * obj0 = 0 ;
11416
11417 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11419 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11420
11421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11429 PyObject *resultobj;
11430 otk::Style *arg1 = (otk::Style *) 0 ;
11431 otk::BTexture *result;
11432 PyObject * obj0 = 0 ;
11433
11434 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11436 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11437
11438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11446 PyObject *resultobj;
11447 otk::Style *arg1 = (otk::Style *) 0 ;
11448 otk::BTexture *result;
11449 PyObject * obj0 = 0 ;
11450
11451 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11453 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11454
11455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11463 PyObject *resultobj;
11464 otk::Style *arg1 = (otk::Style *) 0 ;
11465 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468
11469 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11472 (arg1)->setImageControl(arg2);
11473
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11482 PyObject *resultobj;
11483 otk::Style *arg1 = (otk::Style *) 0 ;
11484 unsigned int result;
11485 PyObject * obj0 = 0 ;
11486
11487 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 result = (unsigned int)(arg1)->getScreen();
11490
11491 resultobj = PyInt_FromLong((long)result);
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11499 PyObject *obj;
11500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11501 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11502 Py_INCREF(obj);
11503 return Py_BuildValue((char *)"");
11504 }
11505 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11506 PyObject *resultobj;
11507 unsigned int arg1 = (unsigned int) ~(0u) ;
11508 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11509 otk::BTexture *result;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11512
11513 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11514 if (obj0) {
11515 arg1 = (unsigned int) PyInt_AsLong(obj0);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 if (obj1) {
11519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11520 }
11521 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11522
11523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11531 PyObject *resultobj;
11532 std::string *arg1 = 0 ;
11533 unsigned int arg2 = (unsigned int) ~(0u) ;
11534 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11535 otk::BTexture *result;
11536 std::string temp1 ;
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 PyObject * obj2 = 0 ;
11540
11541 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11542 {
11543 if (PyString_Check(obj0)) {
11544 temp1 = std::string(PyString_AsString(obj0));
11545 arg1 = &temp1;
11546 }else {
11547 SWIG_exception(SWIG_TypeError, "string expected");
11548 }
11549 }
11550 if (obj1) {
11551 arg2 = (unsigned int) PyInt_AsLong(obj1);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 if (obj2) {
11555 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11556 }
11557 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11558
11559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11567 int argc;
11568 PyObject *argv[4];
11569 int ii;
11570
11571 argc = PyObject_Length(args);
11572 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11573 argv[ii] = PyTuple_GetItem(args,ii);
11574 }
11575 if ((argc >= 0) && (argc <= 2)) {
11576 int _v;
11577 if (argc <= 0) {
11578 return _wrap_new_BTexture__SWIG_0(self,args);
11579 }
11580 {
11581 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11582 }
11583 if (_v) {
11584 if (argc <= 1) {
11585 return _wrap_new_BTexture__SWIG_0(self,args);
11586 }
11587 {
11588 void *ptr;
11589 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11590 _v = 0;
11591 PyErr_Clear();
11592 }else {
11593 _v = 1;
11594 }
11595 }
11596 if (_v) {
11597 return _wrap_new_BTexture__SWIG_0(self,args);
11598 }
11599 }
11600 }
11601 if ((argc >= 1) && (argc <= 3)) {
11602 int _v;
11603 {
11604 _v = PyString_Check(argv[0]) ? 1 : 0;
11605 }
11606 if (_v) {
11607 if (argc <= 1) {
11608 return _wrap_new_BTexture__SWIG_1(self,args);
11609 }
11610 {
11611 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11612 }
11613 if (_v) {
11614 if (argc <= 2) {
11615 return _wrap_new_BTexture__SWIG_1(self,args);
11616 }
11617 {
11618 void *ptr;
11619 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11620 _v = 0;
11621 PyErr_Clear();
11622 }else {
11623 _v = 1;
11624 }
11625 }
11626 if (_v) {
11627 return _wrap_new_BTexture__SWIG_1(self,args);
11628 }
11629 }
11630 }
11631 }
11632
11633 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11634 return NULL;
11635 }
11636
11637
11638 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11639 PyObject *resultobj;
11640 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11641 otk::BColor *arg2 = 0 ;
11642 PyObject * obj0 = 0 ;
11643 PyObject * obj1 = 0 ;
11644
11645 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 if (arg2 == NULL) {
11649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11650 }
11651 (arg1)->setColor((otk::BColor const &)*arg2);
11652
11653 Py_INCREF(Py_None); resultobj = Py_None;
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11661 PyObject *resultobj;
11662 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11663 otk::BColor *arg2 = 0 ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11666
11667 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 if (arg2 == NULL) {
11671 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11672 }
11673 (arg1)->setColorTo((otk::BColor const &)*arg2);
11674
11675 Py_INCREF(Py_None); resultobj = Py_None;
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11683 PyObject *resultobj;
11684 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11685 otk::BColor *arg2 = 0 ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj1 = 0 ;
11688
11689 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 if (arg2 == NULL) {
11693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11694 }
11695 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11696
11697 Py_INCREF(Py_None); resultobj = Py_None;
11698 return resultobj;
11699 fail:
11700 return NULL;
11701 }
11702
11703
11704 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11705 PyObject *resultobj;
11706 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11707 otk::BColor *result;
11708 PyObject * obj0 = 0 ;
11709
11710 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11712 {
11713 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11714 result = (otk::BColor *) &_result_ref;
11715 }
11716
11717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11718 return resultobj;
11719 fail:
11720 return NULL;
11721 }
11722
11723
11724 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11725 PyObject *resultobj;
11726 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11727 otk::BColor *result;
11728 PyObject * obj0 = 0 ;
11729
11730 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11732 {
11733 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11734 result = (otk::BColor *) &_result_ref;
11735 }
11736
11737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11738 return resultobj;
11739 fail:
11740 return NULL;
11741 }
11742
11743
11744 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11745 PyObject *resultobj;
11746 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11747 otk::BColor *result;
11748 PyObject * obj0 = 0 ;
11749
11750 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11752 {
11753 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11754 result = (otk::BColor *) &_result_ref;
11755 }
11756
11757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11765 PyObject *resultobj;
11766 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11767 otk::BColor *result;
11768 PyObject * obj0 = 0 ;
11769
11770 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11772 {
11773 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11774 result = (otk::BColor *) &_result_ref;
11775 }
11776
11777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11785 PyObject *resultobj;
11786 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11787 otk::BColor *result;
11788 PyObject * obj0 = 0 ;
11789
11790 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11792 {
11793 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11794 result = (otk::BColor *) &_result_ref;
11795 }
11796
11797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11798 return resultobj;
11799 fail:
11800 return NULL;
11801 }
11802
11803
11804 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11805 PyObject *resultobj;
11806 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11807 unsigned long result;
11808 PyObject * obj0 = 0 ;
11809
11810 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11813
11814 resultobj = PyInt_FromLong((long)result);
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11822 PyObject *resultobj;
11823 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11824 unsigned long arg2 ;
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj1 = 0 ;
11827
11828 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 arg2 = (unsigned long) PyInt_AsLong(obj1);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 (arg1)->setTexture(arg2);
11833
11834 Py_INCREF(Py_None); resultobj = Py_None;
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11842 PyObject *resultobj;
11843 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11844 unsigned long arg2 ;
11845 PyObject * obj0 = 0 ;
11846 PyObject * obj1 = 0 ;
11847
11848 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 arg2 = (unsigned long) PyInt_AsLong(obj1);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 (arg1)->addTexture(arg2);
11853
11854 Py_INCREF(Py_None); resultobj = Py_None;
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11862 PyObject *resultobj;
11863 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11864 otk::BTexture *arg2 = 0 ;
11865 bool result;
11866 PyObject * obj0 = 0 ;
11867 PyObject * obj1 = 0 ;
11868
11869 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11872 if (arg2 == NULL) {
11873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11874 }
11875 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11876
11877 resultobj = PyInt_FromLong((long)result);
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11885 PyObject *resultobj;
11886 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11887 unsigned int result;
11888 PyObject * obj0 = 0 ;
11889
11890 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11892 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11893
11894 resultobj = PyInt_FromLong((long)result);
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11902 PyObject *resultobj;
11903 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11904 unsigned int arg2 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907
11908 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 arg2 = (unsigned int) PyInt_AsLong(obj1);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 (arg1)->setScreen(arg2);
11913
11914 Py_INCREF(Py_None); resultobj = Py_None;
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11922 PyObject *resultobj;
11923 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11924 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11927
11928 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11931 (arg1)->setImageControl(arg2);
11932
11933 Py_INCREF(Py_None); resultobj = Py_None;
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
11941 PyObject *resultobj;
11942 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11943 std::string *result;
11944 PyObject * obj0 = 0 ;
11945
11946 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11948 {
11949 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
11950 result = (std::string *) &_result_ref;
11951 }
11952
11953 {
11954 resultobj = PyString_FromString(result->c_str());
11955 }
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
11963 PyObject *resultobj;
11964 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11965 std::string *arg2 = 0 ;
11966 std::string temp2 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969
11970 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11972 {
11973 if (PyString_Check(obj1)) {
11974 temp2 = std::string(PyString_AsString(obj1));
11975 arg2 = &temp2;
11976 }else {
11977 SWIG_exception(SWIG_TypeError, "string expected");
11978 }
11979 }
11980 (arg1)->setDescription((std::string const &)*arg2);
11981
11982 Py_INCREF(Py_None); resultobj = Py_None;
11983 return resultobj;
11984 fail:
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
11990 PyObject *resultobj;
11991 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11992 unsigned int arg2 ;
11993 unsigned int arg3 ;
11994 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
11995 Pixmap result;
11996 Pixmap *argp4 ;
11997 PyObject * obj0 = 0 ;
11998 PyObject * obj1 = 0 ;
11999 PyObject * obj2 = 0 ;
12000 PyObject * obj3 = 0 ;
12001
12002 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12004 arg2 = (unsigned int) PyInt_AsLong(obj1);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 arg3 = (unsigned int) PyInt_AsLong(obj2);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 if (obj3) {
12009 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12010 arg4 = *argp4;
12011 }
12012 result = (arg1)->render(arg2,arg3,arg4);
12013
12014 {
12015 Pixmap * resultptr;
12016 resultptr = new Pixmap((Pixmap &) result);
12017 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12026 PyObject *resultobj;
12027 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12028 PyObject * obj0 = 0 ;
12029
12030 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12032 delete arg1;
12033
12034 Py_INCREF(Py_None); resultobj = Py_None;
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12042 PyObject *obj;
12043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12044 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12045 Py_INCREF(obj);
12046 return Py_BuildValue((char *)"");
12047 }
12048 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12049 PyObject *resultobj;
12050 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12051 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12052 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12053 otk::OBTimer *result;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 PyObject * obj2 = 0 ;
12057
12058 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12061 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12062 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12063
12064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12072 PyObject *resultobj;
12073 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12074 PyObject * obj0 = 0 ;
12075
12076 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12078 delete arg1;
12079
12080 Py_INCREF(Py_None); resultobj = Py_None;
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12088 PyObject *resultobj;
12089 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12090 PyObject * obj0 = 0 ;
12091
12092 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 (arg1)->fire();
12095
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12104 PyObject *resultobj;
12105 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12106 bool result;
12107 PyObject * obj0 = 0 ;
12108
12109 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12111 result = (bool)((otk::OBTimer const *)arg1)->timing();
12112
12113 resultobj = PyInt_FromLong((long)result);
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12121 PyObject *resultobj;
12122 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12123 bool result;
12124 PyObject * obj0 = 0 ;
12125
12126 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12129
12130 resultobj = PyInt_FromLong((long)result);
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12138 PyObject *resultobj;
12139 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12140 timeval *result;
12141 PyObject * obj0 = 0 ;
12142
12143 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12147 result = (timeval *) &_result_ref;
12148 }
12149
12150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12151 return resultobj;
12152 fail:
12153 return NULL;
12154 }
12155
12156
12157 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12158 PyObject *resultobj;
12159 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12160 timeval *result;
12161 PyObject * obj0 = 0 ;
12162
12163 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12165 {
12166 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12167 result = (timeval *) &_result_ref;
12168 }
12169
12170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12178 PyObject *resultobj;
12179 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12180 timeval *arg2 = 0 ;
12181 timeval result;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12184
12185 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12188 if (arg2 == NULL) {
12189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12190 }
12191 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12192
12193 {
12194 timeval * resultptr;
12195 resultptr = new timeval((timeval &) result);
12196 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12197 }
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12205 PyObject *resultobj;
12206 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12207 timeval *arg2 = 0 ;
12208 bool result;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211
12212 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 if (arg2 == NULL) {
12216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12217 }
12218 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12219
12220 resultobj = PyInt_FromLong((long)result);
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12228 PyObject *resultobj;
12229 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12230 timeval result;
12231 PyObject * obj0 = 0 ;
12232
12233 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12235 result = ((otk::OBTimer const *)arg1)->endTime();
12236
12237 {
12238 timeval * resultptr;
12239 resultptr = new timeval((timeval &) result);
12240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12241 }
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12249 PyObject *resultobj;
12250 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12251 bool arg2 ;
12252 PyObject * obj0 = 0 ;
12253 PyObject * obj1 = 0 ;
12254
12255 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 arg2 = (bool) PyInt_AsLong(obj1);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 (arg1)->setRecurring(arg2);
12260
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12269 PyObject *resultobj;
12270 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12271 long arg2 ;
12272 PyObject * obj0 = 0 ;
12273
12274 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12276 (arg1)->setTimeout(arg2);
12277
12278 Py_INCREF(Py_None); resultobj = Py_None;
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12286 PyObject *resultobj;
12287 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12288 timeval *arg2 = 0 ;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12291
12292 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 if (arg2 == NULL) {
12296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12297 }
12298 (arg1)->setTimeout((timeval const &)*arg2);
12299
12300 Py_INCREF(Py_None); resultobj = Py_None;
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12308 int argc;
12309 PyObject *argv[3];
12310 int ii;
12311
12312 argc = PyObject_Length(args);
12313 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12314 argv[ii] = PyTuple_GetItem(args,ii);
12315 }
12316 if (argc == 2) {
12317 int _v;
12318 {
12319 void *ptr;
12320 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12321 _v = 0;
12322 PyErr_Clear();
12323 }else {
12324 _v = 1;
12325 }
12326 }
12327 if (_v) {
12328 {
12329 void *ptr;
12330 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12331 _v = 0;
12332 PyErr_Clear();
12333 }else {
12334 _v = 1;
12335 }
12336 }
12337 if (_v) {
12338 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12339 }
12340 }
12341 }
12342 if (argc == 2) {
12343 int _v;
12344 {
12345 void *ptr;
12346 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12347 _v = 0;
12348 PyErr_Clear();
12349 }else {
12350 _v = 1;
12351 }
12352 }
12353 if (_v) {
12354 {
12355 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12356 }
12357 if (_v) {
12358 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12359 }
12360 }
12361 }
12362
12363 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12364 return NULL;
12365 }
12366
12367
12368 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12369 PyObject *resultobj;
12370 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12371 PyObject * obj0 = 0 ;
12372
12373 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12375 (arg1)->start();
12376
12377 Py_INCREF(Py_None); resultobj = Py_None;
12378 return resultobj;
12379 fail:
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12385 PyObject *resultobj;
12386 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12387 PyObject * obj0 = 0 ;
12388
12389 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12391 (arg1)->stop();
12392
12393 Py_INCREF(Py_None); resultobj = Py_None;
12394 return resultobj;
12395 fail:
12396 return NULL;
12397 }
12398
12399
12400 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12401 PyObject *obj;
12402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12403 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12404 Py_INCREF(obj);
12405 return Py_BuildValue((char *)"");
12406 }
12407 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12408 PyObject *resultobj;
12409 otk::OBTimerQueueManager *result;
12410
12411 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12412 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12413
12414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12422 PyObject *resultobj;
12423 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12424 PyObject * obj0 = 0 ;
12425
12426 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12428 delete arg1;
12429
12430 Py_INCREF(Py_None); resultobj = Py_None;
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12438 PyObject *resultobj;
12439 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12440 PyObject * obj0 = 0 ;
12441
12442 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12444 (arg1)->fire();
12445
12446 Py_INCREF(Py_None); resultobj = Py_None;
12447 return resultobj;
12448 fail:
12449 return NULL;
12450 }
12451
12452
12453 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12454 PyObject *resultobj;
12455 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12456 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459
12460 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12463 (arg1)->addTimer(arg2);
12464
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12473 PyObject *resultobj;
12474 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12475 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12476 PyObject * obj0 = 0 ;
12477 PyObject * obj1 = 0 ;
12478
12479 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 (arg1)->removeTimer(arg2);
12483
12484 Py_INCREF(Py_None); resultobj = Py_None;
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12492 PyObject *obj;
12493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12494 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12495 Py_INCREF(obj);
12496 return Py_BuildValue((char *)"");
12497 }
12498 static int _wrap_BSENTINEL_set(PyObject *_val) {
12499 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12500 return 1;
12501 }
12502
12503
12504 static PyObject *_wrap_BSENTINEL_get() {
12505 PyObject *pyobj;
12506
12507 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12508 return pyobj;
12509 }
12510
12511
12512 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12513 PyObject *resultobj;
12514 std::string *arg1 = 0 ;
12515 std::string result;
12516 std::string temp1 ;
12517 PyObject * obj0 = 0 ;
12518
12519 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12520 {
12521 if (PyString_Check(obj0)) {
12522 temp1 = std::string(PyString_AsString(obj0));
12523 arg1 = &temp1;
12524 }else {
12525 SWIG_exception(SWIG_TypeError, "string expected");
12526 }
12527 }
12528 result = otk::expandTilde((std::string const &)*arg1);
12529
12530 {
12531 resultobj = PyString_FromString((&result)->c_str());
12532 }
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12540 PyObject *resultobj;
12541 std::string *arg1 = 0 ;
12542 std::string *arg2 = 0 ;
12543 std::string temp1 ;
12544 std::string temp2 ;
12545 PyObject * obj0 = 0 ;
12546 PyObject * obj1 = 0 ;
12547
12548 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12549 {
12550 if (PyString_Check(obj0)) {
12551 temp1 = std::string(PyString_AsString(obj0));
12552 arg1 = &temp1;
12553 }else {
12554 SWIG_exception(SWIG_TypeError, "string expected");
12555 }
12556 }
12557 {
12558 if (PyString_Check(obj1)) {
12559 temp2 = std::string(PyString_AsString(obj1));
12560 arg2 = &temp2;
12561 }else {
12562 SWIG_exception(SWIG_TypeError, "string expected");
12563 }
12564 }
12565 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12566
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12575 PyObject *resultobj;
12576 Display *arg1 = (Display *) 0 ;
12577 XTextProperty *arg2 = 0 ;
12578 std::string result;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581
12582 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 if (arg2 == NULL) {
12586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12587 }
12588 result = otk::textPropertyToString(arg1,*arg2);
12589
12590 {
12591 resultobj = PyString_FromString((&result)->c_str());
12592 }
12593 return resultobj;
12594 fail:
12595 return NULL;
12596 }
12597
12598
12599 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12600 PyObject *resultobj;
12601 unsigned long arg1 ;
12602 std::string result;
12603 PyObject * obj0 = 0 ;
12604
12605 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12606 arg1 = (unsigned long) PyInt_AsLong(obj0);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 result = otk::itostring(arg1);
12609
12610 {
12611 resultobj = PyString_FromString((&result)->c_str());
12612 }
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12620 PyObject *resultobj;
12621 long arg1 ;
12622 std::string result;
12623
12624 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12625 result = otk::itostring(arg1);
12626
12627 {
12628 resultobj = PyString_FromString((&result)->c_str());
12629 }
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12637 PyObject *resultobj;
12638 unsigned int arg1 ;
12639 std::string result;
12640 PyObject * obj0 = 0 ;
12641
12642 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12643 arg1 = (unsigned int) PyInt_AsLong(obj0);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 result = otk::itostring(arg1);
12646
12647 {
12648 resultobj = PyString_FromString((&result)->c_str());
12649 }
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12657 PyObject *resultobj;
12658 int arg1 ;
12659 std::string result;
12660
12661 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12662 result = otk::itostring(arg1);
12663
12664 {
12665 resultobj = PyString_FromString((&result)->c_str());
12666 }
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12674 PyObject *resultobj;
12675 std::string *arg1 = 0 ;
12676 std::string result;
12677 std::string temp1 ;
12678 PyObject * obj0 = 0 ;
12679
12680 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12681 {
12682 if (PyString_Check(obj0)) {
12683 temp1 = std::string(PyString_AsString(obj0));
12684 arg1 = &temp1;
12685 }else {
12686 SWIG_exception(SWIG_TypeError, "string expected");
12687 }
12688 }
12689 result = basename((std::string const &)*arg1);
12690
12691 {
12692 resultobj = PyString_FromString((&result)->c_str());
12693 }
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyMethodDef SwigMethods[] = {
12701 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12702 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12703 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12704 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12705 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12706 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12707 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12708 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12709 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12710 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12711 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12712 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12713 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12714 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12715 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12716 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12717 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12718 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12719 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12720 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12721 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12722 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12723 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12724 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12725 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12726 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12727 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12728 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12729 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12730 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12731 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12732 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12733 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12734 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12735 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12736 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12737 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12738 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12739 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12740 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12741 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12742 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12743 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12744 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12745 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12746 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12747 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12748 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12749 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12750 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12751 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12752 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12753 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12754 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12755 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12756 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12757 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12758 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12759 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12760 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12761 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12762 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12763 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12764 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12765 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12766 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12767 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12768 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12769 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12770 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12771 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12772 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12773 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12774 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12775 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12776 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12777 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12778 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12779 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12780 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12781 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12782 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12783 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12784 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12785 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12786 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12787 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12788 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12789 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12790 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12791 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12792 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12793 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12794 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12795 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12796 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12797 { (char *)"OtkWidget_unmanaged", _wrap_OtkWidget_unmanaged, METH_VARARGS },
12798 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12799 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12800 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12801 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12802 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12803 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12804 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12805 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12806 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12807 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12808 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12809 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12810 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12811 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12812 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12813 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12814 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12815 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12816 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12817 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12818 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12819 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12820 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12821 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12822 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12823 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12824 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12825 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12826 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12827 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12828 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12829 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12830 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12831 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12832 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12833 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12834 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12835 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12836 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12837 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12838 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12839 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12840 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12841 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12842 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12843 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12844 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12845 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12846 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12847 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12848 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12849 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12850 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12851 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12852 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12853 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12854 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12855 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12856 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12857 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12858 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12859 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12860 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12861 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12862 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12863 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12864 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12865 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12866 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12867 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12868 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12869 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12870 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12871 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12872 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12873 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12874 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12875 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12876 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12877 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12878 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12879 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12880 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12881 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12882 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12883 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12884 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
12885 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
12886 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
12887 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
12888 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
12889 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
12890 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
12891 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
12892 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
12893 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
12894 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
12895 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
12896 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
12897 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
12898 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
12899 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
12900 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
12901 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
12902 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
12903 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
12904 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
12905 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
12906 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
12907 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
12908 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
12909 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
12910 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
12911 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
12912 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
12913 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
12914 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
12915 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
12916 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
12917 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
12918 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
12919 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
12920 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
12921 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
12922 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
12923 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
12924 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
12925 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
12926 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
12927 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
12928 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
12929 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
12930 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
12931 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
12932 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
12933 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
12934 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
12935 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
12936 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
12937 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
12938 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
12939 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
12940 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
12941 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
12942 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
12943 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
12944 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
12945 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
12946 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
12947 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
12948 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
12949 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
12950 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
12951 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
12952 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
12953 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
12954 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
12955 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
12956 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
12957 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
12958 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
12959 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
12960 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
12961 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
12962 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
12963 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
12964 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
12965 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
12966 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
12967 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
12968 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
12969 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
12970 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
12971 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
12972 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
12973 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
12974 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
12975 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
12976 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
12977 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
12978 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
12979 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
12980 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
12981 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
12982 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
12983 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
12984 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
12985 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
12986 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
12987 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
12988 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
12989 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
12990 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
12991 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
12992 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
12993 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
12994 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
12995 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
12996 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
12997 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
12998 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
12999 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13000 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13001 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13002 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13003 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13004 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13005 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13006 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13007 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13008 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13009 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13010 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13011 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13012 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13013 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13014 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13015 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13016 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13017 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13018 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13019 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13020 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13021 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13022 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13023 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13024 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13025 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13026 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13027 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13028 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13029 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13030 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13031 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13032 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13033 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13034 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13035 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13036 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13037 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13038 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13039 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13040 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13041 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13042 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13043 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13044 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13045 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13046 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13047 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13048 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13049 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13050 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13051 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13052 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13053 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13054 { (char *)"Style_b_pressed_set", _wrap_Style_b_pressed_set, METH_VARARGS },
13055 { (char *)"Style_b_pressed_get", _wrap_Style_b_pressed_get, METH_VARARGS },
13056 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13057 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13058 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13059 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13060 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13061 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13062 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13063 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13064 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13065 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13066 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13067 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13068 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13069 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13070 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13071 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13072 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13073 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13074 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13075 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13076 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13077 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13078 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13079 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13080 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13081 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13082 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13083 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13084 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13085 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13086 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13087 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13088 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13089 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13090 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13091 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13092 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13093 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13094 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13095 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13096 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13097 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13098 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13099 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13100 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13101 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13102 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13103 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13104 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13105 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13106 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13107 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13108 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13109 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13110 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13111 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13112 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13113 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13114 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13115 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13116 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13117 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13118 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13119 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13120 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13121 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13122 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13123 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13124 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13125 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13126 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13127 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13128 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13129 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13130 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13131 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13132 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13133 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13134 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13135 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13136 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13137 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13138 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13139 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13140 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13141 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13142 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13143 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13144 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13145 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13146 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13147 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13148 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13149 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13150 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13151 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13152 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13153 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13154 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13155 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13156 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13157 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13158 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13159 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13160 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13161 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13162 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13163 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13164 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13165 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13166 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13167 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13168 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13169 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13170 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13171 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13172 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13173 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13174 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13175 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13176 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13177 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13178 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13179 { (char *)"basename", _wrap_basename, METH_VARARGS },
13180 { NULL, NULL }
13181 };
13182
13183
13184 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13185
13186 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13187 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13188 }
13189 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13190 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13191 }
13192 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13193 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13194 }
13195 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13196 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13197 }
13198 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13199 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13200 }
13201 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13202 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13203 }
13204 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13205 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13206 }
13207 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13208 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13209 }
13210 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13211 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13212 }
13213 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13214 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13215 }
13216 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13217 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13218 }
13219 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13220 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13221 }
13222 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13223 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13224 }
13225 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13226 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13227 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13228 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13229 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13230 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13231 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13232 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13233 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13234 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13235 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13236 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13237 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13238 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13239 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13240 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13241 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13242 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13243 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13244 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13245 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13246 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13247 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13248 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13249 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13250 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13251 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13252 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13253 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}};
13254 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}};
13255 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13256 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13257 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13258 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13259 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13260 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13261 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13262 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13263 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13264 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13265 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13266 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13267 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13268 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13269 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}};
13270 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13271 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13272 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13273 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13274 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13275 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13276 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13277 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13278 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}};
13279 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13280 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}};
13281 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13282 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13283 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13284 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13285 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13286 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13287 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13288 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13289 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13290 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13291 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13292 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13293 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13294 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13295 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13296 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13297 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13298 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13299 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13300 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13301 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13302 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13303 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13304 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13305 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13306 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13307 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13308 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13309 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13310
13311 static swig_type_info *swig_types_initial[] = {
13312 _swigt__p_otk__BGCCache,
13313 _swigt__p_otk__BColor,
13314 _swigt__p_otk__OBProperty__StringVect,
13315 _swigt__p_XFontStruct,
13316 _swigt__p_otk__Configuration,
13317 _swigt__p_otk__PixmapMask,
13318 _swigt__p_Atom,
13319 _swigt__p_otk__PointerAssassin,
13320 _swigt__p_otk__BImage,
13321 _swigt__p_otk__OBTimer,
13322 _swigt__p_otk__OtkWidget__OtkWidgetList,
13323 _swigt__p_bool,
13324 _swigt__p_otk__OBDisplay,
13325 _swigt__p_Display,
13326 _swigt__p_p_XColor,
13327 _swigt__p_XReparentEvent,
13328 _swigt__p_otk__BPen,
13329 _swigt__p_otk__BImageControl,
13330 _swigt__p_otk__OtkButton,
13331 _swigt__p_otk__Rect,
13332 _swigt__p_otk__Style,
13333 _swigt__p_XSelectionClearEvent,
13334 _swigt__p_Visual,
13335 _swigt__p_timeval,
13336 _swigt__p_int,
13337 _swigt__p_otk__Strut,
13338 _swigt__p_otk__OtkApplication,
13339 _swigt__p_XRectangle,
13340 _swigt__p_otk__OtkFocusWidget,
13341 _swigt__p_otk__OtkWidget,
13342 _swigt__p_Cursor,
13343 _swigt__p_Colormap,
13344 _swigt__p_XGravityEvent,
13345 _swigt__p_XVisibilityEvent,
13346 _swigt__p_XPropertyEvent,
13347 _swigt__p_Window,
13348 _swigt__p_otk__BGCCacheContext,
13349 _swigt__p_XCreateWindowEvent,
13350 _swigt__p_XDestroyWindowEvent,
13351 _swigt__p_XCirculateEvent,
13352 _swigt__p_XConfigureEvent,
13353 _swigt__p_otk__OBProperty,
13354 _swigt__p_long,
13355 _swigt__p_XTextProperty,
13356 _swigt__p_otk__OtkEventHandler,
13357 _swigt__p_XCirculateRequestEvent,
13358 _swigt__p_XConfigureRequestEvent,
13359 _swigt__p_XMapRequestEvent,
13360 _swigt__p_XResizeRequestEvent,
13361 _swigt__p_XSelectionRequestEvent,
13362 _swigt__otk__OBTimeoutHandler,
13363 _swigt__p_XftDraw,
13364 _swigt__p_otk__ScreenInfo,
13365 _swigt__p_otk__OtkFocusLabel,
13366 _swigt__p_otk__BTexture,
13367 _swigt__p_otk__OtkEventDispatcher,
13368 _swigt__p_otk__BFont,
13369 _swigt__p_otk__Point,
13370 _swigt__p_p_char,
13371 _swigt__p_XMotionEvent,
13372 _swigt__p_XButtonEvent,
13373 _swigt__p_XSelectionEvent,
13374 _swigt__p_Pixmap,
13375 _swigt__p_GC,
13376 _swigt__p_otk__OBTimerQueueManager,
13377 _swigt__p_otk__OtkAppWidget,
13378 _swigt__p_XKeyEvent,
13379 _swigt__p_unsigned_long,
13380 _swigt__p_XEvent,
13381 _swigt__p_p_unsigned_long,
13382 _swigt__p_std__string,
13383 _swigt__p_XCrossingEvent,
13384 _swigt__p_XMappingEvent,
13385 _swigt__p_otk__BGCCacheItem,
13386 _swigt__p_p_unsigned_int,
13387 _swigt__p_unsigned_int,
13388 _swigt__p_p_unsigned_char,
13389 _swigt__p_XClientMessageEvent,
13390 _swigt__p_XGraphicsExposeEvent,
13391 _swigt__p_XExposeEvent,
13392 _swigt__p_XFocusChangeEvent,
13393 _swigt__p_XNoExposeEvent,
13394 _swigt__p_XMapEvent,
13395 _swigt__p_XUnmapEvent,
13396 _swigt__p_XColormapEvent,
13397 0
13398 };
13399
13400
13401 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13402
13403 static swig_const_info swig_const_table[] = {
13404 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13405 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13406 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13407 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13408 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13409 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13410 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13411 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13412 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13413 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13414 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13415 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13416 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13417 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13418 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13419 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13420 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13421 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13422 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13423 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13424 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13425 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13426 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13427 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13428 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13429 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13430 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13431 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13432 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13433 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13434 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13435 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13436 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13437 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13438 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13439 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13440 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13441 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13442 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13443 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13444 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13445 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13446 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13447 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13448 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13449 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13450 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13451 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13452 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13453 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13454 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13455 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13456 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13457 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13458 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13459 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13460 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13461 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13462 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13463 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13464 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13465 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13466 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13467 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13468 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13469 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13470 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13471 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13472 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13473 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13474 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13475 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13476 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13477 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13478 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13479 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13480 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13481 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13482 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13483 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13484 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13485 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13486 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13487 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13488 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13489 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13490 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_floating", (long) otk::OBProperty::net_wm_state_floating, 0, 0, 0},
13491 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13492 { 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},
13493 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13494 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13495 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13496 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13497 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13498 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13499 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13500 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13501 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13502 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13503 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13504 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13505 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13506 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13507 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13508 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13509 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13510 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13511 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13512 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13513 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13514 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13515 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13516 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13517 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13518 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13519 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13520 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13521 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13522 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13523 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13524 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13525 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13526 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13527 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13528 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13529 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13530 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13531 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13532 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13533 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13534 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13535 {0}};
13536
13537 #ifdef __cplusplus
13538 }
13539 #endif
13540
13541 #ifdef __cplusplus
13542 extern "C"
13543 #endif
13544 SWIGEXPORT(void) SWIG_init(void) {
13545 static PyObject *SWIG_globals = 0;
13546 static int typeinit = 0;
13547 PyObject *m, *d;
13548 int i;
13549 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13550 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13551 d = PyModule_GetDict(m);
13552
13553 if (!typeinit) {
13554 for (i = 0; swig_types_initial[i]; i++) {
13555 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13556 }
13557 typeinit = 1;
13558 }
13559 SWIG_InstallConstants(d,swig_const_table);
13560
13561 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13562 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13563 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13564 }
13565
This page took 0.727728 seconds and 3 git commands to generate.