]> Dogcows Code - chaz/openbox/blob - otk/otk_wrap.cc
better support for gettext
[chaz/openbox] / otk / otk_wrap.cc
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021226-0459
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 inline SwigValueWrapper() : tt(0) { }
18 inline ~SwigValueWrapper() { if (tt) delete tt; }
19 inline SwigValueWrapper& operator=(const T& t) { tt = new T(t); return *this; }
20 inline operator T&() const { return *tt; }
21 inline T *operator&() { return tt; }
22 };
23 #endif
24
25
26 #include "Python.h"
27
28 /***********************************************************************
29 * common.swg
30 *
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
33 * external linkage.
34 *
35 * Author : David Beazley (beazley@cs.uchicago.edu)
36 *
37 * Copyright (c) 1999-2000, The University of Chicago
38 *
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
42
43 #include <string.h>
44
45 #if defined(_WIN32) || defined(__WIN32__)
46 # if defined(_MSC_VER)
47 # if defined(STATIC_LINKED)
48 # define SWIGEXPORT(a) a
49 # define SWIGIMPORT(a) extern a
50 # else
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
53 # endif
54 # else
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
58 # else
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
61 # endif
62 # endif
63 #else
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
66 #endif
67
68 #ifdef SWIG_GLOBAL
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
70 #else
71 #define SWIGRUNTIME(a) static a
72 #endif
73
74 #ifdef __cplusplus
75 extern "C" {
76 #endif
77
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
80
81 typedef struct swig_type_info {
82 const char *name;
83 swig_converter_func converter;
84 const char *str;
85 void *clientdata;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
89 } swig_type_info;
90
91 #ifdef SWIG_NOINCLUDE
92
93 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
94 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
95 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
96 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
97 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
98 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
99
100 #else
101
102 static swig_type_info *swig_type_list = 0;
103
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
107 {
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
110 tc = swig_type_list;
111 while (tc) {
112 if (strcmp(tc->name, ti->name) == 0) {
113 /* Already exists in the table. Just add additional types to the list */
114 if (tc->clientdata) ti->clientdata = tc->clientdata;
115 head = tc;
116 next = tc->next;
117 goto l1;
118 }
119 tc = tc->prev;
120 }
121 head = ti;
122 next = 0;
123
124 /* Place in list */
125 ti->prev = swig_type_list;
126 swig_type_list = ti;
127
128 /* Build linked lists */
129 l1:
130 ret = head;
131 tc = ti + 1;
132 /* Patch up the rest of the links */
133 while (tc->name) {
134 head->next = tc;
135 tc->prev = head;
136 head = tc;
137 tc++;
138 }
139 head->next = next;
140 return ret;
141 }
142
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
146 {
147 swig_type_info *s;
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
150 do {
151 if (strcmp(s->name,c) == 0) {
152 if (s == ty->next) return s;
153 /* Move s to the top of the linked list */
154 s->prev->next = s->next;
155 if (s->next) {
156 s->next->prev = s->prev;
157 }
158 /* Insert s as second element in the list */
159 s->next = ty->next;
160 if (ty->next) ty->next->prev = s;
161 ty->next = s;
162 return s;
163 }
164 s = s->next;
165 } while (s && (s != ty->next));
166 return 0;
167 }
168
169 /* Cast a pointer up an inheritance hierarchy */
170 SWIGRUNTIME(void *)
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
172 {
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
175 }
176
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
180 {
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
185 if (ty) lastty = ty;
186 }
187 return lastty;
188 }
189
190 /* Search for a swig_type_info structure */
191 SWIGRUNTIME(swig_type_info *)
192 SWIG_TypeQuery(const char *name) {
193 swig_type_info *ty = swig_type_list;
194 while (ty) {
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
197 ty = ty->prev;
198 }
199 return 0;
200 }
201
202 /* Set the clientdata field for a type */
203 SWIGRUNTIME(void)
204 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
205 swig_type_info *tc, *equiv;
206 if (ti->clientdata == clientdata) return;
207 ti->clientdata = clientdata;
208 equiv = ti->next;
209 while (equiv) {
210 if (!equiv->converter) {
211 tc = swig_type_list;
212 while (tc) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
215 tc = tc->prev;
216 }
217 }
218 equiv = equiv->next;
219 }
220 }
221 #endif
222
223 #ifdef __cplusplus
224 }
225
226 #endif
227
228 /***********************************************************************
229 * python.swg
230 *
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
233 * type checking.
234 *
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
237
238 #include "Python.h"
239
240 #ifdef __cplusplus
241 extern "C" {
242 #endif
243
244 #define SWIG_PY_INT 1
245 #define SWIG_PY_FLOAT 2
246 #define SWIG_PY_STRING 3
247 #define SWIG_PY_POINTER 4
248 #define SWIG_PY_BINARY 5
249
250 /* Flags for pointer conversion */
251
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
254
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
257
258 /* Constant information structure */
259 typedef struct swig_const_info {
260 int type;
261 char *name;
262 long lvalue;
263 double dvalue;
264 void *pvalue;
265 swig_type_info **ptype;
266 } swig_const_info;
267
268 #ifdef SWIG_NOINCLUDE
269
270 SWIGEXPORT(PyObject *) SWIG_newvarlink();
271 SWIGEXPORT(void) SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
272 SWIGEXPORT(int) SWIG_ConvertPtr(PyObject *, void **, swig_type_info *, int);
273 SWIGEXPORT(int) SWIG_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
274 SWIGEXPORT(char *) SWIG_PackData(char *c, void *, int);
275 SWIGEXPORT(char *) SWIG_UnpackData(char *c, void *, int);
276 SWIGEXPORT(PyObject *) SWIG_NewPointerObj(void *, swig_type_info *,int own);
277 SWIGEXPORT(PyObject *) SWIG_NewPackedObj(void *, int sz, swig_type_info *);
278 SWIGEXPORT(void) SWIG_InstallConstants(PyObject *d, swig_const_info constants[]);
279 #else
280
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
284
285 typedef struct swig_globalvar {
286 char *name; /* Name of global variable */
287 PyObject *(*get_attr)(void); /* Return the current value */
288 int (*set_attr)(PyObject *); /* Set the value */
289 struct swig_globalvar *next;
290 } swig_globalvar;
291
292 typedef struct swig_varlinkobject {
293 PyObject_HEAD
294 swig_globalvar *vars;
295 } swig_varlinkobject;
296
297 static PyObject *
298 swig_varlink_repr(swig_varlinkobject *v) {
299 v = v;
300 return PyString_FromString("<Global variables>");
301 }
302
303 static int
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
305 swig_globalvar *var;
306 flags = flags;
307 fprintf(fp,"Global variables { ");
308 for (var = v->vars; var; var=var->next) {
309 fprintf(fp,"%s", var->name);
310 if (var->next) fprintf(fp,", ");
311 }
312 fprintf(fp," }\n");
313 return 0;
314 }
315
316 static PyObject *
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
319 while (var) {
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
322 }
323 var = var->next;
324 }
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
326 return NULL;
327 }
328
329 static int
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
332 while (var) {
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
335 }
336 var = var->next;
337 }
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
339 return 1;
340 }
341
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
344 0,
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
347 0, /* Itemsize */
348 0, /* Deallocator */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
352 0, /* tp_compare */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
356 0, /* tp_hash */
357 };
358
359 /* Create a variable linking object for use later */
360 SWIGRUNTIME(PyObject *)
361 SWIG_newvarlink(void) {
362 swig_varlinkobject *result = 0;
363 result = PyMem_NEW(swig_varlinkobject,1);
364 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
365 result->ob_type = &varlinktype;
366 result->vars = 0;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
370 }
371
372 SWIGRUNTIME(void)
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
376 swig_globalvar *gv;
377 v= (swig_varlinkobject *) p;
378 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
379 gv->name = (char *) malloc(strlen(name)+1);
380 strcpy(gv->name,name);
381 gv->get_attr = get_attr;
382 gv->set_attr = set_attr;
383 gv->next = v->vars;
384 v->vars = gv;
385 }
386
387 /* Pack binary data into a string */
388 SWIGRUNTIME(char *)
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
391 int i;
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
395 uu = *u;
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
398 }
399 return c;
400 }
401
402 /* Unpack binary data from a string */
403 SWIGRUNTIME(char *)
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
406 register int d;
407 unsigned char *u = (unsigned char *) ptr;
408 int i;
409 for (i = 0; i < sz; i++, u++) {
410 d = *(c++);
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
415 d = *(c++);
416 if ((d >= '0') && (d <= '9'))
417 uu |= (d - '0');
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
420 *u = uu;
421 }
422 return c;
423 }
424
425 /* Convert a pointer value */
426 SWIGRUNTIME(int)
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
428 swig_type_info *tc;
429 char *c;
430 static PyObject *SWIG_this = 0;
431 int newref = 0;
432 PyObject *pyobj = 0;
433
434 if (!obj) return 0;
435 if (obj == Py_None) {
436 *ptr = 0;
437 return 0;
438 }
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
441 if (!SWIG_this)
442 SWIG_this = PyString_FromString("this");
443 pyobj = obj;
444 obj = PyObject_GetAttr(obj,SWIG_this);
445 newref = 1;
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
448 Py_DECREF(obj);
449 goto type_error;
450 }
451 }
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
455 goto cobject;
456 #else
457 if (!(PyString_Check(obj))) {
458 if (!SWIG_this)
459 SWIG_this = PyString_FromString("this");
460 pyobj = obj;
461 obj = PyObject_GetAttr(obj,SWIG_this);
462 newref = 1;
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
465 Py_DECREF(obj);
466 goto type_error;
467 }
468 }
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
471 if (*c != '_') {
472 *ptr = (void *) 0;
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
475 return 0;
476 } else {
477 if (newref) { Py_DECREF(obj); }
478 goto type_error;
479 }
480 }
481 c++;
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
484 #endif
485
486 #ifdef SWIG_COBJECT_TYPES
487 cobject:
488 #endif
489
490 if (ty) {
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
494 }
495
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
499 Py_DECREF(zero);
500 }
501 return 0;
502
503 type_error:
504 if (flags & SWIG_POINTER_EXCEPTION) {
505 if (ty) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
509 free((char *) temp);
510 } else {
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
512 }
513 }
514 return -1;
515 }
516
517 /* Convert a packed value value */
518 SWIGRUNTIME(int)
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
520 swig_type_info *tc;
521 char *c;
522
523 if ((!obj) || (!PyString_Check(obj))) goto type_error;
524 c = PyString_AsString(obj);
525 /* Pointer values must start with leading underscore */
526 if (*c != '_') goto type_error;
527 c++;
528 c = SWIG_UnpackData(c,ptr,sz);
529 if (ty) {
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
532 }
533 return 0;
534
535 type_error:
536
537 if (flags) {
538 if (ty) {
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
542 free((char *) temp);
543 } else {
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
545 }
546 }
547 return -1;
548 }
549
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
553 PyObject *robj;
554 if (!ptr) {
555 Py_INCREF(Py_None);
556 return Py_None;
557 }
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
560 #else
561 {
562 char result[1024];
563 char *r = result;
564 *(r++) = '_';
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
568 }
569 #endif
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
572 PyObject *inst;
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
574 Py_DECREF(robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
576 Py_DECREF(args);
577 if (inst) {
578 if (own) {
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
581 Py_DECREF(n);
582 }
583 robj = inst;
584 }
585 }
586 return robj;
587 }
588
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
591 char result[1024];
592 char *r = result;
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
594 *(r++) = '_';
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
598 }
599
600 /* Install Constants */
601 SWIGRUNTIME(void)
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
603 int i;
604 PyObject *obj;
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
607 case SWIG_PY_INT:
608 obj = PyInt_FromLong(constants[i].lvalue);
609 break;
610 case SWIG_PY_FLOAT:
611 obj = PyFloat_FromDouble(constants[i].dvalue);
612 break;
613 case SWIG_PY_STRING:
614 obj = PyString_FromString((char *) constants[i].pvalue);
615 break;
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
618 break;
619 case SWIG_PY_BINARY:
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
621 break;
622 default:
623 obj = 0;
624 break;
625 }
626 if (obj) {
627 PyDict_SetItemString(d,constants[i].name,obj);
628 Py_DECREF(obj);
629 }
630 }
631 }
632
633 #endif
634
635 #ifdef __cplusplus
636 }
637 #endif
638
639
640
641
642
643
644
645
646 /* -------- TYPES TABLE (BEGIN) -------- */
647
648 #define SWIGTYPE_p_otk__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_setMasterHandler(PyObject *self, PyObject *args) {
1005 PyObject *resultobj;
1006 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1007 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1008 PyObject * obj0 = 0 ;
1009 PyObject * obj1 = 0 ;
1010
1011 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
1012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014 (arg1)->setMasterHandler(arg2);
1015
1016 Py_INCREF(Py_None); resultobj = Py_None;
1017 return resultobj;
1018 fail:
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1024 PyObject *resultobj;
1025 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1026 otk::OtkEventHandler *result;
1027 PyObject * obj0 = 0 ;
1028
1029 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1031 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1032
1033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1034 return resultobj;
1035 fail:
1036 return NULL;
1037 }
1038
1039
1040 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1041 PyObject *resultobj;
1042 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1043 Window arg2 ;
1044 otk::OtkEventHandler *result;
1045 Window *argp2 ;
1046 PyObject * obj0 = 0 ;
1047 PyObject * obj1 = 0 ;
1048
1049 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1051 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1052 arg2 = *argp2;
1053 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1054
1055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1056 return resultobj;
1057 fail:
1058 return NULL;
1059 }
1060
1061
1062 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1063 PyObject *obj;
1064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1065 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1066 Py_INCREF(obj);
1067 return Py_BuildValue((char *)"");
1068 }
1069 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1070 PyObject *resultobj;
1071 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1072 XEvent *arg2 = 0 ;
1073 PyObject * obj0 = 0 ;
1074 PyObject * obj1 = 0 ;
1075
1076 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1079 if (arg2 == NULL) {
1080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1081 }
1082 (arg1)->handle((XEvent const &)*arg2);
1083
1084 Py_INCREF(Py_None); resultobj = Py_None;
1085 return resultobj;
1086 fail:
1087 return NULL;
1088 }
1089
1090
1091 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1092 PyObject *resultobj;
1093 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1094 XKeyEvent *arg2 = 0 ;
1095 PyObject * obj0 = 0 ;
1096 PyObject * obj1 = 0 ;
1097
1098 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1101 if (arg2 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1103 }
1104 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1105
1106 Py_INCREF(Py_None); resultobj = Py_None;
1107 return resultobj;
1108 fail:
1109 return NULL;
1110 }
1111
1112
1113 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1114 PyObject *resultobj;
1115 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1116 XKeyEvent *arg2 = 0 ;
1117 PyObject * obj0 = 0 ;
1118 PyObject * obj1 = 0 ;
1119
1120 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1123 if (arg2 == NULL) {
1124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1125 }
1126 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1127
1128 Py_INCREF(Py_None); resultobj = Py_None;
1129 return resultobj;
1130 fail:
1131 return NULL;
1132 }
1133
1134
1135 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1136 PyObject *resultobj;
1137 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1138 XButtonEvent *arg2 = 0 ;
1139 PyObject * obj0 = 0 ;
1140 PyObject * obj1 = 0 ;
1141
1142 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1145 if (arg2 == NULL) {
1146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1147 }
1148 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1149
1150 Py_INCREF(Py_None); resultobj = Py_None;
1151 return resultobj;
1152 fail:
1153 return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1158 PyObject *resultobj;
1159 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1160 XButtonEvent *arg2 = 0 ;
1161 PyObject * obj0 = 0 ;
1162 PyObject * obj1 = 0 ;
1163
1164 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167 if (arg2 == NULL) {
1168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1169 }
1170 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1171
1172 Py_INCREF(Py_None); resultobj = Py_None;
1173 return resultobj;
1174 fail:
1175 return NULL;
1176 }
1177
1178
1179 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1180 PyObject *resultobj;
1181 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1182 XMotionEvent *arg2 = 0 ;
1183 PyObject * obj0 = 0 ;
1184 PyObject * obj1 = 0 ;
1185
1186 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1189 if (arg2 == NULL) {
1190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1191 }
1192 (arg1)->motionHandler((XMotionEvent const &)*arg2);
1193
1194 Py_INCREF(Py_None); resultobj = Py_None;
1195 return resultobj;
1196 fail:
1197 return NULL;
1198 }
1199
1200
1201 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1202 PyObject *resultobj;
1203 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1204 XCrossingEvent *arg2 = 0 ;
1205 PyObject * obj0 = 0 ;
1206 PyObject * obj1 = 0 ;
1207
1208 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1211 if (arg2 == NULL) {
1212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1213 }
1214 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1215
1216 Py_INCREF(Py_None); resultobj = Py_None;
1217 return resultobj;
1218 fail:
1219 return NULL;
1220 }
1221
1222
1223 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1224 PyObject *resultobj;
1225 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1226 XCrossingEvent *arg2 = 0 ;
1227 PyObject * obj0 = 0 ;
1228 PyObject * obj1 = 0 ;
1229
1230 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 if (arg2 == NULL) {
1234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1235 }
1236 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1237
1238 Py_INCREF(Py_None); resultobj = Py_None;
1239 return resultobj;
1240 fail:
1241 return NULL;
1242 }
1243
1244
1245 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1246 PyObject *resultobj;
1247 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1248 XFocusChangeEvent *arg2 = 0 ;
1249 PyObject * obj0 = 0 ;
1250 PyObject * obj1 = 0 ;
1251
1252 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1255 if (arg2 == NULL) {
1256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1257 }
1258 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1259
1260 Py_INCREF(Py_None); resultobj = Py_None;
1261 return resultobj;
1262 fail:
1263 return NULL;
1264 }
1265
1266
1267 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1268 PyObject *resultobj;
1269 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1270 XFocusChangeEvent *arg2 = 0 ;
1271 PyObject * obj0 = 0 ;
1272 PyObject * obj1 = 0 ;
1273
1274 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1277 if (arg2 == NULL) {
1278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1279 }
1280 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1281
1282 Py_INCREF(Py_None); resultobj = Py_None;
1283 return resultobj;
1284 fail:
1285 return NULL;
1286 }
1287
1288
1289 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1290 PyObject *resultobj;
1291 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1292 XExposeEvent *arg2 = 0 ;
1293 PyObject * obj0 = 0 ;
1294 PyObject * obj1 = 0 ;
1295
1296 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1299 if (arg2 == NULL) {
1300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1301 }
1302 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1303
1304 Py_INCREF(Py_None); resultobj = Py_None;
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1312 PyObject *resultobj;
1313 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1314 XGraphicsExposeEvent *arg2 = 0 ;
1315 PyObject * obj0 = 0 ;
1316 PyObject * obj1 = 0 ;
1317
1318 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1321 if (arg2 == NULL) {
1322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1323 }
1324 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1325
1326 Py_INCREF(Py_None); resultobj = Py_None;
1327 return resultobj;
1328 fail:
1329 return NULL;
1330 }
1331
1332
1333 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1334 PyObject *resultobj;
1335 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1336 XNoExposeEvent *arg2 = 0 ;
1337 PyObject * obj0 = 0 ;
1338 PyObject * obj1 = 0 ;
1339
1340 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1343 if (arg2 == NULL) {
1344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1345 }
1346 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1347
1348 Py_INCREF(Py_None); resultobj = Py_None;
1349 return resultobj;
1350 fail:
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1356 PyObject *resultobj;
1357 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1358 XCirculateRequestEvent *arg2 = 0 ;
1359 PyObject * obj0 = 0 ;
1360 PyObject * obj1 = 0 ;
1361
1362 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 if (arg2 == NULL) {
1366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1367 }
1368 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1369
1370 Py_INCREF(Py_None); resultobj = Py_None;
1371 return resultobj;
1372 fail:
1373 return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1378 PyObject *resultobj;
1379 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1380 XConfigureRequestEvent *arg2 = 0 ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383
1384 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387 if (arg2 == NULL) {
1388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1389 }
1390 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1391
1392 Py_INCREF(Py_None); resultobj = Py_None;
1393 return resultobj;
1394 fail:
1395 return NULL;
1396 }
1397
1398
1399 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1400 PyObject *resultobj;
1401 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1402 XMapRequestEvent *arg2 = 0 ;
1403 PyObject * obj0 = 0 ;
1404 PyObject * obj1 = 0 ;
1405
1406 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 if (arg2 == NULL) {
1410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1411 }
1412 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1413
1414 Py_INCREF(Py_None); resultobj = Py_None;
1415 return resultobj;
1416 fail:
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1422 PyObject *resultobj;
1423 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1424 XResizeRequestEvent *arg2 = 0 ;
1425 PyObject * obj0 = 0 ;
1426 PyObject * obj1 = 0 ;
1427
1428 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (arg2 == NULL) {
1432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1433 }
1434 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1435
1436 Py_INCREF(Py_None); resultobj = Py_None;
1437 return resultobj;
1438 fail:
1439 return NULL;
1440 }
1441
1442
1443 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1444 PyObject *resultobj;
1445 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1446 XCirculateEvent *arg2 = 0 ;
1447 PyObject * obj0 = 0 ;
1448 PyObject * obj1 = 0 ;
1449
1450 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1453 if (arg2 == NULL) {
1454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1455 }
1456 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1457
1458 Py_INCREF(Py_None); resultobj = Py_None;
1459 return resultobj;
1460 fail:
1461 return NULL;
1462 }
1463
1464
1465 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1466 PyObject *resultobj;
1467 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1468 XConfigureEvent *arg2 = 0 ;
1469 PyObject * obj0 = 0 ;
1470 PyObject * obj1 = 0 ;
1471
1472 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 if (arg2 == NULL) {
1476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1477 }
1478 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1479
1480 Py_INCREF(Py_None); resultobj = Py_None;
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1488 PyObject *resultobj;
1489 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1490 XCreateWindowEvent *arg2 = 0 ;
1491 PyObject * obj0 = 0 ;
1492 PyObject * obj1 = 0 ;
1493
1494 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1497 if (arg2 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1499 }
1500 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1501
1502 Py_INCREF(Py_None); resultobj = Py_None;
1503 return resultobj;
1504 fail:
1505 return NULL;
1506 }
1507
1508
1509 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1510 PyObject *resultobj;
1511 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1512 XDestroyWindowEvent *arg2 = 0 ;
1513 PyObject * obj0 = 0 ;
1514 PyObject * obj1 = 0 ;
1515
1516 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 if (arg2 == NULL) {
1520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1521 }
1522 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1523
1524 Py_INCREF(Py_None); resultobj = Py_None;
1525 return resultobj;
1526 fail:
1527 return NULL;
1528 }
1529
1530
1531 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1532 PyObject *resultobj;
1533 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1534 XGravityEvent *arg2 = 0 ;
1535 PyObject * obj0 = 0 ;
1536 PyObject * obj1 = 0 ;
1537
1538 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 if (arg2 == NULL) {
1542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1543 }
1544 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1545
1546 Py_INCREF(Py_None); resultobj = Py_None;
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1554 PyObject *resultobj;
1555 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1556 XMapEvent *arg2 = 0 ;
1557 PyObject * obj0 = 0 ;
1558 PyObject * obj1 = 0 ;
1559
1560 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 if (arg2 == NULL) {
1564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1565 }
1566 (arg1)->mapHandler((XMapEvent const &)*arg2);
1567
1568 Py_INCREF(Py_None); resultobj = Py_None;
1569 return resultobj;
1570 fail:
1571 return NULL;
1572 }
1573
1574
1575 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1576 PyObject *resultobj;
1577 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1578 XMappingEvent *arg2 = 0 ;
1579 PyObject * obj0 = 0 ;
1580 PyObject * obj1 = 0 ;
1581
1582 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1585 if (arg2 == NULL) {
1586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1587 }
1588 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1589
1590 Py_INCREF(Py_None); resultobj = Py_None;
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1598 PyObject *resultobj;
1599 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1600 XReparentEvent *arg2 = 0 ;
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603
1604 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607 if (arg2 == NULL) {
1608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1609 }
1610 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1611
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616 }
1617
1618
1619 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1620 PyObject *resultobj;
1621 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1622 XUnmapEvent *arg2 = 0 ;
1623 PyObject * obj0 = 0 ;
1624 PyObject * obj1 = 0 ;
1625
1626 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if (arg2 == NULL) {
1630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1631 }
1632 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1633
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1642 PyObject *resultobj;
1643 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1644 XVisibilityEvent *arg2 = 0 ;
1645 PyObject * obj0 = 0 ;
1646 PyObject * obj1 = 0 ;
1647
1648 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651 if (arg2 == NULL) {
1652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1653 }
1654 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1655
1656 Py_INCREF(Py_None); resultobj = Py_None;
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1666 XColormapEvent *arg2 = 0 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1669
1670 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 if (arg2 == NULL) {
1674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1675 }
1676 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1677
1678 Py_INCREF(Py_None); resultobj = Py_None;
1679 return resultobj;
1680 fail:
1681 return NULL;
1682 }
1683
1684
1685 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1686 PyObject *resultobj;
1687 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1688 XPropertyEvent *arg2 = 0 ;
1689 PyObject * obj0 = 0 ;
1690 PyObject * obj1 = 0 ;
1691
1692 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1695 if (arg2 == NULL) {
1696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1697 }
1698 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1699
1700 Py_INCREF(Py_None); resultobj = Py_None;
1701 return resultobj;
1702 fail:
1703 return NULL;
1704 }
1705
1706
1707 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1708 PyObject *resultobj;
1709 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1710 XSelectionClearEvent *arg2 = 0 ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713
1714 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717 if (arg2 == NULL) {
1718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1719 }
1720 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1721
1722 Py_INCREF(Py_None); resultobj = Py_None;
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1730 PyObject *resultobj;
1731 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1732 XSelectionEvent *arg2 = 0 ;
1733 PyObject * obj0 = 0 ;
1734 PyObject * obj1 = 0 ;
1735
1736 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1739 if (arg2 == NULL) {
1740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1741 }
1742 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1743
1744 Py_INCREF(Py_None); resultobj = Py_None;
1745 return resultobj;
1746 fail:
1747 return NULL;
1748 }
1749
1750
1751 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1752 PyObject *resultobj;
1753 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1754 XSelectionRequestEvent *arg2 = 0 ;
1755 PyObject * obj0 = 0 ;
1756 PyObject * obj1 = 0 ;
1757
1758 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1761 if (arg2 == NULL) {
1762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1763 }
1764 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1765
1766 Py_INCREF(Py_None); resultobj = Py_None;
1767 return resultobj;
1768 fail:
1769 return NULL;
1770 }
1771
1772
1773 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1774 PyObject *resultobj;
1775 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1776 XClientMessageEvent *arg2 = 0 ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj1 = 0 ;
1779
1780 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 if (arg2 == NULL) {
1784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1785 }
1786 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1787
1788 Py_INCREF(Py_None); resultobj = Py_None;
1789 return resultobj;
1790 fail:
1791 return NULL;
1792 }
1793
1794
1795 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1796 PyObject *resultobj;
1797 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1798 PyObject * obj0 = 0 ;
1799
1800 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802 delete arg1;
1803
1804 Py_INCREF(Py_None); resultobj = Py_None;
1805 return resultobj;
1806 fail:
1807 return NULL;
1808 }
1809
1810
1811 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1812 PyObject *obj;
1813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1814 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1815 Py_INCREF(obj);
1816 return Py_BuildValue((char *)"");
1817 }
1818 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1819 PyObject *resultobj;
1820 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1821 int arg2 = (int) otk::OtkWidget::Horizontal ;
1822 otk::OtkWidget *result;
1823 PyObject * obj0 = 0 ;
1824
1825 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1827 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1828
1829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1830 return resultobj;
1831 fail:
1832 return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1837 PyObject *resultobj;
1838 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1839 otk::Style *arg2 = (otk::Style *) 0 ;
1840 int arg3 = (int) otk::OtkWidget::Horizontal ;
1841 Cursor arg4 = (Cursor) 0 ;
1842 int arg5 = (int) 1 ;
1843 otk::OtkWidget *result;
1844 Cursor *argp4 ;
1845 PyObject * obj0 = 0 ;
1846 PyObject * obj1 = 0 ;
1847 PyObject * obj3 = 0 ;
1848
1849 if(!PyArg_ParseTuple(args,(char *)"OO|iOi:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1852 if (obj3) {
1853 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1854 arg4 = *argp4;
1855 }
1856 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5);
1857
1858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1866 int argc;
1867 PyObject *argv[6];
1868 int ii;
1869
1870 argc = PyObject_Length(args);
1871 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
1872 argv[ii] = PyTuple_GetItem(args,ii);
1873 }
1874 if ((argc >= 1) && (argc <= 2)) {
1875 int _v;
1876 {
1877 void *ptr;
1878 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1879 _v = 0;
1880 PyErr_Clear();
1881 }else {
1882 _v = 1;
1883 }
1884 }
1885 if (_v) {
1886 if (argc <= 1) {
1887 return _wrap_new_OtkWidget__SWIG_0(self,args);
1888 }
1889 {
1890 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1891 }
1892 if (_v) {
1893 return _wrap_new_OtkWidget__SWIG_0(self,args);
1894 }
1895 }
1896 }
1897 if ((argc >= 2) && (argc <= 5)) {
1898 int _v;
1899 {
1900 void *ptr;
1901 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1902 _v = 0;
1903 PyErr_Clear();
1904 }else {
1905 _v = 1;
1906 }
1907 }
1908 if (_v) {
1909 {
1910 void *ptr;
1911 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1912 _v = 0;
1913 PyErr_Clear();
1914 }else {
1915 _v = 1;
1916 }
1917 }
1918 if (_v) {
1919 if (argc <= 2) {
1920 return _wrap_new_OtkWidget__SWIG_1(self,args);
1921 }
1922 {
1923 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1924 }
1925 if (_v) {
1926 if (argc <= 3) {
1927 return _wrap_new_OtkWidget__SWIG_1(self,args);
1928 }
1929 {
1930 void *ptr;
1931 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_Cursor, 0) == -1) {
1932 _v = 0;
1933 PyErr_Clear();
1934 }else {
1935 _v = 1;
1936 }
1937 }
1938 if (_v) {
1939 if (argc <= 4) {
1940 return _wrap_new_OtkWidget__SWIG_1(self,args);
1941 }
1942 {
1943 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1944 }
1945 if (_v) {
1946 return _wrap_new_OtkWidget__SWIG_1(self,args);
1947 }
1948 }
1949 }
1950 }
1951 }
1952 }
1953
1954 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1955 return NULL;
1956 }
1957
1958
1959 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1960 PyObject *resultobj;
1961 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1962 PyObject * obj0 = 0 ;
1963
1964 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 delete arg1;
1967
1968 Py_INCREF(Py_None); resultobj = Py_None;
1969 return resultobj;
1970 fail:
1971 return NULL;
1972 }
1973
1974
1975 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
1976 PyObject *resultobj;
1977 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1978 PyObject * obj0 = 0 ;
1979
1980 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
1981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1982 (arg1)->update();
1983
1984 Py_INCREF(Py_None); resultobj = Py_None;
1985 return resultobj;
1986 fail:
1987 return NULL;
1988 }
1989
1990
1991 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
1992 PyObject *resultobj;
1993 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1994 XExposeEvent *arg2 = 0 ;
1995 PyObject * obj0 = 0 ;
1996 PyObject * obj1 = 0 ;
1997
1998 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
1999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2001 if (arg2 == NULL) {
2002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2003 }
2004 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2005
2006 Py_INCREF(Py_None); resultobj = Py_None;
2007 return resultobj;
2008 fail:
2009 return NULL;
2010 }
2011
2012
2013 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2014 PyObject *resultobj;
2015 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2016 XConfigureEvent *arg2 = 0 ;
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
2019
2020 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2023 if (arg2 == NULL) {
2024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2025 }
2026 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2027
2028 Py_INCREF(Py_None); resultobj = Py_None;
2029 return resultobj;
2030 fail:
2031 return NULL;
2032 }
2033
2034
2035 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2036 PyObject *resultobj;
2037 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2038 Window result;
2039 PyObject * obj0 = 0 ;
2040
2041 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2043 result = ((otk::OtkWidget const *)arg1)->window();
2044
2045 {
2046 Window * resultptr;
2047 resultptr = new Window((Window &) result);
2048 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
2049 }
2050 return resultobj;
2051 fail:
2052 return NULL;
2053 }
2054
2055
2056 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2057 PyObject *resultobj;
2058 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2059 otk::OtkWidget *result;
2060 PyObject * obj0 = 0 ;
2061
2062 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2064 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2065
2066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2067 return resultobj;
2068 fail:
2069 return NULL;
2070 }
2071
2072
2073 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2074 PyObject *resultobj;
2075 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2076 otk::OtkWidget::OtkWidgetList *result;
2077 PyObject * obj0 = 0 ;
2078
2079 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2081 {
2082 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2083 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2084 }
2085
2086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2087 return resultobj;
2088 fail:
2089 return NULL;
2090 }
2091
2092
2093 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2094 PyObject *resultobj;
2095 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2096 unsigned int result;
2097 PyObject * obj0 = 0 ;
2098
2099 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2101 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2102
2103 resultobj = PyInt_FromLong((long)result);
2104 return resultobj;
2105 fail:
2106 return NULL;
2107 }
2108
2109
2110 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2111 PyObject *resultobj;
2112 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2113 otk::Rect *result;
2114 PyObject * obj0 = 0 ;
2115
2116 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2118 {
2119 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2120 result = (otk::Rect *) &_result_ref;
2121 }
2122
2123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2131 PyObject *resultobj;
2132 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2133 otk::Point *arg2 = 0 ;
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136
2137 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2140 if (arg2 == NULL) {
2141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2142 }
2143 (arg1)->move((otk::Point const &)*arg2);
2144
2145 Py_INCREF(Py_None); resultobj = Py_None;
2146 return resultobj;
2147 fail:
2148 return NULL;
2149 }
2150
2151
2152 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2153 PyObject *resultobj;
2154 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2155 int arg2 ;
2156 int arg3 ;
2157 PyObject * obj0 = 0 ;
2158
2159 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 (arg1)->move(arg2,arg3);
2162
2163 Py_INCREF(Py_None); resultobj = Py_None;
2164 return resultobj;
2165 fail:
2166 return NULL;
2167 }
2168
2169
2170 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2171 int argc;
2172 PyObject *argv[4];
2173 int ii;
2174
2175 argc = PyObject_Length(args);
2176 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2177 argv[ii] = PyTuple_GetItem(args,ii);
2178 }
2179 if (argc == 2) {
2180 int _v;
2181 {
2182 void *ptr;
2183 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2184 _v = 0;
2185 PyErr_Clear();
2186 }else {
2187 _v = 1;
2188 }
2189 }
2190 if (_v) {
2191 {
2192 void *ptr;
2193 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2194 _v = 0;
2195 PyErr_Clear();
2196 }else {
2197 _v = 1;
2198 }
2199 }
2200 if (_v) {
2201 return _wrap_OtkWidget_move__SWIG_0(self,args);
2202 }
2203 }
2204 }
2205 if (argc == 3) {
2206 int _v;
2207 {
2208 void *ptr;
2209 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2210 _v = 0;
2211 PyErr_Clear();
2212 }else {
2213 _v = 1;
2214 }
2215 }
2216 if (_v) {
2217 {
2218 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2219 }
2220 if (_v) {
2221 {
2222 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2223 }
2224 if (_v) {
2225 return _wrap_OtkWidget_move__SWIG_1(self,args);
2226 }
2227 }
2228 }
2229 }
2230
2231 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2232 return NULL;
2233 }
2234
2235
2236 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2237 PyObject *resultobj;
2238 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2239 int arg2 ;
2240 PyObject * obj0 = 0 ;
2241
2242 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 (arg1)->setWidth(arg2);
2245
2246 Py_INCREF(Py_None); resultobj = Py_None;
2247 return resultobj;
2248 fail:
2249 return NULL;
2250 }
2251
2252
2253 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2254 PyObject *resultobj;
2255 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2256 int arg2 ;
2257 PyObject * obj0 = 0 ;
2258
2259 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 (arg1)->setHeight(arg2);
2262
2263 Py_INCREF(Py_None); resultobj = Py_None;
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2271 PyObject *resultobj;
2272 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2273 int result;
2274 PyObject * obj0 = 0 ;
2275
2276 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2278 result = (int)((otk::OtkWidget const *)arg1)->width();
2279
2280 resultobj = PyInt_FromLong((long)result);
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2288 PyObject *resultobj;
2289 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2290 int result;
2291 PyObject * obj0 = 0 ;
2292
2293 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2295 result = (int)((otk::OtkWidget const *)arg1)->height();
2296
2297 resultobj = PyInt_FromLong((long)result);
2298 return resultobj;
2299 fail:
2300 return NULL;
2301 }
2302
2303
2304 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2305 PyObject *resultobj;
2306 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2307 otk::Point *arg2 = 0 ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310
2311 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 if (arg2 == NULL) {
2315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2316 }
2317 (arg1)->resize((otk::Point const &)*arg2);
2318
2319 Py_INCREF(Py_None); resultobj = Py_None;
2320 return resultobj;
2321 fail:
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2327 PyObject *resultobj;
2328 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2329 int arg2 ;
2330 int arg3 ;
2331 PyObject * obj0 = 0 ;
2332
2333 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 (arg1)->resize(arg2,arg3);
2336
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2345 int argc;
2346 PyObject *argv[4];
2347 int ii;
2348
2349 argc = PyObject_Length(args);
2350 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2351 argv[ii] = PyTuple_GetItem(args,ii);
2352 }
2353 if (argc == 2) {
2354 int _v;
2355 {
2356 void *ptr;
2357 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2358 _v = 0;
2359 PyErr_Clear();
2360 }else {
2361 _v = 1;
2362 }
2363 }
2364 if (_v) {
2365 {
2366 void *ptr;
2367 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2368 _v = 0;
2369 PyErr_Clear();
2370 }else {
2371 _v = 1;
2372 }
2373 }
2374 if (_v) {
2375 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2376 }
2377 }
2378 }
2379 if (argc == 3) {
2380 int _v;
2381 {
2382 void *ptr;
2383 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2384 _v = 0;
2385 PyErr_Clear();
2386 }else {
2387 _v = 1;
2388 }
2389 }
2390 if (_v) {
2391 {
2392 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2393 }
2394 if (_v) {
2395 {
2396 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2397 }
2398 if (_v) {
2399 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2400 }
2401 }
2402 }
2403 }
2404
2405 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2406 return NULL;
2407 }
2408
2409
2410 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2411 PyObject *resultobj;
2412 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2413 otk::Rect *arg2 = 0 ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj1 = 0 ;
2416
2417 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2420 if (arg2 == NULL) {
2421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2422 }
2423 (arg1)->setGeometry((otk::Rect const &)*arg2);
2424
2425 Py_INCREF(Py_None); resultobj = Py_None;
2426 return resultobj;
2427 fail:
2428 return NULL;
2429 }
2430
2431
2432 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2433 PyObject *resultobj;
2434 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2435 otk::Point *arg2 = 0 ;
2436 int arg3 ;
2437 int arg4 ;
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440
2441 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2444 if (arg2 == NULL) {
2445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2446 }
2447 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2448
2449 Py_INCREF(Py_None); resultobj = Py_None;
2450 return resultobj;
2451 fail:
2452 return NULL;
2453 }
2454
2455
2456 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2457 PyObject *resultobj;
2458 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2459 int arg2 ;
2460 int arg3 ;
2461 int arg4 ;
2462 int arg5 ;
2463 PyObject * obj0 = 0 ;
2464
2465 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2468
2469 Py_INCREF(Py_None); resultobj = Py_None;
2470 return resultobj;
2471 fail:
2472 return NULL;
2473 }
2474
2475
2476 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2477 int argc;
2478 PyObject *argv[6];
2479 int ii;
2480
2481 argc = PyObject_Length(args);
2482 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2483 argv[ii] = PyTuple_GetItem(args,ii);
2484 }
2485 if (argc == 2) {
2486 int _v;
2487 {
2488 void *ptr;
2489 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2490 _v = 0;
2491 PyErr_Clear();
2492 }else {
2493 _v = 1;
2494 }
2495 }
2496 if (_v) {
2497 {
2498 void *ptr;
2499 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2500 _v = 0;
2501 PyErr_Clear();
2502 }else {
2503 _v = 1;
2504 }
2505 }
2506 if (_v) {
2507 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2508 }
2509 }
2510 }
2511 if (argc == 4) {
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 void *ptr;
2525 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2526 _v = 0;
2527 PyErr_Clear();
2528 }else {
2529 _v = 1;
2530 }
2531 }
2532 if (_v) {
2533 {
2534 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2535 }
2536 if (_v) {
2537 {
2538 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2539 }
2540 if (_v) {
2541 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2542 }
2543 }
2544 }
2545 }
2546 }
2547 if (argc == 5) {
2548 int _v;
2549 {
2550 void *ptr;
2551 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2552 _v = 0;
2553 PyErr_Clear();
2554 }else {
2555 _v = 1;
2556 }
2557 }
2558 if (_v) {
2559 {
2560 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2561 }
2562 if (_v) {
2563 {
2564 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2565 }
2566 if (_v) {
2567 {
2568 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2569 }
2570 if (_v) {
2571 {
2572 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2573 }
2574 if (_v) {
2575 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2576 }
2577 }
2578 }
2579 }
2580 }
2581 }
2582
2583 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2584 return NULL;
2585 }
2586
2587
2588 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2589 PyObject *resultobj;
2590 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2591 bool result;
2592 PyObject * obj0 = 0 ;
2593
2594 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2597
2598 resultobj = PyInt_FromLong((long)result);
2599 return resultobj;
2600 fail:
2601 return NULL;
2602 }
2603
2604
2605 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2606 PyObject *resultobj;
2607 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2608 bool arg2 = (bool) false ;
2609 PyObject * obj0 = 0 ;
2610 PyObject * obj1 = 0 ;
2611
2612 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 if (obj1) {
2615 arg2 = (bool) PyInt_AsLong(obj1);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
2618 (arg1)->show(arg2);
2619
2620 Py_INCREF(Py_None); resultobj = Py_None;
2621 return resultobj;
2622 fail:
2623 return NULL;
2624 }
2625
2626
2627 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2628 PyObject *resultobj;
2629 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2630 bool arg2 = (bool) false ;
2631 PyObject * obj0 = 0 ;
2632 PyObject * obj1 = 0 ;
2633
2634 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2636 if (obj1) {
2637 arg2 = (bool) PyInt_AsLong(obj1);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 (arg1)->hide(arg2);
2641
2642 Py_INCREF(Py_None); resultobj = Py_None;
2643 return resultobj;
2644 fail:
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2650 PyObject *resultobj;
2651 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2652 bool result;
2653 PyObject * obj0 = 0 ;
2654
2655 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2657 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2658
2659 resultobj = PyInt_FromLong((long)result);
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2667 PyObject *resultobj;
2668 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2669 PyObject * obj0 = 0 ;
2670
2671 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2673 (arg1)->focus();
2674
2675 Py_INCREF(Py_None); resultobj = Py_None;
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2683 PyObject *resultobj;
2684 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2685 PyObject * obj0 = 0 ;
2686
2687 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2689 (arg1)->unfocus();
2690
2691 Py_INCREF(Py_None); resultobj = Py_None;
2692 return resultobj;
2693 fail:
2694 return NULL;
2695 }
2696
2697
2698 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2699 PyObject *resultobj;
2700 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2701 bool result;
2702 PyObject * obj0 = 0 ;
2703
2704 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2707
2708 resultobj = PyInt_FromLong((long)result);
2709 return resultobj;
2710 fail:
2711 return NULL;
2712 }
2713
2714
2715 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2716 PyObject *resultobj;
2717 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2718 bool result;
2719 PyObject * obj0 = 0 ;
2720
2721 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 result = (bool)(arg1)->grabMouse();
2724
2725 resultobj = PyInt_FromLong((long)result);
2726 return resultobj;
2727 fail:
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2733 PyObject *resultobj;
2734 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2735 PyObject * obj0 = 0 ;
2736
2737 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2739 (arg1)->ungrabMouse();
2740
2741 Py_INCREF(Py_None); resultobj = Py_None;
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2749 PyObject *resultobj;
2750 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2751 bool result;
2752 PyObject * obj0 = 0 ;
2753
2754 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2756 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2757
2758 resultobj = PyInt_FromLong((long)result);
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2766 PyObject *resultobj;
2767 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2768 bool result;
2769 PyObject * obj0 = 0 ;
2770
2771 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2773 result = (bool)(arg1)->grabKeyboard();
2774
2775 resultobj = PyInt_FromLong((long)result);
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2783 PyObject *resultobj;
2784 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2785 PyObject * obj0 = 0 ;
2786
2787 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2789 (arg1)->ungrabKeyboard();
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_texture(PyObject *self, PyObject *args) {
2799 PyObject *resultobj;
2800 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2801 otk::BTexture *result;
2802 PyObject * obj0 = 0 ;
2803
2804 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2807
2808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2816 PyObject *resultobj;
2817 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2818 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2821
2822 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&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__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 (arg1)->setTexture(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_borderColor(PyObject *self, PyObject *args) {
2835 PyObject *resultobj;
2836 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2837 otk::BColor *result;
2838 PyObject * obj0 = 0 ;
2839
2840 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2843
2844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2845 return resultobj;
2846 fail:
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2852 PyObject *resultobj;
2853 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2854 otk::BColor *arg2 = (otk::BColor *) 0 ;
2855 PyObject * obj0 = 0 ;
2856 PyObject * obj1 = 0 ;
2857
2858 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2861 (arg1)->setBorderColor((otk::BColor const *)arg2);
2862
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 return resultobj;
2865 fail:
2866 return NULL;
2867 }
2868
2869
2870 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2871 PyObject *resultobj;
2872 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2873 int result;
2874 PyObject * obj0 = 0 ;
2875
2876 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2878 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2879
2880 resultobj = PyInt_FromLong((long)result);
2881 return resultobj;
2882 fail:
2883 return NULL;
2884 }
2885
2886
2887 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2888 PyObject *resultobj;
2889 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2890 int arg2 ;
2891 PyObject * obj0 = 0 ;
2892
2893 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2895 (arg1)->setBorderWidth(arg2);
2896
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2905 PyObject *resultobj;
2906 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2907 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2908 bool arg3 = (bool) false ;
2909 PyObject * obj0 = 0 ;
2910 PyObject * obj1 = 0 ;
2911 PyObject * obj2 = 0 ;
2912
2913 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2916 if (obj2) {
2917 arg3 = (bool) PyInt_AsLong(obj2);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 (arg1)->addChild(arg2,arg3);
2921
2922 Py_INCREF(Py_None); resultobj = Py_None;
2923 return resultobj;
2924 fail:
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2930 PyObject *resultobj;
2931 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2932 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935
2936 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 (arg1)->removeChild(arg2);
2940
2941 Py_INCREF(Py_None); resultobj = Py_None;
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2949 PyObject *resultobj;
2950 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2951 bool result;
2952 PyObject * obj0 = 0 ;
2953
2954 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2956 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2957
2958 resultobj = PyInt_FromLong((long)result);
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2966 PyObject *resultobj;
2967 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2968 bool arg2 = (bool) true ;
2969 PyObject * obj0 = 0 ;
2970 PyObject * obj1 = 0 ;
2971
2972 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
2973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2974 if (obj1) {
2975 arg2 = (bool) PyInt_AsLong(obj1);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 (arg1)->setStretchableHorz(arg2);
2979
2980 Py_INCREF(Py_None); resultobj = Py_None;
2981 return resultobj;
2982 fail:
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
2988 PyObject *resultobj;
2989 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2990 bool result;
2991 PyObject * obj0 = 0 ;
2992
2993 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
2994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2995 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
2996
2997 resultobj = PyInt_FromLong((long)result);
2998 return resultobj;
2999 fail:
3000 return NULL;
3001 }
3002
3003
3004 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3005 PyObject *resultobj;
3006 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3007 bool arg2 = (bool) true ;
3008 PyObject * obj0 = 0 ;
3009 PyObject * obj1 = 0 ;
3010
3011 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3013 if (obj1) {
3014 arg2 = (bool) PyInt_AsLong(obj1);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 (arg1)->setStretchableVert(arg2);
3018
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3027 PyObject *resultobj;
3028 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3029 Cursor result;
3030 PyObject * obj0 = 0 ;
3031
3032 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3034 result = ((otk::OtkWidget const *)arg1)->cursor();
3035
3036 {
3037 Cursor * resultptr;
3038 resultptr = new Cursor((Cursor &) result);
3039 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Cursor, 1);
3040 }
3041 return resultobj;
3042 fail:
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3048 PyObject *resultobj;
3049 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3050 Cursor arg2 ;
3051 Cursor *argp2 ;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054
3055 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3057 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3058 arg2 = *argp2;
3059 (arg1)->setCursor(arg2);
3060
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065 }
3066
3067
3068 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3069 PyObject *resultobj;
3070 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3071 int result;
3072 PyObject * obj0 = 0 ;
3073
3074 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3076 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3077
3078 resultobj = PyInt_FromLong((long)result);
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3086 PyObject *resultobj;
3087 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3088 int arg2 ;
3089 PyObject * obj0 = 0 ;
3090
3091 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 (arg1)->setBevelWidth(arg2);
3094
3095 Py_INCREF(Py_None); resultobj = Py_None;
3096 return resultobj;
3097 fail:
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3103 PyObject *resultobj;
3104 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3105 int result;
3106 PyObject * obj0 = 0 ;
3107
3108 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3110 result = (int)((otk::OtkWidget const *)arg1)->direction();
3111
3112 resultobj = PyInt_FromLong((long)result);
3113 return resultobj;
3114 fail:
3115 return NULL;
3116 }
3117
3118
3119 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3120 PyObject *resultobj;
3121 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3122 int arg2 ;
3123 PyObject * obj0 = 0 ;
3124
3125 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 (arg1)->setDirection((otk::OtkWidget::Direction )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_style(PyObject *self, PyObject *args) {
3137 PyObject *resultobj;
3138 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3139 otk::Style *result;
3140 PyObject * obj0 = 0 ;
3141
3142 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3144 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3145
3146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3147 return resultobj;
3148 fail:
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3154 PyObject *resultobj;
3155 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3156 otk::Style *arg2 = (otk::Style *) 0 ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159
3160 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&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__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 (arg1)->setStyle(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_eventDispatcher(PyObject *self, PyObject *args) {
3173 PyObject *resultobj;
3174 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3175 otk::OtkEventDispatcher *result;
3176 PyObject * obj0 = 0 ;
3177
3178 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3180 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3181
3182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3190 PyObject *resultobj;
3191 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3192 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3193 PyObject * obj0 = 0 ;
3194 PyObject * obj1 = 0 ;
3195
3196 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3199 (arg1)->setEventDispatcher(arg2);
3200
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_OtkWidget_unmanaged(PyObject *self, PyObject *args) {
3209 PyObject *resultobj;
3210 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3211 PyObject * obj0 = 0 ;
3212
3213 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unmanaged",&obj0)) goto fail;
3214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 (arg1)->unmanaged();
3216
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221 }
3222
3223
3224 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3225 PyObject *obj;
3226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3227 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3228 Py_INCREF(obj);
3229 return Py_BuildValue((char *)"");
3230 }
3231 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3232 PyObject *resultobj;
3233 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3234 int arg2 = (int) otk::OtkWidget::Horizontal ;
3235 otk::OtkFocusWidget *result;
3236 PyObject * obj0 = 0 ;
3237
3238 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3240 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3241
3242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3243 return resultobj;
3244 fail:
3245 return NULL;
3246 }
3247
3248
3249 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3250 PyObject *resultobj;
3251 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3252 PyObject * obj0 = 0 ;
3253
3254 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 delete arg1;
3257
3258 Py_INCREF(Py_None); resultobj = Py_None;
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3266 PyObject *resultobj;
3267 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3268 PyObject * obj0 = 0 ;
3269
3270 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 (arg1)->focus();
3273
3274 Py_INCREF(Py_None); resultobj = Py_None;
3275 return resultobj;
3276 fail:
3277 return NULL;
3278 }
3279
3280
3281 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3282 PyObject *resultobj;
3283 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3284 PyObject * obj0 = 0 ;
3285
3286 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 (arg1)->unfocus();
3289
3290 Py_INCREF(Py_None); resultobj = Py_None;
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3298 PyObject *resultobj;
3299 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3300 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303
3304 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307 (arg1)->setTexture(arg2);
3308
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 return resultobj;
3311 fail:
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3317 PyObject *resultobj;
3318 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3319 otk::BColor *arg2 = (otk::BColor *) 0 ;
3320 PyObject * obj0 = 0 ;
3321 PyObject * obj1 = 0 ;
3322
3323 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 (arg1)->setBorderColor((otk::BColor const *)arg2);
3327
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3336 PyObject *resultobj;
3337 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3338 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341
3342 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&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__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3345 (arg1)->setUnfocusTexture(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_getUnfocusTexture(PyObject *self, PyObject *args) {
3355 PyObject *resultobj;
3356 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3357 otk::BTexture *result;
3358 PyObject * obj0 = 0 ;
3359
3360 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3363
3364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3372 PyObject *resultobj;
3373 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3374 otk::BColor *arg2 = (otk::BColor *) 0 ;
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377
3378 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3381 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3382
3383 Py_INCREF(Py_None); resultobj = Py_None;
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3391 PyObject *resultobj;
3392 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3393 otk::BColor *result;
3394 PyObject * obj0 = 0 ;
3395
3396 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3398 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3399
3400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3408 PyObject *resultobj;
3409 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3410 bool result;
3411 PyObject * obj0 = 0 ;
3412
3413 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3415 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3416
3417 resultobj = PyInt_FromLong((long)result);
3418 return resultobj;
3419 fail:
3420 return NULL;
3421 }
3422
3423
3424 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3425 PyObject *resultobj;
3426 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3427 bool result;
3428 PyObject * obj0 = 0 ;
3429
3430 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3433
3434 resultobj = PyInt_FromLong((long)result);
3435 return resultobj;
3436 fail:
3437 return NULL;
3438 }
3439
3440
3441 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3442 PyObject *obj;
3443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3444 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3445 Py_INCREF(obj);
3446 return Py_BuildValue((char *)"");
3447 }
3448 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3449 PyObject *resultobj;
3450 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3451 otk::OtkFocusLabel *result;
3452 PyObject * obj0 = 0 ;
3453
3454 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3456 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3457
3458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3466 PyObject *resultobj;
3467 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3468 PyObject * obj0 = 0 ;
3469
3470 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472 delete arg1;
3473
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3482 PyObject *resultobj;
3483 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3484 std::string *result;
3485 PyObject * obj0 = 0 ;
3486
3487 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3489 {
3490 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3491 result = (std::string *) &_result_ref;
3492 }
3493
3494 {
3495 resultobj = PyString_FromString(result->c_str());
3496 }
3497 return resultobj;
3498 fail:
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3504 PyObject *resultobj;
3505 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3506 std::string *arg2 = 0 ;
3507 std::string temp2 ;
3508 PyObject * obj0 = 0 ;
3509 PyObject * obj1 = 0 ;
3510
3511 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3513 {
3514 if (PyString_Check(obj1)) {
3515 temp2 = std::string(PyString_AsString(obj1));
3516 arg2 = &temp2;
3517 }else {
3518 SWIG_exception(SWIG_TypeError, "string expected");
3519 }
3520 }
3521 (arg1)->setText((std::string const &)*arg2);
3522
3523 Py_INCREF(Py_None); resultobj = Py_None;
3524 return resultobj;
3525 fail:
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3531 PyObject *resultobj;
3532 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3533 PyObject * obj0 = 0 ;
3534
3535 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 (arg1)->update();
3538
3539 Py_INCREF(Py_None); resultobj = Py_None;
3540 return resultobj;
3541 fail:
3542 return NULL;
3543 }
3544
3545
3546 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3547 PyObject *resultobj;
3548 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3549 otk::Style *arg2 = (otk::Style *) 0 ;
3550 PyObject * obj0 = 0 ;
3551 PyObject * obj1 = 0 ;
3552
3553 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556 (arg1)->setStyle(arg2);
3557
3558 Py_INCREF(Py_None); resultobj = Py_None;
3559 return resultobj;
3560 fail:
3561 return NULL;
3562 }
3563
3564
3565 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3566 PyObject *obj;
3567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3568 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3569 Py_INCREF(obj);
3570 return Py_BuildValue((char *)"");
3571 }
3572 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3573 PyObject *resultobj;
3574 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3575 int arg2 = (int) otk::OtkWidget::Horizontal ;
3576 Cursor arg3 = (Cursor) 0 ;
3577 int arg4 = (int) 1 ;
3578 otk::OtkAppWidget *result;
3579 Cursor *argp3 ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj2 = 0 ;
3582
3583 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 if (obj2) {
3586 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3587 arg3 = *argp3;
3588 }
3589 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3590
3591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3599 PyObject *resultobj;
3600 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3601 PyObject * obj0 = 0 ;
3602
3603 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 delete arg1;
3606
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 return resultobj;
3609 fail:
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3615 PyObject *resultobj;
3616 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3617 PyObject * obj0 = 0 ;
3618
3619 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 (arg1)->show();
3622
3623 Py_INCREF(Py_None); resultobj = Py_None;
3624 return resultobj;
3625 fail:
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3631 PyObject *resultobj;
3632 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3633 PyObject * obj0 = 0 ;
3634
3635 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3637 (arg1)->hide();
3638
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643 }
3644
3645
3646 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3647 PyObject *resultobj;
3648 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3649 XClientMessageEvent *arg2 = 0 ;
3650 PyObject * obj0 = 0 ;
3651 PyObject * obj1 = 0 ;
3652
3653 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3656 if (arg2 == NULL) {
3657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3658 }
3659 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3660
3661 Py_INCREF(Py_None); resultobj = Py_None;
3662 return resultobj;
3663 fail:
3664 return NULL;
3665 }
3666
3667
3668 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3669 PyObject *obj;
3670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3671 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3672 Py_INCREF(obj);
3673 return Py_BuildValue((char *)"");
3674 }
3675 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3676 PyObject *resultobj;
3677 int arg1 ;
3678 char **arg2 = (char **) 0 ;
3679 otk::OtkApplication *result;
3680 PyObject * obj1 = 0 ;
3681
3682 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3685
3686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3694 PyObject *resultobj;
3695 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3696 PyObject * obj0 = 0 ;
3697
3698 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3700 delete arg1;
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_run(PyObject *self, PyObject *args) {
3710 PyObject *resultobj;
3711 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3712 PyObject * obj0 = 0 ;
3713
3714 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3716 (arg1)->run();
3717
3718 Py_INCREF(Py_None); resultobj = Py_None;
3719 return resultobj;
3720 fail:
3721 return NULL;
3722 }
3723
3724
3725 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3726 PyObject *resultobj;
3727 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3728 bool arg2 ;
3729 PyObject * obj0 = 0 ;
3730 PyObject * obj1 = 0 ;
3731
3732 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 arg2 = (bool) PyInt_AsLong(obj1);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 (arg1)->setDockable(arg2);
3737
3738 Py_INCREF(Py_None); resultobj = Py_None;
3739 return resultobj;
3740 fail:
3741 return NULL;
3742 }
3743
3744
3745 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3746 PyObject *resultobj;
3747 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3748 bool result;
3749 PyObject * obj0 = 0 ;
3750
3751 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3753 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3754
3755 resultobj = PyInt_FromLong((long)result);
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3763 PyObject *resultobj;
3764 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3765 otk::Style *result;
3766 PyObject * obj0 = 0 ;
3767
3768 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3770 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3771
3772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3780 PyObject *obj;
3781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3782 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3783 Py_INCREF(obj);
3784 return Py_BuildValue((char *)"");
3785 }
3786 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3787 PyObject *resultobj;
3788 otk::PointerAssassin *result;
3789
3790 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3791 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3792
3793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3801 PyObject *resultobj;
3802 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3803 PyObject * obj0 = 0 ;
3804
3805 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3807 delete arg1;
3808
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3817 PyObject *obj;
3818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3819 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3820 Py_INCREF(obj);
3821 return Py_BuildValue((char *)"");
3822 }
3823 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3824 PyObject *resultobj;
3825 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3826 otk::OtkButton *result;
3827 PyObject * obj0 = 0 ;
3828
3829 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3831 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3832
3833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3834 return resultobj;
3835 fail:
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3841 PyObject *resultobj;
3842 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3843 PyObject * obj0 = 0 ;
3844
3845 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3847 delete arg1;
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_getPressedFocusTexture(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_getPressedFocusTexture",&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)->getPressedFocusTexture();
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_setPressedFocusTexture(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_setPressedFocusTexture",&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)->setPressedFocusTexture(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_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3893 PyObject *resultobj;
3894 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3895 otk::BTexture *result;
3896 PyObject * obj0 = 0 ;
3897
3898 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3900 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3901
3902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3910 PyObject *resultobj;
3911 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3912 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915
3916 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3919 (arg1)->setPressedUnfocusTexture(arg2);
3920
3921 Py_INCREF(Py_None); resultobj = Py_None;
3922 return resultobj;
3923 fail:
3924 return NULL;
3925 }
3926
3927
3928 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3929 PyObject *resultobj;
3930 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3931 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3932 PyObject * obj0 = 0 ;
3933 PyObject * obj1 = 0 ;
3934
3935 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 (arg1)->setTexture(arg2);
3939
3940 Py_INCREF(Py_None); resultobj = Py_None;
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3948 PyObject *resultobj;
3949 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3950 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953
3954 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 (arg1)->setUnfocusTexture(arg2);
3958
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3967 PyObject *resultobj;
3968 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3969 bool result;
3970 PyObject * obj0 = 0 ;
3971
3972 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3975
3976 resultobj = PyInt_FromLong((long)result);
3977 return resultobj;
3978 fail:
3979 return NULL;
3980 }
3981
3982
3983 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3984 PyObject *resultobj;
3985 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3986 unsigned int arg2 ;
3987 PyObject * obj0 = 0 ;
3988 PyObject * obj1 = 0 ;
3989
3990 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3992 arg2 = (unsigned int) PyInt_AsLong(obj1);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 (arg1)->press(arg2);
3995
3996 Py_INCREF(Py_None); resultobj = Py_None;
3997 return resultobj;
3998 fail:
3999 return NULL;
4000 }
4001
4002
4003 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4004 PyObject *resultobj;
4005 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4006 unsigned int arg2 ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj1 = 0 ;
4009
4010 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 arg2 = (unsigned int) PyInt_AsLong(obj1);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 (arg1)->release(arg2);
4015
4016 Py_INCREF(Py_None); resultobj = Py_None;
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4024 PyObject *resultobj;
4025 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4026 XButtonEvent *arg2 = 0 ;
4027 PyObject * obj0 = 0 ;
4028 PyObject * obj1 = 0 ;
4029
4030 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 if (arg2 == NULL) {
4034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4035 }
4036 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4037
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042 }
4043
4044
4045 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4046 PyObject *resultobj;
4047 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4048 XButtonEvent *arg2 = 0 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051
4052 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 if (arg2 == NULL) {
4056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4057 }
4058 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4059
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 return resultobj;
4062 fail:
4063 return NULL;
4064 }
4065
4066
4067 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4068 PyObject *resultobj;
4069 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4070 otk::Style *arg2 = (otk::Style *) 0 ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073
4074 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4077 (arg1)->setStyle(arg2);
4078
4079 Py_INCREF(Py_None); resultobj = Py_None;
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4087 PyObject *obj;
4088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4089 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4090 Py_INCREF(obj);
4091 return Py_BuildValue((char *)"");
4092 }
4093 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4094 PyObject *resultobj;
4095 unsigned int arg1 = (unsigned int) ~(0u) ;
4096 otk::BColor *result;
4097 PyObject * obj0 = 0 ;
4098
4099 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4100 if (obj0) {
4101 arg1 = (unsigned int) PyInt_AsLong(obj0);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 result = (otk::BColor *)new otk::BColor(arg1);
4105
4106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4107 return resultobj;
4108 fail:
4109 return NULL;
4110 }
4111
4112
4113 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4114 PyObject *resultobj;
4115 int arg1 ;
4116 int arg2 ;
4117 int arg3 ;
4118 unsigned int arg4 = (unsigned int) ~(0u) ;
4119 otk::BColor *result;
4120 PyObject * obj3 = 0 ;
4121
4122 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4123 if (obj3) {
4124 arg4 = (unsigned int) PyInt_AsLong(obj3);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4128
4129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4137 PyObject *resultobj;
4138 std::string *arg1 = 0 ;
4139 unsigned int arg2 = (unsigned int) ~(0u) ;
4140 otk::BColor *result;
4141 std::string temp1 ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144
4145 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4146 {
4147 if (PyString_Check(obj0)) {
4148 temp1 = std::string(PyString_AsString(obj0));
4149 arg1 = &temp1;
4150 }else {
4151 SWIG_exception(SWIG_TypeError, "string expected");
4152 }
4153 }
4154 if (obj1) {
4155 arg2 = (unsigned int) PyInt_AsLong(obj1);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4159
4160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4168 int argc;
4169 PyObject *argv[5];
4170 int ii;
4171
4172 argc = PyObject_Length(args);
4173 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4174 argv[ii] = PyTuple_GetItem(args,ii);
4175 }
4176 if ((argc >= 0) && (argc <= 1)) {
4177 int _v;
4178 if (argc <= 0) {
4179 return _wrap_new_BColor__SWIG_0(self,args);
4180 }
4181 {
4182 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4183 }
4184 if (_v) {
4185 return _wrap_new_BColor__SWIG_0(self,args);
4186 }
4187 }
4188 if ((argc >= 1) && (argc <= 2)) {
4189 int _v;
4190 {
4191 _v = PyString_Check(argv[0]) ? 1 : 0;
4192 }
4193 if (_v) {
4194 if (argc <= 1) {
4195 return _wrap_new_BColor__SWIG_2(self,args);
4196 }
4197 {
4198 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4199 }
4200 if (_v) {
4201 return _wrap_new_BColor__SWIG_2(self,args);
4202 }
4203 }
4204 }
4205 if ((argc >= 3) && (argc <= 4)) {
4206 int _v;
4207 {
4208 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4209 }
4210 if (_v) {
4211 {
4212 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4213 }
4214 if (_v) {
4215 {
4216 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4217 }
4218 if (_v) {
4219 if (argc <= 3) {
4220 return _wrap_new_BColor__SWIG_1(self,args);
4221 }
4222 {
4223 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4224 }
4225 if (_v) {
4226 return _wrap_new_BColor__SWIG_1(self,args);
4227 }
4228 }
4229 }
4230 }
4231 }
4232
4233 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4239 PyObject *resultobj;
4240 otk::BColor *arg1 = (otk::BColor *) 0 ;
4241 PyObject * obj0 = 0 ;
4242
4243 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 delete arg1;
4246
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4255 PyObject *resultobj;
4256 otk::BColor *arg1 = (otk::BColor *) 0 ;
4257 std::string *result;
4258 PyObject * obj0 = 0 ;
4259
4260 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4262 {
4263 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4264 result = (std::string *) &_result_ref;
4265 }
4266
4267 {
4268 resultobj = PyString_FromString(result->c_str());
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4277 PyObject *resultobj;
4278 otk::BColor *arg1 = (otk::BColor *) 0 ;
4279 int result;
4280 PyObject * obj0 = 0 ;
4281
4282 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4284 result = (int)((otk::BColor const *)arg1)->red();
4285
4286 resultobj = PyInt_FromLong((long)result);
4287 return resultobj;
4288 fail:
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4294 PyObject *resultobj;
4295 otk::BColor *arg1 = (otk::BColor *) 0 ;
4296 int result;
4297 PyObject * obj0 = 0 ;
4298
4299 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 result = (int)((otk::BColor const *)arg1)->green();
4302
4303 resultobj = PyInt_FromLong((long)result);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4311 PyObject *resultobj;
4312 otk::BColor *arg1 = (otk::BColor *) 0 ;
4313 int result;
4314 PyObject * obj0 = 0 ;
4315
4316 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 result = (int)((otk::BColor const *)arg1)->blue();
4319
4320 resultobj = PyInt_FromLong((long)result);
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4328 PyObject *resultobj;
4329 otk::BColor *arg1 = (otk::BColor *) 0 ;
4330 int arg2 ;
4331 int arg3 ;
4332 int arg4 ;
4333 PyObject * obj0 = 0 ;
4334
4335 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 (arg1)->setRGB(arg2,arg3,arg4);
4338
4339 Py_INCREF(Py_None); resultobj = Py_None;
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4347 PyObject *resultobj;
4348 otk::BColor *arg1 = (otk::BColor *) 0 ;
4349 unsigned int result;
4350 PyObject * obj0 = 0 ;
4351
4352 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4354 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4355
4356 resultobj = PyInt_FromLong((long)result);
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4364 PyObject *resultobj;
4365 otk::BColor *arg1 = (otk::BColor *) 0 ;
4366 unsigned int arg2 = (unsigned int) ~(0u) ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369
4370 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 if (obj1) {
4373 arg2 = (unsigned int) PyInt_AsLong(obj1);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 (arg1)->setScreen(arg2);
4377
4378 Py_INCREF(Py_None); resultobj = Py_None;
4379 return resultobj;
4380 fail:
4381 return NULL;
4382 }
4383
4384
4385 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4386 PyObject *resultobj;
4387 otk::BColor *arg1 = (otk::BColor *) 0 ;
4388 bool result;
4389 PyObject * obj0 = 0 ;
4390
4391 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4393 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4394
4395 resultobj = PyInt_FromLong((long)result);
4396 return resultobj;
4397 fail:
4398 return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4403 PyObject *resultobj;
4404 otk::BColor *arg1 = (otk::BColor *) 0 ;
4405 bool result;
4406 PyObject * obj0 = 0 ;
4407
4408 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 result = (bool)((otk::BColor const *)arg1)->isValid();
4411
4412 resultobj = PyInt_FromLong((long)result);
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4420 PyObject *resultobj;
4421 otk::BColor *arg1 = (otk::BColor *) 0 ;
4422 unsigned long result;
4423 PyObject * obj0 = 0 ;
4424
4425 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4428
4429 resultobj = PyInt_FromLong((long)result);
4430 return resultobj;
4431 fail:
4432 return NULL;
4433 }
4434
4435
4436 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4437 PyObject *resultobj;
4438 otk::BColor *arg1 = (otk::BColor *) 0 ;
4439 otk::BColor *arg2 = 0 ;
4440 bool result;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443
4444 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if (arg2 == NULL) {
4448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4449 }
4450 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4451
4452 resultobj = PyInt_FromLong((long)result);
4453 return resultobj;
4454 fail:
4455 return NULL;
4456 }
4457
4458
4459 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4460 PyObject *resultobj;
4461
4462 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4463 otk::BColor::cleanupColorCache();
4464
4465 Py_INCREF(Py_None); resultobj = Py_None;
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4473 PyObject *obj;
4474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4475 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4476 Py_INCREF(obj);
4477 return Py_BuildValue((char *)"");
4478 }
4479 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4480 PyObject *resultobj;
4481 std::string *arg1 = 0 ;
4482 bool arg2 = (bool) True ;
4483 otk::Configuration *result;
4484 std::string temp1 ;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487
4488 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4489 {
4490 if (PyString_Check(obj0)) {
4491 temp1 = std::string(PyString_AsString(obj0));
4492 arg1 = &temp1;
4493 }else {
4494 SWIG_exception(SWIG_TypeError, "string expected");
4495 }
4496 }
4497 if (obj1) {
4498 arg2 = (bool) PyInt_AsLong(obj1);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4502
4503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4504 return resultobj;
4505 fail:
4506 return NULL;
4507 }
4508
4509
4510 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4511 PyObject *resultobj;
4512 bool arg1 = (bool) True ;
4513 otk::Configuration *result;
4514 PyObject * obj0 = 0 ;
4515
4516 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4517 if (obj0) {
4518 arg1 = (bool) PyInt_AsLong(obj0);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 result = (otk::Configuration *)new otk::Configuration(arg1);
4522
4523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4531 int argc;
4532 PyObject *argv[3];
4533 int ii;
4534
4535 argc = PyObject_Length(args);
4536 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4537 argv[ii] = PyTuple_GetItem(args,ii);
4538 }
4539 if ((argc >= 0) && (argc <= 1)) {
4540 int _v;
4541 if (argc <= 0) {
4542 return _wrap_new_Configuration__SWIG_1(self,args);
4543 }
4544 {
4545 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4546 }
4547 if (_v) {
4548 return _wrap_new_Configuration__SWIG_1(self,args);
4549 }
4550 }
4551 if ((argc >= 1) && (argc <= 2)) {
4552 int _v;
4553 {
4554 _v = PyString_Check(argv[0]) ? 1 : 0;
4555 }
4556 if (_v) {
4557 if (argc <= 1) {
4558 return _wrap_new_Configuration__SWIG_0(self,args);
4559 }
4560 {
4561 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4562 }
4563 if (_v) {
4564 return _wrap_new_Configuration__SWIG_0(self,args);
4565 }
4566 }
4567 }
4568
4569 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4570 return NULL;
4571 }
4572
4573
4574 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4575 PyObject *resultobj;
4576 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4577 PyObject * obj0 = 0 ;
4578
4579 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4581 delete arg1;
4582
4583 Py_INCREF(Py_None); resultobj = Py_None;
4584 return resultobj;
4585 fail:
4586 return NULL;
4587 }
4588
4589
4590 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4591 PyObject *resultobj;
4592 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4593 std::string *result;
4594 PyObject * obj0 = 0 ;
4595
4596 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 {
4599 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4600 result = (std::string *) &_result_ref;
4601 }
4602
4603 {
4604 resultobj = PyString_FromString(result->c_str());
4605 }
4606 return resultobj;
4607 fail:
4608 return NULL;
4609 }
4610
4611
4612 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4613 PyObject *resultobj;
4614 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4615 std::string *arg2 = 0 ;
4616 std::string temp2 ;
4617 PyObject * obj0 = 0 ;
4618 PyObject * obj1 = 0 ;
4619
4620 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4622 {
4623 if (PyString_Check(obj1)) {
4624 temp2 = std::string(PyString_AsString(obj1));
4625 arg2 = &temp2;
4626 }else {
4627 SWIG_exception(SWIG_TypeError, "string expected");
4628 }
4629 }
4630 (arg1)->setFile((std::string const &)*arg2);
4631
4632 Py_INCREF(Py_None); resultobj = Py_None;
4633 return resultobj;
4634 fail:
4635 return NULL;
4636 }
4637
4638
4639 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4640 PyObject *resultobj;
4641 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4642 bool result;
4643 PyObject * obj0 = 0 ;
4644
4645 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4647 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4648
4649 resultobj = PyInt_FromLong((long)result);
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4657 PyObject *resultobj;
4658 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4659 bool arg2 ;
4660 PyObject * obj0 = 0 ;
4661 PyObject * obj1 = 0 ;
4662
4663 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4665 arg2 = (bool) PyInt_AsLong(obj1);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 (arg1)->setAutoSave(arg2);
4668
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4677 PyObject *resultobj;
4678 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4679 bool result;
4680 PyObject * obj0 = 0 ;
4681
4682 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4684 result = (bool)((otk::Configuration const *)arg1)->isModified();
4685
4686 resultobj = PyInt_FromLong((long)result);
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4694 PyObject *resultobj;
4695 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4696 PyObject * obj0 = 0 ;
4697
4698 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4700 (arg1)->save();
4701
4702 Py_INCREF(Py_None); resultobj = Py_None;
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4710 PyObject *resultobj;
4711 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4712 bool result;
4713 PyObject * obj0 = 0 ;
4714
4715 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 result = (bool)(arg1)->load();
4718
4719 resultobj = PyInt_FromLong((long)result);
4720 return resultobj;
4721 fail:
4722 return NULL;
4723 }
4724
4725
4726 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4727 PyObject *resultobj;
4728 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4729 std::string *arg2 = 0 ;
4730 bool arg3 = (bool) False ;
4731 bool result;
4732 std::string temp2 ;
4733 PyObject * obj0 = 0 ;
4734 PyObject * obj1 = 0 ;
4735 PyObject * obj2 = 0 ;
4736
4737 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4739 {
4740 if (PyString_Check(obj1)) {
4741 temp2 = std::string(PyString_AsString(obj1));
4742 arg2 = &temp2;
4743 }else {
4744 SWIG_exception(SWIG_TypeError, "string expected");
4745 }
4746 }
4747 if (obj2) {
4748 arg3 = (bool) PyInt_AsLong(obj2);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4752
4753 resultobj = PyInt_FromLong((long)result);
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4761 PyObject *resultobj;
4762 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4763 PyObject * obj0 = 0 ;
4764
4765 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4767 (arg1)->create();
4768
4769 Py_INCREF(Py_None); resultobj = Py_None;
4770 return resultobj;
4771 fail:
4772 return NULL;
4773 }
4774
4775
4776 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4777 PyObject *resultobj;
4778 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4779 std::string *arg2 = 0 ;
4780 bool arg3 ;
4781 std::string temp2 ;
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 PyObject * obj2 = 0 ;
4785
4786 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4788 {
4789 if (PyString_Check(obj1)) {
4790 temp2 = std::string(PyString_AsString(obj1));
4791 arg2 = &temp2;
4792 }else {
4793 SWIG_exception(SWIG_TypeError, "string expected");
4794 }
4795 }
4796 arg3 = (bool) PyInt_AsLong(obj2);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 (arg1)->setValue((std::string const &)*arg2,arg3);
4799
4800 Py_INCREF(Py_None); resultobj = Py_None;
4801 return resultobj;
4802 fail:
4803 return NULL;
4804 }
4805
4806
4807 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4808 PyObject *resultobj;
4809 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4810 std::string *arg2 = 0 ;
4811 int arg3 ;
4812 std::string temp2 ;
4813 PyObject * obj0 = 0 ;
4814 PyObject * obj1 = 0 ;
4815
4816 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4818 {
4819 if (PyString_Check(obj1)) {
4820 temp2 = std::string(PyString_AsString(obj1));
4821 arg2 = &temp2;
4822 }else {
4823 SWIG_exception(SWIG_TypeError, "string expected");
4824 }
4825 }
4826 (arg1)->setValue((std::string const &)*arg2,arg3);
4827
4828 Py_INCREF(Py_None); resultobj = Py_None;
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4836 PyObject *resultobj;
4837 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4838 std::string *arg2 = 0 ;
4839 unsigned int arg3 ;
4840 std::string temp2 ;
4841 PyObject * obj0 = 0 ;
4842 PyObject * obj1 = 0 ;
4843 PyObject * obj2 = 0 ;
4844
4845 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4847 {
4848 if (PyString_Check(obj1)) {
4849 temp2 = std::string(PyString_AsString(obj1));
4850 arg2 = &temp2;
4851 }else {
4852 SWIG_exception(SWIG_TypeError, "string expected");
4853 }
4854 }
4855 arg3 = (unsigned int) PyInt_AsLong(obj2);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 (arg1)->setValue((std::string const &)*arg2,arg3);
4858
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4867 PyObject *resultobj;
4868 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4869 std::string *arg2 = 0 ;
4870 long arg3 ;
4871 std::string temp2 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874
4875 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4877 {
4878 if (PyString_Check(obj1)) {
4879 temp2 = std::string(PyString_AsString(obj1));
4880 arg2 = &temp2;
4881 }else {
4882 SWIG_exception(SWIG_TypeError, "string expected");
4883 }
4884 }
4885 (arg1)->setValue((std::string const &)*arg2,arg3);
4886
4887 Py_INCREF(Py_None); resultobj = Py_None;
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4895 PyObject *resultobj;
4896 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4897 std::string *arg2 = 0 ;
4898 unsigned long arg3 ;
4899 std::string temp2 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 PyObject * obj2 = 0 ;
4903
4904 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 {
4907 if (PyString_Check(obj1)) {
4908 temp2 = std::string(PyString_AsString(obj1));
4909 arg2 = &temp2;
4910 }else {
4911 SWIG_exception(SWIG_TypeError, "string expected");
4912 }
4913 }
4914 arg3 = (unsigned long) PyInt_AsLong(obj2);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 (arg1)->setValue((std::string const &)*arg2,arg3);
4917
4918 Py_INCREF(Py_None); resultobj = Py_None;
4919 return resultobj;
4920 fail:
4921 return NULL;
4922 }
4923
4924
4925 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4926 PyObject *resultobj;
4927 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4928 std::string *arg2 = 0 ;
4929 std::string *arg3 = 0 ;
4930 std::string temp2 ;
4931 std::string temp3 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 PyObject * obj2 = 0 ;
4935
4936 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) 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 {
4947 if (PyString_Check(obj2)) {
4948 temp3 = std::string(PyString_AsString(obj2));
4949 arg3 = &temp3;
4950 }else {
4951 SWIG_exception(SWIG_TypeError, "string expected");
4952 }
4953 }
4954 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4955
4956 Py_INCREF(Py_None); resultobj = Py_None;
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4964 PyObject *resultobj;
4965 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4966 std::string *arg2 = 0 ;
4967 char *arg3 ;
4968 std::string temp2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971
4972 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974 {
4975 if (PyString_Check(obj1)) {
4976 temp2 = std::string(PyString_AsString(obj1));
4977 arg2 = &temp2;
4978 }else {
4979 SWIG_exception(SWIG_TypeError, "string expected");
4980 }
4981 }
4982 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4983
4984 Py_INCREF(Py_None); resultobj = Py_None;
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4992 PyObject *resultobj;
4993 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4994 std::string *arg2 = 0 ;
4995 bool *arg3 = 0 ;
4996 bool result;
4997 std::string temp2 ;
4998 PyObject * obj0 = 0 ;
4999 PyObject * obj1 = 0 ;
5000 PyObject * obj2 = 0 ;
5001
5002 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 {
5005 if (PyString_Check(obj1)) {
5006 temp2 = std::string(PyString_AsString(obj1));
5007 arg2 = &temp2;
5008 }else {
5009 SWIG_exception(SWIG_TypeError, "string expected");
5010 }
5011 }
5012 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5013 if (arg3 == NULL) {
5014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5015 }
5016 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5017
5018 resultobj = PyInt_FromLong((long)result);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5026 PyObject *resultobj;
5027 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5028 std::string *arg2 = 0 ;
5029 int *arg3 = 0 ;
5030 bool result;
5031 std::string temp2 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 PyObject * obj2 = 0 ;
5035
5036 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 {
5039 if (PyString_Check(obj1)) {
5040 temp2 = std::string(PyString_AsString(obj1));
5041 arg2 = &temp2;
5042 }else {
5043 SWIG_exception(SWIG_TypeError, "string expected");
5044 }
5045 }
5046 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5047 if (arg3 == NULL) {
5048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5049 }
5050 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5051
5052 resultobj = PyInt_FromLong((long)result);
5053 return resultobj;
5054 fail:
5055 return NULL;
5056 }
5057
5058
5059 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5060 PyObject *resultobj;
5061 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5062 std::string *arg2 = 0 ;
5063 unsigned int *arg3 = 0 ;
5064 bool result;
5065 std::string temp2 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 PyObject * obj2 = 0 ;
5069
5070 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 {
5073 if (PyString_Check(obj1)) {
5074 temp2 = std::string(PyString_AsString(obj1));
5075 arg2 = &temp2;
5076 }else {
5077 SWIG_exception(SWIG_TypeError, "string expected");
5078 }
5079 }
5080 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5081 if (arg3 == NULL) {
5082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5083 }
5084 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5085
5086 resultobj = PyInt_FromLong((long)result);
5087 return resultobj;
5088 fail:
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5094 PyObject *resultobj;
5095 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5096 std::string *arg2 = 0 ;
5097 long *arg3 = 0 ;
5098 bool result;
5099 std::string temp2 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 PyObject * obj2 = 0 ;
5103
5104 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5106 {
5107 if (PyString_Check(obj1)) {
5108 temp2 = std::string(PyString_AsString(obj1));
5109 arg2 = &temp2;
5110 }else {
5111 SWIG_exception(SWIG_TypeError, "string expected");
5112 }
5113 }
5114 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5115 if (arg3 == NULL) {
5116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5117 }
5118 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5119
5120 resultobj = PyInt_FromLong((long)result);
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5128 PyObject *resultobj;
5129 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5130 std::string *arg2 = 0 ;
5131 unsigned long *arg3 = 0 ;
5132 bool result;
5133 std::string temp2 ;
5134 PyObject * obj0 = 0 ;
5135 PyObject * obj1 = 0 ;
5136 PyObject * obj2 = 0 ;
5137
5138 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5140 {
5141 if (PyString_Check(obj1)) {
5142 temp2 = std::string(PyString_AsString(obj1));
5143 arg2 = &temp2;
5144 }else {
5145 SWIG_exception(SWIG_TypeError, "string expected");
5146 }
5147 }
5148 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5149 if (arg3 == NULL) {
5150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5151 }
5152 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5153
5154 resultobj = PyInt_FromLong((long)result);
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5162 PyObject *resultobj;
5163 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5164 std::string *arg2 = 0 ;
5165 std::string *arg3 = 0 ;
5166 bool result;
5167 std::string temp2 ;
5168 PyObject * obj0 = 0 ;
5169 PyObject * obj1 = 0 ;
5170 PyObject * obj2 = 0 ;
5171
5172 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5174 {
5175 if (PyString_Check(obj1)) {
5176 temp2 = std::string(PyString_AsString(obj1));
5177 arg2 = &temp2;
5178 }else {
5179 SWIG_exception(SWIG_TypeError, "string expected");
5180 }
5181 }
5182 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5183 if (arg3 == NULL) {
5184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5185 }
5186 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5187
5188 resultobj = PyInt_FromLong((long)result);
5189 return resultobj;
5190 fail:
5191 return NULL;
5192 }
5193
5194
5195 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5196 int argc;
5197 PyObject *argv[4];
5198 int ii;
5199
5200 argc = PyObject_Length(args);
5201 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5202 argv[ii] = PyTuple_GetItem(args,ii);
5203 }
5204 if (argc == 3) {
5205 int _v;
5206 {
5207 void *ptr;
5208 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5209 _v = 0;
5210 PyErr_Clear();
5211 }else {
5212 _v = 1;
5213 }
5214 }
5215 if (_v) {
5216 {
5217 _v = PyString_Check(argv[1]) ? 1 : 0;
5218 }
5219 if (_v) {
5220 {
5221 void *ptr;
5222 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5223 _v = 0;
5224 PyErr_Clear();
5225 }else {
5226 _v = 1;
5227 }
5228 }
5229 if (_v) {
5230 return _wrap_Configuration_getValue__SWIG_0(self,args);
5231 }
5232 }
5233 }
5234 }
5235 if (argc == 3) {
5236 int _v;
5237 {
5238 void *ptr;
5239 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5240 _v = 0;
5241 PyErr_Clear();
5242 }else {
5243 _v = 1;
5244 }
5245 }
5246 if (_v) {
5247 {
5248 _v = PyString_Check(argv[1]) ? 1 : 0;
5249 }
5250 if (_v) {
5251 {
5252 void *ptr;
5253 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5254 _v = 0;
5255 PyErr_Clear();
5256 }else {
5257 _v = 1;
5258 }
5259 }
5260 if (_v) {
5261 return _wrap_Configuration_getValue__SWIG_1(self,args);
5262 }
5263 }
5264 }
5265 }
5266 if (argc == 3) {
5267 int _v;
5268 {
5269 void *ptr;
5270 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5271 _v = 0;
5272 PyErr_Clear();
5273 }else {
5274 _v = 1;
5275 }
5276 }
5277 if (_v) {
5278 {
5279 _v = PyString_Check(argv[1]) ? 1 : 0;
5280 }
5281 if (_v) {
5282 {
5283 void *ptr;
5284 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5285 _v = 0;
5286 PyErr_Clear();
5287 }else {
5288 _v = 1;
5289 }
5290 }
5291 if (_v) {
5292 return _wrap_Configuration_getValue__SWIG_2(self,args);
5293 }
5294 }
5295 }
5296 }
5297 if (argc == 3) {
5298 int _v;
5299 {
5300 void *ptr;
5301 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5302 _v = 0;
5303 PyErr_Clear();
5304 }else {
5305 _v = 1;
5306 }
5307 }
5308 if (_v) {
5309 {
5310 _v = PyString_Check(argv[1]) ? 1 : 0;
5311 }
5312 if (_v) {
5313 {
5314 void *ptr;
5315 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5316 _v = 0;
5317 PyErr_Clear();
5318 }else {
5319 _v = 1;
5320 }
5321 }
5322 if (_v) {
5323 return _wrap_Configuration_getValue__SWIG_3(self,args);
5324 }
5325 }
5326 }
5327 }
5328 if (argc == 3) {
5329 int _v;
5330 {
5331 void *ptr;
5332 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5333 _v = 0;
5334 PyErr_Clear();
5335 }else {
5336 _v = 1;
5337 }
5338 }
5339 if (_v) {
5340 {
5341 _v = PyString_Check(argv[1]) ? 1 : 0;
5342 }
5343 if (_v) {
5344 {
5345 void *ptr;
5346 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5347 _v = 0;
5348 PyErr_Clear();
5349 }else {
5350 _v = 1;
5351 }
5352 }
5353 if (_v) {
5354 return _wrap_Configuration_getValue__SWIG_4(self,args);
5355 }
5356 }
5357 }
5358 }
5359 if (argc == 3) {
5360 int _v;
5361 {
5362 void *ptr;
5363 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5364 _v = 0;
5365 PyErr_Clear();
5366 }else {
5367 _v = 1;
5368 }
5369 }
5370 if (_v) {
5371 {
5372 _v = PyString_Check(argv[1]) ? 1 : 0;
5373 }
5374 if (_v) {
5375 {
5376 void *ptr;
5377 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5378 _v = 0;
5379 PyErr_Clear();
5380 }else {
5381 _v = 1;
5382 }
5383 }
5384 if (_v) {
5385 return _wrap_Configuration_getValue__SWIG_5(self,args);
5386 }
5387 }
5388 }
5389 }
5390
5391 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5392 return NULL;
5393 }
5394
5395
5396 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5397 PyObject *obj;
5398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5399 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5400 Py_INCREF(obj);
5401 return Py_BuildValue((char *)"");
5402 }
5403 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5404 {
5405 void *temp;
5406 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5407 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5408 return 1;
5409 }
5410 otk::OBDisplay::display = (Display *) temp;
5411 }
5412 return 0;
5413 }
5414
5415
5416 static PyObject *_wrap_OBDisplay_display_get() {
5417 PyObject *pyobj;
5418
5419 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5420 return pyobj;
5421 }
5422
5423
5424 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5425 PyObject *resultobj;
5426 char *arg1 ;
5427
5428 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5429 otk::OBDisplay::initialize(arg1);
5430
5431 Py_INCREF(Py_None); resultobj = Py_None;
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5439 PyObject *resultobj;
5440
5441 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5442 otk::OBDisplay::destroy();
5443
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5452 PyObject *resultobj;
5453 otk::BGCCache *result;
5454
5455 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5456 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5457
5458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5466 PyObject *resultobj;
5467 int arg1 ;
5468 otk::ScreenInfo *result;
5469
5470 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5471 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5472
5473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5481 PyObject *resultobj;
5482 bool result;
5483
5484 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5485 result = (bool)otk::OBDisplay::shape();
5486
5487 resultobj = PyInt_FromLong((long)result);
5488 return resultobj;
5489 fail:
5490 return NULL;
5491 }
5492
5493
5494 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5495 PyObject *resultobj;
5496 int result;
5497
5498 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5499 result = (int)otk::OBDisplay::shapeEventBase();
5500
5501 resultobj = PyInt_FromLong((long)result);
5502 return resultobj;
5503 fail:
5504 return NULL;
5505 }
5506
5507
5508 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5509 PyObject *resultobj;
5510 bool result;
5511
5512 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5513 result = (bool)otk::OBDisplay::xinerama();
5514
5515 resultobj = PyInt_FromLong((long)result);
5516 return resultobj;
5517 fail:
5518 return NULL;
5519 }
5520
5521
5522 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5523 PyObject *resultobj;
5524
5525 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5526 otk::OBDisplay::grab();
5527
5528 Py_INCREF(Py_None); resultobj = Py_None;
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5536 PyObject *resultobj;
5537
5538 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5539 otk::OBDisplay::ungrab();
5540
5541 Py_INCREF(Py_None); resultobj = Py_None;
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5549 PyObject *resultobj;
5550 unsigned int arg1 ;
5551 unsigned int arg2 ;
5552 Window arg3 ;
5553 bool arg4 ;
5554 unsigned int arg5 ;
5555 int arg6 ;
5556 int arg7 ;
5557 Window arg8 ;
5558 Cursor arg9 ;
5559 bool arg10 ;
5560 Window *argp3 ;
5561 Window *argp8 ;
5562 Cursor *argp9 ;
5563 PyObject * obj0 = 0 ;
5564 PyObject * obj1 = 0 ;
5565 PyObject * obj2 = 0 ;
5566 PyObject * obj3 = 0 ;
5567 PyObject * obj4 = 0 ;
5568 PyObject * obj7 = 0 ;
5569 PyObject * obj8 = 0 ;
5570 PyObject * obj9 = 0 ;
5571
5572 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) 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 arg4 = (bool) PyInt_AsLong(obj3);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 arg5 = (unsigned int) PyInt_AsLong(obj4);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5584 arg8 = *argp8;
5585 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5586 arg9 = *argp9;
5587 arg10 = (bool) PyInt_AsLong(obj9);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5590
5591 Py_INCREF(Py_None); resultobj = Py_None;
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5599 PyObject *resultobj;
5600 unsigned int arg1 ;
5601 unsigned int arg2 ;
5602 Window arg3 ;
5603 Window *argp3 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 PyObject * obj2 = 0 ;
5607
5608 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5609 arg1 = (unsigned int) PyInt_AsLong(obj0);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 arg2 = (unsigned int) PyInt_AsLong(obj1);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5614 arg3 = *argp3;
5615 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5616
5617 Py_INCREF(Py_None); resultobj = Py_None;
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5625 PyObject *resultobj;
5626 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5627 PyObject * obj0 = 0 ;
5628
5629 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5631 delete arg1;
5632
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5641 PyObject *obj;
5642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5643 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5644 Py_INCREF(obj);
5645 return Py_BuildValue((char *)"");
5646 }
5647 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5648 PyObject *resultobj;
5649 std::string result;
5650
5651 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5652 result = otk::BFont::fallbackFont();
5653
5654 {
5655 resultobj = PyString_FromString((&result)->c_str());
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5664 PyObject *resultobj;
5665 std::string *arg1 = 0 ;
5666 std::string temp1 ;
5667 PyObject * obj0 = 0 ;
5668
5669 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5670 {
5671 if (PyString_Check(obj0)) {
5672 temp1 = std::string(PyString_AsString(obj0));
5673 arg1 = &temp1;
5674 }else {
5675 SWIG_exception(SWIG_TypeError, "string expected");
5676 }
5677 }
5678 otk::BFont::setFallbackFont((std::string const &)*arg1);
5679
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5688 PyObject *resultobj;
5689 int arg1 ;
5690 std::string *arg2 = 0 ;
5691 bool arg3 ;
5692 unsigned char arg4 ;
5693 unsigned char arg5 ;
5694 otk::BFont *result;
5695 std::string temp2 ;
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
5698 PyObject * obj3 = 0 ;
5699 PyObject * obj4 = 0 ;
5700
5701 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5702 {
5703 if (PyString_Check(obj1)) {
5704 temp2 = std::string(PyString_AsString(obj1));
5705 arg2 = &temp2;
5706 }else {
5707 SWIG_exception(SWIG_TypeError, "string expected");
5708 }
5709 }
5710 arg3 = (bool) PyInt_AsLong(obj2);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 arg4 = (unsigned char) PyInt_AsLong(obj3);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 arg5 = (unsigned char) PyInt_AsLong(obj4);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5717
5718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5719 return resultobj;
5720 fail:
5721 return NULL;
5722 }
5723
5724
5725 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5726 PyObject *resultobj;
5727 otk::BFont *arg1 = (otk::BFont *) 0 ;
5728 PyObject * obj0 = 0 ;
5729
5730 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 delete arg1;
5733
5734 Py_INCREF(Py_None); resultobj = Py_None;
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5742 PyObject *resultobj;
5743 otk::BFont *arg1 = (otk::BFont *) 0 ;
5744 std::string *result;
5745 PyObject * obj0 = 0 ;
5746
5747 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5749 {
5750 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5751 result = (std::string *) &_result_ref;
5752 }
5753
5754 {
5755 resultobj = PyString_FromString(result->c_str());
5756 }
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5764 PyObject *resultobj;
5765 otk::BFont *arg1 = (otk::BFont *) 0 ;
5766 unsigned int result;
5767 PyObject * obj0 = 0 ;
5768
5769 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5771 result = (unsigned int)((otk::BFont const *)arg1)->height();
5772
5773 resultobj = PyInt_FromLong((long)result);
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5781 PyObject *resultobj;
5782 otk::BFont *arg1 = (otk::BFont *) 0 ;
5783 unsigned int result;
5784 PyObject * obj0 = 0 ;
5785
5786 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5789
5790 resultobj = PyInt_FromLong((long)result);
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5798 PyObject *resultobj;
5799 otk::BFont *arg1 = (otk::BFont *) 0 ;
5800 std::string *arg2 = 0 ;
5801 bool arg3 = (bool) false ;
5802 unsigned int result;
5803 std::string temp2 ;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 PyObject * obj2 = 0 ;
5807
5808 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5810 {
5811 if (PyString_Check(obj1)) {
5812 temp2 = std::string(PyString_AsString(obj1));
5813 arg2 = &temp2;
5814 }else {
5815 SWIG_exception(SWIG_TypeError, "string expected");
5816 }
5817 }
5818 if (obj2) {
5819 arg3 = (bool) PyInt_AsLong(obj2);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5823
5824 resultobj = PyInt_FromLong((long)result);
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5832 PyObject *resultobj;
5833 otk::BFont *arg1 = (otk::BFont *) 0 ;
5834 XftDraw *arg2 = (XftDraw *) 0 ;
5835 int arg3 ;
5836 int arg4 ;
5837 otk::BColor *arg5 = 0 ;
5838 std::string *arg6 = 0 ;
5839 bool arg7 = (bool) false ;
5840 std::string temp6 ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 PyObject * obj4 = 0 ;
5844 PyObject * obj5 = 0 ;
5845 PyObject * obj6 = 0 ;
5846
5847 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5850 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5851 if (arg5 == NULL) {
5852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5853 }
5854 {
5855 if (PyString_Check(obj5)) {
5856 temp6 = std::string(PyString_AsString(obj5));
5857 arg6 = &temp6;
5858 }else {
5859 SWIG_exception(SWIG_TypeError, "string expected");
5860 }
5861 }
5862 if (obj6) {
5863 arg7 = (bool) PyInt_AsLong(obj6);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5867
5868 Py_INCREF(Py_None); resultobj = Py_None;
5869 return resultobj;
5870 fail:
5871 return NULL;
5872 }
5873
5874
5875 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5876 PyObject *obj;
5877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5878 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5879 Py_INCREF(obj);
5880 return Py_BuildValue((char *)"");
5881 }
5882 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5883 PyObject *resultobj;
5884 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5885 otk::BColor *arg2 = 0 ;
5886 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5887 int arg4 ;
5888 int arg5 ;
5889 int arg6 ;
5890 PyObject * obj0 = 0 ;
5891 PyObject * obj1 = 0 ;
5892 PyObject * obj2 = 0 ;
5893
5894 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5897 if (arg2 == NULL) {
5898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5899 }
5900 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5902
5903 Py_INCREF(Py_None); resultobj = Py_None;
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5911 PyObject *resultobj;
5912 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5913 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916
5917 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 (arg1)->set((XFontStruct const *)arg2);
5921
5922 Py_INCREF(Py_None); resultobj = Py_None;
5923 return resultobj;
5924 fail:
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
5930 int argc;
5931 PyObject *argv[7];
5932 int ii;
5933
5934 argc = PyObject_Length(args);
5935 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
5936 argv[ii] = PyTuple_GetItem(args,ii);
5937 }
5938 if (argc == 2) {
5939 int _v;
5940 {
5941 void *ptr;
5942 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 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[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5953 _v = 0;
5954 PyErr_Clear();
5955 }else {
5956 _v = 1;
5957 }
5958 }
5959 if (_v) {
5960 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
5961 }
5962 }
5963 }
5964 if (argc == 6) {
5965 int _v;
5966 {
5967 void *ptr;
5968 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5969 _v = 0;
5970 PyErr_Clear();
5971 }else {
5972 _v = 1;
5973 }
5974 }
5975 if (_v) {
5976 {
5977 void *ptr;
5978 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
5979 _v = 0;
5980 PyErr_Clear();
5981 }else {
5982 _v = 1;
5983 }
5984 }
5985 if (_v) {
5986 {
5987 void *ptr;
5988 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5989 _v = 0;
5990 PyErr_Clear();
5991 }else {
5992 _v = 1;
5993 }
5994 }
5995 if (_v) {
5996 {
5997 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5998 }
5999 if (_v) {
6000 {
6001 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6002 }
6003 if (_v) {
6004 {
6005 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6006 }
6007 if (_v) {
6008 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6009 }
6010 }
6011 }
6012 }
6013 }
6014 }
6015 }
6016
6017 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6023 PyObject *resultobj;
6024 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6025 PyObject * obj0 = 0 ;
6026
6027 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6029 delete arg1;
6030
6031 Py_INCREF(Py_None); resultobj = Py_None;
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6039 PyObject *obj;
6040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6041 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6042 Py_INCREF(obj);
6043 return Py_BuildValue((char *)"");
6044 }
6045 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6046 PyObject *resultobj;
6047 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6048 GC *result;
6049 PyObject * obj0 = 0 ;
6050
6051 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6053 {
6054 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6055 result = (GC *) &_result_ref;
6056 }
6057
6058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6066 PyObject *resultobj;
6067 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6068 PyObject * obj0 = 0 ;
6069
6070 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6072 delete arg1;
6073
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6082 PyObject *obj;
6083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6084 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6085 Py_INCREF(obj);
6086 return Py_BuildValue((char *)"");
6087 }
6088 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6089 PyObject *resultobj;
6090 unsigned int arg1 ;
6091 otk::BGCCache *result;
6092 PyObject * obj0 = 0 ;
6093
6094 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6095 arg1 = (unsigned int) PyInt_AsLong(obj0);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6098
6099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6107 PyObject *resultobj;
6108 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6109 PyObject * obj0 = 0 ;
6110
6111 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 delete arg1;
6114
6115 Py_INCREF(Py_None); resultobj = Py_None;
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6123 PyObject *resultobj;
6124 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6125 PyObject * obj0 = 0 ;
6126
6127 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6129 (arg1)->purge();
6130
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6139 PyObject *resultobj;
6140 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6141 otk::BColor *arg2 = 0 ;
6142 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6143 int arg4 = (int) GXcopy ;
6144 int arg5 = (int) ClipByChildren ;
6145 int arg6 = (int) 0 ;
6146 otk::BGCCacheItem *result;
6147 PyObject * obj0 = 0 ;
6148 PyObject * obj1 = 0 ;
6149 PyObject * obj2 = 0 ;
6150
6151 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6154 if (arg2 == NULL) {
6155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6156 }
6157 if (obj2) {
6158 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 }
6160 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6161
6162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6170 PyObject *resultobj;
6171 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6172 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175
6176 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6179 (arg1)->release(arg2);
6180
6181 Py_INCREF(Py_None); resultobj = Py_None;
6182 return resultobj;
6183 fail:
6184 return NULL;
6185 }
6186
6187
6188 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6189 PyObject *obj;
6190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6191 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6192 Py_INCREF(obj);
6193 return Py_BuildValue((char *)"");
6194 }
6195 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6196 PyObject *resultobj;
6197 otk::BColor *arg1 = 0 ;
6198 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6199 int arg3 = (int) 0 ;
6200 int arg4 = (int) GXcopy ;
6201 int arg5 = (int) ClipByChildren ;
6202 otk::BPen *result;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205
6206 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6208 if (arg1 == NULL) {
6209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6210 }
6211 if (obj1) {
6212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6213 }
6214 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6215
6216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6224 PyObject *resultobj;
6225 otk::BPen *arg1 = (otk::BPen *) 0 ;
6226 PyObject * obj0 = 0 ;
6227
6228 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 delete arg1;
6231
6232 Py_INCREF(Py_None); resultobj = Py_None;
6233 return resultobj;
6234 fail:
6235 return NULL;
6236 }
6237
6238
6239 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6240 PyObject *resultobj;
6241 otk::BPen *arg1 = (otk::BPen *) 0 ;
6242 GC *result;
6243 PyObject * obj0 = 0 ;
6244
6245 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6247 {
6248 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6249 result = (GC *) &_result_ref;
6250 }
6251
6252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6260 PyObject *obj;
6261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6262 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6263 Py_INCREF(obj);
6264 return Py_BuildValue((char *)"");
6265 }
6266 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6267 PyObject *resultobj;
6268 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6269 int arg2 ;
6270 int arg3 ;
6271 otk::BImage *result;
6272 PyObject * obj0 = 0 ;
6273
6274 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6277
6278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6286 PyObject *resultobj;
6287 otk::BImage *arg1 = (otk::BImage *) 0 ;
6288 PyObject * obj0 = 0 ;
6289
6290 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6292 delete arg1;
6293
6294 Py_INCREF(Py_None); resultobj = Py_None;
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6302 PyObject *resultobj;
6303 otk::BImage *arg1 = (otk::BImage *) 0 ;
6304 otk::BTexture *arg2 = 0 ;
6305 Pixmap result;
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308
6309 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6312 if (arg2 == NULL) {
6313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6314 }
6315 result = (arg1)->render((otk::BTexture const &)*arg2);
6316
6317 {
6318 Pixmap * resultptr;
6319 resultptr = new Pixmap((Pixmap &) result);
6320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6329 PyObject *obj;
6330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6331 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6332 Py_INCREF(obj);
6333 return Py_BuildValue((char *)"");
6334 }
6335 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6336 PyObject *resultobj;
6337 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6338 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6339 bool arg3 = (bool) False ;
6340 int arg4 = (int) 4 ;
6341 unsigned long arg5 = (unsigned long) 300000l ;
6342 unsigned long arg6 = (unsigned long) 200l ;
6343 otk::BImageControl *result;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 PyObject * obj2 = 0 ;
6347 PyObject * obj4 = 0 ;
6348 PyObject * obj5 = 0 ;
6349
6350 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 if (obj2) {
6354 arg3 = (bool) PyInt_AsLong(obj2);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 if (obj4) {
6358 arg5 = (unsigned long) PyInt_AsLong(obj4);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 if (obj5) {
6362 arg6 = (unsigned long) PyInt_AsLong(obj5);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6366
6367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6375 PyObject *resultobj;
6376 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6377 PyObject * obj0 = 0 ;
6378
6379 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6381 delete arg1;
6382
6383 Py_INCREF(Py_None); resultobj = Py_None;
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6391 PyObject *resultobj;
6392 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6393 bool result;
6394 PyObject * obj0 = 0 ;
6395
6396 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6398 result = (bool)(arg1)->doDither();
6399
6400 resultobj = PyInt_FromLong((long)result);
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6408 PyObject *resultobj;
6409 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6410 otk::ScreenInfo *result;
6411 PyObject * obj0 = 0 ;
6412
6413 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6415 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6416
6417 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6425 PyObject *resultobj;
6426 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6427 Window result;
6428 PyObject * obj0 = 0 ;
6429
6430 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6432 result = ((otk::BImageControl const *)arg1)->getDrawable();
6433
6434 {
6435 Window * resultptr;
6436 resultptr = new Window((Window &) result);
6437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6446 PyObject *resultobj;
6447 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6448 Visual *result;
6449 PyObject * obj0 = 0 ;
6450
6451 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6453 result = (Visual *)(arg1)->getVisual();
6454
6455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6463 PyObject *resultobj;
6464 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6465 int result;
6466 PyObject * obj0 = 0 ;
6467
6468 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6470 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6471
6472 resultobj = PyInt_FromLong((long)result);
6473 return resultobj;
6474 fail:
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6480 PyObject *resultobj;
6481 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6482 int result;
6483 PyObject * obj0 = 0 ;
6484
6485 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6488
6489 resultobj = PyInt_FromLong((long)result);
6490 return resultobj;
6491 fail:
6492 return NULL;
6493 }
6494
6495
6496 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6497 PyObject *resultobj;
6498 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6499 int result;
6500 PyObject * obj0 = 0 ;
6501
6502 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6505
6506 resultobj = PyInt_FromLong((long)result);
6507 return resultobj;
6508 fail:
6509 return NULL;
6510 }
6511
6512
6513 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6514 PyObject *resultobj;
6515 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6516 unsigned int arg2 ;
6517 unsigned long result;
6518 PyObject * obj0 = 0 ;
6519 PyObject * obj1 = 0 ;
6520
6521 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6523 arg2 = (unsigned int) PyInt_AsLong(obj1);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 result = (unsigned long)(arg1)->getSqrt(arg2);
6526
6527 resultobj = PyInt_FromLong((long)result);
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6535 PyObject *resultobj;
6536 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6537 unsigned int arg2 ;
6538 unsigned int arg3 ;
6539 otk::BTexture *arg4 = 0 ;
6540 Pixmap result;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 PyObject * obj2 = 0 ;
6544 PyObject * obj3 = 0 ;
6545
6546 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6548 arg2 = (unsigned int) PyInt_AsLong(obj1);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 arg3 = (unsigned int) PyInt_AsLong(obj2);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6553 if (arg4 == NULL) {
6554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6555 }
6556 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6557
6558 {
6559 Pixmap * resultptr;
6560 resultptr = new Pixmap((Pixmap &) result);
6561 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6562 }
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6570 PyObject *resultobj;
6571 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6572 PyObject * obj0 = 0 ;
6573
6574 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6576 (arg1)->installRootColormap();
6577
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6586 PyObject *resultobj;
6587 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6588 Pixmap arg2 ;
6589 Pixmap *argp2 ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592
6593 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) 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 **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6596 arg2 = *argp2;
6597 (arg1)->removeImage(arg2);
6598
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6607 PyObject *resultobj;
6608 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6609 unsigned char **arg2 = (unsigned char **) 0 ;
6610 unsigned char **arg3 = (unsigned char **) 0 ;
6611 unsigned char **arg4 = (unsigned char **) 0 ;
6612 int *arg5 = (int *) 0 ;
6613 int *arg6 = (int *) 0 ;
6614 int *arg7 = (int *) 0 ;
6615 int *arg8 = (int *) 0 ;
6616 int *arg9 = (int *) 0 ;
6617 int *arg10 = (int *) 0 ;
6618 PyObject * obj0 = 0 ;
6619 PyObject * obj1 = 0 ;
6620 PyObject * obj2 = 0 ;
6621 PyObject * obj3 = 0 ;
6622 PyObject * obj4 = 0 ;
6623 PyObject * obj5 = 0 ;
6624 PyObject * obj6 = 0 ;
6625 PyObject * obj7 = 0 ;
6626 PyObject * obj8 = 0 ;
6627 PyObject * obj9 = 0 ;
6628
6629 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6632 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6634 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6637 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6638 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6639 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6640 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6641
6642 Py_INCREF(Py_None); resultobj = Py_None;
6643 return resultobj;
6644 fail:
6645 return NULL;
6646 }
6647
6648
6649 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6650 PyObject *resultobj;
6651 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6652 XColor **arg2 = (XColor **) 0 ;
6653 int *arg3 = (int *) 0 ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6656 PyObject * obj2 = 0 ;
6657
6658 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6662 (arg1)->getXColorTable(arg2,arg3);
6663
6664 Py_INCREF(Py_None); resultobj = Py_None;
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6672 PyObject *resultobj;
6673 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6674 unsigned int arg2 ;
6675 unsigned int arg3 ;
6676 unsigned int **arg4 = (unsigned int **) 0 ;
6677 unsigned int **arg5 = (unsigned int **) 0 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 PyObject * obj2 = 0 ;
6681 PyObject * obj3 = 0 ;
6682 PyObject * obj4 = 0 ;
6683
6684 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 arg2 = (unsigned int) PyInt_AsLong(obj1);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 arg3 = (unsigned int) PyInt_AsLong(obj2);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6691 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6692 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6693
6694 Py_INCREF(Py_None); resultobj = Py_None;
6695 return resultobj;
6696 fail:
6697 return NULL;
6698 }
6699
6700
6701 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6702 PyObject *resultobj;
6703 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6704 bool arg2 ;
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
6707
6708 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 arg2 = (bool) PyInt_AsLong(obj1);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 (arg1)->setDither(arg2);
6713
6714 Py_INCREF(Py_None); resultobj = Py_None;
6715 return resultobj;
6716 fail:
6717 return NULL;
6718 }
6719
6720
6721 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6722 PyObject *resultobj;
6723 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6724 int arg2 ;
6725 PyObject * obj0 = 0 ;
6726
6727 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729 (arg1)->setColorsPerChannel(arg2);
6730
6731 Py_INCREF(Py_None); resultobj = Py_None;
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6739 PyObject *resultobj;
6740 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6741 PyObject * obj0 = 0 ;
6742
6743 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6745 otk::BImageControl::timeout(arg1);
6746
6747 Py_INCREF(Py_None); resultobj = Py_None;
6748 return resultobj;
6749 fail:
6750 return NULL;
6751 }
6752
6753
6754 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6755 PyObject *obj;
6756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6757 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6758 Py_INCREF(obj);
6759 return Py_BuildValue((char *)"");
6760 }
6761 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6762 PyObject *resultobj;
6763 otk::Point *result;
6764
6765 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6766 result = (otk::Point *)new otk::Point();
6767
6768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6776 PyObject *resultobj;
6777 int arg1 ;
6778 int arg2 ;
6779 otk::Point *result;
6780
6781 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6782 result = (otk::Point *)new otk::Point(arg1,arg2);
6783
6784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6792 int argc;
6793 PyObject *argv[3];
6794 int ii;
6795
6796 argc = PyObject_Length(args);
6797 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6798 argv[ii] = PyTuple_GetItem(args,ii);
6799 }
6800 if (argc == 0) {
6801 return _wrap_new_Point__SWIG_0(self,args);
6802 }
6803 if (argc == 2) {
6804 int _v;
6805 {
6806 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6807 }
6808 if (_v) {
6809 {
6810 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6811 }
6812 if (_v) {
6813 return _wrap_new_Point__SWIG_1(self,args);
6814 }
6815 }
6816 }
6817
6818 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6824 PyObject *resultobj;
6825 otk::Point *arg1 = (otk::Point *) 0 ;
6826 int arg2 ;
6827 PyObject * obj0 = 0 ;
6828
6829 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6831 (arg1)->setX(arg2);
6832
6833 Py_INCREF(Py_None); resultobj = Py_None;
6834 return resultobj;
6835 fail:
6836 return NULL;
6837 }
6838
6839
6840 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6841 PyObject *resultobj;
6842 otk::Point *arg1 = (otk::Point *) 0 ;
6843 int result;
6844 PyObject * obj0 = 0 ;
6845
6846 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6848 result = (int)((otk::Point const *)arg1)->x();
6849
6850 resultobj = PyInt_FromLong((long)result);
6851 return resultobj;
6852 fail:
6853 return NULL;
6854 }
6855
6856
6857 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6858 PyObject *resultobj;
6859 otk::Point *arg1 = (otk::Point *) 0 ;
6860 int arg2 ;
6861 PyObject * obj0 = 0 ;
6862
6863 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 (arg1)->setY(arg2);
6866
6867 Py_INCREF(Py_None); resultobj = Py_None;
6868 return resultobj;
6869 fail:
6870 return NULL;
6871 }
6872
6873
6874 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6875 PyObject *resultobj;
6876 otk::Point *arg1 = (otk::Point *) 0 ;
6877 int result;
6878 PyObject * obj0 = 0 ;
6879
6880 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6882 result = (int)((otk::Point const *)arg1)->y();
6883
6884 resultobj = PyInt_FromLong((long)result);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6892 PyObject *resultobj;
6893 otk::Point *arg1 = (otk::Point *) 0 ;
6894 int arg2 ;
6895 int arg3 ;
6896 PyObject * obj0 = 0 ;
6897
6898 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 (arg1)->setPoint(arg2,arg3);
6901
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6910 PyObject *resultobj;
6911 otk::Point *arg1 = (otk::Point *) 0 ;
6912 PyObject * obj0 = 0 ;
6913
6914 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6916 delete arg1;
6917
6918 Py_INCREF(Py_None); resultobj = Py_None;
6919 return resultobj;
6920 fail:
6921 return NULL;
6922 }
6923
6924
6925 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
6926 PyObject *obj;
6927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6928 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
6929 Py_INCREF(obj);
6930 return Py_BuildValue((char *)"");
6931 }
6932 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
6933 PyObject *resultobj;
6934 otk::OBProperty *result;
6935
6936 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
6937 result = (otk::OBProperty *)new otk::OBProperty();
6938
6939 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
6947 PyObject *resultobj;
6948 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6949 PyObject * obj0 = 0 ;
6950
6951 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 delete arg1;
6954
6955 Py_INCREF(Py_None); resultobj = Py_None;
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
6963 PyObject *resultobj;
6964 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6965 Window arg2 ;
6966 int arg3 ;
6967 int arg4 ;
6968 unsigned long arg5 ;
6969 Window *argp2 ;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj4 = 0 ;
6973
6974 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6976 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6977 arg2 = *argp2;
6978 arg5 = (unsigned long) PyInt_AsLong(obj4);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
6981
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
6990 PyObject *resultobj;
6991 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6992 Window arg2 ;
6993 int arg3 ;
6994 int arg4 ;
6995 unsigned long *arg5 ;
6996 int arg6 ;
6997 Window *argp2 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 PyObject * obj4 = 0 ;
7001
7002 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7004 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7005 arg2 = *argp2;
7006 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7008
7009 Py_INCREF(Py_None); resultobj = Py_None;
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7017 PyObject *resultobj;
7018 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7019 Window arg2 ;
7020 int arg3 ;
7021 int arg4 ;
7022 std::string *arg5 = 0 ;
7023 Window *argp2 ;
7024 std::string temp5 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 PyObject * obj4 = 0 ;
7028
7029 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7032 arg2 = *argp2;
7033 {
7034 if (PyString_Check(obj4)) {
7035 temp5 = std::string(PyString_AsString(obj4));
7036 arg5 = &temp5;
7037 }else {
7038 SWIG_exception(SWIG_TypeError, "string expected");
7039 }
7040 }
7041 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7042
7043 Py_INCREF(Py_None); resultobj = Py_None;
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7051 PyObject *resultobj;
7052 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7053 Window arg2 ;
7054 int arg3 ;
7055 int arg4 ;
7056 otk::OBProperty::StringVect *arg5 = 0 ;
7057 Window *argp2 ;
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 PyObject * obj4 = 0 ;
7061
7062 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7064 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7065 arg2 = *argp2;
7066 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7067 if (arg5 == NULL) {
7068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7069 }
7070 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7071
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7080 int argc;
7081 PyObject *argv[7];
7082 int ii;
7083
7084 argc = PyObject_Length(args);
7085 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7086 argv[ii] = PyTuple_GetItem(args,ii);
7087 }
7088 if (argc == 5) {
7089 int _v;
7090 {
7091 void *ptr;
7092 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7093 _v = 0;
7094 PyErr_Clear();
7095 }else {
7096 _v = 1;
7097 }
7098 }
7099 if (_v) {
7100 {
7101 void *ptr;
7102 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7103 _v = 0;
7104 PyErr_Clear();
7105 }else {
7106 _v = 1;
7107 }
7108 }
7109 if (_v) {
7110 {
7111 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7112 }
7113 if (_v) {
7114 {
7115 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7116 }
7117 if (_v) {
7118 {
7119 void *ptr;
7120 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7121 _v = 0;
7122 PyErr_Clear();
7123 }else {
7124 _v = 1;
7125 }
7126 }
7127 if (_v) {
7128 return _wrap_OBProperty_set__SWIG_3(self,args);
7129 }
7130 }
7131 }
7132 }
7133 }
7134 }
7135 if (argc == 5) {
7136 int _v;
7137 {
7138 void *ptr;
7139 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7140 _v = 0;
7141 PyErr_Clear();
7142 }else {
7143 _v = 1;
7144 }
7145 }
7146 if (_v) {
7147 {
7148 void *ptr;
7149 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7150 _v = 0;
7151 PyErr_Clear();
7152 }else {
7153 _v = 1;
7154 }
7155 }
7156 if (_v) {
7157 {
7158 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7159 }
7160 if (_v) {
7161 {
7162 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7163 }
7164 if (_v) {
7165 {
7166 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7167 }
7168 if (_v) {
7169 return _wrap_OBProperty_set__SWIG_0(self,args);
7170 }
7171 }
7172 }
7173 }
7174 }
7175 }
7176 if (argc == 5) {
7177 int _v;
7178 {
7179 void *ptr;
7180 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7181 _v = 0;
7182 PyErr_Clear();
7183 }else {
7184 _v = 1;
7185 }
7186 }
7187 if (_v) {
7188 {
7189 void *ptr;
7190 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7191 _v = 0;
7192 PyErr_Clear();
7193 }else {
7194 _v = 1;
7195 }
7196 }
7197 if (_v) {
7198 {
7199 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7200 }
7201 if (_v) {
7202 {
7203 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7204 }
7205 if (_v) {
7206 {
7207 _v = PyString_Check(argv[4]) ? 1 : 0;
7208 }
7209 if (_v) {
7210 return _wrap_OBProperty_set__SWIG_2(self,args);
7211 }
7212 }
7213 }
7214 }
7215 }
7216 }
7217 if (argc == 6) {
7218 int _v;
7219 {
7220 void *ptr;
7221 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7222 _v = 0;
7223 PyErr_Clear();
7224 }else {
7225 _v = 1;
7226 }
7227 }
7228 if (_v) {
7229 {
7230 void *ptr;
7231 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7232 _v = 0;
7233 PyErr_Clear();
7234 }else {
7235 _v = 1;
7236 }
7237 }
7238 if (_v) {
7239 {
7240 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7241 }
7242 if (_v) {
7243 {
7244 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7245 }
7246 if (_v) {
7247 {
7248 void *ptr;
7249 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7250 _v = 0;
7251 PyErr_Clear();
7252 }else {
7253 _v = 1;
7254 }
7255 }
7256 if (_v) {
7257 {
7258 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7259 }
7260 if (_v) {
7261 return _wrap_OBProperty_set__SWIG_1(self,args);
7262 }
7263 }
7264 }
7265 }
7266 }
7267 }
7268 }
7269
7270 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7276 PyObject *resultobj;
7277 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7278 Window arg2 ;
7279 int arg3 ;
7280 int arg4 ;
7281 unsigned long *arg5 = (unsigned long *) 0 ;
7282 unsigned long **arg6 = (unsigned long **) 0 ;
7283 bool result;
7284 Window *argp2 ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj4 = 0 ;
7288 PyObject * obj5 = 0 ;
7289
7290 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7292 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7293 arg2 = *argp2;
7294 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7296 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7297
7298 resultobj = PyInt_FromLong((long)result);
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7306 PyObject *resultobj;
7307 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7308 Window arg2 ;
7309 int arg3 ;
7310 int arg4 ;
7311 unsigned long *arg5 = (unsigned long *) 0 ;
7312 bool result;
7313 Window *argp2 ;
7314 PyObject * obj0 = 0 ;
7315 PyObject * obj1 = 0 ;
7316 PyObject * obj4 = 0 ;
7317
7318 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7320 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7321 arg2 = *argp2;
7322 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7323 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7324
7325 resultobj = PyInt_FromLong((long)result);
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7333 PyObject *resultobj;
7334 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7335 Window arg2 ;
7336 int arg3 ;
7337 int arg4 ;
7338 std::string *arg5 = (std::string *) 0 ;
7339 bool result;
7340 Window *argp2 ;
7341 PyObject * obj0 = 0 ;
7342 PyObject * obj1 = 0 ;
7343 PyObject * obj4 = 0 ;
7344
7345 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7348 arg2 = *argp2;
7349 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7351
7352 resultobj = PyInt_FromLong((long)result);
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7360 PyObject *resultobj;
7361 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7362 Window arg2 ;
7363 int arg3 ;
7364 int arg4 ;
7365 unsigned long *arg5 = (unsigned long *) 0 ;
7366 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7367 bool result;
7368 Window *argp2 ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 PyObject * obj4 = 0 ;
7372 PyObject * obj5 = 0 ;
7373
7374 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7377 arg2 = *argp2;
7378 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7379 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7380 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7381
7382 resultobj = PyInt_FromLong((long)result);
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7390 int argc;
7391 PyObject *argv[7];
7392 int ii;
7393
7394 argc = PyObject_Length(args);
7395 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7396 argv[ii] = PyTuple_GetItem(args,ii);
7397 }
7398 if (argc == 5) {
7399 int _v;
7400 {
7401 void *ptr;
7402 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7403 _v = 0;
7404 PyErr_Clear();
7405 }else {
7406 _v = 1;
7407 }
7408 }
7409 if (_v) {
7410 {
7411 void *ptr;
7412 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7413 _v = 0;
7414 PyErr_Clear();
7415 }else {
7416 _v = 1;
7417 }
7418 }
7419 if (_v) {
7420 {
7421 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7422 }
7423 if (_v) {
7424 {
7425 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7426 }
7427 if (_v) {
7428 {
7429 void *ptr;
7430 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7431 _v = 0;
7432 PyErr_Clear();
7433 }else {
7434 _v = 1;
7435 }
7436 }
7437 if (_v) {
7438 return _wrap_OBProperty_get__SWIG_1(self,args);
7439 }
7440 }
7441 }
7442 }
7443 }
7444 }
7445 if (argc == 5) {
7446 int _v;
7447 {
7448 void *ptr;
7449 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7450 _v = 0;
7451 PyErr_Clear();
7452 }else {
7453 _v = 1;
7454 }
7455 }
7456 if (_v) {
7457 {
7458 void *ptr;
7459 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7460 _v = 0;
7461 PyErr_Clear();
7462 }else {
7463 _v = 1;
7464 }
7465 }
7466 if (_v) {
7467 {
7468 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7469 }
7470 if (_v) {
7471 {
7472 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7473 }
7474 if (_v) {
7475 {
7476 void *ptr;
7477 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7478 _v = 0;
7479 PyErr_Clear();
7480 }else {
7481 _v = 1;
7482 }
7483 }
7484 if (_v) {
7485 return _wrap_OBProperty_get__SWIG_2(self,args);
7486 }
7487 }
7488 }
7489 }
7490 }
7491 }
7492 if (argc == 6) {
7493 int _v;
7494 {
7495 void *ptr;
7496 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7497 _v = 0;
7498 PyErr_Clear();
7499 }else {
7500 _v = 1;
7501 }
7502 }
7503 if (_v) {
7504 {
7505 void *ptr;
7506 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7507 _v = 0;
7508 PyErr_Clear();
7509 }else {
7510 _v = 1;
7511 }
7512 }
7513 if (_v) {
7514 {
7515 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7516 }
7517 if (_v) {
7518 {
7519 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7520 }
7521 if (_v) {
7522 {
7523 void *ptr;
7524 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7525 _v = 0;
7526 PyErr_Clear();
7527 }else {
7528 _v = 1;
7529 }
7530 }
7531 if (_v) {
7532 {
7533 void *ptr;
7534 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7535 _v = 0;
7536 PyErr_Clear();
7537 }else {
7538 _v = 1;
7539 }
7540 }
7541 if (_v) {
7542 return _wrap_OBProperty_get__SWIG_0(self,args);
7543 }
7544 }
7545 }
7546 }
7547 }
7548 }
7549 }
7550 if (argc == 6) {
7551 int _v;
7552 {
7553 void *ptr;
7554 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7555 _v = 0;
7556 PyErr_Clear();
7557 }else {
7558 _v = 1;
7559 }
7560 }
7561 if (_v) {
7562 {
7563 void *ptr;
7564 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7565 _v = 0;
7566 PyErr_Clear();
7567 }else {
7568 _v = 1;
7569 }
7570 }
7571 if (_v) {
7572 {
7573 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7574 }
7575 if (_v) {
7576 {
7577 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7578 }
7579 if (_v) {
7580 {
7581 void *ptr;
7582 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7583 _v = 0;
7584 PyErr_Clear();
7585 }else {
7586 _v = 1;
7587 }
7588 }
7589 if (_v) {
7590 {
7591 void *ptr;
7592 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7593 _v = 0;
7594 PyErr_Clear();
7595 }else {
7596 _v = 1;
7597 }
7598 }
7599 if (_v) {
7600 return _wrap_OBProperty_get__SWIG_3(self,args);
7601 }
7602 }
7603 }
7604 }
7605 }
7606 }
7607 }
7608
7609 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7615 PyObject *resultobj;
7616 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7617 Window arg2 ;
7618 int arg3 ;
7619 Window *argp2 ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622
7623 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7625 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7626 arg2 = *argp2;
7627 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7628
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7637 PyObject *resultobj;
7638 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7639 int arg2 ;
7640 Atom result;
7641 PyObject * obj0 = 0 ;
7642
7643 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7646
7647 {
7648 Atom * resultptr;
7649 resultptr = new Atom((Atom &) result);
7650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7651 }
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7659 PyObject *obj;
7660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7661 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7662 Py_INCREF(obj);
7663 return Py_BuildValue((char *)"");
7664 }
7665 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7666 PyObject *resultobj;
7667 otk::Rect *result;
7668
7669 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7670 result = (otk::Rect *)new otk::Rect();
7671
7672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7680 PyObject *resultobj;
7681 int arg1 ;
7682 int arg2 ;
7683 int arg3 ;
7684 int arg4 ;
7685 otk::Rect *result;
7686
7687 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7688 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7689
7690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7698 PyObject *resultobj;
7699 otk::Point *arg1 = 0 ;
7700 otk::Point *arg2 = 0 ;
7701 otk::Rect *result;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704
7705 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7707 if (arg1 == NULL) {
7708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7709 }
7710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7711 if (arg2 == NULL) {
7712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7713 }
7714 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7715
7716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7724 PyObject *resultobj;
7725 otk::Rect *arg1 = 0 ;
7726 otk::Rect *result;
7727 PyObject * obj0 = 0 ;
7728
7729 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7731 if (arg1 == NULL) {
7732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7733 }
7734 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7735
7736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7744 PyObject *resultobj;
7745 XRectangle *arg1 = 0 ;
7746 otk::Rect *result;
7747 PyObject * obj0 = 0 ;
7748
7749 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7751 if (arg1 == NULL) {
7752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7753 }
7754 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7755
7756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7764 int argc;
7765 PyObject *argv[5];
7766 int ii;
7767
7768 argc = PyObject_Length(args);
7769 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7770 argv[ii] = PyTuple_GetItem(args,ii);
7771 }
7772 if (argc == 0) {
7773 return _wrap_new_Rect__SWIG_0(self,args);
7774 }
7775 if (argc == 1) {
7776 int _v;
7777 {
7778 void *ptr;
7779 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7780 _v = 0;
7781 PyErr_Clear();
7782 }else {
7783 _v = 1;
7784 }
7785 }
7786 if (_v) {
7787 return _wrap_new_Rect__SWIG_3(self,args);
7788 }
7789 }
7790 if (argc == 1) {
7791 int _v;
7792 {
7793 void *ptr;
7794 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7795 _v = 0;
7796 PyErr_Clear();
7797 }else {
7798 _v = 1;
7799 }
7800 }
7801 if (_v) {
7802 return _wrap_new_Rect__SWIG_4(self,args);
7803 }
7804 }
7805 if (argc == 2) {
7806 int _v;
7807 {
7808 void *ptr;
7809 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7810 _v = 0;
7811 PyErr_Clear();
7812 }else {
7813 _v = 1;
7814 }
7815 }
7816 if (_v) {
7817 {
7818 void *ptr;
7819 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7820 _v = 0;
7821 PyErr_Clear();
7822 }else {
7823 _v = 1;
7824 }
7825 }
7826 if (_v) {
7827 return _wrap_new_Rect__SWIG_2(self,args);
7828 }
7829 }
7830 }
7831 if (argc == 4) {
7832 int _v;
7833 {
7834 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7835 }
7836 if (_v) {
7837 {
7838 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7839 }
7840 if (_v) {
7841 {
7842 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7843 }
7844 if (_v) {
7845 {
7846 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7847 }
7848 if (_v) {
7849 return _wrap_new_Rect__SWIG_1(self,args);
7850 }
7851 }
7852 }
7853 }
7854 }
7855
7856 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7857 return NULL;
7858 }
7859
7860
7861 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7862 PyObject *resultobj;
7863 otk::Rect *arg1 = (otk::Rect *) 0 ;
7864 int result;
7865 PyObject * obj0 = 0 ;
7866
7867 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 result = (int)((otk::Rect const *)arg1)->left();
7870
7871 resultobj = PyInt_FromLong((long)result);
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7879 PyObject *resultobj;
7880 otk::Rect *arg1 = (otk::Rect *) 0 ;
7881 int result;
7882 PyObject * obj0 = 0 ;
7883
7884 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7886 result = (int)((otk::Rect const *)arg1)->top();
7887
7888 resultobj = PyInt_FromLong((long)result);
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7896 PyObject *resultobj;
7897 otk::Rect *arg1 = (otk::Rect *) 0 ;
7898 int result;
7899 PyObject * obj0 = 0 ;
7900
7901 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7903 result = (int)((otk::Rect const *)arg1)->right();
7904
7905 resultobj = PyInt_FromLong((long)result);
7906 return resultobj;
7907 fail:
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7913 PyObject *resultobj;
7914 otk::Rect *arg1 = (otk::Rect *) 0 ;
7915 int result;
7916 PyObject * obj0 = 0 ;
7917
7918 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 result = (int)((otk::Rect const *)arg1)->bottom();
7921
7922 resultobj = PyInt_FromLong((long)result);
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7930 PyObject *resultobj;
7931 otk::Rect *arg1 = (otk::Rect *) 0 ;
7932 int result;
7933 PyObject * obj0 = 0 ;
7934
7935 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 result = (int)((otk::Rect const *)arg1)->x();
7938
7939 resultobj = PyInt_FromLong((long)result);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
7947 PyObject *resultobj;
7948 otk::Rect *arg1 = (otk::Rect *) 0 ;
7949 int result;
7950 PyObject * obj0 = 0 ;
7951
7952 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
7953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7954 result = (int)((otk::Rect const *)arg1)->y();
7955
7956 resultobj = PyInt_FromLong((long)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
7964 PyObject *resultobj;
7965 otk::Rect *arg1 = (otk::Rect *) 0 ;
7966 otk::Point result;
7967 PyObject * obj0 = 0 ;
7968
7969 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7971 result = ((otk::Rect const *)arg1)->location();
7972
7973 {
7974 otk::Point * resultptr;
7975 resultptr = new otk::Point((otk::Point &) result);
7976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
7977 }
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
7985 PyObject *resultobj;
7986 otk::Rect *arg1 = (otk::Rect *) 0 ;
7987 int arg2 ;
7988 PyObject * obj0 = 0 ;
7989
7990 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7992 (arg1)->setX(arg2);
7993
7994 Py_INCREF(Py_None); resultobj = Py_None;
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8002 PyObject *resultobj;
8003 otk::Rect *arg1 = (otk::Rect *) 0 ;
8004 int arg2 ;
8005 PyObject * obj0 = 0 ;
8006
8007 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 (arg1)->setY(arg2);
8010
8011 Py_INCREF(Py_None); resultobj = Py_None;
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8019 PyObject *resultobj;
8020 otk::Rect *arg1 = (otk::Rect *) 0 ;
8021 int arg2 ;
8022 int arg3 ;
8023 PyObject * obj0 = 0 ;
8024
8025 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8027 (arg1)->setPos(arg2,arg3);
8028
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8037 PyObject *resultobj;
8038 otk::Rect *arg1 = (otk::Rect *) 0 ;
8039 otk::Point *arg2 = 0 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042
8043 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8046 if (arg2 == NULL) {
8047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8048 }
8049 (arg1)->setPos((otk::Point const &)*arg2);
8050
8051 Py_INCREF(Py_None); resultobj = Py_None;
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8059 int argc;
8060 PyObject *argv[4];
8061 int ii;
8062
8063 argc = PyObject_Length(args);
8064 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8065 argv[ii] = PyTuple_GetItem(args,ii);
8066 }
8067 if (argc == 2) {
8068 int _v;
8069 {
8070 void *ptr;
8071 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8072 _v = 0;
8073 PyErr_Clear();
8074 }else {
8075 _v = 1;
8076 }
8077 }
8078 if (_v) {
8079 {
8080 void *ptr;
8081 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8082 _v = 0;
8083 PyErr_Clear();
8084 }else {
8085 _v = 1;
8086 }
8087 }
8088 if (_v) {
8089 return _wrap_Rect_setPos__SWIG_1(self,args);
8090 }
8091 }
8092 }
8093 if (argc == 3) {
8094 int _v;
8095 {
8096 void *ptr;
8097 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8098 _v = 0;
8099 PyErr_Clear();
8100 }else {
8101 _v = 1;
8102 }
8103 }
8104 if (_v) {
8105 {
8106 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8107 }
8108 if (_v) {
8109 {
8110 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8111 }
8112 if (_v) {
8113 return _wrap_Rect_setPos__SWIG_0(self,args);
8114 }
8115 }
8116 }
8117 }
8118
8119 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8125 PyObject *resultobj;
8126 otk::Rect *arg1 = (otk::Rect *) 0 ;
8127 int result;
8128 PyObject * obj0 = 0 ;
8129
8130 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 result = (int)((otk::Rect const *)arg1)->width();
8133
8134 resultobj = PyInt_FromLong((long)result);
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8142 PyObject *resultobj;
8143 otk::Rect *arg1 = (otk::Rect *) 0 ;
8144 int result;
8145 PyObject * obj0 = 0 ;
8146
8147 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8149 result = (int)((otk::Rect const *)arg1)->height();
8150
8151 resultobj = PyInt_FromLong((long)result);
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8159 PyObject *resultobj;
8160 otk::Rect *arg1 = (otk::Rect *) 0 ;
8161 otk::Point result;
8162 PyObject * obj0 = 0 ;
8163
8164 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8166 result = ((otk::Rect const *)arg1)->size();
8167
8168 {
8169 otk::Point * resultptr;
8170 resultptr = new otk::Point((otk::Point &) result);
8171 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8172 }
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8180 PyObject *resultobj;
8181 otk::Rect *arg1 = (otk::Rect *) 0 ;
8182 int arg2 ;
8183 PyObject * obj0 = 0 ;
8184
8185 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8187 (arg1)->setWidth(arg2);
8188
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8197 PyObject *resultobj;
8198 otk::Rect *arg1 = (otk::Rect *) 0 ;
8199 int arg2 ;
8200 PyObject * obj0 = 0 ;
8201
8202 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 (arg1)->setHeight(arg2);
8205
8206 Py_INCREF(Py_None); resultobj = Py_None;
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8214 PyObject *resultobj;
8215 otk::Rect *arg1 = (otk::Rect *) 0 ;
8216 int arg2 ;
8217 int arg3 ;
8218 PyObject * obj0 = 0 ;
8219
8220 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8222 (arg1)->setSize(arg2,arg3);
8223
8224 Py_INCREF(Py_None); resultobj = Py_None;
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8232 PyObject *resultobj;
8233 otk::Rect *arg1 = (otk::Rect *) 0 ;
8234 otk::Point *arg2 = 0 ;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237
8238 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8241 if (arg2 == NULL) {
8242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8243 }
8244 (arg1)->setSize((otk::Point const &)*arg2);
8245
8246 Py_INCREF(Py_None); resultobj = Py_None;
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8254 int argc;
8255 PyObject *argv[4];
8256 int ii;
8257
8258 argc = PyObject_Length(args);
8259 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8260 argv[ii] = PyTuple_GetItem(args,ii);
8261 }
8262 if (argc == 2) {
8263 int _v;
8264 {
8265 void *ptr;
8266 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8267 _v = 0;
8268 PyErr_Clear();
8269 }else {
8270 _v = 1;
8271 }
8272 }
8273 if (_v) {
8274 {
8275 void *ptr;
8276 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8277 _v = 0;
8278 PyErr_Clear();
8279 }else {
8280 _v = 1;
8281 }
8282 }
8283 if (_v) {
8284 return _wrap_Rect_setSize__SWIG_1(self,args);
8285 }
8286 }
8287 }
8288 if (argc == 3) {
8289 int _v;
8290 {
8291 void *ptr;
8292 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8293 _v = 0;
8294 PyErr_Clear();
8295 }else {
8296 _v = 1;
8297 }
8298 }
8299 if (_v) {
8300 {
8301 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8302 }
8303 if (_v) {
8304 {
8305 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8306 }
8307 if (_v) {
8308 return _wrap_Rect_setSize__SWIG_0(self,args);
8309 }
8310 }
8311 }
8312 }
8313
8314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8315 return NULL;
8316 }
8317
8318
8319 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8320 PyObject *resultobj;
8321 otk::Rect *arg1 = (otk::Rect *) 0 ;
8322 int arg2 ;
8323 int arg3 ;
8324 int arg4 ;
8325 int arg5 ;
8326 PyObject * obj0 = 0 ;
8327
8328 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8330 (arg1)->setRect(arg2,arg3,arg4,arg5);
8331
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8340 PyObject *resultobj;
8341 otk::Rect *arg1 = (otk::Rect *) 0 ;
8342 otk::Point *arg2 = 0 ;
8343 otk::Point *arg3 = 0 ;
8344 PyObject * obj0 = 0 ;
8345 PyObject * obj1 = 0 ;
8346 PyObject * obj2 = 0 ;
8347
8348 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8351 if (arg2 == NULL) {
8352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8353 }
8354 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8355 if (arg3 == NULL) {
8356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8357 }
8358 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8359
8360 Py_INCREF(Py_None); resultobj = Py_None;
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8368 int argc;
8369 PyObject *argv[6];
8370 int ii;
8371
8372 argc = PyObject_Length(args);
8373 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8374 argv[ii] = PyTuple_GetItem(args,ii);
8375 }
8376 if (argc == 3) {
8377 int _v;
8378 {
8379 void *ptr;
8380 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8381 _v = 0;
8382 PyErr_Clear();
8383 }else {
8384 _v = 1;
8385 }
8386 }
8387 if (_v) {
8388 {
8389 void *ptr;
8390 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8391 _v = 0;
8392 PyErr_Clear();
8393 }else {
8394 _v = 1;
8395 }
8396 }
8397 if (_v) {
8398 {
8399 void *ptr;
8400 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8401 _v = 0;
8402 PyErr_Clear();
8403 }else {
8404 _v = 1;
8405 }
8406 }
8407 if (_v) {
8408 return _wrap_Rect_setRect__SWIG_1(self,args);
8409 }
8410 }
8411 }
8412 }
8413 if (argc == 5) {
8414 int _v;
8415 {
8416 void *ptr;
8417 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8418 _v = 0;
8419 PyErr_Clear();
8420 }else {
8421 _v = 1;
8422 }
8423 }
8424 if (_v) {
8425 {
8426 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8427 }
8428 if (_v) {
8429 {
8430 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8431 }
8432 if (_v) {
8433 {
8434 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8435 }
8436 if (_v) {
8437 {
8438 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8439 }
8440 if (_v) {
8441 return _wrap_Rect_setRect__SWIG_0(self,args);
8442 }
8443 }
8444 }
8445 }
8446 }
8447 }
8448
8449 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8455 PyObject *resultobj;
8456 otk::Rect *arg1 = (otk::Rect *) 0 ;
8457 int arg2 ;
8458 int arg3 ;
8459 int arg4 ;
8460 int arg5 ;
8461 PyObject * obj0 = 0 ;
8462
8463 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8465 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8466
8467 Py_INCREF(Py_None); resultobj = Py_None;
8468 return resultobj;
8469 fail:
8470 return NULL;
8471 }
8472
8473
8474 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8475 PyObject *resultobj;
8476 otk::Rect *arg1 = (otk::Rect *) 0 ;
8477 otk::Point *arg2 = 0 ;
8478 otk::Point *arg3 = 0 ;
8479 PyObject * obj0 = 0 ;
8480 PyObject * obj1 = 0 ;
8481 PyObject * obj2 = 0 ;
8482
8483 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8486 if (arg2 == NULL) {
8487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8488 }
8489 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8490 if (arg3 == NULL) {
8491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8492 }
8493 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8494
8495 Py_INCREF(Py_None); resultobj = Py_None;
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8503 int argc;
8504 PyObject *argv[6];
8505 int ii;
8506
8507 argc = PyObject_Length(args);
8508 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8509 argv[ii] = PyTuple_GetItem(args,ii);
8510 }
8511 if (argc == 3) {
8512 int _v;
8513 {
8514 void *ptr;
8515 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8516 _v = 0;
8517 PyErr_Clear();
8518 }else {
8519 _v = 1;
8520 }
8521 }
8522 if (_v) {
8523 {
8524 void *ptr;
8525 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8526 _v = 0;
8527 PyErr_Clear();
8528 }else {
8529 _v = 1;
8530 }
8531 }
8532 if (_v) {
8533 {
8534 void *ptr;
8535 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8536 _v = 0;
8537 PyErr_Clear();
8538 }else {
8539 _v = 1;
8540 }
8541 }
8542 if (_v) {
8543 return _wrap_Rect_setCoords__SWIG_1(self,args);
8544 }
8545 }
8546 }
8547 }
8548 if (argc == 5) {
8549 int _v;
8550 {
8551 void *ptr;
8552 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8553 _v = 0;
8554 PyErr_Clear();
8555 }else {
8556 _v = 1;
8557 }
8558 }
8559 if (_v) {
8560 {
8561 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8562 }
8563 if (_v) {
8564 {
8565 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8566 }
8567 if (_v) {
8568 {
8569 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8570 }
8571 if (_v) {
8572 {
8573 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8574 }
8575 if (_v) {
8576 return _wrap_Rect_setCoords__SWIG_0(self,args);
8577 }
8578 }
8579 }
8580 }
8581 }
8582 }
8583
8584 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8590 PyObject *resultobj;
8591 otk::Rect *arg1 = (otk::Rect *) 0 ;
8592 otk::Rect *arg2 = 0 ;
8593 bool result;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596
8597 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 if (arg2 == NULL) {
8601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8602 }
8603 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8604
8605 resultobj = PyInt_FromLong((long)result);
8606 return resultobj;
8607 fail:
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8613 PyObject *resultobj;
8614 otk::Rect *arg1 = (otk::Rect *) 0 ;
8615 bool result;
8616 PyObject * obj0 = 0 ;
8617
8618 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 result = (bool)((otk::Rect const *)arg1)->valid();
8621
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8630 PyObject *resultobj;
8631 otk::Rect *arg1 = (otk::Rect *) 0 ;
8632 otk::Rect *arg2 = 0 ;
8633 bool result;
8634 PyObject * obj0 = 0 ;
8635 PyObject * obj1 = 0 ;
8636
8637 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 if (arg2 == NULL) {
8641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8642 }
8643 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8644
8645 resultobj = PyInt_FromLong((long)result);
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8653 PyObject *resultobj;
8654 otk::Rect *arg1 = (otk::Rect *) 0 ;
8655 int arg2 ;
8656 int arg3 ;
8657 bool result;
8658 PyObject * obj0 = 0 ;
8659
8660 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8662 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8663
8664 resultobj = PyInt_FromLong((long)result);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8672 PyObject *resultobj;
8673 otk::Rect *arg1 = (otk::Rect *) 0 ;
8674 otk::Point *arg2 = 0 ;
8675 bool result;
8676 PyObject * obj0 = 0 ;
8677 PyObject * obj1 = 0 ;
8678
8679 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8682 if (arg2 == NULL) {
8683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8684 }
8685 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8686
8687 resultobj = PyInt_FromLong((long)result);
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8695 PyObject *resultobj;
8696 otk::Rect *arg1 = (otk::Rect *) 0 ;
8697 otk::Rect *arg2 = 0 ;
8698 bool result;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
8701
8702 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8705 if (arg2 == NULL) {
8706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8707 }
8708 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8709
8710 resultobj = PyInt_FromLong((long)result);
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8718 int argc;
8719 PyObject *argv[4];
8720 int ii;
8721
8722 argc = PyObject_Length(args);
8723 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8724 argv[ii] = PyTuple_GetItem(args,ii);
8725 }
8726 if (argc == 2) {
8727 int _v;
8728 {
8729 void *ptr;
8730 if (SWIG_ConvertPtr(argv[0], (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 {
8739 void *ptr;
8740 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8741 _v = 0;
8742 PyErr_Clear();
8743 }else {
8744 _v = 1;
8745 }
8746 }
8747 if (_v) {
8748 return _wrap_Rect_contains__SWIG_1(self,args);
8749 }
8750 }
8751 }
8752 if (argc == 2) {
8753 int _v;
8754 {
8755 void *ptr;
8756 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8757 _v = 0;
8758 PyErr_Clear();
8759 }else {
8760 _v = 1;
8761 }
8762 }
8763 if (_v) {
8764 {
8765 void *ptr;
8766 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8767 _v = 0;
8768 PyErr_Clear();
8769 }else {
8770 _v = 1;
8771 }
8772 }
8773 if (_v) {
8774 return _wrap_Rect_contains__SWIG_2(self,args);
8775 }
8776 }
8777 }
8778 if (argc == 3) {
8779 int _v;
8780 {
8781 void *ptr;
8782 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8783 _v = 0;
8784 PyErr_Clear();
8785 }else {
8786 _v = 1;
8787 }
8788 }
8789 if (_v) {
8790 {
8791 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8792 }
8793 if (_v) {
8794 {
8795 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8796 }
8797 if (_v) {
8798 return _wrap_Rect_contains__SWIG_0(self,args);
8799 }
8800 }
8801 }
8802 }
8803
8804 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8810 PyObject *resultobj;
8811 otk::Rect *arg1 = (otk::Rect *) 0 ;
8812 PyObject * obj0 = 0 ;
8813
8814 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8816 delete arg1;
8817
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8826 PyObject *obj;
8827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8828 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8829 Py_INCREF(obj);
8830 return Py_BuildValue((char *)"");
8831 }
8832 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8833 PyObject *resultobj;
8834 unsigned int arg1 ;
8835 otk::ScreenInfo *result;
8836 PyObject * obj0 = 0 ;
8837
8838 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8839 arg1 = (unsigned int) PyInt_AsLong(obj0);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8842
8843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8851 PyObject *resultobj;
8852 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8853 Visual *result;
8854 PyObject * obj0 = 0 ;
8855
8856 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8858 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8859
8860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8861 return resultobj;
8862 fail:
8863 return NULL;
8864 }
8865
8866
8867 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8868 PyObject *resultobj;
8869 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8870 Window result;
8871 PyObject * obj0 = 0 ;
8872
8873 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8875 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
8876
8877 {
8878 Window * resultptr;
8879 resultptr = new Window((Window &) result);
8880 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
8881 }
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8889 PyObject *resultobj;
8890 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8891 Colormap result;
8892 PyObject * obj0 = 0 ;
8893
8894 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8896 result = ((otk::ScreenInfo const *)arg1)->colormap();
8897
8898 {
8899 Colormap * resultptr;
8900 resultptr = new Colormap((Colormap &) result);
8901 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
8902 }
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8910 PyObject *resultobj;
8911 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8912 int result;
8913 PyObject * obj0 = 0 ;
8914
8915 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8917 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8918
8919 resultobj = PyInt_FromLong((long)result);
8920 return resultobj;
8921 fail:
8922 return NULL;
8923 }
8924
8925
8926 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8927 PyObject *resultobj;
8928 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8929 unsigned int result;
8930 PyObject * obj0 = 0 ;
8931
8932 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8935
8936 resultobj = PyInt_FromLong((long)result);
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8944 PyObject *resultobj;
8945 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8946 otk::Rect *result;
8947 PyObject * obj0 = 0 ;
8948
8949 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8951 {
8952 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8953 result = (otk::Rect *) &_result_ref;
8954 }
8955
8956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
8964 PyObject *resultobj;
8965 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8966 unsigned int result;
8967 PyObject * obj0 = 0 ;
8968
8969 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
8970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8971 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
8972
8973 resultobj = PyInt_FromLong((long)result);
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
8981 PyObject *resultobj;
8982 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8983 unsigned int result;
8984 PyObject * obj0 = 0 ;
8985
8986 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
8989
8990 resultobj = PyInt_FromLong((long)result);
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
8998 PyObject *resultobj;
8999 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9000 std::string *result;
9001 PyObject * obj0 = 0 ;
9002
9003 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9005 {
9006 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9007 result = (std::string *) &_result_ref;
9008 }
9009
9010 {
9011 resultobj = PyString_FromString(result->c_str());
9012 }
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9020 PyObject *resultobj;
9021 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9022 PyObject * obj0 = 0 ;
9023
9024 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 delete arg1;
9027
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9036 PyObject *obj;
9037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9038 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9039 Py_INCREF(obj);
9040 return Py_BuildValue((char *)"");
9041 }
9042 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9043 PyObject *resultobj;
9044 otk::Strut *arg1 = (otk::Strut *) 0 ;
9045 unsigned int arg2 ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048
9049 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 arg2 = (unsigned int) PyInt_AsLong(obj1);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 if (arg1) (arg1)->top = arg2;
9054
9055 Py_INCREF(Py_None); resultobj = Py_None;
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9063 PyObject *resultobj;
9064 otk::Strut *arg1 = (otk::Strut *) 0 ;
9065 unsigned int result;
9066 PyObject * obj0 = 0 ;
9067
9068 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9070 result = (unsigned int) ((arg1)->top);
9071
9072 resultobj = PyInt_FromLong((long)result);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9080 PyObject *resultobj;
9081 otk::Strut *arg1 = (otk::Strut *) 0 ;
9082 unsigned int arg2 ;
9083 PyObject * obj0 = 0 ;
9084 PyObject * obj1 = 0 ;
9085
9086 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9088 arg2 = (unsigned int) PyInt_AsLong(obj1);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 if (arg1) (arg1)->bottom = arg2;
9091
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9100 PyObject *resultobj;
9101 otk::Strut *arg1 = (otk::Strut *) 0 ;
9102 unsigned int result;
9103 PyObject * obj0 = 0 ;
9104
9105 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9107 result = (unsigned int) ((arg1)->bottom);
9108
9109 resultobj = PyInt_FromLong((long)result);
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9117 PyObject *resultobj;
9118 otk::Strut *arg1 = (otk::Strut *) 0 ;
9119 unsigned int arg2 ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122
9123 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9125 arg2 = (unsigned int) PyInt_AsLong(obj1);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 if (arg1) (arg1)->left = arg2;
9128
9129 Py_INCREF(Py_None); resultobj = Py_None;
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9137 PyObject *resultobj;
9138 otk::Strut *arg1 = (otk::Strut *) 0 ;
9139 unsigned int result;
9140 PyObject * obj0 = 0 ;
9141
9142 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 result = (unsigned int) ((arg1)->left);
9145
9146 resultobj = PyInt_FromLong((long)result);
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9154 PyObject *resultobj;
9155 otk::Strut *arg1 = (otk::Strut *) 0 ;
9156 unsigned int arg2 ;
9157 PyObject * obj0 = 0 ;
9158 PyObject * obj1 = 0 ;
9159
9160 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9162 arg2 = (unsigned int) PyInt_AsLong(obj1);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 if (arg1) (arg1)->right = arg2;
9165
9166 Py_INCREF(Py_None); resultobj = Py_None;
9167 return resultobj;
9168 fail:
9169 return NULL;
9170 }
9171
9172
9173 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9174 PyObject *resultobj;
9175 otk::Strut *arg1 = (otk::Strut *) 0 ;
9176 unsigned int result;
9177 PyObject * obj0 = 0 ;
9178
9179 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 result = (unsigned int) ((arg1)->right);
9182
9183 resultobj = PyInt_FromLong((long)result);
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9191 PyObject *resultobj;
9192 otk::Strut *result;
9193
9194 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9195 result = (otk::Strut *)new otk::Strut();
9196
9197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9205 PyObject *resultobj;
9206 int arg1 ;
9207 int arg2 ;
9208 int arg3 ;
9209 int arg4 ;
9210 otk::Strut *result;
9211
9212 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9213 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9214
9215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9223 int argc;
9224 PyObject *argv[5];
9225 int ii;
9226
9227 argc = PyObject_Length(args);
9228 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9229 argv[ii] = PyTuple_GetItem(args,ii);
9230 }
9231 if (argc == 0) {
9232 return _wrap_new_Strut__SWIG_0(self,args);
9233 }
9234 if (argc == 4) {
9235 int _v;
9236 {
9237 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9238 }
9239 if (_v) {
9240 {
9241 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9242 }
9243 if (_v) {
9244 {
9245 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9246 }
9247 if (_v) {
9248 {
9249 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9250 }
9251 if (_v) {
9252 return _wrap_new_Strut__SWIG_1(self,args);
9253 }
9254 }
9255 }
9256 }
9257 }
9258
9259 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9260 return NULL;
9261 }
9262
9263
9264 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9265 PyObject *resultobj;
9266 otk::Strut *arg1 = (otk::Strut *) 0 ;
9267 PyObject * obj0 = 0 ;
9268
9269 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 delete arg1;
9272
9273 Py_INCREF(Py_None); resultobj = Py_None;
9274 return resultobj;
9275 fail:
9276 return NULL;
9277 }
9278
9279
9280 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9281 PyObject *obj;
9282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9283 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9284 Py_INCREF(obj);
9285 return Py_BuildValue((char *)"");
9286 }
9287 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9288 PyObject *resultobj;
9289 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9290 Pixmap arg2 ;
9291 Pixmap *argp2 ;
9292 PyObject * obj0 = 0 ;
9293 PyObject * obj1 = 0 ;
9294
9295 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9298 arg2 = *argp2;
9299 if (arg1) (arg1)->mask = arg2;
9300
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9309 PyObject *resultobj;
9310 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9311 Pixmap result;
9312 PyObject * obj0 = 0 ;
9313
9314 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 result = ((arg1)->mask);
9317
9318 {
9319 Pixmap * resultptr;
9320 resultptr = new Pixmap((Pixmap &) result);
9321 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9322 }
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9330 PyObject *resultobj;
9331 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9332 unsigned int arg2 ;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335
9336 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9338 arg2 = (unsigned int) PyInt_AsLong(obj1);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 if (arg1) (arg1)->w = arg2;
9341
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9350 PyObject *resultobj;
9351 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9352 unsigned int result;
9353 PyObject * obj0 = 0 ;
9354
9355 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9357 result = (unsigned int) ((arg1)->w);
9358
9359 resultobj = PyInt_FromLong((long)result);
9360 return resultobj;
9361 fail:
9362 return NULL;
9363 }
9364
9365
9366 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9367 PyObject *resultobj;
9368 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9369 unsigned int arg2 ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372
9373 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9375 arg2 = (unsigned int) PyInt_AsLong(obj1);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 if (arg1) (arg1)->h = arg2;
9378
9379 Py_INCREF(Py_None); resultobj = Py_None;
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9387 PyObject *resultobj;
9388 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9389 unsigned int result;
9390 PyObject * obj0 = 0 ;
9391
9392 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394 result = (unsigned int) ((arg1)->h);
9395
9396 resultobj = PyInt_FromLong((long)result);
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9404 PyObject *resultobj;
9405 otk::PixmapMask *result;
9406
9407 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9408 result = (otk::PixmapMask *)new otk::PixmapMask();
9409
9410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9418 PyObject *resultobj;
9419 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9420 PyObject * obj0 = 0 ;
9421
9422 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9424 delete arg1;
9425
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9434 PyObject *obj;
9435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9436 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9437 Py_INCREF(obj);
9438 return Py_BuildValue((char *)"");
9439 }
9440 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9441 PyObject *resultobj;
9442 otk::Style *arg1 = (otk::Style *) 0 ;
9443 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446
9447 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_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__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9450 if (arg1) (arg1)->image_control = 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_image_control_get(PyObject *self, PyObject *args) {
9460 PyObject *resultobj;
9461 otk::Style *arg1 = (otk::Style *) 0 ;
9462 otk::BImageControl *result;
9463 PyObject * obj0 = 0 ;
9464
9465 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_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::BImageControl *) ((arg1)->image_control);
9468
9469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_Style_l_text_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_l_text_unfocus_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_l_text_unfocus_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)->l_text_unfocus = *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_l_text_unfocus_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_l_text_unfocus_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)->l_text_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_b_pic_unfocus_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_b_pic_unfocus_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)->b_pic_unfocus = *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_b_pic_unfocus_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_b_pic_unfocus_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)->b_pic_unfocus);
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_border_color_set(PyObject *self, PyObject *args) {
9621 PyObject *resultobj;
9622 otk::Style *arg1 = (otk::Style *) 0 ;
9623 otk::BColor *arg2 = (otk::BColor *) 0 ;
9624 PyObject * obj0 = 0 ;
9625 PyObject * obj1 = 0 ;
9626
9627 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_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__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 if (arg1) (arg1)->border_color = *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_border_color_get(PyObject *self, PyObject *args) {
9640 PyObject *resultobj;
9641 otk::Style *arg1 = (otk::Style *) 0 ;
9642 otk::BColor *result;
9643 PyObject * obj0 = 0 ;
9644
9645 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_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::BColor *)& ((arg1)->border_color);
9648
9649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9657 PyObject *resultobj;
9658 otk::Style *arg1 = (otk::Style *) 0 ;
9659 otk::BFont *arg2 = (otk::BFont *) 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662
9663 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_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__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9666 if (arg1) (arg1)->font = 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_font_get(PyObject *self, PyObject *args) {
9676 PyObject *resultobj;
9677 otk::Style *arg1 = (otk::Style *) 0 ;
9678 otk::BFont *result;
9679 PyObject * obj0 = 0 ;
9680
9681 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_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::BFont *) ((arg1)->font);
9684
9685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_Style_f_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_f_unfocus_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_f_unfocus_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)->f_unfocus = *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_f_unfocus_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_f_unfocus_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)->f_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_t_unfocus_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_t_unfocus_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)->t_unfocus = *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_t_unfocus_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_t_unfocus_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)->t_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_l_unfocus_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_l_unfocus_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)->l_unfocus = *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_l_unfocus_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_l_unfocus_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)->l_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_h_unfocus_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_h_unfocus_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)->h_unfocus = *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_h_unfocus_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_h_unfocus_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)->h_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_unfocus_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_unfocus_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_unfocus = *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_unfocus_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_unfocus_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_unfocus);
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_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_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 = *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_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_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);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_b_pressed_unfocus_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_b_pressed_unfocus_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)->b_pressed_unfocus = *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_b_pressed_unfocus_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_b_pressed_unfocus_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)->b_pressed_unfocus);
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_focus_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_focus_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_focus = *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_focus_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_focus_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_focus);
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_g_unfocus_set(PyObject *self, PyObject *args) {
10197 PyObject *resultobj;
10198 otk::Style *arg1 = (otk::Style *) 0 ;
10199 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
10202
10203 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_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__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 if (arg1) (arg1)->g_unfocus = *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_g_unfocus_get(PyObject *self, PyObject *args) {
10216 PyObject *resultobj;
10217 otk::Style *arg1 = (otk::Style *) 0 ;
10218 otk::BTexture *result;
10219 PyObject * obj0 = 0 ;
10220
10221 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_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::BTexture *)& ((arg1)->g_unfocus);
10224
10225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10226 return resultobj;
10227 fail:
10228 return NULL;
10229 }
10230
10231
10232 static PyObject *_wrap_Style_close_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_close_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)->close_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_close_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_close_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)->close_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_max_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_max_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)->max_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_max_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_max_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)->max_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_icon_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_icon_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)->icon_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_icon_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_icon_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)->icon_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_stick_button_set(PyObject *self, PyObject *args) {
10341 PyObject *resultobj;
10342 otk::Style *arg1 = (otk::Style *) 0 ;
10343 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346
10347 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 if (arg1) (arg1)->stick_button = *arg2;
10351
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10360 PyObject *resultobj;
10361 otk::Style *arg1 = (otk::Style *) 0 ;
10362 otk::PixmapMask *result;
10363 PyObject * obj0 = 0 ;
10364
10365 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10367 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10368
10369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10377 PyObject *resultobj;
10378 otk::Style *arg1 = (otk::Style *) 0 ;
10379 int arg2 ;
10380 PyObject * obj0 = 0 ;
10381
10382 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10385
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10394 PyObject *resultobj;
10395 otk::Style *arg1 = (otk::Style *) 0 ;
10396 int result;
10397 PyObject * obj0 = 0 ;
10398
10399 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 result = (int) ((arg1)->justify);
10402
10403 resultobj = PyInt_FromLong((long)result);
10404 return resultobj;
10405 fail:
10406 return NULL;
10407 }
10408
10409
10410 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10411 PyObject *resultobj;
10412 otk::Style *arg1 = (otk::Style *) 0 ;
10413 int arg2 ;
10414 PyObject * obj0 = 0 ;
10415
10416 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10419
10420 Py_INCREF(Py_None); resultobj = Py_None;
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10428 PyObject *resultobj;
10429 otk::Style *arg1 = (otk::Style *) 0 ;
10430 int result;
10431 PyObject * obj0 = 0 ;
10432
10433 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10435 result = (int) ((arg1)->bullet_type);
10436
10437 resultobj = PyInt_FromLong((long)result);
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10445 PyObject *resultobj;
10446 otk::Style *arg1 = (otk::Style *) 0 ;
10447 unsigned int arg2 ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450
10451 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10453 arg2 = (unsigned int) PyInt_AsLong(obj1);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 if (arg1) (arg1)->handle_width = arg2;
10456
10457 Py_INCREF(Py_None); resultobj = Py_None;
10458 return resultobj;
10459 fail:
10460 return NULL;
10461 }
10462
10463
10464 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10465 PyObject *resultobj;
10466 otk::Style *arg1 = (otk::Style *) 0 ;
10467 unsigned int result;
10468 PyObject * obj0 = 0 ;
10469
10470 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10472 result = (unsigned int) ((arg1)->handle_width);
10473
10474 resultobj = PyInt_FromLong((long)result);
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10482 PyObject *resultobj;
10483 otk::Style *arg1 = (otk::Style *) 0 ;
10484 unsigned int arg2 ;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487
10488 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10490 arg2 = (unsigned int) PyInt_AsLong(obj1);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 if (arg1) (arg1)->bevel_width = arg2;
10493
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10502 PyObject *resultobj;
10503 otk::Style *arg1 = (otk::Style *) 0 ;
10504 unsigned int result;
10505 PyObject * obj0 = 0 ;
10506
10507 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10509 result = (unsigned int) ((arg1)->bevel_width);
10510
10511 resultobj = PyInt_FromLong((long)result);
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10519 PyObject *resultobj;
10520 otk::Style *arg1 = (otk::Style *) 0 ;
10521 unsigned int arg2 ;
10522 PyObject * obj0 = 0 ;
10523 PyObject * obj1 = 0 ;
10524
10525 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 arg2 = (unsigned int) PyInt_AsLong(obj1);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 if (arg1) (arg1)->frame_width = arg2;
10530
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10539 PyObject *resultobj;
10540 otk::Style *arg1 = (otk::Style *) 0 ;
10541 unsigned int result;
10542 PyObject * obj0 = 0 ;
10543
10544 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10546 result = (unsigned int) ((arg1)->frame_width);
10547
10548 resultobj = PyInt_FromLong((long)result);
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10556 PyObject *resultobj;
10557 otk::Style *arg1 = (otk::Style *) 0 ;
10558 unsigned int arg2 ;
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561
10562 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10564 arg2 = (unsigned int) PyInt_AsLong(obj1);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 if (arg1) (arg1)->border_width = arg2;
10567
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10576 PyObject *resultobj;
10577 otk::Style *arg1 = (otk::Style *) 0 ;
10578 unsigned int result;
10579 PyObject * obj0 = 0 ;
10580
10581 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10583 result = (unsigned int) ((arg1)->border_width);
10584
10585 resultobj = PyInt_FromLong((long)result);
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10593 PyObject *resultobj;
10594 otk::Style *arg1 = (otk::Style *) 0 ;
10595 unsigned int arg2 ;
10596 PyObject * obj0 = 0 ;
10597 PyObject * obj1 = 0 ;
10598
10599 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10601 arg2 = (unsigned int) PyInt_AsLong(obj1);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 if (arg1) (arg1)->screen_number = arg2;
10604
10605 Py_INCREF(Py_None); resultobj = Py_None;
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10613 PyObject *resultobj;
10614 otk::Style *arg1 = (otk::Style *) 0 ;
10615 unsigned int result;
10616 PyObject * obj0 = 0 ;
10617
10618 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10620 result = (unsigned int) ((arg1)->screen_number);
10621
10622 resultobj = PyInt_FromLong((long)result);
10623 return resultobj;
10624 fail:
10625 return NULL;
10626 }
10627
10628
10629 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10630 PyObject *resultobj;
10631 otk::Style *arg1 = (otk::Style *) 0 ;
10632 bool arg2 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635
10636 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 arg2 = (bool) PyInt_AsLong(obj1);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 if (arg1) (arg1)->shadow_fonts = arg2;
10641
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646 }
10647
10648
10649 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10650 PyObject *resultobj;
10651 otk::Style *arg1 = (otk::Style *) 0 ;
10652 bool result;
10653 PyObject * obj0 = 0 ;
10654
10655 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10657 result = (bool) ((arg1)->shadow_fonts);
10658
10659 resultobj = PyInt_FromLong((long)result);
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10667 PyObject *resultobj;
10668 otk::Style *arg1 = (otk::Style *) 0 ;
10669 bool arg2 ;
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672
10673 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10675 arg2 = (bool) PyInt_AsLong(obj1);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 if (arg1) (arg1)->aa_fonts = arg2;
10678
10679 Py_INCREF(Py_None); resultobj = Py_None;
10680 return resultobj;
10681 fail:
10682 return NULL;
10683 }
10684
10685
10686 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10687 PyObject *resultobj;
10688 otk::Style *arg1 = (otk::Style *) 0 ;
10689 bool result;
10690 PyObject * obj0 = 0 ;
10691
10692 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10694 result = (bool) ((arg1)->aa_fonts);
10695
10696 resultobj = PyInt_FromLong((long)result);
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10704 PyObject *resultobj;
10705 otk::Style *result;
10706
10707 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10708 result = (otk::Style *)new otk::Style();
10709
10710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10718 PyObject *resultobj;
10719 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10720 otk::Style *result;
10721 PyObject * obj0 = 0 ;
10722
10723 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10725 result = (otk::Style *)new otk::Style(arg1);
10726
10727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10735 int argc;
10736 PyObject *argv[2];
10737 int ii;
10738
10739 argc = PyObject_Length(args);
10740 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10741 argv[ii] = PyTuple_GetItem(args,ii);
10742 }
10743 if (argc == 0) {
10744 return _wrap_new_Style__SWIG_0(self,args);
10745 }
10746 if (argc == 1) {
10747 int _v;
10748 {
10749 void *ptr;
10750 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10751 _v = 0;
10752 PyErr_Clear();
10753 }else {
10754 _v = 1;
10755 }
10756 }
10757 if (_v) {
10758 return _wrap_new_Style__SWIG_1(self,args);
10759 }
10760 }
10761
10762 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10763 return NULL;
10764 }
10765
10766
10767 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10768 PyObject *resultobj;
10769 otk::Style *arg1 = (otk::Style *) 0 ;
10770 PyObject * obj0 = 0 ;
10771
10772 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10774 delete arg1;
10775
10776 Py_INCREF(Py_None); resultobj = Py_None;
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10784 PyObject *resultobj;
10785 otk::Style *arg1 = (otk::Style *) 0 ;
10786 std::string *arg2 = 0 ;
10787 otk::PixmapMask *arg3 = 0 ;
10788 otk::Configuration *arg4 = 0 ;
10789 std::string temp2 ;
10790 PyObject * obj0 = 0 ;
10791 PyObject * obj1 = 0 ;
10792 PyObject * obj2 = 0 ;
10793 PyObject * obj3 = 0 ;
10794
10795 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10797 {
10798 if (PyString_Check(obj1)) {
10799 temp2 = std::string(PyString_AsString(obj1));
10800 arg2 = &temp2;
10801 }else {
10802 SWIG_exception(SWIG_TypeError, "string expected");
10803 }
10804 }
10805 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 if (arg3 == NULL) {
10807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10808 }
10809 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10810 if (arg4 == NULL) {
10811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10812 }
10813 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10814
10815 Py_INCREF(Py_None); resultobj = Py_None;
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10823 PyObject *resultobj;
10824 otk::Style *arg1 = (otk::Style *) 0 ;
10825 std::string *arg2 = 0 ;
10826 std::string *arg3 = 0 ;
10827 otk::Configuration *arg4 = 0 ;
10828 bool arg5 = (bool) false ;
10829 otk::BTexture result;
10830 std::string temp2 ;
10831 std::string temp3 ;
10832 PyObject * obj0 = 0 ;
10833 PyObject * obj1 = 0 ;
10834 PyObject * obj2 = 0 ;
10835 PyObject * obj3 = 0 ;
10836 PyObject * obj4 = 0 ;
10837
10838 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10840 {
10841 if (PyString_Check(obj1)) {
10842 temp2 = std::string(PyString_AsString(obj1));
10843 arg2 = &temp2;
10844 }else {
10845 SWIG_exception(SWIG_TypeError, "string expected");
10846 }
10847 }
10848 {
10849 if (PyString_Check(obj2)) {
10850 temp3 = std::string(PyString_AsString(obj2));
10851 arg3 = &temp3;
10852 }else {
10853 SWIG_exception(SWIG_TypeError, "string expected");
10854 }
10855 }
10856 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10857 if (arg4 == NULL) {
10858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10859 }
10860 if (obj4) {
10861 arg5 = (bool) PyInt_AsLong(obj4);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10865
10866 {
10867 otk::BTexture * resultptr;
10868 resultptr = new otk::BTexture((otk::BTexture &) result);
10869 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10870 }
10871 return resultobj;
10872 fail:
10873 return NULL;
10874 }
10875
10876
10877 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10878 PyObject *resultobj;
10879 otk::Style *arg1 = (otk::Style *) 0 ;
10880 std::string *arg2 = 0 ;
10881 std::string *arg3 = 0 ;
10882 otk::Configuration *arg4 = 0 ;
10883 otk::BColor result;
10884 std::string temp2 ;
10885 std::string temp3 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 PyObject * obj2 = 0 ;
10889 PyObject * obj3 = 0 ;
10890
10891 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 if (PyString_Check(obj1)) {
10895 temp2 = std::string(PyString_AsString(obj1));
10896 arg2 = &temp2;
10897 }else {
10898 SWIG_exception(SWIG_TypeError, "string expected");
10899 }
10900 }
10901 {
10902 if (PyString_Check(obj2)) {
10903 temp3 = std::string(PyString_AsString(obj2));
10904 arg3 = &temp3;
10905 }else {
10906 SWIG_exception(SWIG_TypeError, "string expected");
10907 }
10908 }
10909 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10910 if (arg4 == NULL) {
10911 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10912 }
10913 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10914
10915 {
10916 otk::BColor * resultptr;
10917 resultptr = new otk::BColor((otk::BColor &) result);
10918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10919 }
10920 return resultobj;
10921 fail:
10922 return NULL;
10923 }
10924
10925
10926 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10927 PyObject *resultobj;
10928 otk::Style *arg1 = (otk::Style *) 0 ;
10929 std::string *arg2 = 0 ;
10930 otk::Configuration *arg3 = 0 ;
10931 otk::BFont *result;
10932 std::string temp2 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 PyObject * obj2 = 0 ;
10936
10937 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10939 {
10940 if (PyString_Check(obj1)) {
10941 temp2 = std::string(PyString_AsString(obj1));
10942 arg2 = &temp2;
10943 }else {
10944 SWIG_exception(SWIG_TypeError, "string expected");
10945 }
10946 }
10947 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10948 if (arg3 == NULL) {
10949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10950 }
10951 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10952
10953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10961 PyObject *resultobj;
10962 otk::Style *arg1 = (otk::Style *) 0 ;
10963 otk::Configuration *arg2 = 0 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966
10967 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10970 if (arg2 == NULL) {
10971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10972 }
10973 (arg1)->load((otk::Configuration const &)*arg2);
10974
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
10983 PyObject *resultobj;
10984 otk::Style *arg1 = (otk::Style *) 0 ;
10985 otk::BColor *result;
10986 PyObject * obj0 = 0 ;
10987
10988 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10990 result = (otk::BColor *)(arg1)->getTextFocus();
10991
10992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11000 PyObject *resultobj;
11001 otk::Style *arg1 = (otk::Style *) 0 ;
11002 otk::BColor *result;
11003 PyObject * obj0 = 0 ;
11004
11005 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11007 result = (otk::BColor *)(arg1)->getTextUnfocus();
11008
11009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11017 PyObject *resultobj;
11018 otk::Style *arg1 = (otk::Style *) 0 ;
11019 otk::BColor *result;
11020 PyObject * obj0 = 0 ;
11021
11022 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11025
11026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11034 PyObject *resultobj;
11035 otk::Style *arg1 = (otk::Style *) 0 ;
11036 otk::BColor *result;
11037 PyObject * obj0 = 0 ;
11038
11039 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11042
11043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11051 PyObject *resultobj;
11052 otk::Style *arg1 = (otk::Style *) 0 ;
11053 otk::BTexture *result;
11054 PyObject * obj0 = 0 ;
11055
11056 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11058 result = (otk::BTexture *)(arg1)->getTitleFocus();
11059
11060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11068 PyObject *resultobj;
11069 otk::Style *arg1 = (otk::Style *) 0 ;
11070 otk::BTexture *result;
11071 PyObject * obj0 = 0 ;
11072
11073 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11076
11077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11078 return resultobj;
11079 fail:
11080 return NULL;
11081 }
11082
11083
11084 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11085 PyObject *resultobj;
11086 otk::Style *arg1 = (otk::Style *) 0 ;
11087 otk::BTexture *result;
11088 PyObject * obj0 = 0 ;
11089
11090 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11092 result = (otk::BTexture *)(arg1)->getLabelFocus();
11093
11094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11102 PyObject *resultobj;
11103 otk::Style *arg1 = (otk::Style *) 0 ;
11104 otk::BTexture *result;
11105 PyObject * obj0 = 0 ;
11106
11107 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11109 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11110
11111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11119 PyObject *resultobj;
11120 otk::Style *arg1 = (otk::Style *) 0 ;
11121 otk::BTexture *result;
11122 PyObject * obj0 = 0 ;
11123
11124 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 result = (otk::BTexture *)(arg1)->getHandleFocus();
11127
11128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11136 PyObject *resultobj;
11137 otk::Style *arg1 = (otk::Style *) 0 ;
11138 otk::BTexture *result;
11139 PyObject * obj0 = 0 ;
11140
11141 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11143 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11144
11145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11153 PyObject *resultobj;
11154 otk::Style *arg1 = (otk::Style *) 0 ;
11155 otk::BTexture *result;
11156 PyObject * obj0 = 0 ;
11157
11158 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11160 result = (otk::BTexture *)(arg1)->getButtonFocus();
11161
11162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11170 PyObject *resultobj;
11171 otk::Style *arg1 = (otk::Style *) 0 ;
11172 otk::BTexture *result;
11173 PyObject * obj0 = 0 ;
11174
11175 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11177 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11178
11179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11187 PyObject *resultobj;
11188 otk::Style *arg1 = (otk::Style *) 0 ;
11189 otk::BTexture *result;
11190 PyObject * obj0 = 0 ;
11191
11192 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11194 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11195
11196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11204 PyObject *resultobj;
11205 otk::Style *arg1 = (otk::Style *) 0 ;
11206 otk::BTexture *result;
11207 PyObject * obj0 = 0 ;
11208
11209 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11211 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11212
11213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11221 PyObject *resultobj;
11222 otk::Style *arg1 = (otk::Style *) 0 ;
11223 otk::BTexture *result;
11224 PyObject * obj0 = 0 ;
11225
11226 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11228 result = (otk::BTexture *)(arg1)->getGripFocus();
11229
11230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11238 PyObject *resultobj;
11239 otk::Style *arg1 = (otk::Style *) 0 ;
11240 otk::BTexture *result;
11241 PyObject * obj0 = 0 ;
11242
11243 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11245 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11246
11247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11248 return resultobj;
11249 fail:
11250 return NULL;
11251 }
11252
11253
11254 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11255 PyObject *resultobj;
11256 otk::Style *arg1 = (otk::Style *) 0 ;
11257 unsigned int result;
11258 PyObject * obj0 = 0 ;
11259
11260 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11262 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11263
11264 resultobj = PyInt_FromLong((long)result);
11265 return resultobj;
11266 fail:
11267 return NULL;
11268 }
11269
11270
11271 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11272 PyObject *resultobj;
11273 otk::Style *arg1 = (otk::Style *) 0 ;
11274 unsigned int result;
11275 PyObject * obj0 = 0 ;
11276
11277 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11279 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11280
11281 resultobj = PyInt_FromLong((long)result);
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11289 PyObject *resultobj;
11290 otk::Style *arg1 = (otk::Style *) 0 ;
11291 unsigned int result;
11292 PyObject * obj0 = 0 ;
11293
11294 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11296 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11297
11298 resultobj = PyInt_FromLong((long)result);
11299 return resultobj;
11300 fail:
11301 return NULL;
11302 }
11303
11304
11305 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11306 PyObject *resultobj;
11307 otk::Style *arg1 = (otk::Style *) 0 ;
11308 unsigned int result;
11309 PyObject * obj0 = 0 ;
11310
11311 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11313 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11314
11315 resultobj = PyInt_FromLong((long)result);
11316 return resultobj;
11317 fail:
11318 return NULL;
11319 }
11320
11321
11322 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11323 PyObject *resultobj;
11324 otk::Style *arg1 = (otk::Style *) 0 ;
11325 otk::BFont *result;
11326 PyObject * obj0 = 0 ;
11327
11328 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11330 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11331
11332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11333 return resultobj;
11334 fail:
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11340 PyObject *resultobj;
11341 otk::Style *arg1 = (otk::Style *) 0 ;
11342 bool arg2 ;
11343 PyObject * obj0 = 0 ;
11344 PyObject * obj1 = 0 ;
11345
11346 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11348 arg2 = (bool) PyInt_AsLong(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 (arg1)->setShadowFonts(arg2);
11351
11352 Py_INCREF(Py_None); resultobj = Py_None;
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11360 PyObject *resultobj;
11361 otk::Style *arg1 = (otk::Style *) 0 ;
11362 bool result;
11363 PyObject * obj0 = 0 ;
11364
11365 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11368
11369 resultobj = PyInt_FromLong((long)result);
11370 return resultobj;
11371 fail:
11372 return NULL;
11373 }
11374
11375
11376 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11377 PyObject *resultobj;
11378 otk::Style *arg1 = (otk::Style *) 0 ;
11379 bool arg2 ;
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382
11383 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 arg2 = (bool) PyInt_AsLong(obj1);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 (arg1)->setAAFonts(arg2);
11388
11389 Py_INCREF(Py_None); resultobj = Py_None;
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11397 PyObject *resultobj;
11398 otk::Style *arg1 = (otk::Style *) 0 ;
11399 bool result;
11400 PyObject * obj0 = 0 ;
11401
11402 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11404 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11405
11406 resultobj = PyInt_FromLong((long)result);
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11414 PyObject *resultobj;
11415 otk::Style *arg1 = (otk::Style *) 0 ;
11416 int result;
11417 PyObject * obj0 = 0 ;
11418
11419 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 result = (int)(arg1)->textJustify();
11422
11423 resultobj = PyInt_FromLong((long)result);
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11431 PyObject *resultobj;
11432 otk::Style *arg1 = (otk::Style *) 0 ;
11433 int result;
11434 PyObject * obj0 = 0 ;
11435
11436 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 result = (int)(arg1)->bulletType();
11439
11440 resultobj = PyInt_FromLong((long)result);
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11448 PyObject *resultobj;
11449 otk::Style *arg1 = (otk::Style *) 0 ;
11450 otk::BColor *result;
11451 PyObject * obj0 = 0 ;
11452
11453 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11455 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11456
11457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11465 PyObject *resultobj;
11466 otk::Style *arg1 = (otk::Style *) 0 ;
11467 otk::BTexture *result;
11468 PyObject * obj0 = 0 ;
11469
11470 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11472 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11473
11474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11482 PyObject *resultobj;
11483 otk::Style *arg1 = (otk::Style *) 0 ;
11484 otk::BTexture *result;
11485 PyObject * obj0 = 0 ;
11486
11487 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11490
11491 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11499 PyObject *resultobj;
11500 otk::Style *arg1 = (otk::Style *) 0 ;
11501 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504
11505 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11508 (arg1)->setImageControl(arg2);
11509
11510 Py_INCREF(Py_None); resultobj = Py_None;
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11518 PyObject *resultobj;
11519 otk::Style *arg1 = (otk::Style *) 0 ;
11520 unsigned int result;
11521 PyObject * obj0 = 0 ;
11522
11523 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11525 result = (unsigned int)(arg1)->getScreen();
11526
11527 resultobj = PyInt_FromLong((long)result);
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11535 PyObject *obj;
11536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11537 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11538 Py_INCREF(obj);
11539 return Py_BuildValue((char *)"");
11540 }
11541 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11542 PyObject *resultobj;
11543 unsigned int arg1 = (unsigned int) ~(0u) ;
11544 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11545 otk::BTexture *result;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548
11549 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11550 if (obj0) {
11551 arg1 = (unsigned int) PyInt_AsLong(obj0);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 if (obj1) {
11555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11556 }
11557 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
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__SWIG_1(PyObject *self, PyObject *args) {
11567 PyObject *resultobj;
11568 std::string *arg1 = 0 ;
11569 unsigned int arg2 = (unsigned int) ~(0u) ;
11570 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11571 otk::BTexture *result;
11572 std::string temp1 ;
11573 PyObject * obj0 = 0 ;
11574 PyObject * obj1 = 0 ;
11575 PyObject * obj2 = 0 ;
11576
11577 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11578 {
11579 if (PyString_Check(obj0)) {
11580 temp1 = std::string(PyString_AsString(obj0));
11581 arg1 = &temp1;
11582 }else {
11583 SWIG_exception(SWIG_TypeError, "string expected");
11584 }
11585 }
11586 if (obj1) {
11587 arg2 = (unsigned int) PyInt_AsLong(obj1);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 if (obj2) {
11591 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11592 }
11593 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11594
11595 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11596 return resultobj;
11597 fail:
11598 return NULL;
11599 }
11600
11601
11602 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11603 int argc;
11604 PyObject *argv[4];
11605 int ii;
11606
11607 argc = PyObject_Length(args);
11608 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11609 argv[ii] = PyTuple_GetItem(args,ii);
11610 }
11611 if ((argc >= 0) && (argc <= 2)) {
11612 int _v;
11613 if (argc <= 0) {
11614 return _wrap_new_BTexture__SWIG_0(self,args);
11615 }
11616 {
11617 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11618 }
11619 if (_v) {
11620 if (argc <= 1) {
11621 return _wrap_new_BTexture__SWIG_0(self,args);
11622 }
11623 {
11624 void *ptr;
11625 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11626 _v = 0;
11627 PyErr_Clear();
11628 }else {
11629 _v = 1;
11630 }
11631 }
11632 if (_v) {
11633 return _wrap_new_BTexture__SWIG_0(self,args);
11634 }
11635 }
11636 }
11637 if ((argc >= 1) && (argc <= 3)) {
11638 int _v;
11639 {
11640 _v = PyString_Check(argv[0]) ? 1 : 0;
11641 }
11642 if (_v) {
11643 if (argc <= 1) {
11644 return _wrap_new_BTexture__SWIG_1(self,args);
11645 }
11646 {
11647 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11648 }
11649 if (_v) {
11650 if (argc <= 2) {
11651 return _wrap_new_BTexture__SWIG_1(self,args);
11652 }
11653 {
11654 void *ptr;
11655 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11656 _v = 0;
11657 PyErr_Clear();
11658 }else {
11659 _v = 1;
11660 }
11661 }
11662 if (_v) {
11663 return _wrap_new_BTexture__SWIG_1(self,args);
11664 }
11665 }
11666 }
11667 }
11668
11669 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11675 PyObject *resultobj;
11676 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11677 otk::BColor *arg2 = 0 ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680
11681 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11684 if (arg2 == NULL) {
11685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11686 }
11687 (arg1)->setColor((otk::BColor const &)*arg2);
11688
11689 Py_INCREF(Py_None); resultobj = Py_None;
11690 return resultobj;
11691 fail:
11692 return NULL;
11693 }
11694
11695
11696 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11697 PyObject *resultobj;
11698 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11699 otk::BColor *arg2 = 0 ;
11700 PyObject * obj0 = 0 ;
11701 PyObject * obj1 = 0 ;
11702
11703 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11706 if (arg2 == NULL) {
11707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11708 }
11709 (arg1)->setColorTo((otk::BColor const &)*arg2);
11710
11711 Py_INCREF(Py_None); resultobj = Py_None;
11712 return resultobj;
11713 fail:
11714 return NULL;
11715 }
11716
11717
11718 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11719 PyObject *resultobj;
11720 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11721 otk::BColor *arg2 = 0 ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724
11725 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11728 if (arg2 == NULL) {
11729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11730 }
11731 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11732
11733 Py_INCREF(Py_None); resultobj = Py_None;
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11741 PyObject *resultobj;
11742 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11743 otk::BColor *result;
11744 PyObject * obj0 = 0 ;
11745
11746 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 {
11749 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11750 result = (otk::BColor *) &_result_ref;
11751 }
11752
11753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11754 return resultobj;
11755 fail:
11756 return NULL;
11757 }
11758
11759
11760 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11761 PyObject *resultobj;
11762 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11763 otk::BColor *result;
11764 PyObject * obj0 = 0 ;
11765
11766 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11768 {
11769 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11770 result = (otk::BColor *) &_result_ref;
11771 }
11772
11773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11774 return resultobj;
11775 fail:
11776 return NULL;
11777 }
11778
11779
11780 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11781 PyObject *resultobj;
11782 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11783 otk::BColor *result;
11784 PyObject * obj0 = 0 ;
11785
11786 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11788 {
11789 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11790 result = (otk::BColor *) &_result_ref;
11791 }
11792
11793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11801 PyObject *resultobj;
11802 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11803 otk::BColor *result;
11804 PyObject * obj0 = 0 ;
11805
11806 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11808 {
11809 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11810 result = (otk::BColor *) &_result_ref;
11811 }
11812
11813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11814 return resultobj;
11815 fail:
11816 return NULL;
11817 }
11818
11819
11820 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11821 PyObject *resultobj;
11822 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11823 otk::BColor *result;
11824 PyObject * obj0 = 0 ;
11825
11826 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 {
11829 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11830 result = (otk::BColor *) &_result_ref;
11831 }
11832
11833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11834 return resultobj;
11835 fail:
11836 return NULL;
11837 }
11838
11839
11840 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11841 PyObject *resultobj;
11842 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11843 unsigned long result;
11844 PyObject * obj0 = 0 ;
11845
11846 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11848 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11849
11850 resultobj = PyInt_FromLong((long)result);
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11858 PyObject *resultobj;
11859 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11860 unsigned long arg2 ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863
11864 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11866 arg2 = (unsigned long) PyInt_AsLong(obj1);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 (arg1)->setTexture(arg2);
11869
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11878 PyObject *resultobj;
11879 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11880 unsigned long arg2 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883
11884 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11886 arg2 = (unsigned long) PyInt_AsLong(obj1);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 (arg1)->addTexture(arg2);
11889
11890 Py_INCREF(Py_None); resultobj = Py_None;
11891 return resultobj;
11892 fail:
11893 return NULL;
11894 }
11895
11896
11897 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11898 PyObject *resultobj;
11899 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11900 otk::BTexture *arg2 = 0 ;
11901 bool result;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904
11905 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11908 if (arg2 == NULL) {
11909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11910 }
11911 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11912
11913 resultobj = PyInt_FromLong((long)result);
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11921 PyObject *resultobj;
11922 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11923 unsigned int result;
11924 PyObject * obj0 = 0 ;
11925
11926 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11929
11930 resultobj = PyInt_FromLong((long)result);
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11938 PyObject *resultobj;
11939 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11940 unsigned int arg2 ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943
11944 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946 arg2 = (unsigned int) PyInt_AsLong(obj1);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 (arg1)->setScreen(arg2);
11949
11950 Py_INCREF(Py_None); resultobj = Py_None;
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11958 PyObject *resultobj;
11959 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11960 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963
11964 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
11965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 (arg1)->setImageControl(arg2);
11968
11969 Py_INCREF(Py_None); resultobj = Py_None;
11970 return resultobj;
11971 fail:
11972 return NULL;
11973 }
11974
11975
11976 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
11977 PyObject *resultobj;
11978 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11979 std::string *result;
11980 PyObject * obj0 = 0 ;
11981
11982 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
11986 result = (std::string *) &_result_ref;
11987 }
11988
11989 {
11990 resultobj = PyString_FromString(result->c_str());
11991 }
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
11999 PyObject *resultobj;
12000 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12001 std::string *arg2 = 0 ;
12002 std::string temp2 ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005
12006 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 {
12009 if (PyString_Check(obj1)) {
12010 temp2 = std::string(PyString_AsString(obj1));
12011 arg2 = &temp2;
12012 }else {
12013 SWIG_exception(SWIG_TypeError, "string expected");
12014 }
12015 }
12016 (arg1)->setDescription((std::string const &)*arg2);
12017
12018 Py_INCREF(Py_None); resultobj = Py_None;
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12026 PyObject *resultobj;
12027 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12028 unsigned int arg2 ;
12029 unsigned int arg3 ;
12030 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12031 Pixmap result;
12032 Pixmap *argp4 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 PyObject * obj2 = 0 ;
12036 PyObject * obj3 = 0 ;
12037
12038 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 arg2 = (unsigned int) PyInt_AsLong(obj1);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 arg3 = (unsigned int) PyInt_AsLong(obj2);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 if (obj3) {
12045 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12046 arg4 = *argp4;
12047 }
12048 result = (arg1)->render(arg2,arg3,arg4);
12049
12050 {
12051 Pixmap * resultptr;
12052 resultptr = new Pixmap((Pixmap &) result);
12053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12054 }
12055 return resultobj;
12056 fail:
12057 return NULL;
12058 }
12059
12060
12061 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12062 PyObject *resultobj;
12063 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12064 PyObject * obj0 = 0 ;
12065
12066 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12068 delete arg1;
12069
12070 Py_INCREF(Py_None); resultobj = Py_None;
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12078 PyObject *obj;
12079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12080 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12081 Py_INCREF(obj);
12082 return Py_BuildValue((char *)"");
12083 }
12084 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12085 PyObject *resultobj;
12086 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12087 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12088 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12089 otk::OBTimer *result;
12090 PyObject * obj0 = 0 ;
12091 PyObject * obj1 = 0 ;
12092 PyObject * obj2 = 0 ;
12093
12094 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12097 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12098 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12099
12100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12108 PyObject *resultobj;
12109 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12110 PyObject * obj0 = 0 ;
12111
12112 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12114 delete arg1;
12115
12116 Py_INCREF(Py_None); resultobj = Py_None;
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12124 PyObject *resultobj;
12125 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12126 PyObject * obj0 = 0 ;
12127
12128 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12130 (arg1)->fire();
12131
12132 Py_INCREF(Py_None); resultobj = Py_None;
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12140 PyObject *resultobj;
12141 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12142 bool result;
12143 PyObject * obj0 = 0 ;
12144
12145 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12147 result = (bool)((otk::OBTimer const *)arg1)->timing();
12148
12149 resultobj = PyInt_FromLong((long)result);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12157 PyObject *resultobj;
12158 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12159 bool result;
12160 PyObject * obj0 = 0 ;
12161
12162 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12164 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12165
12166 resultobj = PyInt_FromLong((long)result);
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12174 PyObject *resultobj;
12175 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12176 timeval *result;
12177 PyObject * obj0 = 0 ;
12178
12179 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12181 {
12182 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12183 result = (timeval *) &_result_ref;
12184 }
12185
12186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12194 PyObject *resultobj;
12195 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12196 timeval *result;
12197 PyObject * obj0 = 0 ;
12198
12199 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12203 result = (timeval *) &_result_ref;
12204 }
12205
12206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12207 return resultobj;
12208 fail:
12209 return NULL;
12210 }
12211
12212
12213 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12214 PyObject *resultobj;
12215 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12216 timeval *arg2 = 0 ;
12217 timeval result;
12218 PyObject * obj0 = 0 ;
12219 PyObject * obj1 = 0 ;
12220
12221 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 if (arg2 == NULL) {
12225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12226 }
12227 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12228
12229 {
12230 timeval * resultptr;
12231 resultptr = new timeval((timeval &) result);
12232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12233 }
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12241 PyObject *resultobj;
12242 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12243 timeval *arg2 = 0 ;
12244 bool result;
12245 PyObject * obj0 = 0 ;
12246 PyObject * obj1 = 0 ;
12247
12248 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12251 if (arg2 == NULL) {
12252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12253 }
12254 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12255
12256 resultobj = PyInt_FromLong((long)result);
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12264 PyObject *resultobj;
12265 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12266 timeval result;
12267 PyObject * obj0 = 0 ;
12268
12269 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12271 result = ((otk::OBTimer const *)arg1)->endTime();
12272
12273 {
12274 timeval * resultptr;
12275 resultptr = new timeval((timeval &) result);
12276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12277 }
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12285 PyObject *resultobj;
12286 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12287 bool arg2 ;
12288 PyObject * obj0 = 0 ;
12289 PyObject * obj1 = 0 ;
12290
12291 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 arg2 = (bool) PyInt_AsLong(obj1);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 (arg1)->setRecurring(arg2);
12296
12297 Py_INCREF(Py_None); resultobj = Py_None;
12298 return resultobj;
12299 fail:
12300 return NULL;
12301 }
12302
12303
12304 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12305 PyObject *resultobj;
12306 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12307 long arg2 ;
12308 PyObject * obj0 = 0 ;
12309
12310 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12312 (arg1)->setTimeout(arg2);
12313
12314 Py_INCREF(Py_None); resultobj = Py_None;
12315 return resultobj;
12316 fail:
12317 return NULL;
12318 }
12319
12320
12321 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12322 PyObject *resultobj;
12323 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12324 timeval *arg2 = 0 ;
12325 PyObject * obj0 = 0 ;
12326 PyObject * obj1 = 0 ;
12327
12328 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12331 if (arg2 == NULL) {
12332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12333 }
12334 (arg1)->setTimeout((timeval const &)*arg2);
12335
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12344 int argc;
12345 PyObject *argv[3];
12346 int ii;
12347
12348 argc = PyObject_Length(args);
12349 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12350 argv[ii] = PyTuple_GetItem(args,ii);
12351 }
12352 if (argc == 2) {
12353 int _v;
12354 {
12355 void *ptr;
12356 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12357 _v = 0;
12358 PyErr_Clear();
12359 }else {
12360 _v = 1;
12361 }
12362 }
12363 if (_v) {
12364 {
12365 void *ptr;
12366 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12367 _v = 0;
12368 PyErr_Clear();
12369 }else {
12370 _v = 1;
12371 }
12372 }
12373 if (_v) {
12374 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12375 }
12376 }
12377 }
12378 if (argc == 2) {
12379 int _v;
12380 {
12381 void *ptr;
12382 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12383 _v = 0;
12384 PyErr_Clear();
12385 }else {
12386 _v = 1;
12387 }
12388 }
12389 if (_v) {
12390 {
12391 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12392 }
12393 if (_v) {
12394 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12395 }
12396 }
12397 }
12398
12399 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12400 return NULL;
12401 }
12402
12403
12404 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12405 PyObject *resultobj;
12406 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12407 PyObject * obj0 = 0 ;
12408
12409 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 (arg1)->start();
12412
12413 Py_INCREF(Py_None); resultobj = Py_None;
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12421 PyObject *resultobj;
12422 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12423 PyObject * obj0 = 0 ;
12424
12425 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12427 (arg1)->stop();
12428
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12437 PyObject *obj;
12438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12439 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12440 Py_INCREF(obj);
12441 return Py_BuildValue((char *)"");
12442 }
12443 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12444 PyObject *resultobj;
12445 otk::OBTimerQueueManager *result;
12446
12447 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12448 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12449
12450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12458 PyObject *resultobj;
12459 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12460 PyObject * obj0 = 0 ;
12461
12462 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12464 delete arg1;
12465
12466 Py_INCREF(Py_None); resultobj = Py_None;
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12474 PyObject *resultobj;
12475 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12476 PyObject * obj0 = 0 ;
12477
12478 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12480 (arg1)->fire();
12481
12482 Py_INCREF(Py_None); resultobj = Py_None;
12483 return resultobj;
12484 fail:
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12490 PyObject *resultobj;
12491 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12492 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495
12496 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12499 (arg1)->addTimer(arg2);
12500
12501 Py_INCREF(Py_None); resultobj = Py_None;
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12509 PyObject *resultobj;
12510 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12511 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514
12515 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12518 (arg1)->removeTimer(arg2);
12519
12520 Py_INCREF(Py_None); resultobj = Py_None;
12521 return resultobj;
12522 fail:
12523 return NULL;
12524 }
12525
12526
12527 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12528 PyObject *obj;
12529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12530 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12531 Py_INCREF(obj);
12532 return Py_BuildValue((char *)"");
12533 }
12534 static int _wrap_BSENTINEL_set(PyObject *_val) {
12535 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12536 return 1;
12537 }
12538
12539
12540 static PyObject *_wrap_BSENTINEL_get() {
12541 PyObject *pyobj;
12542
12543 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12544 return pyobj;
12545 }
12546
12547
12548 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12549 PyObject *resultobj;
12550 std::string *arg1 = 0 ;
12551 std::string result;
12552 std::string temp1 ;
12553 PyObject * obj0 = 0 ;
12554
12555 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12556 {
12557 if (PyString_Check(obj0)) {
12558 temp1 = std::string(PyString_AsString(obj0));
12559 arg1 = &temp1;
12560 }else {
12561 SWIG_exception(SWIG_TypeError, "string expected");
12562 }
12563 }
12564 result = otk::expandTilde((std::string const &)*arg1);
12565
12566 {
12567 resultobj = PyString_FromString((&result)->c_str());
12568 }
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12576 PyObject *resultobj;
12577 std::string *arg1 = 0 ;
12578 std::string *arg2 = 0 ;
12579 std::string temp1 ;
12580 std::string temp2 ;
12581 PyObject * obj0 = 0 ;
12582 PyObject * obj1 = 0 ;
12583
12584 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12585 {
12586 if (PyString_Check(obj0)) {
12587 temp1 = std::string(PyString_AsString(obj0));
12588 arg1 = &temp1;
12589 }else {
12590 SWIG_exception(SWIG_TypeError, "string expected");
12591 }
12592 }
12593 {
12594 if (PyString_Check(obj1)) {
12595 temp2 = std::string(PyString_AsString(obj1));
12596 arg2 = &temp2;
12597 }else {
12598 SWIG_exception(SWIG_TypeError, "string expected");
12599 }
12600 }
12601 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12602
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12611 PyObject *resultobj;
12612 Display *arg1 = (Display *) 0 ;
12613 XTextProperty *arg2 = 0 ;
12614 std::string result;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617
12618 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12621 if (arg2 == NULL) {
12622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12623 }
12624 result = otk::textPropertyToString(arg1,*arg2);
12625
12626 {
12627 resultobj = PyString_FromString((&result)->c_str());
12628 }
12629 return resultobj;
12630 fail:
12631 return NULL;
12632 }
12633
12634
12635 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12636 PyObject *resultobj;
12637 unsigned long arg1 ;
12638 std::string result;
12639 PyObject * obj0 = 0 ;
12640
12641 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12642 arg1 = (unsigned long) PyInt_AsLong(obj0);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 result = otk::itostring(arg1);
12645
12646 {
12647 resultobj = PyString_FromString((&result)->c_str());
12648 }
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12656 PyObject *resultobj;
12657 long arg1 ;
12658 std::string result;
12659
12660 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12661 result = otk::itostring(arg1);
12662
12663 {
12664 resultobj = PyString_FromString((&result)->c_str());
12665 }
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12673 PyObject *resultobj;
12674 unsigned int arg1 ;
12675 std::string result;
12676 PyObject * obj0 = 0 ;
12677
12678 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12679 arg1 = (unsigned int) PyInt_AsLong(obj0);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 result = otk::itostring(arg1);
12682
12683 {
12684 resultobj = PyString_FromString((&result)->c_str());
12685 }
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12693 PyObject *resultobj;
12694 int arg1 ;
12695 std::string result;
12696
12697 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12698 result = otk::itostring(arg1);
12699
12700 {
12701 resultobj = PyString_FromString((&result)->c_str());
12702 }
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12710 PyObject *resultobj;
12711 std::string *arg1 = 0 ;
12712 std::string result;
12713 std::string temp1 ;
12714 PyObject * obj0 = 0 ;
12715
12716 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12717 {
12718 if (PyString_Check(obj0)) {
12719 temp1 = std::string(PyString_AsString(obj0));
12720 arg1 = &temp1;
12721 }else {
12722 SWIG_exception(SWIG_TypeError, "string expected");
12723 }
12724 }
12725 result = basename((std::string const &)*arg1);
12726
12727 {
12728 resultobj = PyString_FromString((&result)->c_str());
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyMethodDef SwigMethods[] = {
12737 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12738 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12739 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12740 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12741 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12742 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12743 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12744 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12745 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12746 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12747 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12748 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12749 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12750 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12751 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12752 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12753 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12754 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12755 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12756 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12757 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12758 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12759 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12760 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12761 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12762 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12763 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12764 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12765 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12766 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12767 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12768 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12769 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12770 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12771 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12772 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12773 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12774 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12775 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12776 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12777 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12778 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12779 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12780 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12781 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12782 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12783 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12784 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12785 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12786 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12787 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12788 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12789 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12790 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12791 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12792 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12793 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12794 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12795 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12796 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12797 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12798 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12799 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12800 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12801 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12802 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12803 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12804 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12805 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12806 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12807 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12808 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12809 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12810 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12811 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12812 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12813 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12814 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12815 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12816 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12817 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12818 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12819 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12820 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12821 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12822 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12823 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12824 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12825 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12826 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12827 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12828 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12829 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12830 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12831 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12832 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12833 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12834 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12835 { (char *)"OtkWidget_unmanaged", _wrap_OtkWidget_unmanaged, METH_VARARGS },
12836 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12837 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12838 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12839 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12840 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12841 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12842 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12843 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12844 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12845 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12846 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12847 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12848 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12849 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12850 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12851 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12852 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12853 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12854 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12855 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12856 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12857 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12858 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12859 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12860 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12861 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12862 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12863 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12864 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12865 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12866 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12867 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12868 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12869 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12870 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12871 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12872 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12873 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12874 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12875 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12876 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12877 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12878 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12879 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12880 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12881 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12882 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12883 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12884 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12885 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12886 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12887 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12888 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12889 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12890 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12891 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12892 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12893 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12894 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12895 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12896 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12897 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12898 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12899 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12900 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12901 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12902 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12903 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12904 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12905 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12906 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12907 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12908 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12909 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12910 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12911 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12912 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12913 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12914 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12915 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12916 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12917 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12918 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12919 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12920 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12921 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12922 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
12923 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
12924 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
12925 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
12926 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
12927 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
12928 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
12929 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
12930 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
12931 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
12932 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
12933 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
12934 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
12935 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
12936 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
12937 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
12938 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
12939 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
12940 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
12941 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
12942 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
12943 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
12944 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
12945 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
12946 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
12947 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
12948 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
12949 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
12950 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
12951 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
12952 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
12953 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
12954 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
12955 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
12956 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
12957 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
12958 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
12959 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
12960 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
12961 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
12962 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
12963 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
12964 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
12965 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
12966 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
12967 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
12968 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
12969 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
12970 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
12971 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
12972 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
12973 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
12974 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
12975 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
12976 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
12977 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
12978 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
12979 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
12980 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
12981 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
12982 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
12983 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
12984 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
12985 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
12986 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
12987 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
12988 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
12989 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
12990 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
12991 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
12992 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
12993 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
12994 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
12995 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
12996 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
12997 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
12998 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
12999 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13000 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13001 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13002 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13003 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13004 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13005 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13006 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13007 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13008 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13009 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13010 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13011 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13012 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13013 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13014 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13015 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13016 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13017 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13018 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13019 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13020 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13021 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13022 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13023 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13024 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13025 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13026 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13027 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13028 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13029 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13030 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13031 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13032 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13033 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13034 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13035 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13036 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13037 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13038 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13039 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13040 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13041 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13042 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13043 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13044 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13045 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13046 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13047 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13048 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13049 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13050 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13051 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13052 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13053 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13054 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13055 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13056 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13057 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13058 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13059 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13060 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13061 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13062 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13063 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13064 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13065 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13066 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13067 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13068 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13069 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13070 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13071 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13072 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13073 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13074 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13075 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13076 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13077 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13078 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13079 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13080 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13081 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13082 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13083 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13084 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13085 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13086 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13087 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13088 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13089 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13090 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13091 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13092 { (char *)"Style_b_pressed_set", _wrap_Style_b_pressed_set, METH_VARARGS },
13093 { (char *)"Style_b_pressed_get", _wrap_Style_b_pressed_get, METH_VARARGS },
13094 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13095 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13096 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13097 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13098 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13099 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13100 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13101 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13102 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13103 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13104 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13105 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13106 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13107 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13108 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13109 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13110 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13111 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13112 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13113 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13114 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13115 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13116 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13117 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13118 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13119 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13120 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13121 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13122 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13123 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13124 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13125 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13126 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13127 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13128 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13129 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13130 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13131 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13132 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13133 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13134 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13135 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13136 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13137 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13138 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13139 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13140 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13141 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13142 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13143 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13144 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13145 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13146 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13147 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13148 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13149 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13150 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13151 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13152 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13153 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13154 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13155 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13156 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13157 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13158 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13159 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13160 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13161 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13162 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13163 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13164 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13165 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13166 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13167 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13168 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13169 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13170 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13171 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13172 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13173 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13174 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13175 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13176 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13177 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13178 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13179 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13180 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13181 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13182 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13183 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13184 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13185 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13186 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13187 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13188 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13189 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13190 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13191 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13192 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13193 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13194 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13195 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13196 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13197 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13198 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13199 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13200 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13201 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13202 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13203 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13204 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13205 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13206 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13207 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13208 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13209 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13210 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13211 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13212 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13213 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13214 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13215 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13216 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13217 { (char *)"basename", _wrap_basename, METH_VARARGS },
13218 { NULL, NULL }
13219 };
13220
13221
13222 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13223
13224 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13225 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13226 }
13227 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13228 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13229 }
13230 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13231 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13232 }
13233 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13234 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13235 }
13236 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13237 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13238 }
13239 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13240 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13241 }
13242 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13243 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13244 }
13245 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13246 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13247 }
13248 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13249 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13250 }
13251 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13252 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13253 }
13254 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13255 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13256 }
13257 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13258 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13259 }
13260 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13261 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13262 }
13263 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13264 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13265 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13266 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13267 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13268 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13269 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13270 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13271 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13272 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13273 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13274 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13275 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13276 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13277 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13278 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13279 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13280 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13281 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13282 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13283 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13284 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13285 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13286 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13287 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13288 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13289 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13290 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13291 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}};
13292 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}};
13293 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13294 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13295 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13296 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13297 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13298 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13299 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13300 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13301 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13302 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13303 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13304 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13305 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13306 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13307 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}};
13308 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13309 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13310 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13311 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13312 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13313 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13314 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13315 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13316 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}};
13317 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13318 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}};
13319 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13320 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13321 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13322 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13323 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13324 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13325 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13326 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13327 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13328 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13329 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13330 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13331 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13332 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13333 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13334 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13335 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13336 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13337 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13338 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13339 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13340 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13341 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13342 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13343 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13344 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13345 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13346 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13347 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13348
13349 static swig_type_info *swig_types_initial[] = {
13350 _swigt__p_otk__BGCCache,
13351 _swigt__p_otk__BColor,
13352 _swigt__p_otk__OBProperty__StringVect,
13353 _swigt__p_XFontStruct,
13354 _swigt__p_otk__Configuration,
13355 _swigt__p_otk__PixmapMask,
13356 _swigt__p_Atom,
13357 _swigt__p_otk__PointerAssassin,
13358 _swigt__p_otk__BImage,
13359 _swigt__p_otk__OBTimer,
13360 _swigt__p_otk__OtkWidget__OtkWidgetList,
13361 _swigt__p_bool,
13362 _swigt__p_otk__OBDisplay,
13363 _swigt__p_Display,
13364 _swigt__p_p_XColor,
13365 _swigt__p_XReparentEvent,
13366 _swigt__p_otk__BPen,
13367 _swigt__p_otk__BImageControl,
13368 _swigt__p_otk__OtkButton,
13369 _swigt__p_otk__Rect,
13370 _swigt__p_otk__Style,
13371 _swigt__p_XSelectionClearEvent,
13372 _swigt__p_Visual,
13373 _swigt__p_timeval,
13374 _swigt__p_int,
13375 _swigt__p_otk__Strut,
13376 _swigt__p_otk__OtkApplication,
13377 _swigt__p_XRectangle,
13378 _swigt__p_otk__OtkFocusWidget,
13379 _swigt__p_otk__OtkWidget,
13380 _swigt__p_Cursor,
13381 _swigt__p_Colormap,
13382 _swigt__p_XGravityEvent,
13383 _swigt__p_XVisibilityEvent,
13384 _swigt__p_XPropertyEvent,
13385 _swigt__p_Window,
13386 _swigt__p_otk__BGCCacheContext,
13387 _swigt__p_XCreateWindowEvent,
13388 _swigt__p_XDestroyWindowEvent,
13389 _swigt__p_XCirculateEvent,
13390 _swigt__p_XConfigureEvent,
13391 _swigt__p_otk__OBProperty,
13392 _swigt__p_long,
13393 _swigt__p_XTextProperty,
13394 _swigt__p_otk__OtkEventHandler,
13395 _swigt__p_XCirculateRequestEvent,
13396 _swigt__p_XConfigureRequestEvent,
13397 _swigt__p_XMapRequestEvent,
13398 _swigt__p_XResizeRequestEvent,
13399 _swigt__p_XSelectionRequestEvent,
13400 _swigt__otk__OBTimeoutHandler,
13401 _swigt__p_XftDraw,
13402 _swigt__p_otk__ScreenInfo,
13403 _swigt__p_otk__OtkFocusLabel,
13404 _swigt__p_otk__BTexture,
13405 _swigt__p_otk__OtkEventDispatcher,
13406 _swigt__p_otk__BFont,
13407 _swigt__p_otk__Point,
13408 _swigt__p_p_char,
13409 _swigt__p_XMotionEvent,
13410 _swigt__p_XButtonEvent,
13411 _swigt__p_XSelectionEvent,
13412 _swigt__p_Pixmap,
13413 _swigt__p_GC,
13414 _swigt__p_otk__OBTimerQueueManager,
13415 _swigt__p_otk__OtkAppWidget,
13416 _swigt__p_XKeyEvent,
13417 _swigt__p_unsigned_long,
13418 _swigt__p_XEvent,
13419 _swigt__p_p_unsigned_long,
13420 _swigt__p_std__string,
13421 _swigt__p_XCrossingEvent,
13422 _swigt__p_XMappingEvent,
13423 _swigt__p_otk__BGCCacheItem,
13424 _swigt__p_p_unsigned_int,
13425 _swigt__p_unsigned_int,
13426 _swigt__p_p_unsigned_char,
13427 _swigt__p_XClientMessageEvent,
13428 _swigt__p_XGraphicsExposeEvent,
13429 _swigt__p_XExposeEvent,
13430 _swigt__p_XFocusChangeEvent,
13431 _swigt__p_XNoExposeEvent,
13432 _swigt__p_XMapEvent,
13433 _swigt__p_XUnmapEvent,
13434 _swigt__p_XColormapEvent,
13435 0
13436 };
13437
13438
13439 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13440
13441 static swig_const_info swig_const_table[] = {
13442 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13443 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13444 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13445 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13446 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13447 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13448 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13449 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13450 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13451 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13452 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13453 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13454 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13455 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13456 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13457 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13458 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13459 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13460 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13461 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13462 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13463 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13464 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13465 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13466 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13467 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13468 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13469 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13470 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13471 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13472 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13473 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13474 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13475 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13476 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13477 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13478 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13479 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13480 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13481 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13482 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13483 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13484 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13485 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13486 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13487 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13488 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13489 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13490 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13491 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13492 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13493 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13494 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13495 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13496 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13497 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13498 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13499 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13500 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13501 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13502 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13503 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13504 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13505 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13506 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13507 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13508 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13509 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13510 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13511 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13512 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13513 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13514 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13515 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13516 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13517 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13518 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13519 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13520 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13521 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13522 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13523 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13524 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13525 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13526 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13527 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13528 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_floating", (long) otk::OBProperty::net_wm_state_floating, 0, 0, 0},
13529 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13530 { 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},
13531 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13532 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13533 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13534 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13535 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13536 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13537 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13538 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13539 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13540 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13541 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13542 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13543 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13544 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13545 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13546 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13547 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13548 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13549 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13550 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13551 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13552 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13553 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13554 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13555 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13556 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13557 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13558 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13559 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13560 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13561 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13562 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13563 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13564 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13565 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13566 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13567 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13568 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13569 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13570 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13571 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13572 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13573 {0}};
13574
13575 #ifdef __cplusplus
13576 }
13577 #endif
13578
13579 #ifdef __cplusplus
13580 extern "C"
13581 #endif
13582 SWIGEXPORT(void) SWIG_init(void) {
13583 static PyObject *SWIG_globals = 0;
13584 static int typeinit = 0;
13585 PyObject *m, *d;
13586 int i;
13587 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13588 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13589 d = PyModule_GetDict(m);
13590
13591 if (!typeinit) {
13592 for (i = 0; swig_types_initial[i]; i++) {
13593 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13594 }
13595 typeinit = 1;
13596 }
13597 SWIG_InstallConstants(d,swig_const_table);
13598
13599 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13600 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13601 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13602 }
13603
This page took 0.708193 seconds and 4 git commands to generate.