]> Dogcows Code - chaz/openbox/blob - otk/otk_wrap.cc
restart works
[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 * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3209 PyObject *obj;
3210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3211 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3212 Py_INCREF(obj);
3213 return Py_BuildValue((char *)"");
3214 }
3215 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3216 PyObject *resultobj;
3217 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3218 int arg2 = (int) otk::OtkWidget::Horizontal ;
3219 otk::OtkFocusWidget *result;
3220 PyObject * obj0 = 0 ;
3221
3222 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3224 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3225
3226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3234 PyObject *resultobj;
3235 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3236 PyObject * obj0 = 0 ;
3237
3238 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3240 delete arg1;
3241
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 return resultobj;
3244 fail:
3245 return NULL;
3246 }
3247
3248
3249 static PyObject *_wrap_OtkFocusWidget_focus(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:OtkFocusWidget_focus",&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 (arg1)->focus();
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_unfocus(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_unfocus",&obj0)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3272 (arg1)->unfocus();
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_setTexture(PyObject *self, PyObject *args) {
3282 PyObject *resultobj;
3283 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3284 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287
3288 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3291 (arg1)->setTexture(arg2);
3292
3293 Py_INCREF(Py_None); resultobj = Py_None;
3294 return resultobj;
3295 fail:
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3301 PyObject *resultobj;
3302 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3303 otk::BColor *arg2 = (otk::BColor *) 0 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306
3307 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 (arg1)->setBorderColor((otk::BColor const *)arg2);
3311
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3320 PyObject *resultobj;
3321 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3322 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3323 PyObject * obj0 = 0 ;
3324 PyObject * obj1 = 0 ;
3325
3326 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 (arg1)->setUnfocusTexture(arg2);
3330
3331 Py_INCREF(Py_None); resultobj = Py_None;
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3339 PyObject *resultobj;
3340 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3341 otk::BTexture *result;
3342 PyObject * obj0 = 0 ;
3343
3344 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3347
3348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3356 PyObject *resultobj;
3357 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3358 otk::BColor *arg2 = (otk::BColor *) 0 ;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361
3362 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3365 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3366
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3375 PyObject *resultobj;
3376 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3377 otk::BColor *result;
3378 PyObject * obj0 = 0 ;
3379
3380 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3382 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3383
3384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3392 PyObject *resultobj;
3393 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3394 bool result;
3395 PyObject * obj0 = 0 ;
3396
3397 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3399 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3400
3401 resultobj = PyInt_FromLong((long)result);
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3409 PyObject *resultobj;
3410 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3411 bool result;
3412 PyObject * obj0 = 0 ;
3413
3414 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3416 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3417
3418 resultobj = PyInt_FromLong((long)result);
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3426 PyObject *obj;
3427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3428 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3429 Py_INCREF(obj);
3430 return Py_BuildValue((char *)"");
3431 }
3432 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3433 PyObject *resultobj;
3434 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3435 otk::OtkFocusLabel *result;
3436 PyObject * obj0 = 0 ;
3437
3438 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3440 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3441
3442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3450 PyObject *resultobj;
3451 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3452 PyObject * obj0 = 0 ;
3453
3454 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3456 delete arg1;
3457
3458 Py_INCREF(Py_None); resultobj = Py_None;
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3466 PyObject *resultobj;
3467 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3468 std::string *result;
3469 PyObject * obj0 = 0 ;
3470
3471 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473 {
3474 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3475 result = (std::string *) &_result_ref;
3476 }
3477
3478 {
3479 resultobj = PyString_FromString(result->c_str());
3480 }
3481 return resultobj;
3482 fail:
3483 return NULL;
3484 }
3485
3486
3487 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3488 PyObject *resultobj;
3489 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3490 std::string *arg2 = 0 ;
3491 std::string temp2 ;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494
3495 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3497 {
3498 if (PyString_Check(obj1)) {
3499 temp2 = std::string(PyString_AsString(obj1));
3500 arg2 = &temp2;
3501 }else {
3502 SWIG_exception(SWIG_TypeError, "string expected");
3503 }
3504 }
3505 (arg1)->setText((std::string const &)*arg2);
3506
3507 Py_INCREF(Py_None); resultobj = Py_None;
3508 return resultobj;
3509 fail:
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3515 PyObject *resultobj;
3516 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3517 PyObject * obj0 = 0 ;
3518
3519 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3521 (arg1)->update();
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_setStyle(PyObject *self, PyObject *args) {
3531 PyObject *resultobj;
3532 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3533 otk::Style *arg2 = (otk::Style *) 0 ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536
3537 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 (arg1)->setStyle(arg2);
3541
3542 Py_INCREF(Py_None); resultobj = Py_None;
3543 return resultobj;
3544 fail:
3545 return NULL;
3546 }
3547
3548
3549 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3550 PyObject *obj;
3551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3552 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3553 Py_INCREF(obj);
3554 return Py_BuildValue((char *)"");
3555 }
3556 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3557 PyObject *resultobj;
3558 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3559 int arg2 = (int) otk::OtkWidget::Horizontal ;
3560 Cursor arg3 = (Cursor) 0 ;
3561 int arg4 = (int) 1 ;
3562 otk::OtkAppWidget *result;
3563 Cursor *argp3 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj2 = 0 ;
3566
3567 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 if (obj2) {
3570 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3571 arg3 = *argp3;
3572 }
3573 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3574
3575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3583 PyObject *resultobj;
3584 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3585 PyObject * obj0 = 0 ;
3586
3587 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3589 delete arg1;
3590
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_OtkAppWidget_show(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:OtkAppWidget_show",&obj0)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 (arg1)->show();
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_hide(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_hide",&obj0)) goto fail;
3620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 (arg1)->hide();
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_clientMessageHandler(PyObject *self, PyObject *args) {
3631 PyObject *resultobj;
3632 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3633 XClientMessageEvent *arg2 = 0 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636
3637 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3640 if (arg2 == NULL) {
3641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3642 }
3643 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3644
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3653 PyObject *obj;
3654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3655 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3656 Py_INCREF(obj);
3657 return Py_BuildValue((char *)"");
3658 }
3659 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3660 PyObject *resultobj;
3661 int arg1 ;
3662 char **arg2 = (char **) 0 ;
3663 otk::OtkApplication *result;
3664 PyObject * obj1 = 0 ;
3665
3666 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3668 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3669
3670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3678 PyObject *resultobj;
3679 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3680 PyObject * obj0 = 0 ;
3681
3682 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 delete arg1;
3685
3686 Py_INCREF(Py_None); resultobj = Py_None;
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_OtkApplication_run(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:OtkApplication_run",&obj0)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3700 (arg1)->run();
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_setDockable(PyObject *self, PyObject *args) {
3710 PyObject *resultobj;
3711 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3712 bool arg2 ;
3713 PyObject * obj0 = 0 ;
3714 PyObject * obj1 = 0 ;
3715
3716 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3718 arg2 = (bool) PyInt_AsLong(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 (arg1)->setDockable(arg2);
3721
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3730 PyObject *resultobj;
3731 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3732 bool result;
3733 PyObject * obj0 = 0 ;
3734
3735 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3737 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3738
3739 resultobj = PyInt_FromLong((long)result);
3740 return resultobj;
3741 fail:
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3747 PyObject *resultobj;
3748 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3749 otk::Style *result;
3750 PyObject * obj0 = 0 ;
3751
3752 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3754 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3755
3756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3764 PyObject *obj;
3765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3766 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3767 Py_INCREF(obj);
3768 return Py_BuildValue((char *)"");
3769 }
3770 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3771 PyObject *resultobj;
3772 otk::PointerAssassin *result;
3773
3774 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3775 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3776
3777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3785 PyObject *resultobj;
3786 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3787 PyObject * obj0 = 0 ;
3788
3789 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3791 delete arg1;
3792
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3801 PyObject *obj;
3802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3803 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3804 Py_INCREF(obj);
3805 return Py_BuildValue((char *)"");
3806 }
3807 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3808 PyObject *resultobj;
3809 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3810 otk::OtkButton *result;
3811 PyObject * obj0 = 0 ;
3812
3813 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3815 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3816
3817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3825 PyObject *resultobj;
3826 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3827 PyObject * obj0 = 0 ;
3828
3829 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3831 delete arg1;
3832
3833 Py_INCREF(Py_None); resultobj = Py_None;
3834 return resultobj;
3835 fail:
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3841 PyObject *resultobj;
3842 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3843 otk::BTexture *result;
3844 PyObject * obj0 = 0 ;
3845
3846 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3848 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3849
3850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3858 PyObject *resultobj;
3859 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3860 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863
3864 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 (arg1)->setPressedFocusTexture(arg2);
3868
3869 Py_INCREF(Py_None); resultobj = Py_None;
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3877 PyObject *resultobj;
3878 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3879 otk::BTexture *result;
3880 PyObject * obj0 = 0 ;
3881
3882 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3885
3886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3887 return resultobj;
3888 fail:
3889 return NULL;
3890 }
3891
3892
3893 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3894 PyObject *resultobj;
3895 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3896 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3897 PyObject * obj0 = 0 ;
3898 PyObject * obj1 = 0 ;
3899
3900 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3903 (arg1)->setPressedUnfocusTexture(arg2);
3904
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3913 PyObject *resultobj;
3914 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3915 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3916 PyObject * obj0 = 0 ;
3917 PyObject * obj1 = 0 ;
3918
3919 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3922 (arg1)->setTexture(arg2);
3923
3924 Py_INCREF(Py_None); resultobj = Py_None;
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3932 PyObject *resultobj;
3933 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3934 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937
3938 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 (arg1)->setUnfocusTexture(arg2);
3942
3943 Py_INCREF(Py_None); resultobj = Py_None;
3944 return resultobj;
3945 fail:
3946 return NULL;
3947 }
3948
3949
3950 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3951 PyObject *resultobj;
3952 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3953 bool result;
3954 PyObject * obj0 = 0 ;
3955
3956 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3959
3960 resultobj = PyInt_FromLong((long)result);
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3968 PyObject *resultobj;
3969 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3970 unsigned int arg2 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973
3974 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 arg2 = (unsigned int) PyInt_AsLong(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 (arg1)->press(arg2);
3979
3980 Py_INCREF(Py_None); resultobj = Py_None;
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
3988 PyObject *resultobj;
3989 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3990 unsigned int arg2 ;
3991 PyObject * obj0 = 0 ;
3992 PyObject * obj1 = 0 ;
3993
3994 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3996 arg2 = (unsigned int) PyInt_AsLong(obj1);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 (arg1)->release(arg2);
3999
4000 Py_INCREF(Py_None); resultobj = Py_None;
4001 return resultobj;
4002 fail:
4003 return NULL;
4004 }
4005
4006
4007 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4008 PyObject *resultobj;
4009 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4010 XButtonEvent *arg2 = 0 ;
4011 PyObject * obj0 = 0 ;
4012 PyObject * obj1 = 0 ;
4013
4014 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4017 if (arg2 == NULL) {
4018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4019 }
4020 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4021
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4030 PyObject *resultobj;
4031 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4032 XButtonEvent *arg2 = 0 ;
4033 PyObject * obj0 = 0 ;
4034 PyObject * obj1 = 0 ;
4035
4036 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 if (arg2 == NULL) {
4040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4041 }
4042 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4043
4044 Py_INCREF(Py_None); resultobj = Py_None;
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4052 PyObject *resultobj;
4053 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4054 otk::Style *arg2 = (otk::Style *) 0 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057
4058 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 (arg1)->setStyle(arg2);
4062
4063 Py_INCREF(Py_None); resultobj = Py_None;
4064 return resultobj;
4065 fail:
4066 return NULL;
4067 }
4068
4069
4070 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4071 PyObject *obj;
4072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4073 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4074 Py_INCREF(obj);
4075 return Py_BuildValue((char *)"");
4076 }
4077 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4078 PyObject *resultobj;
4079 unsigned int arg1 = (unsigned int) ~(0u) ;
4080 otk::BColor *result;
4081 PyObject * obj0 = 0 ;
4082
4083 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4084 if (obj0) {
4085 arg1 = (unsigned int) PyInt_AsLong(obj0);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 result = (otk::BColor *)new otk::BColor(arg1);
4089
4090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4098 PyObject *resultobj;
4099 int arg1 ;
4100 int arg2 ;
4101 int arg3 ;
4102 unsigned int arg4 = (unsigned int) ~(0u) ;
4103 otk::BColor *result;
4104 PyObject * obj3 = 0 ;
4105
4106 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4107 if (obj3) {
4108 arg4 = (unsigned int) PyInt_AsLong(obj3);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4112
4113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4114 return resultobj;
4115 fail:
4116 return NULL;
4117 }
4118
4119
4120 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4121 PyObject *resultobj;
4122 std::string *arg1 = 0 ;
4123 unsigned int arg2 = (unsigned int) ~(0u) ;
4124 otk::BColor *result;
4125 std::string temp1 ;
4126 PyObject * obj0 = 0 ;
4127 PyObject * obj1 = 0 ;
4128
4129 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4130 {
4131 if (PyString_Check(obj0)) {
4132 temp1 = std::string(PyString_AsString(obj0));
4133 arg1 = &temp1;
4134 }else {
4135 SWIG_exception(SWIG_TypeError, "string expected");
4136 }
4137 }
4138 if (obj1) {
4139 arg2 = (unsigned int) PyInt_AsLong(obj1);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4143
4144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4145 return resultobj;
4146 fail:
4147 return NULL;
4148 }
4149
4150
4151 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4152 int argc;
4153 PyObject *argv[5];
4154 int ii;
4155
4156 argc = PyObject_Length(args);
4157 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4158 argv[ii] = PyTuple_GetItem(args,ii);
4159 }
4160 if ((argc >= 0) && (argc <= 1)) {
4161 int _v;
4162 if (argc <= 0) {
4163 return _wrap_new_BColor__SWIG_0(self,args);
4164 }
4165 {
4166 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4167 }
4168 if (_v) {
4169 return _wrap_new_BColor__SWIG_0(self,args);
4170 }
4171 }
4172 if ((argc >= 1) && (argc <= 2)) {
4173 int _v;
4174 {
4175 _v = PyString_Check(argv[0]) ? 1 : 0;
4176 }
4177 if (_v) {
4178 if (argc <= 1) {
4179 return _wrap_new_BColor__SWIG_2(self,args);
4180 }
4181 {
4182 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4183 }
4184 if (_v) {
4185 return _wrap_new_BColor__SWIG_2(self,args);
4186 }
4187 }
4188 }
4189 if ((argc >= 3) && (argc <= 4)) {
4190 int _v;
4191 {
4192 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4193 }
4194 if (_v) {
4195 {
4196 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4197 }
4198 if (_v) {
4199 {
4200 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4201 }
4202 if (_v) {
4203 if (argc <= 3) {
4204 return _wrap_new_BColor__SWIG_1(self,args);
4205 }
4206 {
4207 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4208 }
4209 if (_v) {
4210 return _wrap_new_BColor__SWIG_1(self,args);
4211 }
4212 }
4213 }
4214 }
4215 }
4216
4217 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4218 return NULL;
4219 }
4220
4221
4222 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4223 PyObject *resultobj;
4224 otk::BColor *arg1 = (otk::BColor *) 0 ;
4225 PyObject * obj0 = 0 ;
4226
4227 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4229 delete arg1;
4230
4231 Py_INCREF(Py_None); resultobj = Py_None;
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4239 PyObject *resultobj;
4240 otk::BColor *arg1 = (otk::BColor *) 0 ;
4241 std::string *result;
4242 PyObject * obj0 = 0 ;
4243
4244 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 {
4247 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4248 result = (std::string *) &_result_ref;
4249 }
4250
4251 {
4252 resultobj = PyString_FromString(result->c_str());
4253 }
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4261 PyObject *resultobj;
4262 otk::BColor *arg1 = (otk::BColor *) 0 ;
4263 int result;
4264 PyObject * obj0 = 0 ;
4265
4266 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4268 result = (int)((otk::BColor const *)arg1)->red();
4269
4270 resultobj = PyInt_FromLong((long)result);
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4278 PyObject *resultobj;
4279 otk::BColor *arg1 = (otk::BColor *) 0 ;
4280 int result;
4281 PyObject * obj0 = 0 ;
4282
4283 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 result = (int)((otk::BColor const *)arg1)->green();
4286
4287 resultobj = PyInt_FromLong((long)result);
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4295 PyObject *resultobj;
4296 otk::BColor *arg1 = (otk::BColor *) 0 ;
4297 int result;
4298 PyObject * obj0 = 0 ;
4299
4300 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4302 result = (int)((otk::BColor const *)arg1)->blue();
4303
4304 resultobj = PyInt_FromLong((long)result);
4305 return resultobj;
4306 fail:
4307 return NULL;
4308 }
4309
4310
4311 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4312 PyObject *resultobj;
4313 otk::BColor *arg1 = (otk::BColor *) 0 ;
4314 int arg2 ;
4315 int arg3 ;
4316 int arg4 ;
4317 PyObject * obj0 = 0 ;
4318
4319 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 (arg1)->setRGB(arg2,arg3,arg4);
4322
4323 Py_INCREF(Py_None); resultobj = Py_None;
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4331 PyObject *resultobj;
4332 otk::BColor *arg1 = (otk::BColor *) 0 ;
4333 unsigned int result;
4334 PyObject * obj0 = 0 ;
4335
4336 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4338 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4339
4340 resultobj = PyInt_FromLong((long)result);
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4348 PyObject *resultobj;
4349 otk::BColor *arg1 = (otk::BColor *) 0 ;
4350 unsigned int arg2 = (unsigned int) ~(0u) ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353
4354 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4356 if (obj1) {
4357 arg2 = (unsigned int) PyInt_AsLong(obj1);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 (arg1)->setScreen(arg2);
4361
4362 Py_INCREF(Py_None); resultobj = Py_None;
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4370 PyObject *resultobj;
4371 otk::BColor *arg1 = (otk::BColor *) 0 ;
4372 bool result;
4373 PyObject * obj0 = 0 ;
4374
4375 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4377 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4378
4379 resultobj = PyInt_FromLong((long)result);
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4387 PyObject *resultobj;
4388 otk::BColor *arg1 = (otk::BColor *) 0 ;
4389 bool result;
4390 PyObject * obj0 = 0 ;
4391
4392 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4394 result = (bool)((otk::BColor const *)arg1)->isValid();
4395
4396 resultobj = PyInt_FromLong((long)result);
4397 return resultobj;
4398 fail:
4399 return NULL;
4400 }
4401
4402
4403 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4404 PyObject *resultobj;
4405 otk::BColor *arg1 = (otk::BColor *) 0 ;
4406 unsigned long result;
4407 PyObject * obj0 = 0 ;
4408
4409 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4412
4413 resultobj = PyInt_FromLong((long)result);
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4421 PyObject *resultobj;
4422 otk::BColor *arg1 = (otk::BColor *) 0 ;
4423 otk::BColor *arg2 = 0 ;
4424 bool result;
4425 PyObject * obj0 = 0 ;
4426 PyObject * obj1 = 0 ;
4427
4428 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4431 if (arg2 == NULL) {
4432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4433 }
4434 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4435
4436 resultobj = PyInt_FromLong((long)result);
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4444 PyObject *resultobj;
4445
4446 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4447 otk::BColor::cleanupColorCache();
4448
4449 Py_INCREF(Py_None); resultobj = Py_None;
4450 return resultobj;
4451 fail:
4452 return NULL;
4453 }
4454
4455
4456 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4457 PyObject *obj;
4458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4459 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4460 Py_INCREF(obj);
4461 return Py_BuildValue((char *)"");
4462 }
4463 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4464 PyObject *resultobj;
4465 std::string *arg1 = 0 ;
4466 bool arg2 = (bool) True ;
4467 otk::Configuration *result;
4468 std::string temp1 ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471
4472 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4473 {
4474 if (PyString_Check(obj0)) {
4475 temp1 = std::string(PyString_AsString(obj0));
4476 arg1 = &temp1;
4477 }else {
4478 SWIG_exception(SWIG_TypeError, "string expected");
4479 }
4480 }
4481 if (obj1) {
4482 arg2 = (bool) PyInt_AsLong(obj1);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4486
4487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4495 PyObject *resultobj;
4496 bool arg1 = (bool) True ;
4497 otk::Configuration *result;
4498 PyObject * obj0 = 0 ;
4499
4500 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4501 if (obj0) {
4502 arg1 = (bool) PyInt_AsLong(obj0);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 result = (otk::Configuration *)new otk::Configuration(arg1);
4506
4507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4515 int argc;
4516 PyObject *argv[3];
4517 int ii;
4518
4519 argc = PyObject_Length(args);
4520 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4521 argv[ii] = PyTuple_GetItem(args,ii);
4522 }
4523 if ((argc >= 0) && (argc <= 1)) {
4524 int _v;
4525 if (argc <= 0) {
4526 return _wrap_new_Configuration__SWIG_1(self,args);
4527 }
4528 {
4529 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4530 }
4531 if (_v) {
4532 return _wrap_new_Configuration__SWIG_1(self,args);
4533 }
4534 }
4535 if ((argc >= 1) && (argc <= 2)) {
4536 int _v;
4537 {
4538 _v = PyString_Check(argv[0]) ? 1 : 0;
4539 }
4540 if (_v) {
4541 if (argc <= 1) {
4542 return _wrap_new_Configuration__SWIG_0(self,args);
4543 }
4544 {
4545 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4546 }
4547 if (_v) {
4548 return _wrap_new_Configuration__SWIG_0(self,args);
4549 }
4550 }
4551 }
4552
4553 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4559 PyObject *resultobj;
4560 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4561 PyObject * obj0 = 0 ;
4562
4563 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4565 delete arg1;
4566
4567 Py_INCREF(Py_None); resultobj = Py_None;
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4575 PyObject *resultobj;
4576 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4577 std::string *result;
4578 PyObject * obj0 = 0 ;
4579
4580 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 {
4583 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4584 result = (std::string *) &_result_ref;
4585 }
4586
4587 {
4588 resultobj = PyString_FromString(result->c_str());
4589 }
4590 return resultobj;
4591 fail:
4592 return NULL;
4593 }
4594
4595
4596 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4597 PyObject *resultobj;
4598 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4599 std::string *arg2 = 0 ;
4600 std::string temp2 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603
4604 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 if (PyString_Check(obj1)) {
4608 temp2 = std::string(PyString_AsString(obj1));
4609 arg2 = &temp2;
4610 }else {
4611 SWIG_exception(SWIG_TypeError, "string expected");
4612 }
4613 }
4614 (arg1)->setFile((std::string const &)*arg2);
4615
4616 Py_INCREF(Py_None); resultobj = Py_None;
4617 return resultobj;
4618 fail:
4619 return NULL;
4620 }
4621
4622
4623 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4624 PyObject *resultobj;
4625 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4626 bool result;
4627 PyObject * obj0 = 0 ;
4628
4629 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4631 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4632
4633 resultobj = PyInt_FromLong((long)result);
4634 return resultobj;
4635 fail:
4636 return NULL;
4637 }
4638
4639
4640 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4641 PyObject *resultobj;
4642 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4643 bool arg2 ;
4644 PyObject * obj0 = 0 ;
4645 PyObject * obj1 = 0 ;
4646
4647 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4649 arg2 = (bool) PyInt_AsLong(obj1);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 (arg1)->setAutoSave(arg2);
4652
4653 Py_INCREF(Py_None); resultobj = Py_None;
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4661 PyObject *resultobj;
4662 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4663 bool result;
4664 PyObject * obj0 = 0 ;
4665
4666 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4668 result = (bool)((otk::Configuration const *)arg1)->isModified();
4669
4670 resultobj = PyInt_FromLong((long)result);
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4678 PyObject *resultobj;
4679 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4680 PyObject * obj0 = 0 ;
4681
4682 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4684 (arg1)->save();
4685
4686 Py_INCREF(Py_None); resultobj = Py_None;
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4694 PyObject *resultobj;
4695 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4696 bool result;
4697 PyObject * obj0 = 0 ;
4698
4699 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4701 result = (bool)(arg1)->load();
4702
4703 resultobj = PyInt_FromLong((long)result);
4704 return resultobj;
4705 fail:
4706 return NULL;
4707 }
4708
4709
4710 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4711 PyObject *resultobj;
4712 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4713 std::string *arg2 = 0 ;
4714 bool arg3 = (bool) False ;
4715 bool result;
4716 std::string temp2 ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 PyObject * obj2 = 0 ;
4720
4721 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 if (PyString_Check(obj1)) {
4725 temp2 = std::string(PyString_AsString(obj1));
4726 arg2 = &temp2;
4727 }else {
4728 SWIG_exception(SWIG_TypeError, "string expected");
4729 }
4730 }
4731 if (obj2) {
4732 arg3 = (bool) PyInt_AsLong(obj2);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4736
4737 resultobj = PyInt_FromLong((long)result);
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4745 PyObject *resultobj;
4746 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4747 PyObject * obj0 = 0 ;
4748
4749 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4751 (arg1)->create();
4752
4753 Py_INCREF(Py_None); resultobj = Py_None;
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4761 PyObject *resultobj;
4762 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4763 std::string *arg2 = 0 ;
4764 bool arg3 ;
4765 std::string temp2 ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 PyObject * obj2 = 0 ;
4769
4770 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4772 {
4773 if (PyString_Check(obj1)) {
4774 temp2 = std::string(PyString_AsString(obj1));
4775 arg2 = &temp2;
4776 }else {
4777 SWIG_exception(SWIG_TypeError, "string expected");
4778 }
4779 }
4780 arg3 = (bool) PyInt_AsLong(obj2);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 (arg1)->setValue((std::string const &)*arg2,arg3);
4783
4784 Py_INCREF(Py_None); resultobj = Py_None;
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4792 PyObject *resultobj;
4793 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4794 std::string *arg2 = 0 ;
4795 int arg3 ;
4796 std::string temp2 ;
4797 PyObject * obj0 = 0 ;
4798 PyObject * obj1 = 0 ;
4799
4800 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4802 {
4803 if (PyString_Check(obj1)) {
4804 temp2 = std::string(PyString_AsString(obj1));
4805 arg2 = &temp2;
4806 }else {
4807 SWIG_exception(SWIG_TypeError, "string expected");
4808 }
4809 }
4810 (arg1)->setValue((std::string const &)*arg2,arg3);
4811
4812 Py_INCREF(Py_None); resultobj = Py_None;
4813 return resultobj;
4814 fail:
4815 return NULL;
4816 }
4817
4818
4819 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4820 PyObject *resultobj;
4821 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4822 std::string *arg2 = 0 ;
4823 unsigned int arg3 ;
4824 std::string temp2 ;
4825 PyObject * obj0 = 0 ;
4826 PyObject * obj1 = 0 ;
4827 PyObject * obj2 = 0 ;
4828
4829 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4831 {
4832 if (PyString_Check(obj1)) {
4833 temp2 = std::string(PyString_AsString(obj1));
4834 arg2 = &temp2;
4835 }else {
4836 SWIG_exception(SWIG_TypeError, "string expected");
4837 }
4838 }
4839 arg3 = (unsigned int) PyInt_AsLong(obj2);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 (arg1)->setValue((std::string const &)*arg2,arg3);
4842
4843 Py_INCREF(Py_None); resultobj = Py_None;
4844 return resultobj;
4845 fail:
4846 return NULL;
4847 }
4848
4849
4850 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4851 PyObject *resultobj;
4852 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4853 std::string *arg2 = 0 ;
4854 long arg3 ;
4855 std::string temp2 ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858
4859 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 if (PyString_Check(obj1)) {
4863 temp2 = std::string(PyString_AsString(obj1));
4864 arg2 = &temp2;
4865 }else {
4866 SWIG_exception(SWIG_TypeError, "string expected");
4867 }
4868 }
4869 (arg1)->setValue((std::string const &)*arg2,arg3);
4870
4871 Py_INCREF(Py_None); resultobj = Py_None;
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4879 PyObject *resultobj;
4880 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4881 std::string *arg2 = 0 ;
4882 unsigned long arg3 ;
4883 std::string temp2 ;
4884 PyObject * obj0 = 0 ;
4885 PyObject * obj1 = 0 ;
4886 PyObject * obj2 = 0 ;
4887
4888 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 if (PyString_Check(obj1)) {
4892 temp2 = std::string(PyString_AsString(obj1));
4893 arg2 = &temp2;
4894 }else {
4895 SWIG_exception(SWIG_TypeError, "string expected");
4896 }
4897 }
4898 arg3 = (unsigned long) PyInt_AsLong(obj2);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 (arg1)->setValue((std::string const &)*arg2,arg3);
4901
4902 Py_INCREF(Py_None); resultobj = Py_None;
4903 return resultobj;
4904 fail:
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4910 PyObject *resultobj;
4911 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4912 std::string *arg2 = 0 ;
4913 std::string *arg3 = 0 ;
4914 std::string temp2 ;
4915 std::string temp3 ;
4916 PyObject * obj0 = 0 ;
4917 PyObject * obj1 = 0 ;
4918 PyObject * obj2 = 0 ;
4919
4920 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4922 {
4923 if (PyString_Check(obj1)) {
4924 temp2 = std::string(PyString_AsString(obj1));
4925 arg2 = &temp2;
4926 }else {
4927 SWIG_exception(SWIG_TypeError, "string expected");
4928 }
4929 }
4930 {
4931 if (PyString_Check(obj2)) {
4932 temp3 = std::string(PyString_AsString(obj2));
4933 arg3 = &temp3;
4934 }else {
4935 SWIG_exception(SWIG_TypeError, "string expected");
4936 }
4937 }
4938 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4939
4940 Py_INCREF(Py_None); resultobj = Py_None;
4941 return resultobj;
4942 fail:
4943 return NULL;
4944 }
4945
4946
4947 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4948 PyObject *resultobj;
4949 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4950 std::string *arg2 = 0 ;
4951 char *arg3 ;
4952 std::string temp2 ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955
4956 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 {
4959 if (PyString_Check(obj1)) {
4960 temp2 = std::string(PyString_AsString(obj1));
4961 arg2 = &temp2;
4962 }else {
4963 SWIG_exception(SWIG_TypeError, "string expected");
4964 }
4965 }
4966 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4967
4968 Py_INCREF(Py_None); resultobj = Py_None;
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4976 PyObject *resultobj;
4977 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4978 std::string *arg2 = 0 ;
4979 bool *arg3 = 0 ;
4980 bool result;
4981 std::string temp2 ;
4982 PyObject * obj0 = 0 ;
4983 PyObject * obj1 = 0 ;
4984 PyObject * obj2 = 0 ;
4985
4986 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
4987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4988 {
4989 if (PyString_Check(obj1)) {
4990 temp2 = std::string(PyString_AsString(obj1));
4991 arg2 = &temp2;
4992 }else {
4993 SWIG_exception(SWIG_TypeError, "string expected");
4994 }
4995 }
4996 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 if (arg3 == NULL) {
4998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4999 }
5000 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5001
5002 resultobj = PyInt_FromLong((long)result);
5003 return resultobj;
5004 fail:
5005 return NULL;
5006 }
5007
5008
5009 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5010 PyObject *resultobj;
5011 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5012 std::string *arg2 = 0 ;
5013 int *arg3 = 0 ;
5014 bool result;
5015 std::string temp2 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 PyObject * obj2 = 0 ;
5019
5020 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 {
5023 if (PyString_Check(obj1)) {
5024 temp2 = std::string(PyString_AsString(obj1));
5025 arg2 = &temp2;
5026 }else {
5027 SWIG_exception(SWIG_TypeError, "string expected");
5028 }
5029 }
5030 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5031 if (arg3 == NULL) {
5032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5033 }
5034 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5035
5036 resultobj = PyInt_FromLong((long)result);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5044 PyObject *resultobj;
5045 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5046 std::string *arg2 = 0 ;
5047 unsigned int *arg3 = 0 ;
5048 bool result;
5049 std::string temp2 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 PyObject * obj2 = 0 ;
5053
5054 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5056 {
5057 if (PyString_Check(obj1)) {
5058 temp2 = std::string(PyString_AsString(obj1));
5059 arg2 = &temp2;
5060 }else {
5061 SWIG_exception(SWIG_TypeError, "string expected");
5062 }
5063 }
5064 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5065 if (arg3 == NULL) {
5066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5067 }
5068 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5069
5070 resultobj = PyInt_FromLong((long)result);
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5078 PyObject *resultobj;
5079 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5080 std::string *arg2 = 0 ;
5081 long *arg3 = 0 ;
5082 bool result;
5083 std::string temp2 ;
5084 PyObject * obj0 = 0 ;
5085 PyObject * obj1 = 0 ;
5086 PyObject * obj2 = 0 ;
5087
5088 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5090 {
5091 if (PyString_Check(obj1)) {
5092 temp2 = std::string(PyString_AsString(obj1));
5093 arg2 = &temp2;
5094 }else {
5095 SWIG_exception(SWIG_TypeError, "string expected");
5096 }
5097 }
5098 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5099 if (arg3 == NULL) {
5100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5101 }
5102 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5103
5104 resultobj = PyInt_FromLong((long)result);
5105 return resultobj;
5106 fail:
5107 return NULL;
5108 }
5109
5110
5111 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5112 PyObject *resultobj;
5113 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5114 std::string *arg2 = 0 ;
5115 unsigned long *arg3 = 0 ;
5116 bool result;
5117 std::string temp2 ;
5118 PyObject * obj0 = 0 ;
5119 PyObject * obj1 = 0 ;
5120 PyObject * obj2 = 0 ;
5121
5122 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5124 {
5125 if (PyString_Check(obj1)) {
5126 temp2 = std::string(PyString_AsString(obj1));
5127 arg2 = &temp2;
5128 }else {
5129 SWIG_exception(SWIG_TypeError, "string expected");
5130 }
5131 }
5132 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 if (arg3 == NULL) {
5134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5135 }
5136 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5137
5138 resultobj = PyInt_FromLong((long)result);
5139 return resultobj;
5140 fail:
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5146 PyObject *resultobj;
5147 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5148 std::string *arg2 = 0 ;
5149 std::string *arg3 = 0 ;
5150 bool result;
5151 std::string temp2 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 PyObject * obj2 = 0 ;
5155
5156 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5158 {
5159 if (PyString_Check(obj1)) {
5160 temp2 = std::string(PyString_AsString(obj1));
5161 arg2 = &temp2;
5162 }else {
5163 SWIG_exception(SWIG_TypeError, "string expected");
5164 }
5165 }
5166 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 if (arg3 == NULL) {
5168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5169 }
5170 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5171
5172 resultobj = PyInt_FromLong((long)result);
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5180 int argc;
5181 PyObject *argv[4];
5182 int ii;
5183
5184 argc = PyObject_Length(args);
5185 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5186 argv[ii] = PyTuple_GetItem(args,ii);
5187 }
5188 if (argc == 3) {
5189 int _v;
5190 {
5191 void *ptr;
5192 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5193 _v = 0;
5194 PyErr_Clear();
5195 }else {
5196 _v = 1;
5197 }
5198 }
5199 if (_v) {
5200 {
5201 _v = PyString_Check(argv[1]) ? 1 : 0;
5202 }
5203 if (_v) {
5204 {
5205 void *ptr;
5206 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5207 _v = 0;
5208 PyErr_Clear();
5209 }else {
5210 _v = 1;
5211 }
5212 }
5213 if (_v) {
5214 return _wrap_Configuration_getValue__SWIG_0(self,args);
5215 }
5216 }
5217 }
5218 }
5219 if (argc == 3) {
5220 int _v;
5221 {
5222 void *ptr;
5223 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5224 _v = 0;
5225 PyErr_Clear();
5226 }else {
5227 _v = 1;
5228 }
5229 }
5230 if (_v) {
5231 {
5232 _v = PyString_Check(argv[1]) ? 1 : 0;
5233 }
5234 if (_v) {
5235 {
5236 void *ptr;
5237 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5238 _v = 0;
5239 PyErr_Clear();
5240 }else {
5241 _v = 1;
5242 }
5243 }
5244 if (_v) {
5245 return _wrap_Configuration_getValue__SWIG_1(self,args);
5246 }
5247 }
5248 }
5249 }
5250 if (argc == 3) {
5251 int _v;
5252 {
5253 void *ptr;
5254 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5255 _v = 0;
5256 PyErr_Clear();
5257 }else {
5258 _v = 1;
5259 }
5260 }
5261 if (_v) {
5262 {
5263 _v = PyString_Check(argv[1]) ? 1 : 0;
5264 }
5265 if (_v) {
5266 {
5267 void *ptr;
5268 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5269 _v = 0;
5270 PyErr_Clear();
5271 }else {
5272 _v = 1;
5273 }
5274 }
5275 if (_v) {
5276 return _wrap_Configuration_getValue__SWIG_2(self,args);
5277 }
5278 }
5279 }
5280 }
5281 if (argc == 3) {
5282 int _v;
5283 {
5284 void *ptr;
5285 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5286 _v = 0;
5287 PyErr_Clear();
5288 }else {
5289 _v = 1;
5290 }
5291 }
5292 if (_v) {
5293 {
5294 _v = PyString_Check(argv[1]) ? 1 : 0;
5295 }
5296 if (_v) {
5297 {
5298 void *ptr;
5299 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5300 _v = 0;
5301 PyErr_Clear();
5302 }else {
5303 _v = 1;
5304 }
5305 }
5306 if (_v) {
5307 return _wrap_Configuration_getValue__SWIG_3(self,args);
5308 }
5309 }
5310 }
5311 }
5312 if (argc == 3) {
5313 int _v;
5314 {
5315 void *ptr;
5316 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5317 _v = 0;
5318 PyErr_Clear();
5319 }else {
5320 _v = 1;
5321 }
5322 }
5323 if (_v) {
5324 {
5325 _v = PyString_Check(argv[1]) ? 1 : 0;
5326 }
5327 if (_v) {
5328 {
5329 void *ptr;
5330 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5331 _v = 0;
5332 PyErr_Clear();
5333 }else {
5334 _v = 1;
5335 }
5336 }
5337 if (_v) {
5338 return _wrap_Configuration_getValue__SWIG_4(self,args);
5339 }
5340 }
5341 }
5342 }
5343 if (argc == 3) {
5344 int _v;
5345 {
5346 void *ptr;
5347 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5348 _v = 0;
5349 PyErr_Clear();
5350 }else {
5351 _v = 1;
5352 }
5353 }
5354 if (_v) {
5355 {
5356 _v = PyString_Check(argv[1]) ? 1 : 0;
5357 }
5358 if (_v) {
5359 {
5360 void *ptr;
5361 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5362 _v = 0;
5363 PyErr_Clear();
5364 }else {
5365 _v = 1;
5366 }
5367 }
5368 if (_v) {
5369 return _wrap_Configuration_getValue__SWIG_5(self,args);
5370 }
5371 }
5372 }
5373 }
5374
5375 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5376 return NULL;
5377 }
5378
5379
5380 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5381 PyObject *obj;
5382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5383 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5384 Py_INCREF(obj);
5385 return Py_BuildValue((char *)"");
5386 }
5387 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5388 {
5389 void *temp;
5390 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5391 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5392 return 1;
5393 }
5394 otk::OBDisplay::display = (Display *) temp;
5395 }
5396 return 0;
5397 }
5398
5399
5400 static PyObject *_wrap_OBDisplay_display_get() {
5401 PyObject *pyobj;
5402
5403 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5404 return pyobj;
5405 }
5406
5407
5408 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5409 PyObject *resultobj;
5410 char *arg1 ;
5411
5412 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5413 otk::OBDisplay::initialize(arg1);
5414
5415 Py_INCREF(Py_None); resultobj = Py_None;
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5423 PyObject *resultobj;
5424
5425 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5426 otk::OBDisplay::destroy();
5427
5428 Py_INCREF(Py_None); resultobj = Py_None;
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5436 PyObject *resultobj;
5437 otk::BGCCache *result;
5438
5439 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5440 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5441
5442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5443 return resultobj;
5444 fail:
5445 return NULL;
5446 }
5447
5448
5449 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5450 PyObject *resultobj;
5451 int arg1 ;
5452 otk::ScreenInfo *result;
5453
5454 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5455 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5456
5457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5465 PyObject *resultobj;
5466 bool result;
5467
5468 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5469 result = (bool)otk::OBDisplay::shape();
5470
5471 resultobj = PyInt_FromLong((long)result);
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5479 PyObject *resultobj;
5480 int result;
5481
5482 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5483 result = (int)otk::OBDisplay::shapeEventBase();
5484
5485 resultobj = PyInt_FromLong((long)result);
5486 return resultobj;
5487 fail:
5488 return NULL;
5489 }
5490
5491
5492 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5493 PyObject *resultobj;
5494 bool result;
5495
5496 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5497 result = (bool)otk::OBDisplay::xinerama();
5498
5499 resultobj = PyInt_FromLong((long)result);
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5507 PyObject *resultobj;
5508
5509 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5510 otk::OBDisplay::grab();
5511
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5520 PyObject *resultobj;
5521
5522 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5523 otk::OBDisplay::ungrab();
5524
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529 }
5530
5531
5532 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5533 PyObject *resultobj;
5534 unsigned int arg1 ;
5535 unsigned int arg2 ;
5536 Window arg3 ;
5537 bool arg4 ;
5538 unsigned int arg5 ;
5539 int arg6 ;
5540 int arg7 ;
5541 Window arg8 ;
5542 Cursor arg9 ;
5543 bool arg10 ;
5544 Window *argp3 ;
5545 Window *argp8 ;
5546 Cursor *argp9 ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 PyObject * obj2 = 0 ;
5550 PyObject * obj3 = 0 ;
5551 PyObject * obj4 = 0 ;
5552 PyObject * obj7 = 0 ;
5553 PyObject * obj8 = 0 ;
5554 PyObject * obj9 = 0 ;
5555
5556 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5557 arg1 = (unsigned int) PyInt_AsLong(obj0);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 arg2 = (unsigned int) PyInt_AsLong(obj1);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5562 arg3 = *argp3;
5563 arg4 = (bool) PyInt_AsLong(obj3);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 arg5 = (unsigned int) PyInt_AsLong(obj4);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5568 arg8 = *argp8;
5569 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5570 arg9 = *argp9;
5571 arg10 = (bool) PyInt_AsLong(obj9);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5574
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5583 PyObject *resultobj;
5584 unsigned int arg1 ;
5585 unsigned int arg2 ;
5586 Window arg3 ;
5587 Window *argp3 ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 PyObject * obj2 = 0 ;
5591
5592 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5593 arg1 = (unsigned int) PyInt_AsLong(obj0);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 arg2 = (unsigned int) PyInt_AsLong(obj1);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5598 arg3 = *argp3;
5599 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5600
5601 Py_INCREF(Py_None); resultobj = Py_None;
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5609 PyObject *resultobj;
5610 unsigned int arg1 ;
5611 unsigned int arg2 ;
5612 Window arg3 ;
5613 bool arg4 ;
5614 int arg5 ;
5615 int arg6 ;
5616 bool arg7 ;
5617 Window *argp3 ;
5618 PyObject * obj0 = 0 ;
5619 PyObject * obj1 = 0 ;
5620 PyObject * obj2 = 0 ;
5621 PyObject * obj3 = 0 ;
5622 PyObject * obj6 = 0 ;
5623
5624 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5625 arg1 = (unsigned int) PyInt_AsLong(obj0);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 arg2 = (unsigned int) PyInt_AsLong(obj1);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5630 arg3 = *argp3;
5631 arg4 = (bool) PyInt_AsLong(obj3);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 arg7 = (bool) PyInt_AsLong(obj6);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5636
5637 Py_INCREF(Py_None); resultobj = Py_None;
5638 return resultobj;
5639 fail:
5640 return NULL;
5641 }
5642
5643
5644 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5645 PyObject *resultobj;
5646 unsigned int arg1 ;
5647 unsigned int arg2 ;
5648 Window arg3 ;
5649 Window *argp3 ;
5650 PyObject * obj0 = 0 ;
5651 PyObject * obj1 = 0 ;
5652 PyObject * obj2 = 0 ;
5653
5654 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5655 arg1 = (unsigned int) PyInt_AsLong(obj0);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 arg2 = (unsigned int) PyInt_AsLong(obj1);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5660 arg3 = *argp3;
5661 otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5662
5663 Py_INCREF(Py_None); resultobj = Py_None;
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5671 PyObject *resultobj;
5672 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5673 PyObject * obj0 = 0 ;
5674
5675 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 delete arg1;
5678
5679 Py_INCREF(Py_None); resultobj = Py_None;
5680 return resultobj;
5681 fail:
5682 return NULL;
5683 }
5684
5685
5686 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5687 PyObject *obj;
5688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5689 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5690 Py_INCREF(obj);
5691 return Py_BuildValue((char *)"");
5692 }
5693 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5694 PyObject *resultobj;
5695 std::string result;
5696
5697 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5698 result = otk::BFont::fallbackFont();
5699
5700 {
5701 resultobj = PyString_FromString((&result)->c_str());
5702 }
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5710 PyObject *resultobj;
5711 std::string *arg1 = 0 ;
5712 std::string temp1 ;
5713 PyObject * obj0 = 0 ;
5714
5715 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5716 {
5717 if (PyString_Check(obj0)) {
5718 temp1 = std::string(PyString_AsString(obj0));
5719 arg1 = &temp1;
5720 }else {
5721 SWIG_exception(SWIG_TypeError, "string expected");
5722 }
5723 }
5724 otk::BFont::setFallbackFont((std::string const &)*arg1);
5725
5726 Py_INCREF(Py_None); resultobj = Py_None;
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5734 PyObject *resultobj;
5735 int arg1 ;
5736 std::string *arg2 = 0 ;
5737 bool arg3 ;
5738 unsigned char arg4 ;
5739 unsigned char arg5 ;
5740 otk::BFont *result;
5741 std::string temp2 ;
5742 PyObject * obj1 = 0 ;
5743 PyObject * obj2 = 0 ;
5744 PyObject * obj3 = 0 ;
5745 PyObject * obj4 = 0 ;
5746
5747 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5748 {
5749 if (PyString_Check(obj1)) {
5750 temp2 = std::string(PyString_AsString(obj1));
5751 arg2 = &temp2;
5752 }else {
5753 SWIG_exception(SWIG_TypeError, "string expected");
5754 }
5755 }
5756 arg3 = (bool) PyInt_AsLong(obj2);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 arg4 = (unsigned char) PyInt_AsLong(obj3);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 arg5 = (unsigned char) PyInt_AsLong(obj4);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5763
5764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5772 PyObject *resultobj;
5773 otk::BFont *arg1 = (otk::BFont *) 0 ;
5774 PyObject * obj0 = 0 ;
5775
5776 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5778 delete arg1;
5779
5780 Py_INCREF(Py_None); resultobj = Py_None;
5781 return resultobj;
5782 fail:
5783 return NULL;
5784 }
5785
5786
5787 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5788 PyObject *resultobj;
5789 otk::BFont *arg1 = (otk::BFont *) 0 ;
5790 std::string *result;
5791 PyObject * obj0 = 0 ;
5792
5793 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5795 {
5796 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5797 result = (std::string *) &_result_ref;
5798 }
5799
5800 {
5801 resultobj = PyString_FromString(result->c_str());
5802 }
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5810 PyObject *resultobj;
5811 otk::BFont *arg1 = (otk::BFont *) 0 ;
5812 unsigned int result;
5813 PyObject * obj0 = 0 ;
5814
5815 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 result = (unsigned int)((otk::BFont const *)arg1)->height();
5818
5819 resultobj = PyInt_FromLong((long)result);
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5827 PyObject *resultobj;
5828 otk::BFont *arg1 = (otk::BFont *) 0 ;
5829 unsigned int result;
5830 PyObject * obj0 = 0 ;
5831
5832 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5834 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5835
5836 resultobj = PyInt_FromLong((long)result);
5837 return resultobj;
5838 fail:
5839 return NULL;
5840 }
5841
5842
5843 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5844 PyObject *resultobj;
5845 otk::BFont *arg1 = (otk::BFont *) 0 ;
5846 std::string *arg2 = 0 ;
5847 bool arg3 = (bool) false ;
5848 unsigned int result;
5849 std::string temp2 ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 PyObject * obj2 = 0 ;
5853
5854 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5856 {
5857 if (PyString_Check(obj1)) {
5858 temp2 = std::string(PyString_AsString(obj1));
5859 arg2 = &temp2;
5860 }else {
5861 SWIG_exception(SWIG_TypeError, "string expected");
5862 }
5863 }
5864 if (obj2) {
5865 arg3 = (bool) PyInt_AsLong(obj2);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5869
5870 resultobj = PyInt_FromLong((long)result);
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5878 PyObject *resultobj;
5879 otk::BFont *arg1 = (otk::BFont *) 0 ;
5880 XftDraw *arg2 = (XftDraw *) 0 ;
5881 int arg3 ;
5882 int arg4 ;
5883 otk::BColor *arg5 = 0 ;
5884 std::string *arg6 = 0 ;
5885 bool arg7 = (bool) false ;
5886 std::string temp6 ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 PyObject * obj4 = 0 ;
5890 PyObject * obj5 = 0 ;
5891 PyObject * obj6 = 0 ;
5892
5893 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5896 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5897 if (arg5 == NULL) {
5898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5899 }
5900 {
5901 if (PyString_Check(obj5)) {
5902 temp6 = std::string(PyString_AsString(obj5));
5903 arg6 = &temp6;
5904 }else {
5905 SWIG_exception(SWIG_TypeError, "string expected");
5906 }
5907 }
5908 if (obj6) {
5909 arg7 = (bool) PyInt_AsLong(obj6);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5913
5914 Py_INCREF(Py_None); resultobj = Py_None;
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5922 PyObject *obj;
5923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5924 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5925 Py_INCREF(obj);
5926 return Py_BuildValue((char *)"");
5927 }
5928 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5929 PyObject *resultobj;
5930 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5931 otk::BColor *arg2 = 0 ;
5932 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5933 int arg4 ;
5934 int arg5 ;
5935 int arg6 ;
5936 PyObject * obj0 = 0 ;
5937 PyObject * obj1 = 0 ;
5938 PyObject * obj2 = 0 ;
5939
5940 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5943 if (arg2 == NULL) {
5944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5945 }
5946 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5947 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5948
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5957 PyObject *resultobj;
5958 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5959 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
5960 PyObject * obj0 = 0 ;
5961 PyObject * obj1 = 0 ;
5962
5963 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 (arg1)->set((XFontStruct const *)arg2);
5967
5968 Py_INCREF(Py_None); resultobj = Py_None;
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
5976 int argc;
5977 PyObject *argv[7];
5978 int ii;
5979
5980 argc = PyObject_Length(args);
5981 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
5982 argv[ii] = PyTuple_GetItem(args,ii);
5983 }
5984 if (argc == 2) {
5985 int _v;
5986 {
5987 void *ptr;
5988 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5989 _v = 0;
5990 PyErr_Clear();
5991 }else {
5992 _v = 1;
5993 }
5994 }
5995 if (_v) {
5996 {
5997 void *ptr;
5998 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5999 _v = 0;
6000 PyErr_Clear();
6001 }else {
6002 _v = 1;
6003 }
6004 }
6005 if (_v) {
6006 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6007 }
6008 }
6009 }
6010 if (argc == 6) {
6011 int _v;
6012 {
6013 void *ptr;
6014 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6015 _v = 0;
6016 PyErr_Clear();
6017 }else {
6018 _v = 1;
6019 }
6020 }
6021 if (_v) {
6022 {
6023 void *ptr;
6024 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6025 _v = 0;
6026 PyErr_Clear();
6027 }else {
6028 _v = 1;
6029 }
6030 }
6031 if (_v) {
6032 {
6033 void *ptr;
6034 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6035 _v = 0;
6036 PyErr_Clear();
6037 }else {
6038 _v = 1;
6039 }
6040 }
6041 if (_v) {
6042 {
6043 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6044 }
6045 if (_v) {
6046 {
6047 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6048 }
6049 if (_v) {
6050 {
6051 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6052 }
6053 if (_v) {
6054 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6055 }
6056 }
6057 }
6058 }
6059 }
6060 }
6061 }
6062
6063 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6069 PyObject *resultobj;
6070 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6071 PyObject * obj0 = 0 ;
6072
6073 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6075 delete arg1;
6076
6077 Py_INCREF(Py_None); resultobj = Py_None;
6078 return resultobj;
6079 fail:
6080 return NULL;
6081 }
6082
6083
6084 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6085 PyObject *obj;
6086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6087 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6088 Py_INCREF(obj);
6089 return Py_BuildValue((char *)"");
6090 }
6091 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6092 PyObject *resultobj;
6093 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6094 GC *result;
6095 PyObject * obj0 = 0 ;
6096
6097 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6099 {
6100 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6101 result = (GC *) &_result_ref;
6102 }
6103
6104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6112 PyObject *resultobj;
6113 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6114 PyObject * obj0 = 0 ;
6115
6116 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 delete arg1;
6119
6120 Py_INCREF(Py_None); resultobj = Py_None;
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6128 PyObject *obj;
6129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6130 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6131 Py_INCREF(obj);
6132 return Py_BuildValue((char *)"");
6133 }
6134 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6135 PyObject *resultobj;
6136 unsigned int arg1 ;
6137 otk::BGCCache *result;
6138 PyObject * obj0 = 0 ;
6139
6140 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6141 arg1 = (unsigned int) PyInt_AsLong(obj0);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6144
6145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6153 PyObject *resultobj;
6154 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6155 PyObject * obj0 = 0 ;
6156
6157 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 delete arg1;
6160
6161 Py_INCREF(Py_None); resultobj = Py_None;
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6169 PyObject *resultobj;
6170 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6171 PyObject * obj0 = 0 ;
6172
6173 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6175 (arg1)->purge();
6176
6177 Py_INCREF(Py_None); resultobj = Py_None;
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6185 PyObject *resultobj;
6186 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6187 otk::BColor *arg2 = 0 ;
6188 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6189 int arg4 = (int) GXcopy ;
6190 int arg5 = (int) ClipByChildren ;
6191 int arg6 = (int) 0 ;
6192 otk::BGCCacheItem *result;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196
6197 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6200 if (arg2 == NULL) {
6201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6202 }
6203 if (obj2) {
6204 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 }
6206 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6207
6208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6216 PyObject *resultobj;
6217 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6218 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6219 PyObject * obj0 = 0 ;
6220 PyObject * obj1 = 0 ;
6221
6222 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6225 (arg1)->release(arg2);
6226
6227 Py_INCREF(Py_None); resultobj = Py_None;
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6235 PyObject *obj;
6236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6237 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6238 Py_INCREF(obj);
6239 return Py_BuildValue((char *)"");
6240 }
6241 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6242 PyObject *resultobj;
6243 otk::BColor *arg1 = 0 ;
6244 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6245 int arg3 = (int) 0 ;
6246 int arg4 = (int) GXcopy ;
6247 int arg5 = (int) ClipByChildren ;
6248 otk::BPen *result;
6249 PyObject * obj0 = 0 ;
6250 PyObject * obj1 = 0 ;
6251
6252 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6254 if (arg1 == NULL) {
6255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6256 }
6257 if (obj1) {
6258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6259 }
6260 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6261
6262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6270 PyObject *resultobj;
6271 otk::BPen *arg1 = (otk::BPen *) 0 ;
6272 PyObject * obj0 = 0 ;
6273
6274 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 delete arg1;
6277
6278 Py_INCREF(Py_None); resultobj = Py_None;
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6286 PyObject *resultobj;
6287 otk::BPen *arg1 = (otk::BPen *) 0 ;
6288 GC *result;
6289 PyObject * obj0 = 0 ;
6290
6291 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6293 {
6294 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6295 result = (GC *) &_result_ref;
6296 }
6297
6298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6306 PyObject *obj;
6307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6308 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6309 Py_INCREF(obj);
6310 return Py_BuildValue((char *)"");
6311 }
6312 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6313 PyObject *resultobj;
6314 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6315 int arg2 ;
6316 int arg3 ;
6317 otk::BImage *result;
6318 PyObject * obj0 = 0 ;
6319
6320 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6322 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6323
6324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6325 return resultobj;
6326 fail:
6327 return NULL;
6328 }
6329
6330
6331 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6332 PyObject *resultobj;
6333 otk::BImage *arg1 = (otk::BImage *) 0 ;
6334 PyObject * obj0 = 0 ;
6335
6336 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6338 delete arg1;
6339
6340 Py_INCREF(Py_None); resultobj = Py_None;
6341 return resultobj;
6342 fail:
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6348 PyObject *resultobj;
6349 otk::BImage *arg1 = (otk::BImage *) 0 ;
6350 otk::BTexture *arg2 = 0 ;
6351 Pixmap result;
6352 PyObject * obj0 = 0 ;
6353 PyObject * obj1 = 0 ;
6354
6355 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 if (arg2 == NULL) {
6359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6360 }
6361 result = (arg1)->render((otk::BTexture const &)*arg2);
6362
6363 {
6364 Pixmap * resultptr;
6365 resultptr = new Pixmap((Pixmap &) result);
6366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6367 }
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6375 PyObject *obj;
6376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6377 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6378 Py_INCREF(obj);
6379 return Py_BuildValue((char *)"");
6380 }
6381 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6382 PyObject *resultobj;
6383 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6384 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6385 bool arg3 = (bool) False ;
6386 int arg4 = (int) 4 ;
6387 unsigned long arg5 = (unsigned long) 300000l ;
6388 unsigned long arg6 = (unsigned long) 200l ;
6389 otk::BImageControl *result;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6392 PyObject * obj2 = 0 ;
6393 PyObject * obj4 = 0 ;
6394 PyObject * obj5 = 0 ;
6395
6396 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 if (obj2) {
6400 arg3 = (bool) PyInt_AsLong(obj2);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 if (obj4) {
6404 arg5 = (unsigned long) PyInt_AsLong(obj4);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 if (obj5) {
6408 arg6 = (unsigned long) PyInt_AsLong(obj5);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6412
6413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6414 return resultobj;
6415 fail:
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6421 PyObject *resultobj;
6422 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6423 PyObject * obj0 = 0 ;
6424
6425 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6427 delete arg1;
6428
6429 Py_INCREF(Py_None); resultobj = Py_None;
6430 return resultobj;
6431 fail:
6432 return NULL;
6433 }
6434
6435
6436 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6437 PyObject *resultobj;
6438 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6439 bool result;
6440 PyObject * obj0 = 0 ;
6441
6442 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 result = (bool)(arg1)->doDither();
6445
6446 resultobj = PyInt_FromLong((long)result);
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6454 PyObject *resultobj;
6455 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6456 otk::ScreenInfo *result;
6457 PyObject * obj0 = 0 ;
6458
6459 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6461 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6462
6463 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6471 PyObject *resultobj;
6472 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6473 Window result;
6474 PyObject * obj0 = 0 ;
6475
6476 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6478 result = ((otk::BImageControl const *)arg1)->getDrawable();
6479
6480 {
6481 Window * resultptr;
6482 resultptr = new Window((Window &) result);
6483 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6484 }
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6492 PyObject *resultobj;
6493 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6494 Visual *result;
6495 PyObject * obj0 = 0 ;
6496
6497 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 result = (Visual *)(arg1)->getVisual();
6500
6501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6509 PyObject *resultobj;
6510 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6511 int result;
6512 PyObject * obj0 = 0 ;
6513
6514 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6516 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6517
6518 resultobj = PyInt_FromLong((long)result);
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6526 PyObject *resultobj;
6527 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6528 int result;
6529 PyObject * obj0 = 0 ;
6530
6531 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6533 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6534
6535 resultobj = PyInt_FromLong((long)result);
6536 return resultobj;
6537 fail:
6538 return NULL;
6539 }
6540
6541
6542 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6543 PyObject *resultobj;
6544 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6545 int result;
6546 PyObject * obj0 = 0 ;
6547
6548 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6551
6552 resultobj = PyInt_FromLong((long)result);
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6560 PyObject *resultobj;
6561 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6562 unsigned int arg2 ;
6563 unsigned long result;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566
6567 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6569 arg2 = (unsigned int) PyInt_AsLong(obj1);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 result = (unsigned long)(arg1)->getSqrt(arg2);
6572
6573 resultobj = PyInt_FromLong((long)result);
6574 return resultobj;
6575 fail:
6576 return NULL;
6577 }
6578
6579
6580 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6581 PyObject *resultobj;
6582 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6583 unsigned int arg2 ;
6584 unsigned int arg3 ;
6585 otk::BTexture *arg4 = 0 ;
6586 Pixmap result;
6587 PyObject * obj0 = 0 ;
6588 PyObject * obj1 = 0 ;
6589 PyObject * obj2 = 0 ;
6590 PyObject * obj3 = 0 ;
6591
6592 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6594 arg2 = (unsigned int) PyInt_AsLong(obj1);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 arg3 = (unsigned int) PyInt_AsLong(obj2);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 if (arg4 == NULL) {
6600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6601 }
6602 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6603
6604 {
6605 Pixmap * resultptr;
6606 resultptr = new Pixmap((Pixmap &) result);
6607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6608 }
6609 return resultobj;
6610 fail:
6611 return NULL;
6612 }
6613
6614
6615 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6616 PyObject *resultobj;
6617 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6618 PyObject * obj0 = 0 ;
6619
6620 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6622 (arg1)->installRootColormap();
6623
6624 Py_INCREF(Py_None); resultobj = Py_None;
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6632 PyObject *resultobj;
6633 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6634 Pixmap arg2 ;
6635 Pixmap *argp2 ;
6636 PyObject * obj0 = 0 ;
6637 PyObject * obj1 = 0 ;
6638
6639 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6642 arg2 = *argp2;
6643 (arg1)->removeImage(arg2);
6644
6645 Py_INCREF(Py_None); resultobj = Py_None;
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6653 PyObject *resultobj;
6654 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6655 unsigned char **arg2 = (unsigned char **) 0 ;
6656 unsigned char **arg3 = (unsigned char **) 0 ;
6657 unsigned char **arg4 = (unsigned char **) 0 ;
6658 int *arg5 = (int *) 0 ;
6659 int *arg6 = (int *) 0 ;
6660 int *arg7 = (int *) 0 ;
6661 int *arg8 = (int *) 0 ;
6662 int *arg9 = (int *) 0 ;
6663 int *arg10 = (int *) 0 ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 PyObject * obj2 = 0 ;
6667 PyObject * obj3 = 0 ;
6668 PyObject * obj4 = 0 ;
6669 PyObject * obj5 = 0 ;
6670 PyObject * obj6 = 0 ;
6671 PyObject * obj7 = 0 ;
6672 PyObject * obj8 = 0 ;
6673 PyObject * obj9 = 0 ;
6674
6675 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6678 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6679 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6682 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6683 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6684 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6687
6688 Py_INCREF(Py_None); resultobj = Py_None;
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6696 PyObject *resultobj;
6697 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6698 XColor **arg2 = (XColor **) 0 ;
6699 int *arg3 = (int *) 0 ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj2 = 0 ;
6703
6704 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6707 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 (arg1)->getXColorTable(arg2,arg3);
6709
6710 Py_INCREF(Py_None); resultobj = Py_None;
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6718 PyObject *resultobj;
6719 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6720 unsigned int arg2 ;
6721 unsigned int arg3 ;
6722 unsigned int **arg4 = (unsigned int **) 0 ;
6723 unsigned int **arg5 = (unsigned int **) 0 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 PyObject * obj2 = 0 ;
6727 PyObject * obj3 = 0 ;
6728 PyObject * obj4 = 0 ;
6729
6730 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6732 arg2 = (unsigned int) PyInt_AsLong(obj1);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 arg3 = (unsigned int) PyInt_AsLong(obj2);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6737 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6738 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6739
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6748 PyObject *resultobj;
6749 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6750 bool arg2 ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753
6754 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6756 arg2 = (bool) PyInt_AsLong(obj1);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 (arg1)->setDither(arg2);
6759
6760 Py_INCREF(Py_None); resultobj = Py_None;
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6768 PyObject *resultobj;
6769 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6770 int arg2 ;
6771 PyObject * obj0 = 0 ;
6772
6773 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6775 (arg1)->setColorsPerChannel(arg2);
6776
6777 Py_INCREF(Py_None); resultobj = Py_None;
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6785 PyObject *resultobj;
6786 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6787 PyObject * obj0 = 0 ;
6788
6789 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 otk::BImageControl::timeout(arg1);
6792
6793 Py_INCREF(Py_None); resultobj = Py_None;
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6801 PyObject *obj;
6802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6803 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6804 Py_INCREF(obj);
6805 return Py_BuildValue((char *)"");
6806 }
6807 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6808 PyObject *resultobj;
6809 otk::Point *result;
6810
6811 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6812 result = (otk::Point *)new otk::Point();
6813
6814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6822 PyObject *resultobj;
6823 int arg1 ;
6824 int arg2 ;
6825 otk::Point *result;
6826
6827 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6828 result = (otk::Point *)new otk::Point(arg1,arg2);
6829
6830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6838 int argc;
6839 PyObject *argv[3];
6840 int ii;
6841
6842 argc = PyObject_Length(args);
6843 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6844 argv[ii] = PyTuple_GetItem(args,ii);
6845 }
6846 if (argc == 0) {
6847 return _wrap_new_Point__SWIG_0(self,args);
6848 }
6849 if (argc == 2) {
6850 int _v;
6851 {
6852 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6853 }
6854 if (_v) {
6855 {
6856 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6857 }
6858 if (_v) {
6859 return _wrap_new_Point__SWIG_1(self,args);
6860 }
6861 }
6862 }
6863
6864 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6870 PyObject *resultobj;
6871 otk::Point *arg1 = (otk::Point *) 0 ;
6872 int arg2 ;
6873 PyObject * obj0 = 0 ;
6874
6875 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6877 (arg1)->setX(arg2);
6878
6879 Py_INCREF(Py_None); resultobj = Py_None;
6880 return resultobj;
6881 fail:
6882 return NULL;
6883 }
6884
6885
6886 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6887 PyObject *resultobj;
6888 otk::Point *arg1 = (otk::Point *) 0 ;
6889 int result;
6890 PyObject * obj0 = 0 ;
6891
6892 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6894 result = (int)((otk::Point const *)arg1)->x();
6895
6896 resultobj = PyInt_FromLong((long)result);
6897 return resultobj;
6898 fail:
6899 return NULL;
6900 }
6901
6902
6903 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6904 PyObject *resultobj;
6905 otk::Point *arg1 = (otk::Point *) 0 ;
6906 int arg2 ;
6907 PyObject * obj0 = 0 ;
6908
6909 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6911 (arg1)->setY(arg2);
6912
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6921 PyObject *resultobj;
6922 otk::Point *arg1 = (otk::Point *) 0 ;
6923 int result;
6924 PyObject * obj0 = 0 ;
6925
6926 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6928 result = (int)((otk::Point const *)arg1)->y();
6929
6930 resultobj = PyInt_FromLong((long)result);
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6938 PyObject *resultobj;
6939 otk::Point *arg1 = (otk::Point *) 0 ;
6940 int arg2 ;
6941 int arg3 ;
6942 PyObject * obj0 = 0 ;
6943
6944 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 (arg1)->setPoint(arg2,arg3);
6947
6948 Py_INCREF(Py_None); resultobj = Py_None;
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6956 PyObject *resultobj;
6957 otk::Point *arg1 = (otk::Point *) 0 ;
6958 PyObject * obj0 = 0 ;
6959
6960 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6962 delete arg1;
6963
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 return resultobj;
6966 fail:
6967 return NULL;
6968 }
6969
6970
6971 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
6972 PyObject *obj;
6973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6974 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
6975 Py_INCREF(obj);
6976 return Py_BuildValue((char *)"");
6977 }
6978 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
6979 PyObject *resultobj;
6980 otk::OBProperty *result;
6981
6982 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
6983 result = (otk::OBProperty *)new otk::OBProperty();
6984
6985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
6993 PyObject *resultobj;
6994 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6995 PyObject * obj0 = 0 ;
6996
6997 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 delete arg1;
7000
7001 Py_INCREF(Py_None); resultobj = Py_None;
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7009 PyObject *resultobj;
7010 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7011 Window arg2 ;
7012 int arg3 ;
7013 int arg4 ;
7014 unsigned long arg5 ;
7015 Window *argp2 ;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 PyObject * obj4 = 0 ;
7019
7020 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7022 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7023 arg2 = *argp2;
7024 arg5 = (unsigned long) PyInt_AsLong(obj4);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7027
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7036 PyObject *resultobj;
7037 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7038 Window arg2 ;
7039 int arg3 ;
7040 int arg4 ;
7041 unsigned long *arg5 ;
7042 int arg6 ;
7043 Window *argp2 ;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj4 = 0 ;
7047
7048 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7050 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7051 arg2 = *argp2;
7052 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7053 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7054
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7063 PyObject *resultobj;
7064 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7065 Window arg2 ;
7066 int arg3 ;
7067 int arg4 ;
7068 std::string *arg5 = 0 ;
7069 Window *argp2 ;
7070 std::string temp5 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj4 = 0 ;
7074
7075 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7078 arg2 = *argp2;
7079 {
7080 if (PyString_Check(obj4)) {
7081 temp5 = std::string(PyString_AsString(obj4));
7082 arg5 = &temp5;
7083 }else {
7084 SWIG_exception(SWIG_TypeError, "string expected");
7085 }
7086 }
7087 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7088
7089 Py_INCREF(Py_None); resultobj = Py_None;
7090 return resultobj;
7091 fail:
7092 return NULL;
7093 }
7094
7095
7096 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7097 PyObject *resultobj;
7098 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7099 Window arg2 ;
7100 int arg3 ;
7101 int arg4 ;
7102 otk::OBProperty::StringVect *arg5 = 0 ;
7103 Window *argp2 ;
7104 PyObject * obj0 = 0 ;
7105 PyObject * obj1 = 0 ;
7106 PyObject * obj4 = 0 ;
7107
7108 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7111 arg2 = *argp2;
7112 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 if (arg5 == NULL) {
7114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7115 }
7116 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7117
7118 Py_INCREF(Py_None); resultobj = Py_None;
7119 return resultobj;
7120 fail:
7121 return NULL;
7122 }
7123
7124
7125 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7126 int argc;
7127 PyObject *argv[7];
7128 int ii;
7129
7130 argc = PyObject_Length(args);
7131 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7132 argv[ii] = PyTuple_GetItem(args,ii);
7133 }
7134 if (argc == 5) {
7135 int _v;
7136 {
7137 void *ptr;
7138 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7139 _v = 0;
7140 PyErr_Clear();
7141 }else {
7142 _v = 1;
7143 }
7144 }
7145 if (_v) {
7146 {
7147 void *ptr;
7148 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7149 _v = 0;
7150 PyErr_Clear();
7151 }else {
7152 _v = 1;
7153 }
7154 }
7155 if (_v) {
7156 {
7157 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7158 }
7159 if (_v) {
7160 {
7161 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7162 }
7163 if (_v) {
7164 {
7165 void *ptr;
7166 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7167 _v = 0;
7168 PyErr_Clear();
7169 }else {
7170 _v = 1;
7171 }
7172 }
7173 if (_v) {
7174 return _wrap_OBProperty_set__SWIG_3(self,args);
7175 }
7176 }
7177 }
7178 }
7179 }
7180 }
7181 if (argc == 5) {
7182 int _v;
7183 {
7184 void *ptr;
7185 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7186 _v = 0;
7187 PyErr_Clear();
7188 }else {
7189 _v = 1;
7190 }
7191 }
7192 if (_v) {
7193 {
7194 void *ptr;
7195 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7196 _v = 0;
7197 PyErr_Clear();
7198 }else {
7199 _v = 1;
7200 }
7201 }
7202 if (_v) {
7203 {
7204 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7205 }
7206 if (_v) {
7207 {
7208 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7209 }
7210 if (_v) {
7211 {
7212 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7213 }
7214 if (_v) {
7215 return _wrap_OBProperty_set__SWIG_0(self,args);
7216 }
7217 }
7218 }
7219 }
7220 }
7221 }
7222 if (argc == 5) {
7223 int _v;
7224 {
7225 void *ptr;
7226 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7227 _v = 0;
7228 PyErr_Clear();
7229 }else {
7230 _v = 1;
7231 }
7232 }
7233 if (_v) {
7234 {
7235 void *ptr;
7236 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7237 _v = 0;
7238 PyErr_Clear();
7239 }else {
7240 _v = 1;
7241 }
7242 }
7243 if (_v) {
7244 {
7245 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7246 }
7247 if (_v) {
7248 {
7249 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7250 }
7251 if (_v) {
7252 {
7253 _v = PyString_Check(argv[4]) ? 1 : 0;
7254 }
7255 if (_v) {
7256 return _wrap_OBProperty_set__SWIG_2(self,args);
7257 }
7258 }
7259 }
7260 }
7261 }
7262 }
7263 if (argc == 6) {
7264 int _v;
7265 {
7266 void *ptr;
7267 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7268 _v = 0;
7269 PyErr_Clear();
7270 }else {
7271 _v = 1;
7272 }
7273 }
7274 if (_v) {
7275 {
7276 void *ptr;
7277 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7278 _v = 0;
7279 PyErr_Clear();
7280 }else {
7281 _v = 1;
7282 }
7283 }
7284 if (_v) {
7285 {
7286 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7287 }
7288 if (_v) {
7289 {
7290 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7291 }
7292 if (_v) {
7293 {
7294 void *ptr;
7295 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7296 _v = 0;
7297 PyErr_Clear();
7298 }else {
7299 _v = 1;
7300 }
7301 }
7302 if (_v) {
7303 {
7304 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7305 }
7306 if (_v) {
7307 return _wrap_OBProperty_set__SWIG_1(self,args);
7308 }
7309 }
7310 }
7311 }
7312 }
7313 }
7314 }
7315
7316 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7317 return NULL;
7318 }
7319
7320
7321 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7322 PyObject *resultobj;
7323 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7324 Window arg2 ;
7325 int arg3 ;
7326 int arg4 ;
7327 unsigned long *arg5 = (unsigned long *) 0 ;
7328 unsigned long **arg6 = (unsigned long **) 0 ;
7329 bool result;
7330 Window *argp2 ;
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj1 = 0 ;
7333 PyObject * obj4 = 0 ;
7334 PyObject * obj5 = 0 ;
7335
7336 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7338 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7339 arg2 = *argp2;
7340 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7342 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7343
7344 resultobj = PyInt_FromLong((long)result);
7345 return resultobj;
7346 fail:
7347 return NULL;
7348 }
7349
7350
7351 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7352 PyObject *resultobj;
7353 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7354 Window arg2 ;
7355 int arg3 ;
7356 int arg4 ;
7357 unsigned long *arg5 = (unsigned long *) 0 ;
7358 bool result;
7359 Window *argp2 ;
7360 PyObject * obj0 = 0 ;
7361 PyObject * obj1 = 0 ;
7362 PyObject * obj4 = 0 ;
7363
7364 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7366 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7367 arg2 = *argp2;
7368 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7369 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7370
7371 resultobj = PyInt_FromLong((long)result);
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7379 PyObject *resultobj;
7380 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7381 Window arg2 ;
7382 int arg3 ;
7383 int arg4 ;
7384 std::string *arg5 = (std::string *) 0 ;
7385 bool result;
7386 Window *argp2 ;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 PyObject * obj4 = 0 ;
7390
7391 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7393 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7394 arg2 = *argp2;
7395 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7396 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7397
7398 resultobj = PyInt_FromLong((long)result);
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7406 PyObject *resultobj;
7407 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7408 Window arg2 ;
7409 int arg3 ;
7410 int arg4 ;
7411 unsigned long *arg5 = (unsigned long *) 0 ;
7412 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7413 bool result;
7414 Window *argp2 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 PyObject * obj4 = 0 ;
7418 PyObject * obj5 = 0 ;
7419
7420 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7423 arg2 = *argp2;
7424 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7425 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7426 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7427
7428 resultobj = PyInt_FromLong((long)result);
7429 return resultobj;
7430 fail:
7431 return NULL;
7432 }
7433
7434
7435 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7436 int argc;
7437 PyObject *argv[7];
7438 int ii;
7439
7440 argc = PyObject_Length(args);
7441 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7442 argv[ii] = PyTuple_GetItem(args,ii);
7443 }
7444 if (argc == 5) {
7445 int _v;
7446 {
7447 void *ptr;
7448 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7449 _v = 0;
7450 PyErr_Clear();
7451 }else {
7452 _v = 1;
7453 }
7454 }
7455 if (_v) {
7456 {
7457 void *ptr;
7458 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7459 _v = 0;
7460 PyErr_Clear();
7461 }else {
7462 _v = 1;
7463 }
7464 }
7465 if (_v) {
7466 {
7467 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7468 }
7469 if (_v) {
7470 {
7471 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7472 }
7473 if (_v) {
7474 {
7475 void *ptr;
7476 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7477 _v = 0;
7478 PyErr_Clear();
7479 }else {
7480 _v = 1;
7481 }
7482 }
7483 if (_v) {
7484 return _wrap_OBProperty_get__SWIG_1(self,args);
7485 }
7486 }
7487 }
7488 }
7489 }
7490 }
7491 if (argc == 5) {
7492 int _v;
7493 {
7494 void *ptr;
7495 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7496 _v = 0;
7497 PyErr_Clear();
7498 }else {
7499 _v = 1;
7500 }
7501 }
7502 if (_v) {
7503 {
7504 void *ptr;
7505 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7506 _v = 0;
7507 PyErr_Clear();
7508 }else {
7509 _v = 1;
7510 }
7511 }
7512 if (_v) {
7513 {
7514 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7515 }
7516 if (_v) {
7517 {
7518 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7519 }
7520 if (_v) {
7521 {
7522 void *ptr;
7523 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7524 _v = 0;
7525 PyErr_Clear();
7526 }else {
7527 _v = 1;
7528 }
7529 }
7530 if (_v) {
7531 return _wrap_OBProperty_get__SWIG_2(self,args);
7532 }
7533 }
7534 }
7535 }
7536 }
7537 }
7538 if (argc == 6) {
7539 int _v;
7540 {
7541 void *ptr;
7542 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7543 _v = 0;
7544 PyErr_Clear();
7545 }else {
7546 _v = 1;
7547 }
7548 }
7549 if (_v) {
7550 {
7551 void *ptr;
7552 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7553 _v = 0;
7554 PyErr_Clear();
7555 }else {
7556 _v = 1;
7557 }
7558 }
7559 if (_v) {
7560 {
7561 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7562 }
7563 if (_v) {
7564 {
7565 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7566 }
7567 if (_v) {
7568 {
7569 void *ptr;
7570 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7571 _v = 0;
7572 PyErr_Clear();
7573 }else {
7574 _v = 1;
7575 }
7576 }
7577 if (_v) {
7578 {
7579 void *ptr;
7580 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7581 _v = 0;
7582 PyErr_Clear();
7583 }else {
7584 _v = 1;
7585 }
7586 }
7587 if (_v) {
7588 return _wrap_OBProperty_get__SWIG_0(self,args);
7589 }
7590 }
7591 }
7592 }
7593 }
7594 }
7595 }
7596 if (argc == 6) {
7597 int _v;
7598 {
7599 void *ptr;
7600 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7601 _v = 0;
7602 PyErr_Clear();
7603 }else {
7604 _v = 1;
7605 }
7606 }
7607 if (_v) {
7608 {
7609 void *ptr;
7610 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7611 _v = 0;
7612 PyErr_Clear();
7613 }else {
7614 _v = 1;
7615 }
7616 }
7617 if (_v) {
7618 {
7619 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7620 }
7621 if (_v) {
7622 {
7623 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7624 }
7625 if (_v) {
7626 {
7627 void *ptr;
7628 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7629 _v = 0;
7630 PyErr_Clear();
7631 }else {
7632 _v = 1;
7633 }
7634 }
7635 if (_v) {
7636 {
7637 void *ptr;
7638 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7639 _v = 0;
7640 PyErr_Clear();
7641 }else {
7642 _v = 1;
7643 }
7644 }
7645 if (_v) {
7646 return _wrap_OBProperty_get__SWIG_3(self,args);
7647 }
7648 }
7649 }
7650 }
7651 }
7652 }
7653 }
7654
7655 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7661 PyObject *resultobj;
7662 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7663 Window arg2 ;
7664 int arg3 ;
7665 Window *argp2 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668
7669 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7672 arg2 = *argp2;
7673 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7674
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7683 PyObject *resultobj;
7684 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7685 int arg2 ;
7686 Atom result;
7687 PyObject * obj0 = 0 ;
7688
7689 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7691 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7692
7693 {
7694 Atom * resultptr;
7695 resultptr = new Atom((Atom &) result);
7696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7705 PyObject *obj;
7706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7707 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7708 Py_INCREF(obj);
7709 return Py_BuildValue((char *)"");
7710 }
7711 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7712 PyObject *resultobj;
7713 otk::Rect *result;
7714
7715 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7716 result = (otk::Rect *)new otk::Rect();
7717
7718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7726 PyObject *resultobj;
7727 int arg1 ;
7728 int arg2 ;
7729 int arg3 ;
7730 int arg4 ;
7731 otk::Rect *result;
7732
7733 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7734 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
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_2(PyObject *self, PyObject *args) {
7744 PyObject *resultobj;
7745 otk::Point *arg1 = 0 ;
7746 otk::Point *arg2 = 0 ;
7747 otk::Rect *result;
7748 PyObject * obj0 = 0 ;
7749 PyObject * obj1 = 0 ;
7750
7751 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 if (arg1 == NULL) {
7754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7755 }
7756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7757 if (arg2 == NULL) {
7758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7759 }
7760 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7761
7762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7770 PyObject *resultobj;
7771 otk::Rect *arg1 = 0 ;
7772 otk::Rect *result;
7773 PyObject * obj0 = 0 ;
7774
7775 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7777 if (arg1 == NULL) {
7778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7779 }
7780 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7781
7782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7790 PyObject *resultobj;
7791 XRectangle *arg1 = 0 ;
7792 otk::Rect *result;
7793 PyObject * obj0 = 0 ;
7794
7795 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7797 if (arg1 == NULL) {
7798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7799 }
7800 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7801
7802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7810 int argc;
7811 PyObject *argv[5];
7812 int ii;
7813
7814 argc = PyObject_Length(args);
7815 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7816 argv[ii] = PyTuple_GetItem(args,ii);
7817 }
7818 if (argc == 0) {
7819 return _wrap_new_Rect__SWIG_0(self,args);
7820 }
7821 if (argc == 1) {
7822 int _v;
7823 {
7824 void *ptr;
7825 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7826 _v = 0;
7827 PyErr_Clear();
7828 }else {
7829 _v = 1;
7830 }
7831 }
7832 if (_v) {
7833 return _wrap_new_Rect__SWIG_3(self,args);
7834 }
7835 }
7836 if (argc == 1) {
7837 int _v;
7838 {
7839 void *ptr;
7840 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7841 _v = 0;
7842 PyErr_Clear();
7843 }else {
7844 _v = 1;
7845 }
7846 }
7847 if (_v) {
7848 return _wrap_new_Rect__SWIG_4(self,args);
7849 }
7850 }
7851 if (argc == 2) {
7852 int _v;
7853 {
7854 void *ptr;
7855 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7856 _v = 0;
7857 PyErr_Clear();
7858 }else {
7859 _v = 1;
7860 }
7861 }
7862 if (_v) {
7863 {
7864 void *ptr;
7865 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7866 _v = 0;
7867 PyErr_Clear();
7868 }else {
7869 _v = 1;
7870 }
7871 }
7872 if (_v) {
7873 return _wrap_new_Rect__SWIG_2(self,args);
7874 }
7875 }
7876 }
7877 if (argc == 4) {
7878 int _v;
7879 {
7880 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7881 }
7882 if (_v) {
7883 {
7884 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7885 }
7886 if (_v) {
7887 {
7888 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7889 }
7890 if (_v) {
7891 {
7892 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7893 }
7894 if (_v) {
7895 return _wrap_new_Rect__SWIG_1(self,args);
7896 }
7897 }
7898 }
7899 }
7900 }
7901
7902 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7903 return NULL;
7904 }
7905
7906
7907 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7908 PyObject *resultobj;
7909 otk::Rect *arg1 = (otk::Rect *) 0 ;
7910 int result;
7911 PyObject * obj0 = 0 ;
7912
7913 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7915 result = (int)((otk::Rect const *)arg1)->left();
7916
7917 resultobj = PyInt_FromLong((long)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7925 PyObject *resultobj;
7926 otk::Rect *arg1 = (otk::Rect *) 0 ;
7927 int result;
7928 PyObject * obj0 = 0 ;
7929
7930 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7932 result = (int)((otk::Rect const *)arg1)->top();
7933
7934 resultobj = PyInt_FromLong((long)result);
7935 return resultobj;
7936 fail:
7937 return NULL;
7938 }
7939
7940
7941 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7942 PyObject *resultobj;
7943 otk::Rect *arg1 = (otk::Rect *) 0 ;
7944 int result;
7945 PyObject * obj0 = 0 ;
7946
7947 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7949 result = (int)((otk::Rect const *)arg1)->right();
7950
7951 resultobj = PyInt_FromLong((long)result);
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7959 PyObject *resultobj;
7960 otk::Rect *arg1 = (otk::Rect *) 0 ;
7961 int result;
7962 PyObject * obj0 = 0 ;
7963
7964 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7966 result = (int)((otk::Rect const *)arg1)->bottom();
7967
7968 resultobj = PyInt_FromLong((long)result);
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7976 PyObject *resultobj;
7977 otk::Rect *arg1 = (otk::Rect *) 0 ;
7978 int result;
7979 PyObject * obj0 = 0 ;
7980
7981 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 result = (int)((otk::Rect const *)arg1)->x();
7984
7985 resultobj = PyInt_FromLong((long)result);
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
7993 PyObject *resultobj;
7994 otk::Rect *arg1 = (otk::Rect *) 0 ;
7995 int result;
7996 PyObject * obj0 = 0 ;
7997
7998 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8000 result = (int)((otk::Rect const *)arg1)->y();
8001
8002 resultobj = PyInt_FromLong((long)result);
8003 return resultobj;
8004 fail:
8005 return NULL;
8006 }
8007
8008
8009 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
8010 PyObject *resultobj;
8011 otk::Rect *arg1 = (otk::Rect *) 0 ;
8012 otk::Point result;
8013 PyObject * obj0 = 0 ;
8014
8015 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8017 result = ((otk::Rect const *)arg1)->location();
8018
8019 {
8020 otk::Point * resultptr;
8021 resultptr = new otk::Point((otk::Point &) result);
8022 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8023 }
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8031 PyObject *resultobj;
8032 otk::Rect *arg1 = (otk::Rect *) 0 ;
8033 int arg2 ;
8034 PyObject * obj0 = 0 ;
8035
8036 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 (arg1)->setX(arg2);
8039
8040 Py_INCREF(Py_None); resultobj = Py_None;
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8048 PyObject *resultobj;
8049 otk::Rect *arg1 = (otk::Rect *) 0 ;
8050 int arg2 ;
8051 PyObject * obj0 = 0 ;
8052
8053 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055 (arg1)->setY(arg2);
8056
8057 Py_INCREF(Py_None); resultobj = Py_None;
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8065 PyObject *resultobj;
8066 otk::Rect *arg1 = (otk::Rect *) 0 ;
8067 int arg2 ;
8068 int arg3 ;
8069 PyObject * obj0 = 0 ;
8070
8071 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8073 (arg1)->setPos(arg2,arg3);
8074
8075 Py_INCREF(Py_None); resultobj = Py_None;
8076 return resultobj;
8077 fail:
8078 return NULL;
8079 }
8080
8081
8082 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8083 PyObject *resultobj;
8084 otk::Rect *arg1 = (otk::Rect *) 0 ;
8085 otk::Point *arg2 = 0 ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088
8089 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 if (arg2 == NULL) {
8093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8094 }
8095 (arg1)->setPos((otk::Point const &)*arg2);
8096
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8105 int argc;
8106 PyObject *argv[4];
8107 int ii;
8108
8109 argc = PyObject_Length(args);
8110 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8111 argv[ii] = PyTuple_GetItem(args,ii);
8112 }
8113 if (argc == 2) {
8114 int _v;
8115 {
8116 void *ptr;
8117 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8118 _v = 0;
8119 PyErr_Clear();
8120 }else {
8121 _v = 1;
8122 }
8123 }
8124 if (_v) {
8125 {
8126 void *ptr;
8127 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8128 _v = 0;
8129 PyErr_Clear();
8130 }else {
8131 _v = 1;
8132 }
8133 }
8134 if (_v) {
8135 return _wrap_Rect_setPos__SWIG_1(self,args);
8136 }
8137 }
8138 }
8139 if (argc == 3) {
8140 int _v;
8141 {
8142 void *ptr;
8143 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8144 _v = 0;
8145 PyErr_Clear();
8146 }else {
8147 _v = 1;
8148 }
8149 }
8150 if (_v) {
8151 {
8152 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8153 }
8154 if (_v) {
8155 {
8156 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8157 }
8158 if (_v) {
8159 return _wrap_Rect_setPos__SWIG_0(self,args);
8160 }
8161 }
8162 }
8163 }
8164
8165 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8166 return NULL;
8167 }
8168
8169
8170 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8171 PyObject *resultobj;
8172 otk::Rect *arg1 = (otk::Rect *) 0 ;
8173 int result;
8174 PyObject * obj0 = 0 ;
8175
8176 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8178 result = (int)((otk::Rect const *)arg1)->width();
8179
8180 resultobj = PyInt_FromLong((long)result);
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8188 PyObject *resultobj;
8189 otk::Rect *arg1 = (otk::Rect *) 0 ;
8190 int result;
8191 PyObject * obj0 = 0 ;
8192
8193 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8195 result = (int)((otk::Rect const *)arg1)->height();
8196
8197 resultobj = PyInt_FromLong((long)result);
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8205 PyObject *resultobj;
8206 otk::Rect *arg1 = (otk::Rect *) 0 ;
8207 otk::Point result;
8208 PyObject * obj0 = 0 ;
8209
8210 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8212 result = ((otk::Rect const *)arg1)->size();
8213
8214 {
8215 otk::Point * resultptr;
8216 resultptr = new otk::Point((otk::Point &) result);
8217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8218 }
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8226 PyObject *resultobj;
8227 otk::Rect *arg1 = (otk::Rect *) 0 ;
8228 int arg2 ;
8229 PyObject * obj0 = 0 ;
8230
8231 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8233 (arg1)->setWidth(arg2);
8234
8235 Py_INCREF(Py_None); resultobj = Py_None;
8236 return resultobj;
8237 fail:
8238 return NULL;
8239 }
8240
8241
8242 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8243 PyObject *resultobj;
8244 otk::Rect *arg1 = (otk::Rect *) 0 ;
8245 int arg2 ;
8246 PyObject * obj0 = 0 ;
8247
8248 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250 (arg1)->setHeight(arg2);
8251
8252 Py_INCREF(Py_None); resultobj = Py_None;
8253 return resultobj;
8254 fail:
8255 return NULL;
8256 }
8257
8258
8259 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8260 PyObject *resultobj;
8261 otk::Rect *arg1 = (otk::Rect *) 0 ;
8262 int arg2 ;
8263 int arg3 ;
8264 PyObject * obj0 = 0 ;
8265
8266 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8268 (arg1)->setSize(arg2,arg3);
8269
8270 Py_INCREF(Py_None); resultobj = Py_None;
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8278 PyObject *resultobj;
8279 otk::Rect *arg1 = (otk::Rect *) 0 ;
8280 otk::Point *arg2 = 0 ;
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283
8284 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8287 if (arg2 == NULL) {
8288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8289 }
8290 (arg1)->setSize((otk::Point const &)*arg2);
8291
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8300 int argc;
8301 PyObject *argv[4];
8302 int ii;
8303
8304 argc = PyObject_Length(args);
8305 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8306 argv[ii] = PyTuple_GetItem(args,ii);
8307 }
8308 if (argc == 2) {
8309 int _v;
8310 {
8311 void *ptr;
8312 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8313 _v = 0;
8314 PyErr_Clear();
8315 }else {
8316 _v = 1;
8317 }
8318 }
8319 if (_v) {
8320 {
8321 void *ptr;
8322 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8323 _v = 0;
8324 PyErr_Clear();
8325 }else {
8326 _v = 1;
8327 }
8328 }
8329 if (_v) {
8330 return _wrap_Rect_setSize__SWIG_1(self,args);
8331 }
8332 }
8333 }
8334 if (argc == 3) {
8335 int _v;
8336 {
8337 void *ptr;
8338 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8339 _v = 0;
8340 PyErr_Clear();
8341 }else {
8342 _v = 1;
8343 }
8344 }
8345 if (_v) {
8346 {
8347 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8348 }
8349 if (_v) {
8350 {
8351 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8352 }
8353 if (_v) {
8354 return _wrap_Rect_setSize__SWIG_0(self,args);
8355 }
8356 }
8357 }
8358 }
8359
8360 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8361 return NULL;
8362 }
8363
8364
8365 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8366 PyObject *resultobj;
8367 otk::Rect *arg1 = (otk::Rect *) 0 ;
8368 int arg2 ;
8369 int arg3 ;
8370 int arg4 ;
8371 int arg5 ;
8372 PyObject * obj0 = 0 ;
8373
8374 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8376 (arg1)->setRect(arg2,arg3,arg4,arg5);
8377
8378 Py_INCREF(Py_None); resultobj = Py_None;
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8386 PyObject *resultobj;
8387 otk::Rect *arg1 = (otk::Rect *) 0 ;
8388 otk::Point *arg2 = 0 ;
8389 otk::Point *arg3 = 0 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 PyObject * obj2 = 0 ;
8393
8394 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8397 if (arg2 == NULL) {
8398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8399 }
8400 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8401 if (arg3 == NULL) {
8402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8403 }
8404 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8405
8406 Py_INCREF(Py_None); resultobj = Py_None;
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8414 int argc;
8415 PyObject *argv[6];
8416 int ii;
8417
8418 argc = PyObject_Length(args);
8419 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8420 argv[ii] = PyTuple_GetItem(args,ii);
8421 }
8422 if (argc == 3) {
8423 int _v;
8424 {
8425 void *ptr;
8426 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8427 _v = 0;
8428 PyErr_Clear();
8429 }else {
8430 _v = 1;
8431 }
8432 }
8433 if (_v) {
8434 {
8435 void *ptr;
8436 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8437 _v = 0;
8438 PyErr_Clear();
8439 }else {
8440 _v = 1;
8441 }
8442 }
8443 if (_v) {
8444 {
8445 void *ptr;
8446 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8447 _v = 0;
8448 PyErr_Clear();
8449 }else {
8450 _v = 1;
8451 }
8452 }
8453 if (_v) {
8454 return _wrap_Rect_setRect__SWIG_1(self,args);
8455 }
8456 }
8457 }
8458 }
8459 if (argc == 5) {
8460 int _v;
8461 {
8462 void *ptr;
8463 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8464 _v = 0;
8465 PyErr_Clear();
8466 }else {
8467 _v = 1;
8468 }
8469 }
8470 if (_v) {
8471 {
8472 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8473 }
8474 if (_v) {
8475 {
8476 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8477 }
8478 if (_v) {
8479 {
8480 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8481 }
8482 if (_v) {
8483 {
8484 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8485 }
8486 if (_v) {
8487 return _wrap_Rect_setRect__SWIG_0(self,args);
8488 }
8489 }
8490 }
8491 }
8492 }
8493 }
8494
8495 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8501 PyObject *resultobj;
8502 otk::Rect *arg1 = (otk::Rect *) 0 ;
8503 int arg2 ;
8504 int arg3 ;
8505 int arg4 ;
8506 int arg5 ;
8507 PyObject * obj0 = 0 ;
8508
8509 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8511 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8512
8513 Py_INCREF(Py_None); resultobj = Py_None;
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8521 PyObject *resultobj;
8522 otk::Rect *arg1 = (otk::Rect *) 0 ;
8523 otk::Point *arg2 = 0 ;
8524 otk::Point *arg3 = 0 ;
8525 PyObject * obj0 = 0 ;
8526 PyObject * obj1 = 0 ;
8527 PyObject * obj2 = 0 ;
8528
8529 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8532 if (arg2 == NULL) {
8533 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8534 }
8535 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8536 if (arg3 == NULL) {
8537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8538 }
8539 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8540
8541 Py_INCREF(Py_None); resultobj = Py_None;
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8549 int argc;
8550 PyObject *argv[6];
8551 int ii;
8552
8553 argc = PyObject_Length(args);
8554 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8555 argv[ii] = PyTuple_GetItem(args,ii);
8556 }
8557 if (argc == 3) {
8558 int _v;
8559 {
8560 void *ptr;
8561 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8562 _v = 0;
8563 PyErr_Clear();
8564 }else {
8565 _v = 1;
8566 }
8567 }
8568 if (_v) {
8569 {
8570 void *ptr;
8571 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8572 _v = 0;
8573 PyErr_Clear();
8574 }else {
8575 _v = 1;
8576 }
8577 }
8578 if (_v) {
8579 {
8580 void *ptr;
8581 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8582 _v = 0;
8583 PyErr_Clear();
8584 }else {
8585 _v = 1;
8586 }
8587 }
8588 if (_v) {
8589 return _wrap_Rect_setCoords__SWIG_1(self,args);
8590 }
8591 }
8592 }
8593 }
8594 if (argc == 5) {
8595 int _v;
8596 {
8597 void *ptr;
8598 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8599 _v = 0;
8600 PyErr_Clear();
8601 }else {
8602 _v = 1;
8603 }
8604 }
8605 if (_v) {
8606 {
8607 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8608 }
8609 if (_v) {
8610 {
8611 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8612 }
8613 if (_v) {
8614 {
8615 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8616 }
8617 if (_v) {
8618 {
8619 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8620 }
8621 if (_v) {
8622 return _wrap_Rect_setCoords__SWIG_0(self,args);
8623 }
8624 }
8625 }
8626 }
8627 }
8628 }
8629
8630 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8631 return NULL;
8632 }
8633
8634
8635 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8636 PyObject *resultobj;
8637 otk::Rect *arg1 = (otk::Rect *) 0 ;
8638 otk::Rect *arg2 = 0 ;
8639 bool result;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642
8643 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8646 if (arg2 == NULL) {
8647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8648 }
8649 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8650
8651 resultobj = PyInt_FromLong((long)result);
8652 return resultobj;
8653 fail:
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8659 PyObject *resultobj;
8660 otk::Rect *arg1 = (otk::Rect *) 0 ;
8661 bool result;
8662 PyObject * obj0 = 0 ;
8663
8664 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 result = (bool)((otk::Rect const *)arg1)->valid();
8667
8668 resultobj = PyInt_FromLong((long)result);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8676 PyObject *resultobj;
8677 otk::Rect *arg1 = (otk::Rect *) 0 ;
8678 otk::Rect *arg2 = 0 ;
8679 bool result;
8680 PyObject * obj0 = 0 ;
8681 PyObject * obj1 = 0 ;
8682
8683 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8686 if (arg2 == NULL) {
8687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8688 }
8689 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8690
8691 resultobj = PyInt_FromLong((long)result);
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8699 PyObject *resultobj;
8700 otk::Rect *arg1 = (otk::Rect *) 0 ;
8701 int arg2 ;
8702 int arg3 ;
8703 bool result;
8704 PyObject * obj0 = 0 ;
8705
8706 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8708 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8709
8710 resultobj = PyInt_FromLong((long)result);
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8718 PyObject *resultobj;
8719 otk::Rect *arg1 = (otk::Rect *) 0 ;
8720 otk::Point *arg2 = 0 ;
8721 bool result;
8722 PyObject * obj0 = 0 ;
8723 PyObject * obj1 = 0 ;
8724
8725 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8728 if (arg2 == NULL) {
8729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8730 }
8731 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8732
8733 resultobj = PyInt_FromLong((long)result);
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8741 PyObject *resultobj;
8742 otk::Rect *arg1 = (otk::Rect *) 0 ;
8743 otk::Rect *arg2 = 0 ;
8744 bool result;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747
8748 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 if (arg2 == NULL) {
8752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8753 }
8754 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8755
8756 resultobj = PyInt_FromLong((long)result);
8757 return resultobj;
8758 fail:
8759 return NULL;
8760 }
8761
8762
8763 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8764 int argc;
8765 PyObject *argv[4];
8766 int ii;
8767
8768 argc = PyObject_Length(args);
8769 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8770 argv[ii] = PyTuple_GetItem(args,ii);
8771 }
8772 if (argc == 2) {
8773 int _v;
8774 {
8775 void *ptr;
8776 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8777 _v = 0;
8778 PyErr_Clear();
8779 }else {
8780 _v = 1;
8781 }
8782 }
8783 if (_v) {
8784 {
8785 void *ptr;
8786 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8787 _v = 0;
8788 PyErr_Clear();
8789 }else {
8790 _v = 1;
8791 }
8792 }
8793 if (_v) {
8794 return _wrap_Rect_contains__SWIG_1(self,args);
8795 }
8796 }
8797 }
8798 if (argc == 2) {
8799 int _v;
8800 {
8801 void *ptr;
8802 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8803 _v = 0;
8804 PyErr_Clear();
8805 }else {
8806 _v = 1;
8807 }
8808 }
8809 if (_v) {
8810 {
8811 void *ptr;
8812 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8813 _v = 0;
8814 PyErr_Clear();
8815 }else {
8816 _v = 1;
8817 }
8818 }
8819 if (_v) {
8820 return _wrap_Rect_contains__SWIG_2(self,args);
8821 }
8822 }
8823 }
8824 if (argc == 3) {
8825 int _v;
8826 {
8827 void *ptr;
8828 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8829 _v = 0;
8830 PyErr_Clear();
8831 }else {
8832 _v = 1;
8833 }
8834 }
8835 if (_v) {
8836 {
8837 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8838 }
8839 if (_v) {
8840 {
8841 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8842 }
8843 if (_v) {
8844 return _wrap_Rect_contains__SWIG_0(self,args);
8845 }
8846 }
8847 }
8848 }
8849
8850 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8856 PyObject *resultobj;
8857 otk::Rect *arg1 = (otk::Rect *) 0 ;
8858 PyObject * obj0 = 0 ;
8859
8860 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8862 delete arg1;
8863
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8872 PyObject *obj;
8873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8874 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8875 Py_INCREF(obj);
8876 return Py_BuildValue((char *)"");
8877 }
8878 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8879 PyObject *resultobj;
8880 unsigned int arg1 ;
8881 otk::ScreenInfo *result;
8882 PyObject * obj0 = 0 ;
8883
8884 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8885 arg1 = (unsigned int) PyInt_AsLong(obj0);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8888
8889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8897 PyObject *resultobj;
8898 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8899 Visual *result;
8900 PyObject * obj0 = 0 ;
8901
8902 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8904 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8905
8906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8914 PyObject *resultobj;
8915 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8916 Window result;
8917 PyObject * obj0 = 0 ;
8918
8919 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8921 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
8922
8923 {
8924 Window * resultptr;
8925 resultptr = new Window((Window &) result);
8926 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
8927 }
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8935 PyObject *resultobj;
8936 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8937 Colormap result;
8938 PyObject * obj0 = 0 ;
8939
8940 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8942 result = ((otk::ScreenInfo const *)arg1)->colormap();
8943
8944 {
8945 Colormap * resultptr;
8946 resultptr = new Colormap((Colormap &) result);
8947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
8948 }
8949 return resultobj;
8950 fail:
8951 return NULL;
8952 }
8953
8954
8955 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8956 PyObject *resultobj;
8957 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8958 int result;
8959 PyObject * obj0 = 0 ;
8960
8961 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8963 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8964
8965 resultobj = PyInt_FromLong((long)result);
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8973 PyObject *resultobj;
8974 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8975 unsigned int result;
8976 PyObject * obj0 = 0 ;
8977
8978 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8981
8982 resultobj = PyInt_FromLong((long)result);
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8990 PyObject *resultobj;
8991 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8992 otk::Rect *result;
8993 PyObject * obj0 = 0 ;
8994
8995 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8997 {
8998 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8999 result = (otk::Rect *) &_result_ref;
9000 }
9001
9002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
9010 PyObject *resultobj;
9011 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9012 unsigned int result;
9013 PyObject * obj0 = 0 ;
9014
9015 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9017 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
9018
9019 resultobj = PyInt_FromLong((long)result);
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
9027 PyObject *resultobj;
9028 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9029 unsigned int result;
9030 PyObject * obj0 = 0 ;
9031
9032 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
9035
9036 resultobj = PyInt_FromLong((long)result);
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9044 PyObject *resultobj;
9045 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9046 std::string *result;
9047 PyObject * obj0 = 0 ;
9048
9049 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 {
9052 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9053 result = (std::string *) &_result_ref;
9054 }
9055
9056 {
9057 resultobj = PyString_FromString(result->c_str());
9058 }
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9066 PyObject *resultobj;
9067 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9068 PyObject * obj0 = 0 ;
9069
9070 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 delete arg1;
9073
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9082 PyObject *obj;
9083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9084 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9085 Py_INCREF(obj);
9086 return Py_BuildValue((char *)"");
9087 }
9088 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9089 PyObject *resultobj;
9090 otk::Strut *arg1 = (otk::Strut *) 0 ;
9091 unsigned int arg2 ;
9092 PyObject * obj0 = 0 ;
9093 PyObject * obj1 = 0 ;
9094
9095 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9097 arg2 = (unsigned int) PyInt_AsLong(obj1);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 if (arg1) (arg1)->top = arg2;
9100
9101 Py_INCREF(Py_None); resultobj = Py_None;
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9109 PyObject *resultobj;
9110 otk::Strut *arg1 = (otk::Strut *) 0 ;
9111 unsigned int result;
9112 PyObject * obj0 = 0 ;
9113
9114 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9116 result = (unsigned int) ((arg1)->top);
9117
9118 resultobj = PyInt_FromLong((long)result);
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9126 PyObject *resultobj;
9127 otk::Strut *arg1 = (otk::Strut *) 0 ;
9128 unsigned int arg2 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131
9132 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9134 arg2 = (unsigned int) PyInt_AsLong(obj1);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 if (arg1) (arg1)->bottom = arg2;
9137
9138 Py_INCREF(Py_None); resultobj = Py_None;
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9146 PyObject *resultobj;
9147 otk::Strut *arg1 = (otk::Strut *) 0 ;
9148 unsigned int result;
9149 PyObject * obj0 = 0 ;
9150
9151 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 result = (unsigned int) ((arg1)->bottom);
9154
9155 resultobj = PyInt_FromLong((long)result);
9156 return resultobj;
9157 fail:
9158 return NULL;
9159 }
9160
9161
9162 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9163 PyObject *resultobj;
9164 otk::Strut *arg1 = (otk::Strut *) 0 ;
9165 unsigned int arg2 ;
9166 PyObject * obj0 = 0 ;
9167 PyObject * obj1 = 0 ;
9168
9169 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9171 arg2 = (unsigned int) PyInt_AsLong(obj1);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 if (arg1) (arg1)->left = arg2;
9174
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9183 PyObject *resultobj;
9184 otk::Strut *arg1 = (otk::Strut *) 0 ;
9185 unsigned int result;
9186 PyObject * obj0 = 0 ;
9187
9188 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9190 result = (unsigned int) ((arg1)->left);
9191
9192 resultobj = PyInt_FromLong((long)result);
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9200 PyObject *resultobj;
9201 otk::Strut *arg1 = (otk::Strut *) 0 ;
9202 unsigned int arg2 ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205
9206 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9208 arg2 = (unsigned int) PyInt_AsLong(obj1);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 if (arg1) (arg1)->right = arg2;
9211
9212 Py_INCREF(Py_None); resultobj = Py_None;
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9220 PyObject *resultobj;
9221 otk::Strut *arg1 = (otk::Strut *) 0 ;
9222 unsigned int result;
9223 PyObject * obj0 = 0 ;
9224
9225 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9227 result = (unsigned int) ((arg1)->right);
9228
9229 resultobj = PyInt_FromLong((long)result);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9237 PyObject *resultobj;
9238 otk::Strut *result;
9239
9240 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9241 result = (otk::Strut *)new otk::Strut();
9242
9243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9251 PyObject *resultobj;
9252 int arg1 ;
9253 int arg2 ;
9254 int arg3 ;
9255 int arg4 ;
9256 otk::Strut *result;
9257
9258 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9259 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9260
9261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9262 return resultobj;
9263 fail:
9264 return NULL;
9265 }
9266
9267
9268 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9269 int argc;
9270 PyObject *argv[5];
9271 int ii;
9272
9273 argc = PyObject_Length(args);
9274 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9275 argv[ii] = PyTuple_GetItem(args,ii);
9276 }
9277 if (argc == 0) {
9278 return _wrap_new_Strut__SWIG_0(self,args);
9279 }
9280 if (argc == 4) {
9281 int _v;
9282 {
9283 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9284 }
9285 if (_v) {
9286 {
9287 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9288 }
9289 if (_v) {
9290 {
9291 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9292 }
9293 if (_v) {
9294 {
9295 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9296 }
9297 if (_v) {
9298 return _wrap_new_Strut__SWIG_1(self,args);
9299 }
9300 }
9301 }
9302 }
9303 }
9304
9305 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9311 PyObject *resultobj;
9312 otk::Strut *arg1 = (otk::Strut *) 0 ;
9313 PyObject * obj0 = 0 ;
9314
9315 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9317 delete arg1;
9318
9319 Py_INCREF(Py_None); resultobj = Py_None;
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9327 PyObject *obj;
9328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9329 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9330 Py_INCREF(obj);
9331 return Py_BuildValue((char *)"");
9332 }
9333 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9334 PyObject *resultobj;
9335 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9336 Pixmap arg2 ;
9337 Pixmap *argp2 ;
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj1 = 0 ;
9340
9341 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9343 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9344 arg2 = *argp2;
9345 if (arg1) (arg1)->mask = arg2;
9346
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 return resultobj;
9349 fail:
9350 return NULL;
9351 }
9352
9353
9354 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9355 PyObject *resultobj;
9356 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9357 Pixmap result;
9358 PyObject * obj0 = 0 ;
9359
9360 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9362 result = ((arg1)->mask);
9363
9364 {
9365 Pixmap * resultptr;
9366 resultptr = new Pixmap((Pixmap &) result);
9367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9368 }
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9376 PyObject *resultobj;
9377 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9378 unsigned int arg2 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381
9382 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9384 arg2 = (unsigned int) PyInt_AsLong(obj1);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 if (arg1) (arg1)->w = arg2;
9387
9388 Py_INCREF(Py_None); resultobj = Py_None;
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9396 PyObject *resultobj;
9397 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9398 unsigned int result;
9399 PyObject * obj0 = 0 ;
9400
9401 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 result = (unsigned int) ((arg1)->w);
9404
9405 resultobj = PyInt_FromLong((long)result);
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9413 PyObject *resultobj;
9414 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9415 unsigned int arg2 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418
9419 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9421 arg2 = (unsigned int) PyInt_AsLong(obj1);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 if (arg1) (arg1)->h = arg2;
9424
9425 Py_INCREF(Py_None); resultobj = Py_None;
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9433 PyObject *resultobj;
9434 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9435 unsigned int result;
9436 PyObject * obj0 = 0 ;
9437
9438 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9440 result = (unsigned int) ((arg1)->h);
9441
9442 resultobj = PyInt_FromLong((long)result);
9443 return resultobj;
9444 fail:
9445 return NULL;
9446 }
9447
9448
9449 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9450 PyObject *resultobj;
9451 otk::PixmapMask *result;
9452
9453 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9454 result = (otk::PixmapMask *)new otk::PixmapMask();
9455
9456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9464 PyObject *resultobj;
9465 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9466 PyObject * obj0 = 0 ;
9467
9468 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9470 delete arg1;
9471
9472 Py_INCREF(Py_None); resultobj = Py_None;
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9480 PyObject *obj;
9481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9482 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9483 Py_INCREF(obj);
9484 return Py_BuildValue((char *)"");
9485 }
9486 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9487 PyObject *resultobj;
9488 otk::Style *arg1 = (otk::Style *) 0 ;
9489 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492
9493 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9496 if (arg1) (arg1)->image_control = arg2;
9497
9498 Py_INCREF(Py_None); resultobj = Py_None;
9499 return resultobj;
9500 fail:
9501 return NULL;
9502 }
9503
9504
9505 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9506 PyObject *resultobj;
9507 otk::Style *arg1 = (otk::Style *) 0 ;
9508 otk::BImageControl *result;
9509 PyObject * obj0 = 0 ;
9510
9511 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9513 result = (otk::BImageControl *) ((arg1)->image_control);
9514
9515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9523 PyObject *resultobj;
9524 otk::Style *arg1 = (otk::Style *) 0 ;
9525 otk::BColor *arg2 = (otk::BColor *) 0 ;
9526 PyObject * obj0 = 0 ;
9527 PyObject * obj1 = 0 ;
9528
9529 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 if (arg1) (arg1)->l_text_focus = *arg2;
9533
9534 Py_INCREF(Py_None); resultobj = Py_None;
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9542 PyObject *resultobj;
9543 otk::Style *arg1 = (otk::Style *) 0 ;
9544 otk::BColor *result;
9545 PyObject * obj0 = 0 ;
9546
9547 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9549 result = (otk::BColor *)& ((arg1)->l_text_focus);
9550
9551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9552 return resultobj;
9553 fail:
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9559 PyObject *resultobj;
9560 otk::Style *arg1 = (otk::Style *) 0 ;
9561 otk::BColor *arg2 = (otk::BColor *) 0 ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564
9565 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9568 if (arg1) (arg1)->l_text_unfocus = *arg2;
9569
9570 Py_INCREF(Py_None); resultobj = Py_None;
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9578 PyObject *resultobj;
9579 otk::Style *arg1 = (otk::Style *) 0 ;
9580 otk::BColor *result;
9581 PyObject * obj0 = 0 ;
9582
9583 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9585 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9586
9587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9595 PyObject *resultobj;
9596 otk::Style *arg1 = (otk::Style *) 0 ;
9597 otk::BColor *arg2 = (otk::BColor *) 0 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600
9601 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9604 if (arg1) (arg1)->b_pic_focus = *arg2;
9605
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9614 PyObject *resultobj;
9615 otk::Style *arg1 = (otk::Style *) 0 ;
9616 otk::BColor *result;
9617 PyObject * obj0 = 0 ;
9618
9619 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9621 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9622
9623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9631 PyObject *resultobj;
9632 otk::Style *arg1 = (otk::Style *) 0 ;
9633 otk::BColor *arg2 = (otk::BColor *) 0 ;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636
9637 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9640 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9641
9642 Py_INCREF(Py_None); resultobj = Py_None;
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9650 PyObject *resultobj;
9651 otk::Style *arg1 = (otk::Style *) 0 ;
9652 otk::BColor *result;
9653 PyObject * obj0 = 0 ;
9654
9655 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9657 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9658
9659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9667 PyObject *resultobj;
9668 otk::Style *arg1 = (otk::Style *) 0 ;
9669 otk::BColor *arg2 = (otk::BColor *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj1 = 0 ;
9672
9673 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9676 if (arg1) (arg1)->border_color = *arg2;
9677
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9686 PyObject *resultobj;
9687 otk::Style *arg1 = (otk::Style *) 0 ;
9688 otk::BColor *result;
9689 PyObject * obj0 = 0 ;
9690
9691 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9693 result = (otk::BColor *)& ((arg1)->border_color);
9694
9695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9703 PyObject *resultobj;
9704 otk::Style *arg1 = (otk::Style *) 0 ;
9705 otk::BFont *arg2 = (otk::BFont *) 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708
9709 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9712 if (arg1) (arg1)->font = arg2;
9713
9714 Py_INCREF(Py_None); resultobj = Py_None;
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9722 PyObject *resultobj;
9723 otk::Style *arg1 = (otk::Style *) 0 ;
9724 otk::BFont *result;
9725 PyObject * obj0 = 0 ;
9726
9727 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9729 result = (otk::BFont *) ((arg1)->font);
9730
9731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9739 PyObject *resultobj;
9740 otk::Style *arg1 = (otk::Style *) 0 ;
9741 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj1 = 0 ;
9744
9745 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9748 if (arg1) (arg1)->f_focus = *arg2;
9749
9750 Py_INCREF(Py_None); resultobj = Py_None;
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9758 PyObject *resultobj;
9759 otk::Style *arg1 = (otk::Style *) 0 ;
9760 otk::BTexture *result;
9761 PyObject * obj0 = 0 ;
9762
9763 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 result = (otk::BTexture *)& ((arg1)->f_focus);
9766
9767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9775 PyObject *resultobj;
9776 otk::Style *arg1 = (otk::Style *) 0 ;
9777 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780
9781 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 if (arg1) (arg1)->f_unfocus = *arg2;
9785
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9794 PyObject *resultobj;
9795 otk::Style *arg1 = (otk::Style *) 0 ;
9796 otk::BTexture *result;
9797 PyObject * obj0 = 0 ;
9798
9799 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9801 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9802
9803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9811 PyObject *resultobj;
9812 otk::Style *arg1 = (otk::Style *) 0 ;
9813 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816
9817 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9820 if (arg1) (arg1)->t_focus = *arg2;
9821
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9830 PyObject *resultobj;
9831 otk::Style *arg1 = (otk::Style *) 0 ;
9832 otk::BTexture *result;
9833 PyObject * obj0 = 0 ;
9834
9835 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9837 result = (otk::BTexture *)& ((arg1)->t_focus);
9838
9839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9840 return resultobj;
9841 fail:
9842 return NULL;
9843 }
9844
9845
9846 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9847 PyObject *resultobj;
9848 otk::Style *arg1 = (otk::Style *) 0 ;
9849 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9850 PyObject * obj0 = 0 ;
9851 PyObject * obj1 = 0 ;
9852
9853 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9856 if (arg1) (arg1)->t_unfocus = *arg2;
9857
9858 Py_INCREF(Py_None); resultobj = Py_None;
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9866 PyObject *resultobj;
9867 otk::Style *arg1 = (otk::Style *) 0 ;
9868 otk::BTexture *result;
9869 PyObject * obj0 = 0 ;
9870
9871 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9873 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9874
9875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9876 return resultobj;
9877 fail:
9878 return NULL;
9879 }
9880
9881
9882 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9883 PyObject *resultobj;
9884 otk::Style *arg1 = (otk::Style *) 0 ;
9885 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888
9889 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9892 if (arg1) (arg1)->l_focus = *arg2;
9893
9894 Py_INCREF(Py_None); resultobj = Py_None;
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9902 PyObject *resultobj;
9903 otk::Style *arg1 = (otk::Style *) 0 ;
9904 otk::BTexture *result;
9905 PyObject * obj0 = 0 ;
9906
9907 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9909 result = (otk::BTexture *)& ((arg1)->l_focus);
9910
9911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9912 return resultobj;
9913 fail:
9914 return NULL;
9915 }
9916
9917
9918 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9919 PyObject *resultobj;
9920 otk::Style *arg1 = (otk::Style *) 0 ;
9921 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924
9925 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 if (arg1) (arg1)->l_unfocus = *arg2;
9929
9930 Py_INCREF(Py_None); resultobj = Py_None;
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9938 PyObject *resultobj;
9939 otk::Style *arg1 = (otk::Style *) 0 ;
9940 otk::BTexture *result;
9941 PyObject * obj0 = 0 ;
9942
9943 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9945 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9946
9947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9955 PyObject *resultobj;
9956 otk::Style *arg1 = (otk::Style *) 0 ;
9957 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960
9961 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 if (arg1) (arg1)->h_focus = *arg2;
9965
9966 Py_INCREF(Py_None); resultobj = Py_None;
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9974 PyObject *resultobj;
9975 otk::Style *arg1 = (otk::Style *) 0 ;
9976 otk::BTexture *result;
9977 PyObject * obj0 = 0 ;
9978
9979 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9981 result = (otk::BTexture *)& ((arg1)->h_focus);
9982
9983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9991 PyObject *resultobj;
9992 otk::Style *arg1 = (otk::Style *) 0 ;
9993 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9994 PyObject * obj0 = 0 ;
9995 PyObject * obj1 = 0 ;
9996
9997 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10000 if (arg1) (arg1)->h_unfocus = *arg2;
10001
10002 Py_INCREF(Py_None); resultobj = Py_None;
10003 return resultobj;
10004 fail:
10005 return NULL;
10006 }
10007
10008
10009 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
10010 PyObject *resultobj;
10011 otk::Style *arg1 = (otk::Style *) 0 ;
10012 otk::BTexture *result;
10013 PyObject * obj0 = 0 ;
10014
10015 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10017 result = (otk::BTexture *)& ((arg1)->h_unfocus);
10018
10019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10020 return resultobj;
10021 fail:
10022 return NULL;
10023 }
10024
10025
10026 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
10027 PyObject *resultobj;
10028 otk::Style *arg1 = (otk::Style *) 0 ;
10029 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10030 PyObject * obj0 = 0 ;
10031 PyObject * obj1 = 0 ;
10032
10033 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10036 if (arg1) (arg1)->b_focus = *arg2;
10037
10038 Py_INCREF(Py_None); resultobj = Py_None;
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10046 PyObject *resultobj;
10047 otk::Style *arg1 = (otk::Style *) 0 ;
10048 otk::BTexture *result;
10049 PyObject * obj0 = 0 ;
10050
10051 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 result = (otk::BTexture *)& ((arg1)->b_focus);
10054
10055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10063 PyObject *resultobj;
10064 otk::Style *arg1 = (otk::Style *) 0 ;
10065 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068
10069 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10072 if (arg1) (arg1)->b_unfocus = *arg2;
10073
10074 Py_INCREF(Py_None); resultobj = Py_None;
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10082 PyObject *resultobj;
10083 otk::Style *arg1 = (otk::Style *) 0 ;
10084 otk::BTexture *result;
10085 PyObject * obj0 = 0 ;
10086
10087 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10089 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10090
10091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10099 PyObject *resultobj;
10100 otk::Style *arg1 = (otk::Style *) 0 ;
10101 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104
10105 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10108 if (arg1) (arg1)->b_pressed_focus = *arg2;
10109
10110 Py_INCREF(Py_None); resultobj = Py_None;
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10118 PyObject *resultobj;
10119 otk::Style *arg1 = (otk::Style *) 0 ;
10120 otk::BTexture *result;
10121 PyObject * obj0 = 0 ;
10122
10123 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10125 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10126
10127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10135 PyObject *resultobj;
10136 otk::Style *arg1 = (otk::Style *) 0 ;
10137 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140
10141 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10144 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10145
10146 Py_INCREF(Py_None); resultobj = Py_None;
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10154 PyObject *resultobj;
10155 otk::Style *arg1 = (otk::Style *) 0 ;
10156 otk::BTexture *result;
10157 PyObject * obj0 = 0 ;
10158
10159 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10161 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10162
10163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10164 return resultobj;
10165 fail:
10166 return NULL;
10167 }
10168
10169
10170 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10171 PyObject *resultobj;
10172 otk::Style *arg1 = (otk::Style *) 0 ;
10173 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10174 PyObject * obj0 = 0 ;
10175 PyObject * obj1 = 0 ;
10176
10177 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10180 if (arg1) (arg1)->g_focus = *arg2;
10181
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10190 PyObject *resultobj;
10191 otk::Style *arg1 = (otk::Style *) 0 ;
10192 otk::BTexture *result;
10193 PyObject * obj0 = 0 ;
10194
10195 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10197 result = (otk::BTexture *)& ((arg1)->g_focus);
10198
10199 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10207 PyObject *resultobj;
10208 otk::Style *arg1 = (otk::Style *) 0 ;
10209 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212
10213 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10216 if (arg1) (arg1)->g_unfocus = *arg2;
10217
10218 Py_INCREF(Py_None); resultobj = Py_None;
10219 return resultobj;
10220 fail:
10221 return NULL;
10222 }
10223
10224
10225 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10226 PyObject *resultobj;
10227 otk::Style *arg1 = (otk::Style *) 0 ;
10228 otk::BTexture *result;
10229 PyObject * obj0 = 0 ;
10230
10231 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10233 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10234
10235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10243 PyObject *resultobj;
10244 otk::Style *arg1 = (otk::Style *) 0 ;
10245 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10246 PyObject * obj0 = 0 ;
10247 PyObject * obj1 = 0 ;
10248
10249 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10252 if (arg1) (arg1)->close_button = *arg2;
10253
10254 Py_INCREF(Py_None); resultobj = Py_None;
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10262 PyObject *resultobj;
10263 otk::Style *arg1 = (otk::Style *) 0 ;
10264 otk::PixmapMask *result;
10265 PyObject * obj0 = 0 ;
10266
10267 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10269 result = (otk::PixmapMask *)& ((arg1)->close_button);
10270
10271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10279 PyObject *resultobj;
10280 otk::Style *arg1 = (otk::Style *) 0 ;
10281 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284
10285 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10288 if (arg1) (arg1)->max_button = *arg2;
10289
10290 Py_INCREF(Py_None); resultobj = Py_None;
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10298 PyObject *resultobj;
10299 otk::Style *arg1 = (otk::Style *) 0 ;
10300 otk::PixmapMask *result;
10301 PyObject * obj0 = 0 ;
10302
10303 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 result = (otk::PixmapMask *)& ((arg1)->max_button);
10306
10307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10315 PyObject *resultobj;
10316 otk::Style *arg1 = (otk::Style *) 0 ;
10317 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10318 PyObject * obj0 = 0 ;
10319 PyObject * obj1 = 0 ;
10320
10321 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10324 if (arg1) (arg1)->icon_button = *arg2;
10325
10326 Py_INCREF(Py_None); resultobj = Py_None;
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10334 PyObject *resultobj;
10335 otk::Style *arg1 = (otk::Style *) 0 ;
10336 otk::PixmapMask *result;
10337 PyObject * obj0 = 0 ;
10338
10339 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10341 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10342
10343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10351 PyObject *resultobj;
10352 otk::Style *arg1 = (otk::Style *) 0 ;
10353 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356
10357 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10360 if (arg1) (arg1)->stick_button = *arg2;
10361
10362 Py_INCREF(Py_None); resultobj = Py_None;
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10370 PyObject *resultobj;
10371 otk::Style *arg1 = (otk::Style *) 0 ;
10372 otk::PixmapMask *result;
10373 PyObject * obj0 = 0 ;
10374
10375 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10377 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10378
10379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10387 PyObject *resultobj;
10388 otk::Style *arg1 = (otk::Style *) 0 ;
10389 int arg2 ;
10390 PyObject * obj0 = 0 ;
10391
10392 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10394 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10395
10396 Py_INCREF(Py_None); resultobj = Py_None;
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10404 PyObject *resultobj;
10405 otk::Style *arg1 = (otk::Style *) 0 ;
10406 int result;
10407 PyObject * obj0 = 0 ;
10408
10409 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 result = (int) ((arg1)->justify);
10412
10413 resultobj = PyInt_FromLong((long)result);
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10421 PyObject *resultobj;
10422 otk::Style *arg1 = (otk::Style *) 0 ;
10423 int arg2 ;
10424 PyObject * obj0 = 0 ;
10425
10426 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10428 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10429
10430 Py_INCREF(Py_None); resultobj = Py_None;
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10438 PyObject *resultobj;
10439 otk::Style *arg1 = (otk::Style *) 0 ;
10440 int result;
10441 PyObject * obj0 = 0 ;
10442
10443 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10445 result = (int) ((arg1)->bullet_type);
10446
10447 resultobj = PyInt_FromLong((long)result);
10448 return resultobj;
10449 fail:
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10455 PyObject *resultobj;
10456 otk::Style *arg1 = (otk::Style *) 0 ;
10457 unsigned int arg2 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460
10461 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 arg2 = (unsigned int) PyInt_AsLong(obj1);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 if (arg1) (arg1)->handle_width = arg2;
10466
10467 Py_INCREF(Py_None); resultobj = Py_None;
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10475 PyObject *resultobj;
10476 otk::Style *arg1 = (otk::Style *) 0 ;
10477 unsigned int result;
10478 PyObject * obj0 = 0 ;
10479
10480 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10482 result = (unsigned int) ((arg1)->handle_width);
10483
10484 resultobj = PyInt_FromLong((long)result);
10485 return resultobj;
10486 fail:
10487 return NULL;
10488 }
10489
10490
10491 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10492 PyObject *resultobj;
10493 otk::Style *arg1 = (otk::Style *) 0 ;
10494 unsigned int arg2 ;
10495 PyObject * obj0 = 0 ;
10496 PyObject * obj1 = 0 ;
10497
10498 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 arg2 = (unsigned int) PyInt_AsLong(obj1);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 if (arg1) (arg1)->bevel_width = arg2;
10503
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 return resultobj;
10506 fail:
10507 return NULL;
10508 }
10509
10510
10511 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10512 PyObject *resultobj;
10513 otk::Style *arg1 = (otk::Style *) 0 ;
10514 unsigned int result;
10515 PyObject * obj0 = 0 ;
10516
10517 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10519 result = (unsigned int) ((arg1)->bevel_width);
10520
10521 resultobj = PyInt_FromLong((long)result);
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10529 PyObject *resultobj;
10530 otk::Style *arg1 = (otk::Style *) 0 ;
10531 unsigned int arg2 ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534
10535 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 arg2 = (unsigned int) PyInt_AsLong(obj1);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 if (arg1) (arg1)->frame_width = arg2;
10540
10541 Py_INCREF(Py_None); resultobj = Py_None;
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10549 PyObject *resultobj;
10550 otk::Style *arg1 = (otk::Style *) 0 ;
10551 unsigned int result;
10552 PyObject * obj0 = 0 ;
10553
10554 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10556 result = (unsigned int) ((arg1)->frame_width);
10557
10558 resultobj = PyInt_FromLong((long)result);
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10566 PyObject *resultobj;
10567 otk::Style *arg1 = (otk::Style *) 0 ;
10568 unsigned int arg2 ;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571
10572 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10574 arg2 = (unsigned int) PyInt_AsLong(obj1);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 if (arg1) (arg1)->border_width = arg2;
10577
10578 Py_INCREF(Py_None); resultobj = Py_None;
10579 return resultobj;
10580 fail:
10581 return NULL;
10582 }
10583
10584
10585 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10586 PyObject *resultobj;
10587 otk::Style *arg1 = (otk::Style *) 0 ;
10588 unsigned int result;
10589 PyObject * obj0 = 0 ;
10590
10591 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 result = (unsigned int) ((arg1)->border_width);
10594
10595 resultobj = PyInt_FromLong((long)result);
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10603 PyObject *resultobj;
10604 otk::Style *arg1 = (otk::Style *) 0 ;
10605 unsigned int arg2 ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608
10609 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10611 arg2 = (unsigned int) PyInt_AsLong(obj1);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 if (arg1) (arg1)->screen_number = arg2;
10614
10615 Py_INCREF(Py_None); resultobj = Py_None;
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10623 PyObject *resultobj;
10624 otk::Style *arg1 = (otk::Style *) 0 ;
10625 unsigned int result;
10626 PyObject * obj0 = 0 ;
10627
10628 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10630 result = (unsigned int) ((arg1)->screen_number);
10631
10632 resultobj = PyInt_FromLong((long)result);
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10640 PyObject *resultobj;
10641 otk::Style *arg1 = (otk::Style *) 0 ;
10642 bool arg2 ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645
10646 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 arg2 = (bool) PyInt_AsLong(obj1);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 if (arg1) (arg1)->shadow_fonts = arg2;
10651
10652 Py_INCREF(Py_None); resultobj = Py_None;
10653 return resultobj;
10654 fail:
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10660 PyObject *resultobj;
10661 otk::Style *arg1 = (otk::Style *) 0 ;
10662 bool result;
10663 PyObject * obj0 = 0 ;
10664
10665 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10667 result = (bool) ((arg1)->shadow_fonts);
10668
10669 resultobj = PyInt_FromLong((long)result);
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10677 PyObject *resultobj;
10678 otk::Style *arg1 = (otk::Style *) 0 ;
10679 bool arg2 ;
10680 PyObject * obj0 = 0 ;
10681 PyObject * obj1 = 0 ;
10682
10683 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10685 arg2 = (bool) PyInt_AsLong(obj1);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 if (arg1) (arg1)->aa_fonts = arg2;
10688
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10697 PyObject *resultobj;
10698 otk::Style *arg1 = (otk::Style *) 0 ;
10699 bool result;
10700 PyObject * obj0 = 0 ;
10701
10702 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10704 result = (bool) ((arg1)->aa_fonts);
10705
10706 resultobj = PyInt_FromLong((long)result);
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10714 PyObject *resultobj;
10715 otk::Style *result;
10716
10717 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10718 result = (otk::Style *)new otk::Style();
10719
10720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10728 PyObject *resultobj;
10729 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10730 otk::Style *result;
10731 PyObject * obj0 = 0 ;
10732
10733 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10735 result = (otk::Style *)new otk::Style(arg1);
10736
10737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10738 return resultobj;
10739 fail:
10740 return NULL;
10741 }
10742
10743
10744 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10745 int argc;
10746 PyObject *argv[2];
10747 int ii;
10748
10749 argc = PyObject_Length(args);
10750 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10751 argv[ii] = PyTuple_GetItem(args,ii);
10752 }
10753 if (argc == 0) {
10754 return _wrap_new_Style__SWIG_0(self,args);
10755 }
10756 if (argc == 1) {
10757 int _v;
10758 {
10759 void *ptr;
10760 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10761 _v = 0;
10762 PyErr_Clear();
10763 }else {
10764 _v = 1;
10765 }
10766 }
10767 if (_v) {
10768 return _wrap_new_Style__SWIG_1(self,args);
10769 }
10770 }
10771
10772 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10773 return NULL;
10774 }
10775
10776
10777 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10778 PyObject *resultobj;
10779 otk::Style *arg1 = (otk::Style *) 0 ;
10780 PyObject * obj0 = 0 ;
10781
10782 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10784 delete arg1;
10785
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10794 PyObject *resultobj;
10795 otk::Style *arg1 = (otk::Style *) 0 ;
10796 std::string *arg2 = 0 ;
10797 otk::PixmapMask *arg3 = 0 ;
10798 otk::Configuration *arg4 = 0 ;
10799 std::string temp2 ;
10800 PyObject * obj0 = 0 ;
10801 PyObject * obj1 = 0 ;
10802 PyObject * obj2 = 0 ;
10803 PyObject * obj3 = 0 ;
10804
10805 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10807 {
10808 if (PyString_Check(obj1)) {
10809 temp2 = std::string(PyString_AsString(obj1));
10810 arg2 = &temp2;
10811 }else {
10812 SWIG_exception(SWIG_TypeError, "string expected");
10813 }
10814 }
10815 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10816 if (arg3 == NULL) {
10817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10818 }
10819 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10820 if (arg4 == NULL) {
10821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10822 }
10823 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10824
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10833 PyObject *resultobj;
10834 otk::Style *arg1 = (otk::Style *) 0 ;
10835 std::string *arg2 = 0 ;
10836 std::string *arg3 = 0 ;
10837 otk::Configuration *arg4 = 0 ;
10838 bool arg5 = (bool) false ;
10839 otk::BTexture result;
10840 std::string temp2 ;
10841 std::string temp3 ;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 PyObject * obj2 = 0 ;
10845 PyObject * obj3 = 0 ;
10846 PyObject * obj4 = 0 ;
10847
10848 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10850 {
10851 if (PyString_Check(obj1)) {
10852 temp2 = std::string(PyString_AsString(obj1));
10853 arg2 = &temp2;
10854 }else {
10855 SWIG_exception(SWIG_TypeError, "string expected");
10856 }
10857 }
10858 {
10859 if (PyString_Check(obj2)) {
10860 temp3 = std::string(PyString_AsString(obj2));
10861 arg3 = &temp3;
10862 }else {
10863 SWIG_exception(SWIG_TypeError, "string expected");
10864 }
10865 }
10866 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10867 if (arg4 == NULL) {
10868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10869 }
10870 if (obj4) {
10871 arg5 = (bool) PyInt_AsLong(obj4);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10875
10876 {
10877 otk::BTexture * resultptr;
10878 resultptr = new otk::BTexture((otk::BTexture &) result);
10879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10880 }
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10888 PyObject *resultobj;
10889 otk::Style *arg1 = (otk::Style *) 0 ;
10890 std::string *arg2 = 0 ;
10891 std::string *arg3 = 0 ;
10892 otk::Configuration *arg4 = 0 ;
10893 otk::BColor result;
10894 std::string temp2 ;
10895 std::string temp3 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 PyObject * obj2 = 0 ;
10899 PyObject * obj3 = 0 ;
10900
10901 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 {
10904 if (PyString_Check(obj1)) {
10905 temp2 = std::string(PyString_AsString(obj1));
10906 arg2 = &temp2;
10907 }else {
10908 SWIG_exception(SWIG_TypeError, "string expected");
10909 }
10910 }
10911 {
10912 if (PyString_Check(obj2)) {
10913 temp3 = std::string(PyString_AsString(obj2));
10914 arg3 = &temp3;
10915 }else {
10916 SWIG_exception(SWIG_TypeError, "string expected");
10917 }
10918 }
10919 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10920 if (arg4 == NULL) {
10921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10922 }
10923 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10924
10925 {
10926 otk::BColor * resultptr;
10927 resultptr = new otk::BColor((otk::BColor &) result);
10928 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10929 }
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10937 PyObject *resultobj;
10938 otk::Style *arg1 = (otk::Style *) 0 ;
10939 std::string *arg2 = 0 ;
10940 otk::Configuration *arg3 = 0 ;
10941 otk::BFont *result;
10942 std::string temp2 ;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 PyObject * obj2 = 0 ;
10946
10947 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10949 {
10950 if (PyString_Check(obj1)) {
10951 temp2 = std::string(PyString_AsString(obj1));
10952 arg2 = &temp2;
10953 }else {
10954 SWIG_exception(SWIG_TypeError, "string expected");
10955 }
10956 }
10957 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 if (arg3 == NULL) {
10959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10960 }
10961 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10962
10963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10971 PyObject *resultobj;
10972 otk::Style *arg1 = (otk::Style *) 0 ;
10973 otk::Configuration *arg2 = 0 ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976
10977 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 if (arg2 == NULL) {
10981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10982 }
10983 (arg1)->load((otk::Configuration const &)*arg2);
10984
10985 Py_INCREF(Py_None); resultobj = Py_None;
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
10993 PyObject *resultobj;
10994 otk::Style *arg1 = (otk::Style *) 0 ;
10995 otk::PixmapMask *result;
10996 PyObject * obj0 = 0 ;
10997
10998 if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11000 result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
11001
11002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
11010 PyObject *resultobj;
11011 otk::Style *arg1 = (otk::Style *) 0 ;
11012 otk::PixmapMask *result;
11013 PyObject * obj0 = 0 ;
11014
11015 if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
11016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11017 result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
11018
11019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11020 return resultobj;
11021 fail:
11022 return NULL;
11023 }
11024
11025
11026 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
11027 PyObject *resultobj;
11028 otk::Style *arg1 = (otk::Style *) 0 ;
11029 otk::PixmapMask *result;
11030 PyObject * obj0 = 0 ;
11031
11032 if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
11033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11034 result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
11035
11036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11044 PyObject *resultobj;
11045 otk::Style *arg1 = (otk::Style *) 0 ;
11046 otk::PixmapMask *result;
11047 PyObject * obj0 = 0 ;
11048
11049 if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11051 result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11052
11053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11061 PyObject *resultobj;
11062 otk::Style *arg1 = (otk::Style *) 0 ;
11063 otk::BColor *result;
11064 PyObject * obj0 = 0 ;
11065
11066 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11068 result = (otk::BColor *)(arg1)->getTextFocus();
11069
11070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11071 return resultobj;
11072 fail:
11073 return NULL;
11074 }
11075
11076
11077 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11078 PyObject *resultobj;
11079 otk::Style *arg1 = (otk::Style *) 0 ;
11080 otk::BColor *result;
11081 PyObject * obj0 = 0 ;
11082
11083 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11085 result = (otk::BColor *)(arg1)->getTextUnfocus();
11086
11087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11095 PyObject *resultobj;
11096 otk::Style *arg1 = (otk::Style *) 0 ;
11097 otk::BColor *result;
11098 PyObject * obj0 = 0 ;
11099
11100 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11102 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11103
11104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11112 PyObject *resultobj;
11113 otk::Style *arg1 = (otk::Style *) 0 ;
11114 otk::BColor *result;
11115 PyObject * obj0 = 0 ;
11116
11117 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11119 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11120
11121 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11129 PyObject *resultobj;
11130 otk::Style *arg1 = (otk::Style *) 0 ;
11131 otk::BTexture *result;
11132 PyObject * obj0 = 0 ;
11133
11134 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 result = (otk::BTexture *)(arg1)->getTitleFocus();
11137
11138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11139 return resultobj;
11140 fail:
11141 return NULL;
11142 }
11143
11144
11145 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11146 PyObject *resultobj;
11147 otk::Style *arg1 = (otk::Style *) 0 ;
11148 otk::BTexture *result;
11149 PyObject * obj0 = 0 ;
11150
11151 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11153 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11154
11155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11163 PyObject *resultobj;
11164 otk::Style *arg1 = (otk::Style *) 0 ;
11165 otk::BTexture *result;
11166 PyObject * obj0 = 0 ;
11167
11168 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11170 result = (otk::BTexture *)(arg1)->getLabelFocus();
11171
11172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11180 PyObject *resultobj;
11181 otk::Style *arg1 = (otk::Style *) 0 ;
11182 otk::BTexture *result;
11183 PyObject * obj0 = 0 ;
11184
11185 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11187 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11188
11189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11197 PyObject *resultobj;
11198 otk::Style *arg1 = (otk::Style *) 0 ;
11199 otk::BTexture *result;
11200 PyObject * obj0 = 0 ;
11201
11202 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 result = (otk::BTexture *)(arg1)->getHandleFocus();
11205
11206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11214 PyObject *resultobj;
11215 otk::Style *arg1 = (otk::Style *) 0 ;
11216 otk::BTexture *result;
11217 PyObject * obj0 = 0 ;
11218
11219 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11221 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11222
11223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11224 return resultobj;
11225 fail:
11226 return NULL;
11227 }
11228
11229
11230 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11231 PyObject *resultobj;
11232 otk::Style *arg1 = (otk::Style *) 0 ;
11233 otk::BTexture *result;
11234 PyObject * obj0 = 0 ;
11235
11236 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11238 result = (otk::BTexture *)(arg1)->getButtonFocus();
11239
11240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11248 PyObject *resultobj;
11249 otk::Style *arg1 = (otk::Style *) 0 ;
11250 otk::BTexture *result;
11251 PyObject * obj0 = 0 ;
11252
11253 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11255 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11256
11257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11258 return resultobj;
11259 fail:
11260 return NULL;
11261 }
11262
11263
11264 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11265 PyObject *resultobj;
11266 otk::Style *arg1 = (otk::Style *) 0 ;
11267 otk::BTexture *result;
11268 PyObject * obj0 = 0 ;
11269
11270 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11272 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11273
11274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11282 PyObject *resultobj;
11283 otk::Style *arg1 = (otk::Style *) 0 ;
11284 otk::BTexture *result;
11285 PyObject * obj0 = 0 ;
11286
11287 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11289 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11290
11291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11299 PyObject *resultobj;
11300 otk::Style *arg1 = (otk::Style *) 0 ;
11301 otk::BTexture *result;
11302 PyObject * obj0 = 0 ;
11303
11304 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11306 result = (otk::BTexture *)(arg1)->getGripFocus();
11307
11308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11316 PyObject *resultobj;
11317 otk::Style *arg1 = (otk::Style *) 0 ;
11318 otk::BTexture *result;
11319 PyObject * obj0 = 0 ;
11320
11321 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11323 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11324
11325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11333 PyObject *resultobj;
11334 otk::Style *arg1 = (otk::Style *) 0 ;
11335 unsigned int result;
11336 PyObject * obj0 = 0 ;
11337
11338 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11341
11342 resultobj = PyInt_FromLong((long)result);
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11350 PyObject *resultobj;
11351 otk::Style *arg1 = (otk::Style *) 0 ;
11352 unsigned int result;
11353 PyObject * obj0 = 0 ;
11354
11355 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11357 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11358
11359 resultobj = PyInt_FromLong((long)result);
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11367 PyObject *resultobj;
11368 otk::Style *arg1 = (otk::Style *) 0 ;
11369 unsigned int result;
11370 PyObject * obj0 = 0 ;
11371
11372 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11375
11376 resultobj = PyInt_FromLong((long)result);
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11384 PyObject *resultobj;
11385 otk::Style *arg1 = (otk::Style *) 0 ;
11386 unsigned int result;
11387 PyObject * obj0 = 0 ;
11388
11389 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11391 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11392
11393 resultobj = PyInt_FromLong((long)result);
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11401 PyObject *resultobj;
11402 otk::Style *arg1 = (otk::Style *) 0 ;
11403 otk::BFont *result;
11404 PyObject * obj0 = 0 ;
11405
11406 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11408 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11409
11410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11418 PyObject *resultobj;
11419 otk::Style *arg1 = (otk::Style *) 0 ;
11420 bool arg2 ;
11421 PyObject * obj0 = 0 ;
11422 PyObject * obj1 = 0 ;
11423
11424 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11426 arg2 = (bool) PyInt_AsLong(obj1);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 (arg1)->setShadowFonts(arg2);
11429
11430 Py_INCREF(Py_None); resultobj = Py_None;
11431 return resultobj;
11432 fail:
11433 return NULL;
11434 }
11435
11436
11437 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11438 PyObject *resultobj;
11439 otk::Style *arg1 = (otk::Style *) 0 ;
11440 bool result;
11441 PyObject * obj0 = 0 ;
11442
11443 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11445 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11446
11447 resultobj = PyInt_FromLong((long)result);
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11455 PyObject *resultobj;
11456 otk::Style *arg1 = (otk::Style *) 0 ;
11457 bool arg2 ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460
11461 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11463 arg2 = (bool) PyInt_AsLong(obj1);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 (arg1)->setAAFonts(arg2);
11466
11467 Py_INCREF(Py_None); resultobj = Py_None;
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11475 PyObject *resultobj;
11476 otk::Style *arg1 = (otk::Style *) 0 ;
11477 bool result;
11478 PyObject * obj0 = 0 ;
11479
11480 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11482 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11483
11484 resultobj = PyInt_FromLong((long)result);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11492 PyObject *resultobj;
11493 otk::Style *arg1 = (otk::Style *) 0 ;
11494 int result;
11495 PyObject * obj0 = 0 ;
11496
11497 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11499 result = (int)(arg1)->textJustify();
11500
11501 resultobj = PyInt_FromLong((long)result);
11502 return resultobj;
11503 fail:
11504 return NULL;
11505 }
11506
11507
11508 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11509 PyObject *resultobj;
11510 otk::Style *arg1 = (otk::Style *) 0 ;
11511 int result;
11512 PyObject * obj0 = 0 ;
11513
11514 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11516 result = (int)(arg1)->bulletType();
11517
11518 resultobj = PyInt_FromLong((long)result);
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11526 PyObject *resultobj;
11527 otk::Style *arg1 = (otk::Style *) 0 ;
11528 otk::BColor *result;
11529 PyObject * obj0 = 0 ;
11530
11531 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11533 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11534
11535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11543 PyObject *resultobj;
11544 otk::Style *arg1 = (otk::Style *) 0 ;
11545 otk::BTexture *result;
11546 PyObject * obj0 = 0 ;
11547
11548 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11550 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11551
11552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11553 return resultobj;
11554 fail:
11555 return NULL;
11556 }
11557
11558
11559 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11560 PyObject *resultobj;
11561 otk::Style *arg1 = (otk::Style *) 0 ;
11562 otk::BTexture *result;
11563 PyObject * obj0 = 0 ;
11564
11565 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11567 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11568
11569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11577 PyObject *resultobj;
11578 otk::Style *arg1 = (otk::Style *) 0 ;
11579 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582
11583 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11586 (arg1)->setImageControl(arg2);
11587
11588 Py_INCREF(Py_None); resultobj = Py_None;
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11596 PyObject *resultobj;
11597 otk::Style *arg1 = (otk::Style *) 0 ;
11598 unsigned int result;
11599 PyObject * obj0 = 0 ;
11600
11601 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11603 result = (unsigned int)(arg1)->getScreen();
11604
11605 resultobj = PyInt_FromLong((long)result);
11606 return resultobj;
11607 fail:
11608 return NULL;
11609 }
11610
11611
11612 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11613 PyObject *obj;
11614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11615 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11616 Py_INCREF(obj);
11617 return Py_BuildValue((char *)"");
11618 }
11619 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11620 PyObject *resultobj;
11621 unsigned int arg1 = (unsigned int) ~(0u) ;
11622 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11623 otk::BTexture *result;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626
11627 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11628 if (obj0) {
11629 arg1 = (unsigned int) PyInt_AsLong(obj0);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 if (obj1) {
11633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11634 }
11635 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11636
11637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11645 PyObject *resultobj;
11646 std::string *arg1 = 0 ;
11647 unsigned int arg2 = (unsigned int) ~(0u) ;
11648 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11649 otk::BTexture *result;
11650 std::string temp1 ;
11651 PyObject * obj0 = 0 ;
11652 PyObject * obj1 = 0 ;
11653 PyObject * obj2 = 0 ;
11654
11655 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11656 {
11657 if (PyString_Check(obj0)) {
11658 temp1 = std::string(PyString_AsString(obj0));
11659 arg1 = &temp1;
11660 }else {
11661 SWIG_exception(SWIG_TypeError, "string expected");
11662 }
11663 }
11664 if (obj1) {
11665 arg2 = (unsigned int) PyInt_AsLong(obj1);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 if (obj2) {
11669 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 }
11671 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11672
11673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11674 return resultobj;
11675 fail:
11676 return NULL;
11677 }
11678
11679
11680 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11681 int argc;
11682 PyObject *argv[4];
11683 int ii;
11684
11685 argc = PyObject_Length(args);
11686 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11687 argv[ii] = PyTuple_GetItem(args,ii);
11688 }
11689 if ((argc >= 0) && (argc <= 2)) {
11690 int _v;
11691 if (argc <= 0) {
11692 return _wrap_new_BTexture__SWIG_0(self,args);
11693 }
11694 {
11695 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11696 }
11697 if (_v) {
11698 if (argc <= 1) {
11699 return _wrap_new_BTexture__SWIG_0(self,args);
11700 }
11701 {
11702 void *ptr;
11703 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11704 _v = 0;
11705 PyErr_Clear();
11706 }else {
11707 _v = 1;
11708 }
11709 }
11710 if (_v) {
11711 return _wrap_new_BTexture__SWIG_0(self,args);
11712 }
11713 }
11714 }
11715 if ((argc >= 1) && (argc <= 3)) {
11716 int _v;
11717 {
11718 _v = PyString_Check(argv[0]) ? 1 : 0;
11719 }
11720 if (_v) {
11721 if (argc <= 1) {
11722 return _wrap_new_BTexture__SWIG_1(self,args);
11723 }
11724 {
11725 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11726 }
11727 if (_v) {
11728 if (argc <= 2) {
11729 return _wrap_new_BTexture__SWIG_1(self,args);
11730 }
11731 {
11732 void *ptr;
11733 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11734 _v = 0;
11735 PyErr_Clear();
11736 }else {
11737 _v = 1;
11738 }
11739 }
11740 if (_v) {
11741 return _wrap_new_BTexture__SWIG_1(self,args);
11742 }
11743 }
11744 }
11745 }
11746
11747 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11753 PyObject *resultobj;
11754 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11755 otk::BColor *arg2 = 0 ;
11756 PyObject * obj0 = 0 ;
11757 PyObject * obj1 = 0 ;
11758
11759 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11762 if (arg2 == NULL) {
11763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11764 }
11765 (arg1)->setColor((otk::BColor const &)*arg2);
11766
11767 Py_INCREF(Py_None); resultobj = Py_None;
11768 return resultobj;
11769 fail:
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11775 PyObject *resultobj;
11776 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11777 otk::BColor *arg2 = 0 ;
11778 PyObject * obj0 = 0 ;
11779 PyObject * obj1 = 0 ;
11780
11781 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11784 if (arg2 == NULL) {
11785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11786 }
11787 (arg1)->setColorTo((otk::BColor const &)*arg2);
11788
11789 Py_INCREF(Py_None); resultobj = Py_None;
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11797 PyObject *resultobj;
11798 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11799 otk::BColor *arg2 = 0 ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802
11803 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11806 if (arg2 == NULL) {
11807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11808 }
11809 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11810
11811 Py_INCREF(Py_None); resultobj = Py_None;
11812 return resultobj;
11813 fail:
11814 return NULL;
11815 }
11816
11817
11818 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11819 PyObject *resultobj;
11820 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11821 otk::BColor *result;
11822 PyObject * obj0 = 0 ;
11823
11824 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11826 {
11827 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11828 result = (otk::BColor *) &_result_ref;
11829 }
11830
11831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11839 PyObject *resultobj;
11840 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11841 otk::BColor *result;
11842 PyObject * obj0 = 0 ;
11843
11844 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11846 {
11847 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11848 result = (otk::BColor *) &_result_ref;
11849 }
11850
11851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11859 PyObject *resultobj;
11860 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11861 otk::BColor *result;
11862 PyObject * obj0 = 0 ;
11863
11864 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11866 {
11867 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11868 result = (otk::BColor *) &_result_ref;
11869 }
11870
11871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11872 return resultobj;
11873 fail:
11874 return NULL;
11875 }
11876
11877
11878 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11879 PyObject *resultobj;
11880 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11881 otk::BColor *result;
11882 PyObject * obj0 = 0 ;
11883
11884 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11886 {
11887 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11888 result = (otk::BColor *) &_result_ref;
11889 }
11890
11891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11899 PyObject *resultobj;
11900 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11901 otk::BColor *result;
11902 PyObject * obj0 = 0 ;
11903
11904 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 {
11907 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11908 result = (otk::BColor *) &_result_ref;
11909 }
11910
11911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11912 return resultobj;
11913 fail:
11914 return NULL;
11915 }
11916
11917
11918 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11919 PyObject *resultobj;
11920 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11921 unsigned long result;
11922 PyObject * obj0 = 0 ;
11923
11924 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11926 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11927
11928 resultobj = PyInt_FromLong((long)result);
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11936 PyObject *resultobj;
11937 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11938 unsigned long arg2 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941
11942 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 arg2 = (unsigned long) PyInt_AsLong(obj1);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 (arg1)->setTexture(arg2);
11947
11948 Py_INCREF(Py_None); resultobj = Py_None;
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11956 PyObject *resultobj;
11957 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11958 unsigned long arg2 ;
11959 PyObject * obj0 = 0 ;
11960 PyObject * obj1 = 0 ;
11961
11962 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11964 arg2 = (unsigned long) PyInt_AsLong(obj1);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 (arg1)->addTexture(arg2);
11967
11968 Py_INCREF(Py_None); resultobj = Py_None;
11969 return resultobj;
11970 fail:
11971 return NULL;
11972 }
11973
11974
11975 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11976 PyObject *resultobj;
11977 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11978 otk::BTexture *arg2 = 0 ;
11979 bool result;
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982
11983 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 if (arg2 == NULL) {
11987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11988 }
11989 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11990
11991 resultobj = PyInt_FromLong((long)result);
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11999 PyObject *resultobj;
12000 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12001 unsigned int result;
12002 PyObject * obj0 = 0 ;
12003
12004 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12006 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
12007
12008 resultobj = PyInt_FromLong((long)result);
12009 return resultobj;
12010 fail:
12011 return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
12016 PyObject *resultobj;
12017 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12018 unsigned int arg2 ;
12019 PyObject * obj0 = 0 ;
12020 PyObject * obj1 = 0 ;
12021
12022 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
12023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12024 arg2 = (unsigned int) PyInt_AsLong(obj1);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 (arg1)->setScreen(arg2);
12027
12028 Py_INCREF(Py_None); resultobj = Py_None;
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
12036 PyObject *resultobj;
12037 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12038 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
12039 PyObject * obj0 = 0 ;
12040 PyObject * obj1 = 0 ;
12041
12042 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 (arg1)->setImageControl(arg2);
12046
12047 Py_INCREF(Py_None); resultobj = Py_None;
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12055 PyObject *resultobj;
12056 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12057 std::string *result;
12058 PyObject * obj0 = 0 ;
12059
12060 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12062 {
12063 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12064 result = (std::string *) &_result_ref;
12065 }
12066
12067 {
12068 resultobj = PyString_FromString(result->c_str());
12069 }
12070 return resultobj;
12071 fail:
12072 return NULL;
12073 }
12074
12075
12076 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12077 PyObject *resultobj;
12078 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12079 std::string *arg2 = 0 ;
12080 std::string temp2 ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083
12084 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12086 {
12087 if (PyString_Check(obj1)) {
12088 temp2 = std::string(PyString_AsString(obj1));
12089 arg2 = &temp2;
12090 }else {
12091 SWIG_exception(SWIG_TypeError, "string expected");
12092 }
12093 }
12094 (arg1)->setDescription((std::string const &)*arg2);
12095
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100 }
12101
12102
12103 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12104 PyObject *resultobj;
12105 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12106 unsigned int arg2 ;
12107 unsigned int arg3 ;
12108 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12109 Pixmap result;
12110 Pixmap *argp4 ;
12111 PyObject * obj0 = 0 ;
12112 PyObject * obj1 = 0 ;
12113 PyObject * obj2 = 0 ;
12114 PyObject * obj3 = 0 ;
12115
12116 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12118 arg2 = (unsigned int) PyInt_AsLong(obj1);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 arg3 = (unsigned int) PyInt_AsLong(obj2);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 if (obj3) {
12123 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12124 arg4 = *argp4;
12125 }
12126 result = (arg1)->render(arg2,arg3,arg4);
12127
12128 {
12129 Pixmap * resultptr;
12130 resultptr = new Pixmap((Pixmap &) result);
12131 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12132 }
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12140 PyObject *resultobj;
12141 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12142 PyObject * obj0 = 0 ;
12143
12144 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12146 delete arg1;
12147
12148 Py_INCREF(Py_None); resultobj = Py_None;
12149 return resultobj;
12150 fail:
12151 return NULL;
12152 }
12153
12154
12155 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12156 PyObject *obj;
12157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12158 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12159 Py_INCREF(obj);
12160 return Py_BuildValue((char *)"");
12161 }
12162 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12163 PyObject *resultobj;
12164 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12165 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12166 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12167 otk::OBTimer *result;
12168 PyObject * obj0 = 0 ;
12169 PyObject * obj1 = 0 ;
12170 PyObject * obj2 = 0 ;
12171
12172 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12175 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12177
12178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12179 return resultobj;
12180 fail:
12181 return NULL;
12182 }
12183
12184
12185 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12186 PyObject *resultobj;
12187 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12188 PyObject * obj0 = 0 ;
12189
12190 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 delete arg1;
12193
12194 Py_INCREF(Py_None); resultobj = Py_None;
12195 return resultobj;
12196 fail:
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12202 PyObject *resultobj;
12203 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12204 PyObject * obj0 = 0 ;
12205
12206 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12208 (arg1)->fire();
12209
12210 Py_INCREF(Py_None); resultobj = Py_None;
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12218 PyObject *resultobj;
12219 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12220 bool result;
12221 PyObject * obj0 = 0 ;
12222
12223 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12225 result = (bool)((otk::OBTimer const *)arg1)->timing();
12226
12227 resultobj = PyInt_FromLong((long)result);
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12235 PyObject *resultobj;
12236 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12237 bool result;
12238 PyObject * obj0 = 0 ;
12239
12240 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12243
12244 resultobj = PyInt_FromLong((long)result);
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12252 PyObject *resultobj;
12253 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12254 timeval *result;
12255 PyObject * obj0 = 0 ;
12256
12257 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 {
12260 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12261 result = (timeval *) &_result_ref;
12262 }
12263
12264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12272 PyObject *resultobj;
12273 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12274 timeval *result;
12275 PyObject * obj0 = 0 ;
12276
12277 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 {
12280 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12281 result = (timeval *) &_result_ref;
12282 }
12283
12284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12292 PyObject *resultobj;
12293 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12294 timeval *arg2 = 0 ;
12295 timeval result;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12298
12299 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12302 if (arg2 == NULL) {
12303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12304 }
12305 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12306
12307 {
12308 timeval * resultptr;
12309 resultptr = new timeval((timeval &) result);
12310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12311 }
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12319 PyObject *resultobj;
12320 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12321 timeval *arg2 = 0 ;
12322 bool result;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325
12326 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12329 if (arg2 == NULL) {
12330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12331 }
12332 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12333
12334 resultobj = PyInt_FromLong((long)result);
12335 return resultobj;
12336 fail:
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12342 PyObject *resultobj;
12343 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12344 timeval result;
12345 PyObject * obj0 = 0 ;
12346
12347 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12349 result = ((otk::OBTimer const *)arg1)->endTime();
12350
12351 {
12352 timeval * resultptr;
12353 resultptr = new timeval((timeval &) result);
12354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12355 }
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12363 PyObject *resultobj;
12364 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12365 bool arg2 ;
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368
12369 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 arg2 = (bool) PyInt_AsLong(obj1);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 (arg1)->setRecurring(arg2);
12374
12375 Py_INCREF(Py_None); resultobj = Py_None;
12376 return resultobj;
12377 fail:
12378 return NULL;
12379 }
12380
12381
12382 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12383 PyObject *resultobj;
12384 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12385 long arg2 ;
12386 PyObject * obj0 = 0 ;
12387
12388 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12390 (arg1)->setTimeout(arg2);
12391
12392 Py_INCREF(Py_None); resultobj = Py_None;
12393 return resultobj;
12394 fail:
12395 return NULL;
12396 }
12397
12398
12399 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12400 PyObject *resultobj;
12401 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12402 timeval *arg2 = 0 ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405
12406 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12409 if (arg2 == NULL) {
12410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12411 }
12412 (arg1)->setTimeout((timeval const &)*arg2);
12413
12414 Py_INCREF(Py_None); resultobj = Py_None;
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12422 int argc;
12423 PyObject *argv[3];
12424 int ii;
12425
12426 argc = PyObject_Length(args);
12427 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12428 argv[ii] = PyTuple_GetItem(args,ii);
12429 }
12430 if (argc == 2) {
12431 int _v;
12432 {
12433 void *ptr;
12434 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12435 _v = 0;
12436 PyErr_Clear();
12437 }else {
12438 _v = 1;
12439 }
12440 }
12441 if (_v) {
12442 {
12443 void *ptr;
12444 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12445 _v = 0;
12446 PyErr_Clear();
12447 }else {
12448 _v = 1;
12449 }
12450 }
12451 if (_v) {
12452 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12453 }
12454 }
12455 }
12456 if (argc == 2) {
12457 int _v;
12458 {
12459 void *ptr;
12460 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12461 _v = 0;
12462 PyErr_Clear();
12463 }else {
12464 _v = 1;
12465 }
12466 }
12467 if (_v) {
12468 {
12469 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12470 }
12471 if (_v) {
12472 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12473 }
12474 }
12475 }
12476
12477 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12483 PyObject *resultobj;
12484 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12485 PyObject * obj0 = 0 ;
12486
12487 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12489 (arg1)->start();
12490
12491 Py_INCREF(Py_None); resultobj = Py_None;
12492 return resultobj;
12493 fail:
12494 return NULL;
12495 }
12496
12497
12498 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12499 PyObject *resultobj;
12500 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12501 PyObject * obj0 = 0 ;
12502
12503 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12505 (arg1)->stop();
12506
12507 Py_INCREF(Py_None); resultobj = Py_None;
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12515 PyObject *obj;
12516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12517 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12518 Py_INCREF(obj);
12519 return Py_BuildValue((char *)"");
12520 }
12521 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12522 PyObject *resultobj;
12523 otk::OBTimerQueueManager *result;
12524
12525 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12526 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12527
12528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12536 PyObject *resultobj;
12537 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12538 PyObject * obj0 = 0 ;
12539
12540 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 delete arg1;
12543
12544 Py_INCREF(Py_None); resultobj = Py_None;
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12552 PyObject *resultobj;
12553 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12554 PyObject * obj0 = 0 ;
12555
12556 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12558 (arg1)->fire();
12559
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12568 PyObject *resultobj;
12569 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12570 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573
12574 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12577 (arg1)->addTimer(arg2);
12578
12579 Py_INCREF(Py_None); resultobj = Py_None;
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12587 PyObject *resultobj;
12588 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12589 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592
12593 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12596 (arg1)->removeTimer(arg2);
12597
12598 Py_INCREF(Py_None); resultobj = Py_None;
12599 return resultobj;
12600 fail:
12601 return NULL;
12602 }
12603
12604
12605 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12606 PyObject *obj;
12607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12608 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12609 Py_INCREF(obj);
12610 return Py_BuildValue((char *)"");
12611 }
12612 static int _wrap_BSENTINEL_set(PyObject *_val) {
12613 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12614 return 1;
12615 }
12616
12617
12618 static PyObject *_wrap_BSENTINEL_get() {
12619 PyObject *pyobj;
12620
12621 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12622 return pyobj;
12623 }
12624
12625
12626 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12627 PyObject *resultobj;
12628 std::string *arg1 = 0 ;
12629 std::string result;
12630 std::string temp1 ;
12631 PyObject * obj0 = 0 ;
12632
12633 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12634 {
12635 if (PyString_Check(obj0)) {
12636 temp1 = std::string(PyString_AsString(obj0));
12637 arg1 = &temp1;
12638 }else {
12639 SWIG_exception(SWIG_TypeError, "string expected");
12640 }
12641 }
12642 result = otk::expandTilde((std::string const &)*arg1);
12643
12644 {
12645 resultobj = PyString_FromString((&result)->c_str());
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12654 PyObject *resultobj;
12655 std::string *arg1 = 0 ;
12656 std::string *arg2 = 0 ;
12657 std::string temp1 ;
12658 std::string temp2 ;
12659 PyObject * obj0 = 0 ;
12660 PyObject * obj1 = 0 ;
12661
12662 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12663 {
12664 if (PyString_Check(obj0)) {
12665 temp1 = std::string(PyString_AsString(obj0));
12666 arg1 = &temp1;
12667 }else {
12668 SWIG_exception(SWIG_TypeError, "string expected");
12669 }
12670 }
12671 {
12672 if (PyString_Check(obj1)) {
12673 temp2 = std::string(PyString_AsString(obj1));
12674 arg2 = &temp2;
12675 }else {
12676 SWIG_exception(SWIG_TypeError, "string expected");
12677 }
12678 }
12679 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12680
12681 Py_INCREF(Py_None); resultobj = Py_None;
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12689 PyObject *resultobj;
12690 Display *arg1 = (Display *) 0 ;
12691 XTextProperty *arg2 = 0 ;
12692 std::string result;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695
12696 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12699 if (arg2 == NULL) {
12700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12701 }
12702 result = otk::textPropertyToString(arg1,*arg2);
12703
12704 {
12705 resultobj = PyString_FromString((&result)->c_str());
12706 }
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12714 PyObject *resultobj;
12715 unsigned long arg1 ;
12716 std::string result;
12717 PyObject * obj0 = 0 ;
12718
12719 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12720 arg1 = (unsigned long) PyInt_AsLong(obj0);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 result = otk::itostring(arg1);
12723
12724 {
12725 resultobj = PyString_FromString((&result)->c_str());
12726 }
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12734 PyObject *resultobj;
12735 long arg1 ;
12736 std::string result;
12737
12738 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12739 result = otk::itostring(arg1);
12740
12741 {
12742 resultobj = PyString_FromString((&result)->c_str());
12743 }
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12751 PyObject *resultobj;
12752 unsigned int arg1 ;
12753 std::string result;
12754 PyObject * obj0 = 0 ;
12755
12756 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12757 arg1 = (unsigned int) PyInt_AsLong(obj0);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 result = otk::itostring(arg1);
12760
12761 {
12762 resultobj = PyString_FromString((&result)->c_str());
12763 }
12764 return resultobj;
12765 fail:
12766 return NULL;
12767 }
12768
12769
12770 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12771 PyObject *resultobj;
12772 int arg1 ;
12773 std::string result;
12774
12775 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12776 result = otk::itostring(arg1);
12777
12778 {
12779 resultobj = PyString_FromString((&result)->c_str());
12780 }
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12788 PyObject *resultobj;
12789 std::string *arg1 = 0 ;
12790 std::string result;
12791 std::string temp1 ;
12792 PyObject * obj0 = 0 ;
12793
12794 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12795 {
12796 if (PyString_Check(obj0)) {
12797 temp1 = std::string(PyString_AsString(obj0));
12798 arg1 = &temp1;
12799 }else {
12800 SWIG_exception(SWIG_TypeError, "string expected");
12801 }
12802 }
12803 result = otk::basename((std::string const &)*arg1);
12804
12805 {
12806 resultobj = PyString_FromString((&result)->c_str());
12807 }
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyMethodDef SwigMethods[] = {
12815 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12816 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12817 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12818 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12819 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12820 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12821 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12822 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12823 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12824 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12825 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12826 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12827 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12828 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12829 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12830 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12831 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12832 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12833 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12834 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12835 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12836 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12837 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12838 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12839 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12840 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12841 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12842 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12843 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12844 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12845 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12846 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12847 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12848 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12849 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12850 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12851 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12852 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12853 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12854 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12855 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12856 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12857 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12858 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12859 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12860 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12861 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12862 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12863 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12864 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12865 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12866 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12867 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12868 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12869 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12870 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12871 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12872 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12873 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12874 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12875 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12876 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12877 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12878 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12879 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12880 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12881 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12882 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12883 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12884 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12885 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12886 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12887 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12888 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12889 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12890 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12891 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12892 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12893 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12894 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12895 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12896 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12897 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12898 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12899 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12900 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12901 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12902 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12903 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12904 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12905 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12906 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12907 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12908 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12909 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12910 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12911 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12912 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12913 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12914 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12915 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12916 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12917 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12918 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12919 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12920 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12921 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12922 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12923 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12924 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12925 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12926 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12927 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12928 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12929 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12930 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12931 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12932 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12933 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12934 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12935 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12936 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12937 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12938 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12939 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12940 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12941 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12942 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12943 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12944 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12945 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12946 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12947 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12948 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12949 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12950 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12951 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12952 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12953 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12954 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12955 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12956 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12957 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12958 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12959 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12960 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12961 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12962 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12963 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12964 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12965 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12966 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12967 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12968 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12969 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12970 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12971 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12972 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12973 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12974 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12975 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12976 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12977 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12978 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12979 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12980 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12981 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12982 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12983 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12984 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12985 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12986 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12987 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12988 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12989 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12990 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12991 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12992 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12993 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12994 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12995 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12996 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12997 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12998 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12999 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
13000 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
13001 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
13002 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
13003 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
13004 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
13005 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
13006 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
13007 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
13008 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
13009 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
13010 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
13011 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
13012 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
13013 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
13014 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
13015 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
13016 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
13017 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
13018 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
13019 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
13020 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
13021 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
13022 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
13023 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
13024 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
13025 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
13026 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
13027 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
13028 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
13029 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
13030 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
13031 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
13032 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
13033 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
13034 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
13035 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
13036 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
13037 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
13038 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
13039 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
13040 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
13041 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
13042 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
13043 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
13044 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
13045 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
13046 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
13047 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
13048 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
13049 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
13050 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
13051 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
13052 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
13053 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
13054 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
13055 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
13056 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
13057 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
13058 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
13059 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
13060 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
13061 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
13062 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
13063 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
13064 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
13065 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
13066 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
13067 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
13068 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
13069 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
13070 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
13071 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
13072 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
13073 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
13074 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
13075 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
13076 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
13077 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
13078 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13079 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13080 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13081 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13082 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13083 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13084 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13085 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13086 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13087 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13088 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13089 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13090 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13091 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13092 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13093 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13094 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13095 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13096 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13097 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13098 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13099 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13100 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13101 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13102 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13103 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13104 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13105 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13106 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13107 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13108 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13109 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13110 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13111 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13112 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13113 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13114 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13115 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13116 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13117 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13118 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13119 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13120 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13121 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13122 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13123 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13124 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13125 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13126 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13127 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13128 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13129 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13130 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13131 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13132 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13133 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13134 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13135 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13136 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13137 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13138 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13139 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13140 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13141 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13142 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13143 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13144 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13145 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13146 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13147 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13148 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13149 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13150 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13151 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13152 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13153 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13154 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13155 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13156 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13157 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13158 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13159 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13160 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13161 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13162 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13163 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13164 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13165 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13166 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13167 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13168 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13169 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13170 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13171 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13172 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13173 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13174 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13175 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13176 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13177 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13178 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13179 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13180 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13181 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13182 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13183 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13184 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13185 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13186 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13187 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13188 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13189 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13190 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13191 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13192 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13193 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13194 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13195 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13196 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13197 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13198 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13199 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13200 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13201 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13202 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13203 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13204 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13205 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13206 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13207 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13208 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13209 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13210 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13211 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13212 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
13213 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
13214 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
13215 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
13216 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13217 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13218 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13219 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13220 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13221 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13222 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13223 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13224 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13225 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13226 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13227 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13228 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13229 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13230 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13231 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13232 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13233 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13234 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13235 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13236 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13237 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13238 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13239 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13240 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13241 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13242 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13243 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13244 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13245 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13246 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13247 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13248 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13249 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13250 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13251 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13252 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13253 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13254 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13255 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13256 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13257 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13258 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13259 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13260 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13261 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13262 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13263 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13264 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13265 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13266 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13267 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13268 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13269 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13270 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13271 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13272 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13273 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13274 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13275 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13276 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13277 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13278 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13279 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13280 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13281 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13282 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13283 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13284 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13285 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13286 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13287 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13288 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13289 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13290 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13291 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13292 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13293 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13294 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13295 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13296 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13297 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13298 { (char *)"basename", _wrap_basename, METH_VARARGS },
13299 { NULL, NULL }
13300 };
13301
13302
13303 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13304
13305 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13306 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13307 }
13308 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13309 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13310 }
13311 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13312 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13313 }
13314 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13315 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13316 }
13317 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13318 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13319 }
13320 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13321 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13322 }
13323 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13324 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13325 }
13326 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13327 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13328 }
13329 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13330 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13331 }
13332 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13333 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13334 }
13335 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13336 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13337 }
13338 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13339 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13340 }
13341 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13342 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13343 }
13344 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13345 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13346 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13347 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13348 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13349 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13350 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13351 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13352 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13353 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13354 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13355 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13356 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13357 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13358 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13359 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13360 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13361 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13362 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13363 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13364 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13365 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13366 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13367 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13368 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13369 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13370 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13371 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13372 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}};
13373 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}};
13374 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13375 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13376 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13377 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13378 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13379 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13380 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13381 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13382 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13383 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13384 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13385 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13386 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13387 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13388 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}};
13389 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13390 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13391 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13392 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13393 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13394 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13395 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13396 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13397 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}};
13398 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13399 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}};
13400 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13401 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13402 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13403 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13404 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13405 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13406 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13407 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13408 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13409 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13410 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13411 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13412 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13413 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13414 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13415 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13416 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13417 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13418 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13419 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13420 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13421 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13422 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13423 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13424 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13425 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13426 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13427 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13428 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13429
13430 static swig_type_info *swig_types_initial[] = {
13431 _swigt__p_otk__BGCCache,
13432 _swigt__p_otk__BColor,
13433 _swigt__p_otk__OBProperty__StringVect,
13434 _swigt__p_XFontStruct,
13435 _swigt__p_otk__Configuration,
13436 _swigt__p_otk__PixmapMask,
13437 _swigt__p_Atom,
13438 _swigt__p_otk__PointerAssassin,
13439 _swigt__p_otk__BImage,
13440 _swigt__p_otk__OBTimer,
13441 _swigt__p_otk__OtkWidget__OtkWidgetList,
13442 _swigt__p_bool,
13443 _swigt__p_otk__OBDisplay,
13444 _swigt__p_Display,
13445 _swigt__p_p_XColor,
13446 _swigt__p_XReparentEvent,
13447 _swigt__p_otk__BPen,
13448 _swigt__p_otk__BImageControl,
13449 _swigt__p_otk__OtkButton,
13450 _swigt__p_otk__Rect,
13451 _swigt__p_otk__Style,
13452 _swigt__p_XSelectionClearEvent,
13453 _swigt__p_Visual,
13454 _swigt__p_timeval,
13455 _swigt__p_int,
13456 _swigt__p_otk__Strut,
13457 _swigt__p_otk__OtkApplication,
13458 _swigt__p_XRectangle,
13459 _swigt__p_otk__OtkFocusWidget,
13460 _swigt__p_otk__OtkWidget,
13461 _swigt__p_Cursor,
13462 _swigt__p_Colormap,
13463 _swigt__p_XGravityEvent,
13464 _swigt__p_XVisibilityEvent,
13465 _swigt__p_XPropertyEvent,
13466 _swigt__p_Window,
13467 _swigt__p_otk__BGCCacheContext,
13468 _swigt__p_XCreateWindowEvent,
13469 _swigt__p_XDestroyWindowEvent,
13470 _swigt__p_XCirculateEvent,
13471 _swigt__p_XConfigureEvent,
13472 _swigt__p_otk__OBProperty,
13473 _swigt__p_long,
13474 _swigt__p_XTextProperty,
13475 _swigt__p_otk__OtkEventHandler,
13476 _swigt__p_XCirculateRequestEvent,
13477 _swigt__p_XConfigureRequestEvent,
13478 _swigt__p_XMapRequestEvent,
13479 _swigt__p_XResizeRequestEvent,
13480 _swigt__p_XSelectionRequestEvent,
13481 _swigt__otk__OBTimeoutHandler,
13482 _swigt__p_XftDraw,
13483 _swigt__p_otk__ScreenInfo,
13484 _swigt__p_otk__OtkFocusLabel,
13485 _swigt__p_otk__BTexture,
13486 _swigt__p_otk__OtkEventDispatcher,
13487 _swigt__p_otk__BFont,
13488 _swigt__p_otk__Point,
13489 _swigt__p_p_char,
13490 _swigt__p_XMotionEvent,
13491 _swigt__p_XButtonEvent,
13492 _swigt__p_XSelectionEvent,
13493 _swigt__p_Pixmap,
13494 _swigt__p_GC,
13495 _swigt__p_otk__OBTimerQueueManager,
13496 _swigt__p_otk__OtkAppWidget,
13497 _swigt__p_XKeyEvent,
13498 _swigt__p_unsigned_long,
13499 _swigt__p_XEvent,
13500 _swigt__p_p_unsigned_long,
13501 _swigt__p_std__string,
13502 _swigt__p_XCrossingEvent,
13503 _swigt__p_XMappingEvent,
13504 _swigt__p_otk__BGCCacheItem,
13505 _swigt__p_p_unsigned_int,
13506 _swigt__p_unsigned_int,
13507 _swigt__p_p_unsigned_char,
13508 _swigt__p_XClientMessageEvent,
13509 _swigt__p_XGraphicsExposeEvent,
13510 _swigt__p_XExposeEvent,
13511 _swigt__p_XFocusChangeEvent,
13512 _swigt__p_XNoExposeEvent,
13513 _swigt__p_XMapEvent,
13514 _swigt__p_XUnmapEvent,
13515 _swigt__p_XColormapEvent,
13516 0
13517 };
13518
13519
13520 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13521
13522 static swig_const_info swig_const_table[] = {
13523 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13524 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13525 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13526 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13527 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13528 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13529 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13530 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13531 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13532 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13533 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13534 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13535 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13536 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13537 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13538 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13539 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13540 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13541 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13542 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13543 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13544 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13545 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13546 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13547 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13548 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13549 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13550 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13551 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13552 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13553 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13554 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13555 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13556 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13557 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13558 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13559 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13560 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13561 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13562 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13563 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13564 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13565 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13566 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13567 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13568 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13569 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13570 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13571 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13572 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13573 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13574 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13575 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13576 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13577 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13578 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13579 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13580 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13581 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13582 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13583 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13584 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13585 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13586 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13587 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13588 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13589 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13590 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13591 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13592 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13593 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13594 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13595 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13596 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13597 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13598 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13599 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13600 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13601 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13602 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
13603 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13604 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13605 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13606 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13607 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13608 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13609 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13610 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
13611 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
13612 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13613 { 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},
13614 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13615 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13616 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13617 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13618 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13619 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13620 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13621 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13622 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13623 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13624 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13625 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13626 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13627 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13628 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13629 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13630 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13631 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13632 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13633 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13634 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13635 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13636 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13637 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13638 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13639 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13640 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13641 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13642 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13643 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13644 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13645 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13646 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13647 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13648 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13649 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13650 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13651 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13652 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13653 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13654 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13655 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13656 {0}};
13657
13658 #ifdef __cplusplus
13659 }
13660 #endif
13661
13662 #ifdef __cplusplus
13663 extern "C"
13664 #endif
13665 SWIGEXPORT(void) SWIG_init(void) {
13666 static PyObject *SWIG_globals = 0;
13667 static int typeinit = 0;
13668 PyObject *m, *d;
13669 int i;
13670 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13671 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13672 d = PyModule_GetDict(m);
13673
13674 if (!typeinit) {
13675 for (i = 0; swig_types_initial[i]; i++) {
13676 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13677 }
13678 typeinit = 1;
13679 }
13680 SWIG_InstallConstants(d,swig_const_table);
13681
13682 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13683 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13684 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13685 }
13686
This page took 0.751794 seconds and 5 git commands to generate.