]> Dogcows Code - chaz/openbox/blob - otk/otk_wrap.cc
dc8db8e712394ea77a11f56a3d2fd8acba13237c
[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_Time swig_types[39]
688 #define SWIGTYPE_p_XCirculateEvent swig_types[40]
689 #define SWIGTYPE_p_XConfigureEvent swig_types[41]
690 #define SWIGTYPE_p_long swig_types[42]
691 #define SWIGTYPE_p_otk__OBProperty swig_types[43]
692 #define SWIGTYPE_p_XTextProperty swig_types[44]
693 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[45]
694 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[46]
695 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[47]
696 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XMapRequestEvent swig_types[49]
698 #define SWIGTYPE_p_XResizeRequestEvent swig_types[50]
699 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[51]
700 #define SWIGTYPE_p_XftDraw swig_types[52]
701 #define SWIGTYPE_p_otk__ScreenInfo swig_types[53]
702 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[54]
703 #define SWIGTYPE_p_otk__BTexture swig_types[55]
704 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[56]
705 #define SWIGTYPE_p_otk__BFont swig_types[57]
706 #define SWIGTYPE_p_otk__Point swig_types[58]
707 #define SWIGTYPE_p_p_char swig_types[59]
708 #define SWIGTYPE_p_XMotionEvent swig_types[60]
709 #define SWIGTYPE_p_XButtonEvent swig_types[61]
710 #define SWIGTYPE_p_XSelectionEvent swig_types[62]
711 #define SWIGTYPE_p_Pixmap swig_types[63]
712 #define SWIGTYPE_p_GC swig_types[64]
713 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[65]
714 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[66]
715 #define SWIGTYPE_p_XKeyEvent swig_types[67]
716 #define SWIGTYPE_p_unsigned_long swig_types[68]
717 #define SWIGTYPE_p_XEvent swig_types[69]
718 #define SWIGTYPE_p_p_unsigned_long swig_types[70]
719 #define SWIGTYPE_p_std__string swig_types[71]
720 #define SWIGTYPE_p_XCrossingEvent swig_types[72]
721 #define SWIGTYPE_p_XMappingEvent swig_types[73]
722 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[74]
723 #define SWIGTYPE_p_p_unsigned_int swig_types[75]
724 #define SWIGTYPE_p_unsigned_int swig_types[76]
725 #define SWIGTYPE_p_p_unsigned_char swig_types[77]
726 #define SWIGTYPE_p_XClientMessageEvent swig_types[78]
727 #define SWIGTYPE_p_XExposeEvent swig_types[79]
728 #define SWIGTYPE_p_XFocusChangeEvent swig_types[80]
729 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[81]
730 #define SWIGTYPE_p_XNoExposeEvent swig_types[82]
731 #define SWIGTYPE_p_XMapEvent swig_types[83]
732 #define SWIGTYPE_p_XUnmapEvent swig_types[84]
733 #define SWIGTYPE_p_XColormapEvent swig_types[85]
734 static swig_type_info *swig_types[87];
735
736 /* -------- TYPES TABLE (END) -------- */
737
738
739 /*-----------------------------------------------
740 @(target):= _otk.so
741 ------------------------------------------------*/
742 #define SWIG_init init_otk
743
744 #define SWIG_name "_otk"
745
746 #ifdef HAVE_CONFIG_H
747 # include "../config.h"
748 #endif
749
750 #include "application.hh"
751 #include "appwidget.hh"
752 #include "assassin.hh"
753 #include "button.hh"
754 #include "color.hh"
755 #include "configuration.hh"
756 #include "display.hh"
757 #include "eventdispatcher.hh"
758 #include "eventhandler.hh"
759 #include "focuslabel.hh"
760 #include "focuswidget.hh"
761 #include "font.hh"
762 #include "gccache.hh"
763 #include "image.hh"
764 #include "label.hh"
765 #include "point.hh"
766 #include "property.hh"
767 #include "rect.hh"
768 #include "screeninfo.hh"
769 #include "strut.hh"
770 #include "style.hh"
771 #include "texture.hh"
772 #include "timer.hh"
773 #include "timerqueue.hh"
774 #include "timerqueuemanager.hh"
775 #include "util.hh"
776 #include "widget.hh"
777
778
779 #define SWIG_MemoryError 1
780 #define SWIG_IOError 2
781 #define SWIG_RuntimeError 3
782 #define SWIG_IndexError 4
783 #define SWIG_TypeError 5
784 #define SWIG_DivisionByZero 6
785 #define SWIG_OverflowError 7
786 #define SWIG_SyntaxError 8
787 #define SWIG_ValueError 9
788 #define SWIG_SystemError 10
789 #define SWIG_UnknownError 99
790
791
792 static void _SWIG_exception(int code, const char *msg) {
793 switch(code) {
794 case SWIG_MemoryError:
795 PyErr_SetString(PyExc_MemoryError,msg);
796 break;
797 case SWIG_IOError:
798 PyErr_SetString(PyExc_IOError,msg);
799 break;
800 case SWIG_RuntimeError:
801 PyErr_SetString(PyExc_RuntimeError,msg);
802 break;
803 case SWIG_IndexError:
804 PyErr_SetString(PyExc_IndexError,msg);
805 break;
806 case SWIG_TypeError:
807 PyErr_SetString(PyExc_TypeError,msg);
808 break;
809 case SWIG_DivisionByZero:
810 PyErr_SetString(PyExc_ZeroDivisionError,msg);
811 break;
812 case SWIG_OverflowError:
813 PyErr_SetString(PyExc_OverflowError,msg);
814 break;
815 case SWIG_SyntaxError:
816 PyErr_SetString(PyExc_SyntaxError,msg);
817 break;
818 case SWIG_ValueError:
819 PyErr_SetString(PyExc_ValueError,msg);
820 break;
821 case SWIG_SystemError:
822 PyErr_SetString(PyExc_SystemError,msg);
823 break;
824 default:
825 PyErr_SetString(PyExc_RuntimeError,msg);
826 break;
827 }
828 }
829
830 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
831
832
833 #include <string>
834
835
836 #include <string>
837
838 static PyObject* SwigInt_FromBool(bool b) {
839 return PyInt_FromLong(b ? 1L : 0L);
840 }
841 static double SwigNumber_Check(PyObject* o) {
842 return PyFloat_Check(o) || PyInt_Check(o);
843 }
844 static double SwigNumber_AsDouble(PyObject* o) {
845 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
846 }
847 static PyObject* SwigString_FromString(const std::string& s) {
848 return PyString_FromString(s.c_str());
849 }
850 static std::string SwigString_AsString(PyObject* o) {
851 return std::string(PyString_AsString(o));
852 }
853
854
855 #include <vector>
856 #include <algorithm>
857 #include <stdexcept>
858
859 #ifdef __cplusplus
860 extern "C" {
861 #endif
862 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
863 PyObject *resultobj;
864 otk::OtkEventDispatcher *result;
865
866 if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
867 result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
868
869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
870 return resultobj;
871 fail:
872 return NULL;
873 }
874
875
876 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
877 PyObject *resultobj;
878 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
879 PyObject * obj0 = 0 ;
880
881 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
883 delete arg1;
884
885 Py_INCREF(Py_None); resultobj = Py_None;
886 return resultobj;
887 fail:
888 return NULL;
889 }
890
891
892 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
893 PyObject *resultobj;
894 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
895 PyObject * obj0 = 0 ;
896
897 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
899 (arg1)->clearAllHandlers();
900
901 Py_INCREF(Py_None); resultobj = Py_None;
902 return resultobj;
903 fail:
904 return NULL;
905 }
906
907
908 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
909 PyObject *resultobj;
910 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
911 Window arg2 ;
912 otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
913 Window *argp2 ;
914 PyObject * obj0 = 0 ;
915 PyObject * obj1 = 0 ;
916 PyObject * obj2 = 0 ;
917
918 if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
920 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
921 arg2 = *argp2;
922 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
923 (arg1)->registerHandler(arg2,arg3);
924
925 Py_INCREF(Py_None); resultobj = Py_None;
926 return resultobj;
927 fail:
928 return NULL;
929 }
930
931
932 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
933 PyObject *resultobj;
934 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
935 Window arg2 ;
936 Window *argp2 ;
937 PyObject * obj0 = 0 ;
938 PyObject * obj1 = 0 ;
939
940 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
942 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
943 arg2 = *argp2;
944 (arg1)->clearHandler(arg2);
945
946 Py_INCREF(Py_None); resultobj = Py_None;
947 return resultobj;
948 fail:
949 return NULL;
950 }
951
952
953 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
954 PyObject *resultobj;
955 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
956 PyObject * obj0 = 0 ;
957
958 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
960 (arg1)->dispatchEvents();
961
962 Py_INCREF(Py_None); resultobj = Py_None;
963 return resultobj;
964 fail:
965 return NULL;
966 }
967
968
969 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
970 PyObject *resultobj;
971 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
972 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
973 PyObject * obj0 = 0 ;
974 PyObject * obj1 = 0 ;
975
976 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
979 (arg1)->setFallbackHandler(arg2);
980
981 Py_INCREF(Py_None); resultobj = Py_None;
982 return resultobj;
983 fail:
984 return NULL;
985 }
986
987
988 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
989 PyObject *resultobj;
990 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
991 otk::OtkEventHandler *result;
992 PyObject * obj0 = 0 ;
993
994 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
996 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
997
998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
999 return resultobj;
1000 fail:
1001 return NULL;
1002 }
1003
1004
1005 static PyObject *_wrap_OtkEventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
1006 PyObject *resultobj;
1007 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1008 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1009 PyObject * obj0 = 0 ;
1010 PyObject * obj1 = 0 ;
1011
1012 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
1013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1015 (arg1)->setMasterHandler(arg2);
1016
1017 Py_INCREF(Py_None); resultobj = Py_None;
1018 return resultobj;
1019 fail:
1020 return NULL;
1021 }
1022
1023
1024 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1025 PyObject *resultobj;
1026 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1027 otk::OtkEventHandler *result;
1028 PyObject * obj0 = 0 ;
1029
1030 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1032 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1033
1034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1035 return resultobj;
1036 fail:
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1042 PyObject *resultobj;
1043 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1044 Window arg2 ;
1045 otk::OtkEventHandler *result;
1046 Window *argp2 ;
1047 PyObject * obj0 = 0 ;
1048 PyObject * obj1 = 0 ;
1049
1050 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1052 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1053 arg2 = *argp2;
1054 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1055
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1057 return resultobj;
1058 fail:
1059 return NULL;
1060 }
1061
1062
1063 static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) {
1064 PyObject *resultobj;
1065 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1066 Time result;
1067 PyObject * obj0 = 0 ;
1068
1069 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail;
1070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1071 result = ((otk::OtkEventDispatcher const *)arg1)->lastTime();
1072
1073 {
1074 Time * resultptr;
1075 resultptr = new Time((Time &) result);
1076 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Time, 1);
1077 }
1078 return resultobj;
1079 fail:
1080 return NULL;
1081 }
1082
1083
1084 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1085 PyObject *obj;
1086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1087 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1088 Py_INCREF(obj);
1089 return Py_BuildValue((char *)"");
1090 }
1091 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1092 PyObject *resultobj;
1093 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1094 XEvent *arg2 = 0 ;
1095 PyObject * obj0 = 0 ;
1096 PyObject * obj1 = 0 ;
1097
1098 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&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_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1101 if (arg2 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1103 }
1104 (arg1)->handle((XEvent 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_keyPressHandler(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_keyPressHandler",&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)->keyPressHandler((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_keyReleaseHandler(PyObject *self, PyObject *args) {
1136 PyObject *resultobj;
1137 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1138 XKeyEvent *arg2 = 0 ;
1139 PyObject * obj0 = 0 ;
1140 PyObject * obj1 = 0 ;
1141
1142 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&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_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1145 if (arg2 == NULL) {
1146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1147 }
1148 (arg1)->keyReleaseHandler((XKeyEvent 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_buttonPressHandler(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_buttonPressHandler",&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)->buttonPressHandler((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_buttonReleaseHandler(PyObject *self, PyObject *args) {
1180 PyObject *resultobj;
1181 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1182 XButtonEvent *arg2 = 0 ;
1183 PyObject * obj0 = 0 ;
1184 PyObject * obj1 = 0 ;
1185
1186 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&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_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1189 if (arg2 == NULL) {
1190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1191 }
1192 (arg1)->buttonReleaseHandler((XButtonEvent 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_motionHandler(PyObject *self, PyObject *args) {
1202 PyObject *resultobj;
1203 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1204 XMotionEvent *arg2 = 0 ;
1205 PyObject * obj0 = 0 ;
1206 PyObject * obj1 = 0 ;
1207
1208 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&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_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1211 if (arg2 == NULL) {
1212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1213 }
1214 (arg1)->motionHandler((XMotionEvent 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_enterHandler(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_enterHandler",&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)->enterHandler((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_leaveHandler(PyObject *self, PyObject *args) {
1246 PyObject *resultobj;
1247 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1248 XCrossingEvent *arg2 = 0 ;
1249 PyObject * obj0 = 0 ;
1250 PyObject * obj1 = 0 ;
1251
1252 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&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_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1255 if (arg2 == NULL) {
1256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1257 }
1258 (arg1)->leaveHandler((XCrossingEvent 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_focusHandler(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_focusHandler",&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)->focusHandler((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_unfocusHandler(PyObject *self, PyObject *args) {
1290 PyObject *resultobj;
1291 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1292 XFocusChangeEvent *arg2 = 0 ;
1293 PyObject * obj0 = 0 ;
1294 PyObject * obj1 = 0 ;
1295
1296 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&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_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1299 if (arg2 == NULL) {
1300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1301 }
1302 (arg1)->unfocusHandler((XFocusChangeEvent 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_exposeHandler(PyObject *self, PyObject *args) {
1312 PyObject *resultobj;
1313 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1314 XExposeEvent *arg2 = 0 ;
1315 PyObject * obj0 = 0 ;
1316 PyObject * obj1 = 0 ;
1317
1318 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&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_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1321 if (arg2 == NULL) {
1322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1323 }
1324 (arg1)->exposeHandler((XExposeEvent 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_graphicsExposeHandler(PyObject *self, PyObject *args) {
1334 PyObject *resultobj;
1335 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1336 XGraphicsExposeEvent *arg2 = 0 ;
1337 PyObject * obj0 = 0 ;
1338 PyObject * obj1 = 0 ;
1339
1340 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&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_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1343 if (arg2 == NULL) {
1344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1345 }
1346 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent 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_noExposeEventHandler(PyObject *self, PyObject *args) {
1356 PyObject *resultobj;
1357 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1358 XNoExposeEvent *arg2 = 0 ;
1359 PyObject * obj0 = 0 ;
1360 PyObject * obj1 = 0 ;
1361
1362 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&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_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 if (arg2 == NULL) {
1366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1367 }
1368 (arg1)->noExposeEventHandler((XNoExposeEvent 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_circulateRequestHandler(PyObject *self, PyObject *args) {
1378 PyObject *resultobj;
1379 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1380 XCirculateRequestEvent *arg2 = 0 ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383
1384 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&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_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1387 if (arg2 == NULL) {
1388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1389 }
1390 (arg1)->circulateRequestHandler((XCirculateRequestEvent 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_configureRequestHandler(PyObject *self, PyObject *args) {
1400 PyObject *resultobj;
1401 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1402 XConfigureRequestEvent *arg2 = 0 ;
1403 PyObject * obj0 = 0 ;
1404 PyObject * obj1 = 0 ;
1405
1406 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&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_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 if (arg2 == NULL) {
1410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1411 }
1412 (arg1)->configureRequestHandler((XConfigureRequestEvent 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_mapRequestHandler(PyObject *self, PyObject *args) {
1422 PyObject *resultobj;
1423 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1424 XMapRequestEvent *arg2 = 0 ;
1425 PyObject * obj0 = 0 ;
1426 PyObject * obj1 = 0 ;
1427
1428 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&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_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (arg2 == NULL) {
1432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1433 }
1434 (arg1)->mapRequestHandler((XMapRequestEvent 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_resizeRequestHandler(PyObject *self, PyObject *args) {
1444 PyObject *resultobj;
1445 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1446 XResizeRequestEvent *arg2 = 0 ;
1447 PyObject * obj0 = 0 ;
1448 PyObject * obj1 = 0 ;
1449
1450 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&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_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1453 if (arg2 == NULL) {
1454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1455 }
1456 (arg1)->resizeRequestHandler((XResizeRequestEvent 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_circulateHandler(PyObject *self, PyObject *args) {
1466 PyObject *resultobj;
1467 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1468 XCirculateEvent *arg2 = 0 ;
1469 PyObject * obj0 = 0 ;
1470 PyObject * obj1 = 0 ;
1471
1472 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&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_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 if (arg2 == NULL) {
1476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1477 }
1478 (arg1)->circulateHandler((XCirculateEvent 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_configureHandler(PyObject *self, PyObject *args) {
1488 PyObject *resultobj;
1489 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1490 XConfigureEvent *arg2 = 0 ;
1491 PyObject * obj0 = 0 ;
1492 PyObject * obj1 = 0 ;
1493
1494 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&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_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1497 if (arg2 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1499 }
1500 (arg1)->configureHandler((XConfigureEvent 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_createHandler(PyObject *self, PyObject *args) {
1510 PyObject *resultobj;
1511 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1512 XCreateWindowEvent *arg2 = 0 ;
1513 PyObject * obj0 = 0 ;
1514 PyObject * obj1 = 0 ;
1515
1516 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&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_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 if (arg2 == NULL) {
1520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1521 }
1522 (arg1)->createHandler((XCreateWindowEvent 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_destroyHandler(PyObject *self, PyObject *args) {
1532 PyObject *resultobj;
1533 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1534 XDestroyWindowEvent *arg2 = 0 ;
1535 PyObject * obj0 = 0 ;
1536 PyObject * obj1 = 0 ;
1537
1538 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&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_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 if (arg2 == NULL) {
1542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1543 }
1544 (arg1)->destroyHandler((XDestroyWindowEvent 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_gravityHandler(PyObject *self, PyObject *args) {
1554 PyObject *resultobj;
1555 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1556 XGravityEvent *arg2 = 0 ;
1557 PyObject * obj0 = 0 ;
1558 PyObject * obj1 = 0 ;
1559
1560 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&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_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 if (arg2 == NULL) {
1564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1565 }
1566 (arg1)->gravityHandler((XGravityEvent 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_mapHandler(PyObject *self, PyObject *args) {
1576 PyObject *resultobj;
1577 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1578 XMapEvent *arg2 = 0 ;
1579 PyObject * obj0 = 0 ;
1580 PyObject * obj1 = 0 ;
1581
1582 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&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_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1585 if (arg2 == NULL) {
1586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1587 }
1588 (arg1)->mapHandler((XMapEvent 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_mappingHandler(PyObject *self, PyObject *args) {
1598 PyObject *resultobj;
1599 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1600 XMappingEvent *arg2 = 0 ;
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603
1604 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&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_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607 if (arg2 == NULL) {
1608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1609 }
1610 (arg1)->mappingHandler((XMappingEvent 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_reparentHandler(PyObject *self, PyObject *args) {
1620 PyObject *resultobj;
1621 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1622 XReparentEvent *arg2 = 0 ;
1623 PyObject * obj0 = 0 ;
1624 PyObject * obj1 = 0 ;
1625
1626 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&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_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if (arg2 == NULL) {
1630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1631 }
1632 (arg1)->reparentHandler((XReparentEvent 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_unmapHandler(PyObject *self, PyObject *args) {
1642 PyObject *resultobj;
1643 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1644 XUnmapEvent *arg2 = 0 ;
1645 PyObject * obj0 = 0 ;
1646 PyObject * obj1 = 0 ;
1647
1648 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&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_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1651 if (arg2 == NULL) {
1652 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1653 }
1654 (arg1)->unmapHandler((XUnmapEvent 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_visibilityHandler(PyObject *self, PyObject *args) {
1664 PyObject *resultobj;
1665 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1666 XVisibilityEvent *arg2 = 0 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1669
1670 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&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_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 if (arg2 == NULL) {
1674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1675 }
1676 (arg1)->visibilityHandler((XVisibilityEvent 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_colorMapHandler(PyObject *self, PyObject *args) {
1686 PyObject *resultobj;
1687 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1688 XColormapEvent *arg2 = 0 ;
1689 PyObject * obj0 = 0 ;
1690 PyObject * obj1 = 0 ;
1691
1692 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&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_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1695 if (arg2 == NULL) {
1696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1697 }
1698 (arg1)->colorMapHandler((XColormapEvent 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_propertyHandler(PyObject *self, PyObject *args) {
1708 PyObject *resultobj;
1709 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1710 XPropertyEvent *arg2 = 0 ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713
1714 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&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_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717 if (arg2 == NULL) {
1718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1719 }
1720 (arg1)->propertyHandler((XPropertyEvent 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_selectionClearHandler(PyObject *self, PyObject *args) {
1730 PyObject *resultobj;
1731 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1732 XSelectionClearEvent *arg2 = 0 ;
1733 PyObject * obj0 = 0 ;
1734 PyObject * obj1 = 0 ;
1735
1736 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&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_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1739 if (arg2 == NULL) {
1740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1741 }
1742 (arg1)->selectionClearHandler((XSelectionClearEvent 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_selectionHandler(PyObject *self, PyObject *args) {
1752 PyObject *resultobj;
1753 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1754 XSelectionEvent *arg2 = 0 ;
1755 PyObject * obj0 = 0 ;
1756 PyObject * obj1 = 0 ;
1757
1758 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&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_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1761 if (arg2 == NULL) {
1762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1763 }
1764 (arg1)->selectionHandler((XSelectionEvent 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_selectionRequestHandler(PyObject *self, PyObject *args) {
1774 PyObject *resultobj;
1775 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1776 XSelectionRequestEvent *arg2 = 0 ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj1 = 0 ;
1779
1780 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&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_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 if (arg2 == NULL) {
1784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1785 }
1786 (arg1)->selectionRequestHandler((XSelectionRequestEvent 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_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1796 PyObject *resultobj;
1797 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1798 XClientMessageEvent *arg2 = 0 ;
1799 PyObject * obj0 = 0 ;
1800 PyObject * obj1 = 0 ;
1801
1802 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1805 if (arg2 == NULL) {
1806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1807 }
1808 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1809
1810 Py_INCREF(Py_None); resultobj = Py_None;
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1818 PyObject *resultobj;
1819 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1820 PyObject * obj0 = 0 ;
1821
1822 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1824 delete arg1;
1825
1826 Py_INCREF(Py_None); resultobj = Py_None;
1827 return resultobj;
1828 fail:
1829 return NULL;
1830 }
1831
1832
1833 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1834 PyObject *obj;
1835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1836 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1837 Py_INCREF(obj);
1838 return Py_BuildValue((char *)"");
1839 }
1840 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1841 PyObject *resultobj;
1842 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1843 int arg2 = (int) otk::OtkWidget::Horizontal ;
1844 otk::OtkWidget *result;
1845 PyObject * obj0 = 0 ;
1846
1847 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1849 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1850
1851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1852 return resultobj;
1853 fail:
1854 return NULL;
1855 }
1856
1857
1858 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1859 PyObject *resultobj;
1860 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1861 otk::Style *arg2 = (otk::Style *) 0 ;
1862 int arg3 = (int) otk::OtkWidget::Horizontal ;
1863 Cursor arg4 = (Cursor) 0 ;
1864 int arg5 = (int) 1 ;
1865 otk::OtkWidget *result;
1866 Cursor *argp4 ;
1867 PyObject * obj0 = 0 ;
1868 PyObject * obj1 = 0 ;
1869 PyObject * obj3 = 0 ;
1870
1871 if(!PyArg_ParseTuple(args,(char *)"OO|iOi:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
1872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1874 if (obj3) {
1875 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1876 arg4 = *argp4;
1877 }
1878 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5);
1879
1880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1881 return resultobj;
1882 fail:
1883 return NULL;
1884 }
1885
1886
1887 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1888 int argc;
1889 PyObject *argv[6];
1890 int ii;
1891
1892 argc = PyObject_Length(args);
1893 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
1894 argv[ii] = PyTuple_GetItem(args,ii);
1895 }
1896 if ((argc >= 1) && (argc <= 2)) {
1897 int _v;
1898 {
1899 void *ptr;
1900 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1901 _v = 0;
1902 PyErr_Clear();
1903 }else {
1904 _v = 1;
1905 }
1906 }
1907 if (_v) {
1908 if (argc <= 1) {
1909 return _wrap_new_OtkWidget__SWIG_0(self,args);
1910 }
1911 {
1912 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1913 }
1914 if (_v) {
1915 return _wrap_new_OtkWidget__SWIG_0(self,args);
1916 }
1917 }
1918 }
1919 if ((argc >= 2) && (argc <= 5)) {
1920 int _v;
1921 {
1922 void *ptr;
1923 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1924 _v = 0;
1925 PyErr_Clear();
1926 }else {
1927 _v = 1;
1928 }
1929 }
1930 if (_v) {
1931 {
1932 void *ptr;
1933 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1934 _v = 0;
1935 PyErr_Clear();
1936 }else {
1937 _v = 1;
1938 }
1939 }
1940 if (_v) {
1941 if (argc <= 2) {
1942 return _wrap_new_OtkWidget__SWIG_1(self,args);
1943 }
1944 {
1945 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1946 }
1947 if (_v) {
1948 if (argc <= 3) {
1949 return _wrap_new_OtkWidget__SWIG_1(self,args);
1950 }
1951 {
1952 void *ptr;
1953 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_Cursor, 0) == -1) {
1954 _v = 0;
1955 PyErr_Clear();
1956 }else {
1957 _v = 1;
1958 }
1959 }
1960 if (_v) {
1961 if (argc <= 4) {
1962 return _wrap_new_OtkWidget__SWIG_1(self,args);
1963 }
1964 {
1965 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1966 }
1967 if (_v) {
1968 return _wrap_new_OtkWidget__SWIG_1(self,args);
1969 }
1970 }
1971 }
1972 }
1973 }
1974 }
1975
1976 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1977 return NULL;
1978 }
1979
1980
1981 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1982 PyObject *resultobj;
1983 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1984 PyObject * obj0 = 0 ;
1985
1986 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 delete arg1;
1989
1990 Py_INCREF(Py_None); resultobj = Py_None;
1991 return resultobj;
1992 fail:
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
1998 PyObject *resultobj;
1999 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2000 PyObject * obj0 = 0 ;
2001
2002 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
2003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2004 (arg1)->update();
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_exposeHandler(PyObject *self, PyObject *args) {
2014 PyObject *resultobj;
2015 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2016 XExposeEvent *arg2 = 0 ;
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
2019
2020 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&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_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2023 if (arg2 == NULL) {
2024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2025 }
2026 (arg1)->exposeHandler((XExposeEvent 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_configureHandler(PyObject *self, PyObject *args) {
2036 PyObject *resultobj;
2037 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2038 XConfigureEvent *arg2 = 0 ;
2039 PyObject * obj0 = 0 ;
2040 PyObject * obj1 = 0 ;
2041
2042 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2045 if (arg2 == NULL) {
2046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2047 }
2048 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2049
2050 Py_INCREF(Py_None); resultobj = Py_None;
2051 return resultobj;
2052 fail:
2053 return NULL;
2054 }
2055
2056
2057 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2058 PyObject *resultobj;
2059 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2060 Window result;
2061 PyObject * obj0 = 0 ;
2062
2063 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 result = ((otk::OtkWidget const *)arg1)->window();
2066
2067 {
2068 Window * resultptr;
2069 resultptr = new Window((Window &) result);
2070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
2071 }
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2079 PyObject *resultobj;
2080 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2081 otk::OtkWidget *result;
2082 PyObject * obj0 = 0 ;
2083
2084 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2087
2088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2096 PyObject *resultobj;
2097 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2098 otk::OtkWidget::OtkWidgetList *result;
2099 PyObject * obj0 = 0 ;
2100
2101 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2103 {
2104 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2105 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2106 }
2107
2108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2109 return resultobj;
2110 fail:
2111 return NULL;
2112 }
2113
2114
2115 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2116 PyObject *resultobj;
2117 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2118 unsigned int result;
2119 PyObject * obj0 = 0 ;
2120
2121 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2124
2125 resultobj = PyInt_FromLong((long)result);
2126 return resultobj;
2127 fail:
2128 return NULL;
2129 }
2130
2131
2132 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2133 PyObject *resultobj;
2134 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2135 otk::Rect *result;
2136 PyObject * obj0 = 0 ;
2137
2138 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2140 {
2141 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2142 result = (otk::Rect *) &_result_ref;
2143 }
2144
2145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2146 return resultobj;
2147 fail:
2148 return NULL;
2149 }
2150
2151
2152 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2153 PyObject *resultobj;
2154 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2155 otk::Point *arg2 = 0 ;
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158
2159 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2162 if (arg2 == NULL) {
2163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2164 }
2165 (arg1)->move((otk::Point const &)*arg2);
2166
2167 Py_INCREF(Py_None); resultobj = Py_None;
2168 return resultobj;
2169 fail:
2170 return NULL;
2171 }
2172
2173
2174 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2175 PyObject *resultobj;
2176 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2177 int arg2 ;
2178 int arg3 ;
2179 PyObject * obj0 = 0 ;
2180
2181 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2183 (arg1)->move(arg2,arg3);
2184
2185 Py_INCREF(Py_None); resultobj = Py_None;
2186 return resultobj;
2187 fail:
2188 return NULL;
2189 }
2190
2191
2192 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2193 int argc;
2194 PyObject *argv[4];
2195 int ii;
2196
2197 argc = PyObject_Length(args);
2198 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2199 argv[ii] = PyTuple_GetItem(args,ii);
2200 }
2201 if (argc == 2) {
2202 int _v;
2203 {
2204 void *ptr;
2205 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2206 _v = 0;
2207 PyErr_Clear();
2208 }else {
2209 _v = 1;
2210 }
2211 }
2212 if (_v) {
2213 {
2214 void *ptr;
2215 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2216 _v = 0;
2217 PyErr_Clear();
2218 }else {
2219 _v = 1;
2220 }
2221 }
2222 if (_v) {
2223 return _wrap_OtkWidget_move__SWIG_0(self,args);
2224 }
2225 }
2226 }
2227 if (argc == 3) {
2228 int _v;
2229 {
2230 void *ptr;
2231 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2232 _v = 0;
2233 PyErr_Clear();
2234 }else {
2235 _v = 1;
2236 }
2237 }
2238 if (_v) {
2239 {
2240 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2241 }
2242 if (_v) {
2243 {
2244 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2245 }
2246 if (_v) {
2247 return _wrap_OtkWidget_move__SWIG_1(self,args);
2248 }
2249 }
2250 }
2251 }
2252
2253 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2254 return NULL;
2255 }
2256
2257
2258 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2259 PyObject *resultobj;
2260 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2261 int arg2 ;
2262 PyObject * obj0 = 0 ;
2263
2264 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2266 (arg1)->setWidth(arg2);
2267
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2276 PyObject *resultobj;
2277 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2278 int arg2 ;
2279 PyObject * obj0 = 0 ;
2280
2281 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2283 (arg1)->setHeight(arg2);
2284
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2293 PyObject *resultobj;
2294 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2295 int result;
2296 PyObject * obj0 = 0 ;
2297
2298 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2300 result = (int)((otk::OtkWidget const *)arg1)->width();
2301
2302 resultobj = PyInt_FromLong((long)result);
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2310 PyObject *resultobj;
2311 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2312 int result;
2313 PyObject * obj0 = 0 ;
2314
2315 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 result = (int)((otk::OtkWidget const *)arg1)->height();
2318
2319 resultobj = PyInt_FromLong((long)result);
2320 return resultobj;
2321 fail:
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2327 PyObject *resultobj;
2328 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2329 otk::Point *arg2 = 0 ;
2330 PyObject * obj0 = 0 ;
2331 PyObject * obj1 = 0 ;
2332
2333 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 if (arg2 == NULL) {
2337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2338 }
2339 (arg1)->resize((otk::Point const &)*arg2);
2340
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 return resultobj;
2343 fail:
2344 return NULL;
2345 }
2346
2347
2348 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2349 PyObject *resultobj;
2350 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2351 int arg2 ;
2352 int arg3 ;
2353 PyObject * obj0 = 0 ;
2354
2355 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 (arg1)->resize(arg2,arg3);
2358
2359 Py_INCREF(Py_None); resultobj = Py_None;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363 }
2364
2365
2366 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2367 int argc;
2368 PyObject *argv[4];
2369 int ii;
2370
2371 argc = PyObject_Length(args);
2372 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2373 argv[ii] = PyTuple_GetItem(args,ii);
2374 }
2375 if (argc == 2) {
2376 int _v;
2377 {
2378 void *ptr;
2379 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2380 _v = 0;
2381 PyErr_Clear();
2382 }else {
2383 _v = 1;
2384 }
2385 }
2386 if (_v) {
2387 {
2388 void *ptr;
2389 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2390 _v = 0;
2391 PyErr_Clear();
2392 }else {
2393 _v = 1;
2394 }
2395 }
2396 if (_v) {
2397 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2398 }
2399 }
2400 }
2401 if (argc == 3) {
2402 int _v;
2403 {
2404 void *ptr;
2405 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2406 _v = 0;
2407 PyErr_Clear();
2408 }else {
2409 _v = 1;
2410 }
2411 }
2412 if (_v) {
2413 {
2414 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2415 }
2416 if (_v) {
2417 {
2418 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2419 }
2420 if (_v) {
2421 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2422 }
2423 }
2424 }
2425 }
2426
2427 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2428 return NULL;
2429 }
2430
2431
2432 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2433 PyObject *resultobj;
2434 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2435 otk::Rect *arg2 = 0 ;
2436 PyObject * obj0 = 0 ;
2437 PyObject * obj1 = 0 ;
2438
2439 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2442 if (arg2 == NULL) {
2443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2444 }
2445 (arg1)->setGeometry((otk::Rect const &)*arg2);
2446
2447 Py_INCREF(Py_None); resultobj = Py_None;
2448 return resultobj;
2449 fail:
2450 return NULL;
2451 }
2452
2453
2454 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2455 PyObject *resultobj;
2456 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2457 otk::Point *arg2 = 0 ;
2458 int arg3 ;
2459 int arg4 ;
2460 PyObject * obj0 = 0 ;
2461 PyObject * obj1 = 0 ;
2462
2463 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 if (arg2 == NULL) {
2467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2468 }
2469 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2470
2471 Py_INCREF(Py_None); resultobj = Py_None;
2472 return resultobj;
2473 fail:
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2479 PyObject *resultobj;
2480 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2481 int arg2 ;
2482 int arg3 ;
2483 int arg4 ;
2484 int arg5 ;
2485 PyObject * obj0 = 0 ;
2486
2487 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2489 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2490
2491 Py_INCREF(Py_None); resultobj = Py_None;
2492 return resultobj;
2493 fail:
2494 return NULL;
2495 }
2496
2497
2498 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2499 int argc;
2500 PyObject *argv[6];
2501 int ii;
2502
2503 argc = PyObject_Length(args);
2504 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2505 argv[ii] = PyTuple_GetItem(args,ii);
2506 }
2507 if (argc == 2) {
2508 int _v;
2509 {
2510 void *ptr;
2511 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2512 _v = 0;
2513 PyErr_Clear();
2514 }else {
2515 _v = 1;
2516 }
2517 }
2518 if (_v) {
2519 {
2520 void *ptr;
2521 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2522 _v = 0;
2523 PyErr_Clear();
2524 }else {
2525 _v = 1;
2526 }
2527 }
2528 if (_v) {
2529 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2530 }
2531 }
2532 }
2533 if (argc == 4) {
2534 int _v;
2535 {
2536 void *ptr;
2537 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2538 _v = 0;
2539 PyErr_Clear();
2540 }else {
2541 _v = 1;
2542 }
2543 }
2544 if (_v) {
2545 {
2546 void *ptr;
2547 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2548 _v = 0;
2549 PyErr_Clear();
2550 }else {
2551 _v = 1;
2552 }
2553 }
2554 if (_v) {
2555 {
2556 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2557 }
2558 if (_v) {
2559 {
2560 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2561 }
2562 if (_v) {
2563 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2564 }
2565 }
2566 }
2567 }
2568 }
2569 if (argc == 5) {
2570 int _v;
2571 {
2572 void *ptr;
2573 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2574 _v = 0;
2575 PyErr_Clear();
2576 }else {
2577 _v = 1;
2578 }
2579 }
2580 if (_v) {
2581 {
2582 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2583 }
2584 if (_v) {
2585 {
2586 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2587 }
2588 if (_v) {
2589 {
2590 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2591 }
2592 if (_v) {
2593 {
2594 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2595 }
2596 if (_v) {
2597 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2598 }
2599 }
2600 }
2601 }
2602 }
2603 }
2604
2605 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2611 PyObject *resultobj;
2612 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2613 bool result;
2614 PyObject * obj0 = 0 ;
2615
2616 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2618 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2619
2620 resultobj = PyInt_FromLong((long)result);
2621 return resultobj;
2622 fail:
2623 return NULL;
2624 }
2625
2626
2627 static PyObject *_wrap_OtkWidget_show(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_show",&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)->show(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_hide(PyObject *self, PyObject *args) {
2650 PyObject *resultobj;
2651 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2652 bool arg2 = (bool) false ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655
2656 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2658 if (obj1) {
2659 arg2 = (bool) PyInt_AsLong(obj1);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 (arg1)->hide(arg2);
2663
2664 Py_INCREF(Py_None); resultobj = Py_None;
2665 return resultobj;
2666 fail:
2667 return NULL;
2668 }
2669
2670
2671 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2672 PyObject *resultobj;
2673 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2674 bool result;
2675 PyObject * obj0 = 0 ;
2676
2677 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2679 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2680
2681 resultobj = PyInt_FromLong((long)result);
2682 return resultobj;
2683 fail:
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2689 PyObject *resultobj;
2690 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2691 PyObject * obj0 = 0 ;
2692
2693 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2695 (arg1)->focus();
2696
2697 Py_INCREF(Py_None); resultobj = Py_None;
2698 return resultobj;
2699 fail:
2700 return NULL;
2701 }
2702
2703
2704 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2705 PyObject *resultobj;
2706 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2707 PyObject * obj0 = 0 ;
2708
2709 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2711 (arg1)->unfocus();
2712
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2721 PyObject *resultobj;
2722 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2723 bool result;
2724 PyObject * obj0 = 0 ;
2725
2726 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2728 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2729
2730 resultobj = PyInt_FromLong((long)result);
2731 return resultobj;
2732 fail:
2733 return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2738 PyObject *resultobj;
2739 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2740 bool result;
2741 PyObject * obj0 = 0 ;
2742
2743 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 result = (bool)(arg1)->grabMouse();
2746
2747 resultobj = PyInt_FromLong((long)result);
2748 return resultobj;
2749 fail:
2750 return NULL;
2751 }
2752
2753
2754 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2755 PyObject *resultobj;
2756 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2757 PyObject * obj0 = 0 ;
2758
2759 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 (arg1)->ungrabMouse();
2762
2763 Py_INCREF(Py_None); resultobj = Py_None;
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2771 PyObject *resultobj;
2772 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2773 bool result;
2774 PyObject * obj0 = 0 ;
2775
2776 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2779
2780 resultobj = PyInt_FromLong((long)result);
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2788 PyObject *resultobj;
2789 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2790 bool result;
2791 PyObject * obj0 = 0 ;
2792
2793 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2795 result = (bool)(arg1)->grabKeyboard();
2796
2797 resultobj = PyInt_FromLong((long)result);
2798 return resultobj;
2799 fail:
2800 return NULL;
2801 }
2802
2803
2804 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2805 PyObject *resultobj;
2806 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2807 PyObject * obj0 = 0 ;
2808
2809 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2811 (arg1)->ungrabKeyboard();
2812
2813 Py_INCREF(Py_None); resultobj = Py_None;
2814 return resultobj;
2815 fail:
2816 return NULL;
2817 }
2818
2819
2820 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2821 PyObject *resultobj;
2822 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2823 otk::BTexture *result;
2824 PyObject * obj0 = 0 ;
2825
2826 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2829
2830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2838 PyObject *resultobj;
2839 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2840 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 PyObject * obj1 = 0 ;
2843
2844 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2847 (arg1)->setTexture(arg2);
2848
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2857 PyObject *resultobj;
2858 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2859 otk::BColor *result;
2860 PyObject * obj0 = 0 ;
2861
2862 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2864 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2865
2866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2874 PyObject *resultobj;
2875 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2876 otk::BColor *arg2 = (otk::BColor *) 0 ;
2877 PyObject * obj0 = 0 ;
2878 PyObject * obj1 = 0 ;
2879
2880 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 (arg1)->setBorderColor((otk::BColor const *)arg2);
2884
2885 Py_INCREF(Py_None); resultobj = Py_None;
2886 return resultobj;
2887 fail:
2888 return NULL;
2889 }
2890
2891
2892 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2893 PyObject *resultobj;
2894 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2895 int result;
2896 PyObject * obj0 = 0 ;
2897
2898 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2900 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2901
2902 resultobj = PyInt_FromLong((long)result);
2903 return resultobj;
2904 fail:
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2910 PyObject *resultobj;
2911 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2912 int arg2 ;
2913 PyObject * obj0 = 0 ;
2914
2915 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2917 (arg1)->setBorderWidth(arg2);
2918
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2927 PyObject *resultobj;
2928 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2929 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2930 bool arg3 = (bool) false ;
2931 PyObject * obj0 = 0 ;
2932 PyObject * obj1 = 0 ;
2933 PyObject * obj2 = 0 ;
2934
2935 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938 if (obj2) {
2939 arg3 = (bool) PyInt_AsLong(obj2);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 (arg1)->addChild(arg2,arg3);
2943
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948 }
2949
2950
2951 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2952 PyObject *resultobj;
2953 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2954 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2955 PyObject * obj0 = 0 ;
2956 PyObject * obj1 = 0 ;
2957
2958 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 (arg1)->removeChild(arg2);
2962
2963 Py_INCREF(Py_None); resultobj = Py_None;
2964 return resultobj;
2965 fail:
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2971 PyObject *resultobj;
2972 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2973 bool result;
2974 PyObject * obj0 = 0 ;
2975
2976 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2978 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2979
2980 resultobj = PyInt_FromLong((long)result);
2981 return resultobj;
2982 fail:
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2988 PyObject *resultobj;
2989 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2990 bool arg2 = (bool) true ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993
2994 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 if (obj1) {
2997 arg2 = (bool) PyInt_AsLong(obj1);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 (arg1)->setStretchableHorz(arg2);
3001
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 return resultobj;
3004 fail:
3005 return NULL;
3006 }
3007
3008
3009 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
3010 PyObject *resultobj;
3011 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3012 bool result;
3013 PyObject * obj0 = 0 ;
3014
3015 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
3018
3019 resultobj = PyInt_FromLong((long)result);
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3027 PyObject *resultobj;
3028 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3029 bool arg2 = (bool) true ;
3030 PyObject * obj0 = 0 ;
3031 PyObject * obj1 = 0 ;
3032
3033 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3035 if (obj1) {
3036 arg2 = (bool) PyInt_AsLong(obj1);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 (arg1)->setStretchableVert(arg2);
3040
3041 Py_INCREF(Py_None); resultobj = Py_None;
3042 return resultobj;
3043 fail:
3044 return NULL;
3045 }
3046
3047
3048 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3049 PyObject *resultobj;
3050 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3051 Cursor result;
3052 PyObject * obj0 = 0 ;
3053
3054 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3056 result = ((otk::OtkWidget const *)arg1)->cursor();
3057
3058 {
3059 Cursor * resultptr;
3060 resultptr = new Cursor((Cursor &) result);
3061 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Cursor, 1);
3062 }
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3070 PyObject *resultobj;
3071 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3072 Cursor arg2 ;
3073 Cursor *argp2 ;
3074 PyObject * obj0 = 0 ;
3075 PyObject * obj1 = 0 ;
3076
3077 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3079 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3080 arg2 = *argp2;
3081 (arg1)->setCursor(arg2);
3082
3083 Py_INCREF(Py_None); resultobj = Py_None;
3084 return resultobj;
3085 fail:
3086 return NULL;
3087 }
3088
3089
3090 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3091 PyObject *resultobj;
3092 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3093 int result;
3094 PyObject * obj0 = 0 ;
3095
3096 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3098 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3099
3100 resultobj = PyInt_FromLong((long)result);
3101 return resultobj;
3102 fail:
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3108 PyObject *resultobj;
3109 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3110 int arg2 ;
3111 PyObject * obj0 = 0 ;
3112
3113 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3115 (arg1)->setBevelWidth(arg2);
3116
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3125 PyObject *resultobj;
3126 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3127 int result;
3128 PyObject * obj0 = 0 ;
3129
3130 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 result = (int)((otk::OtkWidget const *)arg1)->direction();
3133
3134 resultobj = PyInt_FromLong((long)result);
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3142 PyObject *resultobj;
3143 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3144 int arg2 ;
3145 PyObject * obj0 = 0 ;
3146
3147 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149 (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3150
3151 Py_INCREF(Py_None); resultobj = Py_None;
3152 return resultobj;
3153 fail:
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3159 PyObject *resultobj;
3160 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3161 otk::Style *result;
3162 PyObject * obj0 = 0 ;
3163
3164 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3166 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3167
3168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3169 return resultobj;
3170 fail:
3171 return NULL;
3172 }
3173
3174
3175 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3176 PyObject *resultobj;
3177 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3178 otk::Style *arg2 = (otk::Style *) 0 ;
3179 PyObject * obj0 = 0 ;
3180 PyObject * obj1 = 0 ;
3181
3182 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3185 (arg1)->setStyle(arg2);
3186
3187 Py_INCREF(Py_None); resultobj = Py_None;
3188 return resultobj;
3189 fail:
3190 return NULL;
3191 }
3192
3193
3194 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3195 PyObject *resultobj;
3196 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3197 otk::OtkEventDispatcher *result;
3198 PyObject * obj0 = 0 ;
3199
3200 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3203
3204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3205 return resultobj;
3206 fail:
3207 return NULL;
3208 }
3209
3210
3211 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3212 PyObject *resultobj;
3213 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3214 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3215 PyObject * obj0 = 0 ;
3216 PyObject * obj1 = 0 ;
3217
3218 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 (arg1)->setEventDispatcher(arg2);
3222
3223 Py_INCREF(Py_None); resultobj = Py_None;
3224 return resultobj;
3225 fail:
3226 return NULL;
3227 }
3228
3229
3230 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3231 PyObject *obj;
3232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3233 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3234 Py_INCREF(obj);
3235 return Py_BuildValue((char *)"");
3236 }
3237 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3238 PyObject *resultobj;
3239 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3240 int arg2 = (int) otk::OtkWidget::Horizontal ;
3241 otk::OtkFocusWidget *result;
3242 PyObject * obj0 = 0 ;
3243
3244 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3246 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3247
3248 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3249 return resultobj;
3250 fail:
3251 return NULL;
3252 }
3253
3254
3255 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3256 PyObject *resultobj;
3257 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3258 PyObject * obj0 = 0 ;
3259
3260 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3262 delete arg1;
3263
3264 Py_INCREF(Py_None); resultobj = Py_None;
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3272 PyObject *resultobj;
3273 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3274 PyObject * obj0 = 0 ;
3275
3276 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3278 (arg1)->focus();
3279
3280 Py_INCREF(Py_None); resultobj = Py_None;
3281 return resultobj;
3282 fail:
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3288 PyObject *resultobj;
3289 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3290 PyObject * obj0 = 0 ;
3291
3292 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3294 (arg1)->unfocus();
3295
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3304 PyObject *resultobj;
3305 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3306 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3307 PyObject * obj0 = 0 ;
3308 PyObject * obj1 = 0 ;
3309
3310 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3313 (arg1)->setTexture(arg2);
3314
3315 Py_INCREF(Py_None); resultobj = Py_None;
3316 return resultobj;
3317 fail:
3318 return NULL;
3319 }
3320
3321
3322 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3323 PyObject *resultobj;
3324 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3325 otk::BColor *arg2 = (otk::BColor *) 0 ;
3326 PyObject * obj0 = 0 ;
3327 PyObject * obj1 = 0 ;
3328
3329 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3332 (arg1)->setBorderColor((otk::BColor const *)arg2);
3333
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3342 PyObject *resultobj;
3343 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3344 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347
3348 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 (arg1)->setUnfocusTexture(arg2);
3352
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 return resultobj;
3355 fail:
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3361 PyObject *resultobj;
3362 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3363 otk::BTexture *result;
3364 PyObject * obj0 = 0 ;
3365
3366 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3369
3370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3378 PyObject *resultobj;
3379 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3380 otk::BColor *arg2 = (otk::BColor *) 0 ;
3381 PyObject * obj0 = 0 ;
3382 PyObject * obj1 = 0 ;
3383
3384 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3387 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3388
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3397 PyObject *resultobj;
3398 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3399 otk::BColor *result;
3400 PyObject * obj0 = 0 ;
3401
3402 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3404 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3405
3406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3407 return resultobj;
3408 fail:
3409 return NULL;
3410 }
3411
3412
3413 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3414 PyObject *resultobj;
3415 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3416 bool result;
3417 PyObject * obj0 = 0 ;
3418
3419 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3421 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3422
3423 resultobj = PyInt_FromLong((long)result);
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3431 PyObject *resultobj;
3432 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3433 bool result;
3434 PyObject * obj0 = 0 ;
3435
3436 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3439
3440 resultobj = PyInt_FromLong((long)result);
3441 return resultobj;
3442 fail:
3443 return NULL;
3444 }
3445
3446
3447 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3448 PyObject *obj;
3449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3450 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3451 Py_INCREF(obj);
3452 return Py_BuildValue((char *)"");
3453 }
3454 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3455 PyObject *resultobj;
3456 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3457 otk::OtkFocusLabel *result;
3458 PyObject * obj0 = 0 ;
3459
3460 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3462 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3463
3464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3465 return resultobj;
3466 fail:
3467 return NULL;
3468 }
3469
3470
3471 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3472 PyObject *resultobj;
3473 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3474 PyObject * obj0 = 0 ;
3475
3476 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3478 delete arg1;
3479
3480 Py_INCREF(Py_None); resultobj = Py_None;
3481 return resultobj;
3482 fail:
3483 return NULL;
3484 }
3485
3486
3487 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3488 PyObject *resultobj;
3489 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3490 std::string *result;
3491 PyObject * obj0 = 0 ;
3492
3493 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3495 {
3496 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3497 result = (std::string *) &_result_ref;
3498 }
3499
3500 {
3501 resultobj = PyString_FromString(result->c_str());
3502 }
3503 return resultobj;
3504 fail:
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3510 PyObject *resultobj;
3511 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3512 std::string *arg2 = 0 ;
3513 std::string temp2 ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3516
3517 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 {
3520 if (PyString_Check(obj1)) {
3521 temp2 = std::string(PyString_AsString(obj1));
3522 arg2 = &temp2;
3523 }else {
3524 SWIG_exception(SWIG_TypeError, "string expected");
3525 }
3526 }
3527 (arg1)->setText((std::string const &)*arg2);
3528
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3537 PyObject *resultobj;
3538 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3539 PyObject * obj0 = 0 ;
3540
3541 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3543 (arg1)->update();
3544
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 return resultobj;
3547 fail:
3548 return NULL;
3549 }
3550
3551
3552 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3553 PyObject *resultobj;
3554 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3555 otk::Style *arg2 = (otk::Style *) 0 ;
3556 PyObject * obj0 = 0 ;
3557 PyObject * obj1 = 0 ;
3558
3559 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3562 (arg1)->setStyle(arg2);
3563
3564 Py_INCREF(Py_None); resultobj = Py_None;
3565 return resultobj;
3566 fail:
3567 return NULL;
3568 }
3569
3570
3571 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3572 PyObject *obj;
3573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3574 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3575 Py_INCREF(obj);
3576 return Py_BuildValue((char *)"");
3577 }
3578 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3579 PyObject *resultobj;
3580 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3581 int arg2 = (int) otk::OtkWidget::Horizontal ;
3582 Cursor arg3 = (Cursor) 0 ;
3583 int arg4 = (int) 1 ;
3584 otk::OtkAppWidget *result;
3585 Cursor *argp3 ;
3586 PyObject * obj0 = 0 ;
3587 PyObject * obj2 = 0 ;
3588
3589 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 if (obj2) {
3592 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3593 arg3 = *argp3;
3594 }
3595 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3596
3597 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3605 PyObject *resultobj;
3606 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3607 PyObject * obj0 = 0 ;
3608
3609 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3611 delete arg1;
3612
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3621 PyObject *resultobj;
3622 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3623 PyObject * obj0 = 0 ;
3624
3625 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3627 (arg1)->show();
3628
3629 Py_INCREF(Py_None); resultobj = Py_None;
3630 return resultobj;
3631 fail:
3632 return NULL;
3633 }
3634
3635
3636 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3637 PyObject *resultobj;
3638 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3639 PyObject * obj0 = 0 ;
3640
3641 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3643 (arg1)->hide();
3644
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3653 PyObject *resultobj;
3654 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3655 XClientMessageEvent *arg2 = 0 ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658
3659 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3662 if (arg2 == NULL) {
3663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3664 }
3665 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3666
3667 Py_INCREF(Py_None); resultobj = Py_None;
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3675 PyObject *obj;
3676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3677 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3678 Py_INCREF(obj);
3679 return Py_BuildValue((char *)"");
3680 }
3681 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3682 PyObject *resultobj;
3683 int arg1 ;
3684 char **arg2 = (char **) 0 ;
3685 otk::OtkApplication *result;
3686 PyObject * obj1 = 0 ;
3687
3688 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3690 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3691
3692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3700 PyObject *resultobj;
3701 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3702 PyObject * obj0 = 0 ;
3703
3704 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3706 delete arg1;
3707
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3716 PyObject *resultobj;
3717 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3718 PyObject * obj0 = 0 ;
3719
3720 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 (arg1)->run();
3723
3724 Py_INCREF(Py_None); resultobj = Py_None;
3725 return resultobj;
3726 fail:
3727 return NULL;
3728 }
3729
3730
3731 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3732 PyObject *resultobj;
3733 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3734 bool arg2 ;
3735 PyObject * obj0 = 0 ;
3736 PyObject * obj1 = 0 ;
3737
3738 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3740 arg2 = (bool) PyInt_AsLong(obj1);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 (arg1)->setDockable(arg2);
3743
3744 Py_INCREF(Py_None); resultobj = Py_None;
3745 return resultobj;
3746 fail:
3747 return NULL;
3748 }
3749
3750
3751 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3752 PyObject *resultobj;
3753 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3754 bool result;
3755 PyObject * obj0 = 0 ;
3756
3757 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3759 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3760
3761 resultobj = PyInt_FromLong((long)result);
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3769 PyObject *resultobj;
3770 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3771 otk::Style *result;
3772 PyObject * obj0 = 0 ;
3773
3774 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3776 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3777
3778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3779 return resultobj;
3780 fail:
3781 return NULL;
3782 }
3783
3784
3785 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3786 PyObject *obj;
3787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3788 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3789 Py_INCREF(obj);
3790 return Py_BuildValue((char *)"");
3791 }
3792 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3793 PyObject *resultobj;
3794 otk::PointerAssassin *result;
3795
3796 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3797 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3798
3799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3800 return resultobj;
3801 fail:
3802 return NULL;
3803 }
3804
3805
3806 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3807 PyObject *resultobj;
3808 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3809 PyObject * obj0 = 0 ;
3810
3811 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3813 delete arg1;
3814
3815 Py_INCREF(Py_None); resultobj = Py_None;
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3823 PyObject *obj;
3824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3825 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3826 Py_INCREF(obj);
3827 return Py_BuildValue((char *)"");
3828 }
3829 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3830 PyObject *resultobj;
3831 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3832 otk::OtkButton *result;
3833 PyObject * obj0 = 0 ;
3834
3835 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3838
3839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3847 PyObject *resultobj;
3848 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3849 PyObject * obj0 = 0 ;
3850
3851 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3853 delete arg1;
3854
3855 Py_INCREF(Py_None); resultobj = Py_None;
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3863 PyObject *resultobj;
3864 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3865 otk::BTexture *result;
3866 PyObject * obj0 = 0 ;
3867
3868 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3871
3872 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3873 return resultobj;
3874 fail:
3875 return NULL;
3876 }
3877
3878
3879 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3880 PyObject *resultobj;
3881 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3882 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885
3886 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 (arg1)->setPressedFocusTexture(arg2);
3890
3891 Py_INCREF(Py_None); resultobj = Py_None;
3892 return resultobj;
3893 fail:
3894 return NULL;
3895 }
3896
3897
3898 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3899 PyObject *resultobj;
3900 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3901 otk::BTexture *result;
3902 PyObject * obj0 = 0 ;
3903
3904 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3906 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3907
3908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3916 PyObject *resultobj;
3917 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3918 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921
3922 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 (arg1)->setPressedUnfocusTexture(arg2);
3926
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3935 PyObject *resultobj;
3936 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3937 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940
3941 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 (arg1)->setTexture(arg2);
3945
3946 Py_INCREF(Py_None); resultobj = Py_None;
3947 return resultobj;
3948 fail:
3949 return NULL;
3950 }
3951
3952
3953 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3954 PyObject *resultobj;
3955 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3956 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3957 PyObject * obj0 = 0 ;
3958 PyObject * obj1 = 0 ;
3959
3960 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3963 (arg1)->setUnfocusTexture(arg2);
3964
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3973 PyObject *resultobj;
3974 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3975 bool result;
3976 PyObject * obj0 = 0 ;
3977
3978 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3980 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3981
3982 resultobj = PyInt_FromLong((long)result);
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3990 PyObject *resultobj;
3991 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3992 unsigned int arg2 ;
3993 PyObject * obj0 = 0 ;
3994 PyObject * obj1 = 0 ;
3995
3996 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 arg2 = (unsigned int) PyInt_AsLong(obj1);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 (arg1)->press(arg2);
4001
4002 Py_INCREF(Py_None); resultobj = Py_None;
4003 return resultobj;
4004 fail:
4005 return NULL;
4006 }
4007
4008
4009 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4010 PyObject *resultobj;
4011 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4012 unsigned int arg2 ;
4013 PyObject * obj0 = 0 ;
4014 PyObject * obj1 = 0 ;
4015
4016 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4018 arg2 = (unsigned int) PyInt_AsLong(obj1);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 (arg1)->release(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_buttonPressHandler(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_buttonPressHandler",&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)->buttonPressHandler((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_buttonReleaseHandler(PyObject *self, PyObject *args) {
4052 PyObject *resultobj;
4053 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4054 XButtonEvent *arg2 = 0 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057
4058 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&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_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 if (arg2 == NULL) {
4062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4063 }
4064 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4065
4066 Py_INCREF(Py_None); resultobj = Py_None;
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4074 PyObject *resultobj;
4075 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4076 otk::Style *arg2 = (otk::Style *) 0 ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj1 = 0 ;
4079
4080 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4083 (arg1)->setStyle(arg2);
4084
4085 Py_INCREF(Py_None); resultobj = Py_None;
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4093 PyObject *obj;
4094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4095 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4096 Py_INCREF(obj);
4097 return Py_BuildValue((char *)"");
4098 }
4099 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4100 PyObject *resultobj;
4101 unsigned int arg1 = (unsigned int) ~(0u) ;
4102 otk::BColor *result;
4103 PyObject * obj0 = 0 ;
4104
4105 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4106 if (obj0) {
4107 arg1 = (unsigned int) PyInt_AsLong(obj0);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 result = (otk::BColor *)new otk::BColor(arg1);
4111
4112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4113 return resultobj;
4114 fail:
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4120 PyObject *resultobj;
4121 int arg1 ;
4122 int arg2 ;
4123 int arg3 ;
4124 unsigned int arg4 = (unsigned int) ~(0u) ;
4125 otk::BColor *result;
4126 PyObject * obj3 = 0 ;
4127
4128 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4129 if (obj3) {
4130 arg4 = (unsigned int) PyInt_AsLong(obj3);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4134
4135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4143 PyObject *resultobj;
4144 std::string *arg1 = 0 ;
4145 unsigned int arg2 = (unsigned int) ~(0u) ;
4146 otk::BColor *result;
4147 std::string temp1 ;
4148 PyObject * obj0 = 0 ;
4149 PyObject * obj1 = 0 ;
4150
4151 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4152 {
4153 if (PyString_Check(obj0)) {
4154 temp1 = std::string(PyString_AsString(obj0));
4155 arg1 = &temp1;
4156 }else {
4157 SWIG_exception(SWIG_TypeError, "string expected");
4158 }
4159 }
4160 if (obj1) {
4161 arg2 = (unsigned int) PyInt_AsLong(obj1);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4165
4166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4167 return resultobj;
4168 fail:
4169 return NULL;
4170 }
4171
4172
4173 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4174 int argc;
4175 PyObject *argv[5];
4176 int ii;
4177
4178 argc = PyObject_Length(args);
4179 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4180 argv[ii] = PyTuple_GetItem(args,ii);
4181 }
4182 if ((argc >= 0) && (argc <= 1)) {
4183 int _v;
4184 if (argc <= 0) {
4185 return _wrap_new_BColor__SWIG_0(self,args);
4186 }
4187 {
4188 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4189 }
4190 if (_v) {
4191 return _wrap_new_BColor__SWIG_0(self,args);
4192 }
4193 }
4194 if ((argc >= 1) && (argc <= 2)) {
4195 int _v;
4196 {
4197 _v = PyString_Check(argv[0]) ? 1 : 0;
4198 }
4199 if (_v) {
4200 if (argc <= 1) {
4201 return _wrap_new_BColor__SWIG_2(self,args);
4202 }
4203 {
4204 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4205 }
4206 if (_v) {
4207 return _wrap_new_BColor__SWIG_2(self,args);
4208 }
4209 }
4210 }
4211 if ((argc >= 3) && (argc <= 4)) {
4212 int _v;
4213 {
4214 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4215 }
4216 if (_v) {
4217 {
4218 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4219 }
4220 if (_v) {
4221 {
4222 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4223 }
4224 if (_v) {
4225 if (argc <= 3) {
4226 return _wrap_new_BColor__SWIG_1(self,args);
4227 }
4228 {
4229 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4230 }
4231 if (_v) {
4232 return _wrap_new_BColor__SWIG_1(self,args);
4233 }
4234 }
4235 }
4236 }
4237 }
4238
4239 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4240 return NULL;
4241 }
4242
4243
4244 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4245 PyObject *resultobj;
4246 otk::BColor *arg1 = (otk::BColor *) 0 ;
4247 PyObject * obj0 = 0 ;
4248
4249 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4251 delete arg1;
4252
4253 Py_INCREF(Py_None); resultobj = Py_None;
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4261 PyObject *resultobj;
4262 otk::BColor *arg1 = (otk::BColor *) 0 ;
4263 std::string *result;
4264 PyObject * obj0 = 0 ;
4265
4266 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4268 {
4269 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4270 result = (std::string *) &_result_ref;
4271 }
4272
4273 {
4274 resultobj = PyString_FromString(result->c_str());
4275 }
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4283 PyObject *resultobj;
4284 otk::BColor *arg1 = (otk::BColor *) 0 ;
4285 int result;
4286 PyObject * obj0 = 0 ;
4287
4288 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4290 result = (int)((otk::BColor const *)arg1)->red();
4291
4292 resultobj = PyInt_FromLong((long)result);
4293 return resultobj;
4294 fail:
4295 return NULL;
4296 }
4297
4298
4299 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4300 PyObject *resultobj;
4301 otk::BColor *arg1 = (otk::BColor *) 0 ;
4302 int result;
4303 PyObject * obj0 = 0 ;
4304
4305 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 result = (int)((otk::BColor const *)arg1)->green();
4308
4309 resultobj = PyInt_FromLong((long)result);
4310 return resultobj;
4311 fail:
4312 return NULL;
4313 }
4314
4315
4316 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4317 PyObject *resultobj;
4318 otk::BColor *arg1 = (otk::BColor *) 0 ;
4319 int result;
4320 PyObject * obj0 = 0 ;
4321
4322 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4324 result = (int)((otk::BColor const *)arg1)->blue();
4325
4326 resultobj = PyInt_FromLong((long)result);
4327 return resultobj;
4328 fail:
4329 return NULL;
4330 }
4331
4332
4333 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4334 PyObject *resultobj;
4335 otk::BColor *arg1 = (otk::BColor *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 int arg4 ;
4339 PyObject * obj0 = 0 ;
4340
4341 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4343 (arg1)->setRGB(arg2,arg3,arg4);
4344
4345 Py_INCREF(Py_None); resultobj = Py_None;
4346 return resultobj;
4347 fail:
4348 return NULL;
4349 }
4350
4351
4352 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4353 PyObject *resultobj;
4354 otk::BColor *arg1 = (otk::BColor *) 0 ;
4355 unsigned int result;
4356 PyObject * obj0 = 0 ;
4357
4358 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4360 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4361
4362 resultobj = PyInt_FromLong((long)result);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4370 PyObject *resultobj;
4371 otk::BColor *arg1 = (otk::BColor *) 0 ;
4372 unsigned int arg2 = (unsigned int) ~(0u) ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375
4376 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 if (obj1) {
4379 arg2 = (unsigned int) PyInt_AsLong(obj1);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 (arg1)->setScreen(arg2);
4383
4384 Py_INCREF(Py_None); resultobj = Py_None;
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4392 PyObject *resultobj;
4393 otk::BColor *arg1 = (otk::BColor *) 0 ;
4394 bool result;
4395 PyObject * obj0 = 0 ;
4396
4397 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4399 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4400
4401 resultobj = PyInt_FromLong((long)result);
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4409 PyObject *resultobj;
4410 otk::BColor *arg1 = (otk::BColor *) 0 ;
4411 bool result;
4412 PyObject * obj0 = 0 ;
4413
4414 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4416 result = (bool)((otk::BColor const *)arg1)->isValid();
4417
4418 resultobj = PyInt_FromLong((long)result);
4419 return resultobj;
4420 fail:
4421 return NULL;
4422 }
4423
4424
4425 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4426 PyObject *resultobj;
4427 otk::BColor *arg1 = (otk::BColor *) 0 ;
4428 unsigned long result;
4429 PyObject * obj0 = 0 ;
4430
4431 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4433 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4434
4435 resultobj = PyInt_FromLong((long)result);
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4443 PyObject *resultobj;
4444 otk::BColor *arg1 = (otk::BColor *) 0 ;
4445 otk::BColor *arg2 = 0 ;
4446 bool result;
4447 PyObject * obj0 = 0 ;
4448 PyObject * obj1 = 0 ;
4449
4450 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 if (arg2 == NULL) {
4454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4455 }
4456 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4457
4458 resultobj = PyInt_FromLong((long)result);
4459 return resultobj;
4460 fail:
4461 return NULL;
4462 }
4463
4464
4465 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4466 PyObject *resultobj;
4467
4468 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4469 otk::BColor::cleanupColorCache();
4470
4471 Py_INCREF(Py_None); resultobj = Py_None;
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4479 PyObject *obj;
4480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4481 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4482 Py_INCREF(obj);
4483 return Py_BuildValue((char *)"");
4484 }
4485 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4486 PyObject *resultobj;
4487 std::string *arg1 = 0 ;
4488 bool arg2 = (bool) True ;
4489 otk::Configuration *result;
4490 std::string temp1 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493
4494 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4495 {
4496 if (PyString_Check(obj0)) {
4497 temp1 = std::string(PyString_AsString(obj0));
4498 arg1 = &temp1;
4499 }else {
4500 SWIG_exception(SWIG_TypeError, "string expected");
4501 }
4502 }
4503 if (obj1) {
4504 arg2 = (bool) PyInt_AsLong(obj1);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4508
4509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4517 PyObject *resultobj;
4518 bool arg1 = (bool) True ;
4519 otk::Configuration *result;
4520 PyObject * obj0 = 0 ;
4521
4522 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4523 if (obj0) {
4524 arg1 = (bool) PyInt_AsLong(obj0);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 result = (otk::Configuration *)new otk::Configuration(arg1);
4528
4529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4530 return resultobj;
4531 fail:
4532 return NULL;
4533 }
4534
4535
4536 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4537 int argc;
4538 PyObject *argv[3];
4539 int ii;
4540
4541 argc = PyObject_Length(args);
4542 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4543 argv[ii] = PyTuple_GetItem(args,ii);
4544 }
4545 if ((argc >= 0) && (argc <= 1)) {
4546 int _v;
4547 if (argc <= 0) {
4548 return _wrap_new_Configuration__SWIG_1(self,args);
4549 }
4550 {
4551 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4552 }
4553 if (_v) {
4554 return _wrap_new_Configuration__SWIG_1(self,args);
4555 }
4556 }
4557 if ((argc >= 1) && (argc <= 2)) {
4558 int _v;
4559 {
4560 _v = PyString_Check(argv[0]) ? 1 : 0;
4561 }
4562 if (_v) {
4563 if (argc <= 1) {
4564 return _wrap_new_Configuration__SWIG_0(self,args);
4565 }
4566 {
4567 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4568 }
4569 if (_v) {
4570 return _wrap_new_Configuration__SWIG_0(self,args);
4571 }
4572 }
4573 }
4574
4575 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4576 return NULL;
4577 }
4578
4579
4580 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4581 PyObject *resultobj;
4582 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4583 PyObject * obj0 = 0 ;
4584
4585 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 delete arg1;
4588
4589 Py_INCREF(Py_None); resultobj = Py_None;
4590 return resultobj;
4591 fail:
4592 return NULL;
4593 }
4594
4595
4596 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4597 PyObject *resultobj;
4598 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4599 std::string *result;
4600 PyObject * obj0 = 0 ;
4601
4602 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4604 {
4605 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4606 result = (std::string *) &_result_ref;
4607 }
4608
4609 {
4610 resultobj = PyString_FromString(result->c_str());
4611 }
4612 return resultobj;
4613 fail:
4614 return NULL;
4615 }
4616
4617
4618 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4619 PyObject *resultobj;
4620 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4621 std::string *arg2 = 0 ;
4622 std::string temp2 ;
4623 PyObject * obj0 = 0 ;
4624 PyObject * obj1 = 0 ;
4625
4626 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4628 {
4629 if (PyString_Check(obj1)) {
4630 temp2 = std::string(PyString_AsString(obj1));
4631 arg2 = &temp2;
4632 }else {
4633 SWIG_exception(SWIG_TypeError, "string expected");
4634 }
4635 }
4636 (arg1)->setFile((std::string const &)*arg2);
4637
4638 Py_INCREF(Py_None); resultobj = Py_None;
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4646 PyObject *resultobj;
4647 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4648 bool result;
4649 PyObject * obj0 = 0 ;
4650
4651 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4653 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4654
4655 resultobj = PyInt_FromLong((long)result);
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4663 PyObject *resultobj;
4664 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4665 bool arg2 ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668
4669 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4671 arg2 = (bool) PyInt_AsLong(obj1);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 (arg1)->setAutoSave(arg2);
4674
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4683 PyObject *resultobj;
4684 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4685 bool result;
4686 PyObject * obj0 = 0 ;
4687
4688 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4690 result = (bool)((otk::Configuration const *)arg1)->isModified();
4691
4692 resultobj = PyInt_FromLong((long)result);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4700 PyObject *resultobj;
4701 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4702 PyObject * obj0 = 0 ;
4703
4704 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4706 (arg1)->save();
4707
4708 Py_INCREF(Py_None); resultobj = Py_None;
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4716 PyObject *resultobj;
4717 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4718 bool result;
4719 PyObject * obj0 = 0 ;
4720
4721 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 result = (bool)(arg1)->load();
4724
4725 resultobj = PyInt_FromLong((long)result);
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4733 PyObject *resultobj;
4734 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4735 std::string *arg2 = 0 ;
4736 bool arg3 = (bool) False ;
4737 bool result;
4738 std::string temp2 ;
4739 PyObject * obj0 = 0 ;
4740 PyObject * obj1 = 0 ;
4741 PyObject * obj2 = 0 ;
4742
4743 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4745 {
4746 if (PyString_Check(obj1)) {
4747 temp2 = std::string(PyString_AsString(obj1));
4748 arg2 = &temp2;
4749 }else {
4750 SWIG_exception(SWIG_TypeError, "string expected");
4751 }
4752 }
4753 if (obj2) {
4754 arg3 = (bool) PyInt_AsLong(obj2);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4758
4759 resultobj = PyInt_FromLong((long)result);
4760 return resultobj;
4761 fail:
4762 return NULL;
4763 }
4764
4765
4766 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4767 PyObject *resultobj;
4768 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4769 PyObject * obj0 = 0 ;
4770
4771 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 (arg1)->create();
4774
4775 Py_INCREF(Py_None); resultobj = Py_None;
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4783 PyObject *resultobj;
4784 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4785 std::string *arg2 = 0 ;
4786 bool arg3 ;
4787 std::string temp2 ;
4788 PyObject * obj0 = 0 ;
4789 PyObject * obj1 = 0 ;
4790 PyObject * obj2 = 0 ;
4791
4792 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4794 {
4795 if (PyString_Check(obj1)) {
4796 temp2 = std::string(PyString_AsString(obj1));
4797 arg2 = &temp2;
4798 }else {
4799 SWIG_exception(SWIG_TypeError, "string expected");
4800 }
4801 }
4802 arg3 = (bool) PyInt_AsLong(obj2);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 (arg1)->setValue((std::string const &)*arg2,arg3);
4805
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4814 PyObject *resultobj;
4815 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4816 std::string *arg2 = 0 ;
4817 int arg3 ;
4818 std::string temp2 ;
4819 PyObject * obj0 = 0 ;
4820 PyObject * obj1 = 0 ;
4821
4822 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 {
4825 if (PyString_Check(obj1)) {
4826 temp2 = std::string(PyString_AsString(obj1));
4827 arg2 = &temp2;
4828 }else {
4829 SWIG_exception(SWIG_TypeError, "string expected");
4830 }
4831 }
4832 (arg1)->setValue((std::string const &)*arg2,arg3);
4833
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4842 PyObject *resultobj;
4843 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4844 std::string *arg2 = 0 ;
4845 unsigned int arg3 ;
4846 std::string temp2 ;
4847 PyObject * obj0 = 0 ;
4848 PyObject * obj1 = 0 ;
4849 PyObject * obj2 = 0 ;
4850
4851 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4853 {
4854 if (PyString_Check(obj1)) {
4855 temp2 = std::string(PyString_AsString(obj1));
4856 arg2 = &temp2;
4857 }else {
4858 SWIG_exception(SWIG_TypeError, "string expected");
4859 }
4860 }
4861 arg3 = (unsigned int) PyInt_AsLong(obj2);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 (arg1)->setValue((std::string const &)*arg2,arg3);
4864
4865 Py_INCREF(Py_None); resultobj = Py_None;
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4873 PyObject *resultobj;
4874 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4875 std::string *arg2 = 0 ;
4876 long arg3 ;
4877 std::string temp2 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880
4881 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4883 {
4884 if (PyString_Check(obj1)) {
4885 temp2 = std::string(PyString_AsString(obj1));
4886 arg2 = &temp2;
4887 }else {
4888 SWIG_exception(SWIG_TypeError, "string expected");
4889 }
4890 }
4891 (arg1)->setValue((std::string const &)*arg2,arg3);
4892
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897 }
4898
4899
4900 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4901 PyObject *resultobj;
4902 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4903 std::string *arg2 = 0 ;
4904 unsigned long arg3 ;
4905 std::string temp2 ;
4906 PyObject * obj0 = 0 ;
4907 PyObject * obj1 = 0 ;
4908 PyObject * obj2 = 0 ;
4909
4910 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 {
4913 if (PyString_Check(obj1)) {
4914 temp2 = std::string(PyString_AsString(obj1));
4915 arg2 = &temp2;
4916 }else {
4917 SWIG_exception(SWIG_TypeError, "string expected");
4918 }
4919 }
4920 arg3 = (unsigned long) PyInt_AsLong(obj2);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 (arg1)->setValue((std::string const &)*arg2,arg3);
4923
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4932 PyObject *resultobj;
4933 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4934 std::string *arg2 = 0 ;
4935 std::string *arg3 = 0 ;
4936 std::string temp2 ;
4937 std::string temp3 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4941
4942 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4944 {
4945 if (PyString_Check(obj1)) {
4946 temp2 = std::string(PyString_AsString(obj1));
4947 arg2 = &temp2;
4948 }else {
4949 SWIG_exception(SWIG_TypeError, "string expected");
4950 }
4951 }
4952 {
4953 if (PyString_Check(obj2)) {
4954 temp3 = std::string(PyString_AsString(obj2));
4955 arg3 = &temp3;
4956 }else {
4957 SWIG_exception(SWIG_TypeError, "string expected");
4958 }
4959 }
4960 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4961
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4970 PyObject *resultobj;
4971 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4972 std::string *arg2 = 0 ;
4973 char *arg3 ;
4974 std::string temp2 ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977
4978 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 {
4981 if (PyString_Check(obj1)) {
4982 temp2 = std::string(PyString_AsString(obj1));
4983 arg2 = &temp2;
4984 }else {
4985 SWIG_exception(SWIG_TypeError, "string expected");
4986 }
4987 }
4988 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4989
4990 Py_INCREF(Py_None); resultobj = Py_None;
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4998 PyObject *resultobj;
4999 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5000 std::string *arg2 = 0 ;
5001 bool *arg3 = 0 ;
5002 bool result;
5003 std::string temp2 ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 PyObject * obj2 = 0 ;
5007
5008 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 {
5011 if (PyString_Check(obj1)) {
5012 temp2 = std::string(PyString_AsString(obj1));
5013 arg2 = &temp2;
5014 }else {
5015 SWIG_exception(SWIG_TypeError, "string expected");
5016 }
5017 }
5018 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 if (arg3 == NULL) {
5020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5021 }
5022 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5023
5024 resultobj = PyInt_FromLong((long)result);
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5032 PyObject *resultobj;
5033 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5034 std::string *arg2 = 0 ;
5035 int *arg3 = 0 ;
5036 bool result;
5037 std::string temp2 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 PyObject * obj2 = 0 ;
5041
5042 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5044 {
5045 if (PyString_Check(obj1)) {
5046 temp2 = std::string(PyString_AsString(obj1));
5047 arg2 = &temp2;
5048 }else {
5049 SWIG_exception(SWIG_TypeError, "string expected");
5050 }
5051 }
5052 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 if (arg3 == NULL) {
5054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5055 }
5056 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5057
5058 resultobj = PyInt_FromLong((long)result);
5059 return resultobj;
5060 fail:
5061 return NULL;
5062 }
5063
5064
5065 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5066 PyObject *resultobj;
5067 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5068 std::string *arg2 = 0 ;
5069 unsigned int *arg3 = 0 ;
5070 bool result;
5071 std::string temp2 ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 PyObject * obj2 = 0 ;
5075
5076 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 {
5079 if (PyString_Check(obj1)) {
5080 temp2 = std::string(PyString_AsString(obj1));
5081 arg2 = &temp2;
5082 }else {
5083 SWIG_exception(SWIG_TypeError, "string expected");
5084 }
5085 }
5086 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5087 if (arg3 == NULL) {
5088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5089 }
5090 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5091
5092 resultobj = PyInt_FromLong((long)result);
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5100 PyObject *resultobj;
5101 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5102 std::string *arg2 = 0 ;
5103 long *arg3 = 0 ;
5104 bool result;
5105 std::string temp2 ;
5106 PyObject * obj0 = 0 ;
5107 PyObject * obj1 = 0 ;
5108 PyObject * obj2 = 0 ;
5109
5110 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5112 {
5113 if (PyString_Check(obj1)) {
5114 temp2 = std::string(PyString_AsString(obj1));
5115 arg2 = &temp2;
5116 }else {
5117 SWIG_exception(SWIG_TypeError, "string expected");
5118 }
5119 }
5120 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121 if (arg3 == NULL) {
5122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5123 }
5124 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5125
5126 resultobj = PyInt_FromLong((long)result);
5127 return resultobj;
5128 fail:
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5134 PyObject *resultobj;
5135 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5136 std::string *arg2 = 0 ;
5137 unsigned long *arg3 = 0 ;
5138 bool result;
5139 std::string temp2 ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 PyObject * obj2 = 0 ;
5143
5144 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 {
5147 if (PyString_Check(obj1)) {
5148 temp2 = std::string(PyString_AsString(obj1));
5149 arg2 = &temp2;
5150 }else {
5151 SWIG_exception(SWIG_TypeError, "string expected");
5152 }
5153 }
5154 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155 if (arg3 == NULL) {
5156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5157 }
5158 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5159
5160 resultobj = PyInt_FromLong((long)result);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5168 PyObject *resultobj;
5169 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5170 std::string *arg2 = 0 ;
5171 std::string *arg3 = 0 ;
5172 bool result;
5173 std::string temp2 ;
5174 PyObject * obj0 = 0 ;
5175 PyObject * obj1 = 0 ;
5176 PyObject * obj2 = 0 ;
5177
5178 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5180 {
5181 if (PyString_Check(obj1)) {
5182 temp2 = std::string(PyString_AsString(obj1));
5183 arg2 = &temp2;
5184 }else {
5185 SWIG_exception(SWIG_TypeError, "string expected");
5186 }
5187 }
5188 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5189 if (arg3 == NULL) {
5190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5191 }
5192 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5193
5194 resultobj = PyInt_FromLong((long)result);
5195 return resultobj;
5196 fail:
5197 return NULL;
5198 }
5199
5200
5201 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5202 int argc;
5203 PyObject *argv[4];
5204 int ii;
5205
5206 argc = PyObject_Length(args);
5207 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5208 argv[ii] = PyTuple_GetItem(args,ii);
5209 }
5210 if (argc == 3) {
5211 int _v;
5212 {
5213 void *ptr;
5214 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5215 _v = 0;
5216 PyErr_Clear();
5217 }else {
5218 _v = 1;
5219 }
5220 }
5221 if (_v) {
5222 {
5223 _v = PyString_Check(argv[1]) ? 1 : 0;
5224 }
5225 if (_v) {
5226 {
5227 void *ptr;
5228 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5229 _v = 0;
5230 PyErr_Clear();
5231 }else {
5232 _v = 1;
5233 }
5234 }
5235 if (_v) {
5236 return _wrap_Configuration_getValue__SWIG_0(self,args);
5237 }
5238 }
5239 }
5240 }
5241 if (argc == 3) {
5242 int _v;
5243 {
5244 void *ptr;
5245 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5246 _v = 0;
5247 PyErr_Clear();
5248 }else {
5249 _v = 1;
5250 }
5251 }
5252 if (_v) {
5253 {
5254 _v = PyString_Check(argv[1]) ? 1 : 0;
5255 }
5256 if (_v) {
5257 {
5258 void *ptr;
5259 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5260 _v = 0;
5261 PyErr_Clear();
5262 }else {
5263 _v = 1;
5264 }
5265 }
5266 if (_v) {
5267 return _wrap_Configuration_getValue__SWIG_1(self,args);
5268 }
5269 }
5270 }
5271 }
5272 if (argc == 3) {
5273 int _v;
5274 {
5275 void *ptr;
5276 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5277 _v = 0;
5278 PyErr_Clear();
5279 }else {
5280 _v = 1;
5281 }
5282 }
5283 if (_v) {
5284 {
5285 _v = PyString_Check(argv[1]) ? 1 : 0;
5286 }
5287 if (_v) {
5288 {
5289 void *ptr;
5290 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5291 _v = 0;
5292 PyErr_Clear();
5293 }else {
5294 _v = 1;
5295 }
5296 }
5297 if (_v) {
5298 return _wrap_Configuration_getValue__SWIG_2(self,args);
5299 }
5300 }
5301 }
5302 }
5303 if (argc == 3) {
5304 int _v;
5305 {
5306 void *ptr;
5307 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5308 _v = 0;
5309 PyErr_Clear();
5310 }else {
5311 _v = 1;
5312 }
5313 }
5314 if (_v) {
5315 {
5316 _v = PyString_Check(argv[1]) ? 1 : 0;
5317 }
5318 if (_v) {
5319 {
5320 void *ptr;
5321 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5322 _v = 0;
5323 PyErr_Clear();
5324 }else {
5325 _v = 1;
5326 }
5327 }
5328 if (_v) {
5329 return _wrap_Configuration_getValue__SWIG_3(self,args);
5330 }
5331 }
5332 }
5333 }
5334 if (argc == 3) {
5335 int _v;
5336 {
5337 void *ptr;
5338 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5339 _v = 0;
5340 PyErr_Clear();
5341 }else {
5342 _v = 1;
5343 }
5344 }
5345 if (_v) {
5346 {
5347 _v = PyString_Check(argv[1]) ? 1 : 0;
5348 }
5349 if (_v) {
5350 {
5351 void *ptr;
5352 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5353 _v = 0;
5354 PyErr_Clear();
5355 }else {
5356 _v = 1;
5357 }
5358 }
5359 if (_v) {
5360 return _wrap_Configuration_getValue__SWIG_4(self,args);
5361 }
5362 }
5363 }
5364 }
5365 if (argc == 3) {
5366 int _v;
5367 {
5368 void *ptr;
5369 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5370 _v = 0;
5371 PyErr_Clear();
5372 }else {
5373 _v = 1;
5374 }
5375 }
5376 if (_v) {
5377 {
5378 _v = PyString_Check(argv[1]) ? 1 : 0;
5379 }
5380 if (_v) {
5381 {
5382 void *ptr;
5383 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5384 _v = 0;
5385 PyErr_Clear();
5386 }else {
5387 _v = 1;
5388 }
5389 }
5390 if (_v) {
5391 return _wrap_Configuration_getValue__SWIG_5(self,args);
5392 }
5393 }
5394 }
5395 }
5396
5397 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5398 return NULL;
5399 }
5400
5401
5402 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5403 PyObject *obj;
5404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5405 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5406 Py_INCREF(obj);
5407 return Py_BuildValue((char *)"");
5408 }
5409 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5410 {
5411 void *temp;
5412 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5413 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5414 return 1;
5415 }
5416 otk::OBDisplay::display = (Display *) temp;
5417 }
5418 return 0;
5419 }
5420
5421
5422 static PyObject *_wrap_OBDisplay_display_get() {
5423 PyObject *pyobj;
5424
5425 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5426 return pyobj;
5427 }
5428
5429
5430 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5431 PyObject *resultobj;
5432 char *arg1 ;
5433
5434 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5435 otk::OBDisplay::initialize(arg1);
5436
5437 Py_INCREF(Py_None); resultobj = Py_None;
5438 return resultobj;
5439 fail:
5440 return NULL;
5441 }
5442
5443
5444 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5445 PyObject *resultobj;
5446
5447 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5448 otk::OBDisplay::destroy();
5449
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5458 PyObject *resultobj;
5459 otk::BGCCache *result;
5460
5461 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5462 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5463
5464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5472 PyObject *resultobj;
5473 int arg1 ;
5474 otk::ScreenInfo *result;
5475
5476 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5477 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5478
5479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5487 PyObject *resultobj;
5488 bool result;
5489
5490 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5491 result = (bool)otk::OBDisplay::shape();
5492
5493 resultobj = PyInt_FromLong((long)result);
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5501 PyObject *resultobj;
5502 int result;
5503
5504 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5505 result = (int)otk::OBDisplay::shapeEventBase();
5506
5507 resultobj = PyInt_FromLong((long)result);
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5515 PyObject *resultobj;
5516 bool result;
5517
5518 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5519 result = (bool)otk::OBDisplay::xinerama();
5520
5521 resultobj = PyInt_FromLong((long)result);
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5529 PyObject *resultobj;
5530
5531 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5532 otk::OBDisplay::grab();
5533
5534 Py_INCREF(Py_None); resultobj = Py_None;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5542 PyObject *resultobj;
5543
5544 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5545 otk::OBDisplay::ungrab();
5546
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5555 PyObject *resultobj;
5556 unsigned int arg1 ;
5557 unsigned int arg2 ;
5558 Window arg3 ;
5559 bool arg4 ;
5560 unsigned int arg5 ;
5561 int arg6 ;
5562 int arg7 ;
5563 Window arg8 ;
5564 Cursor arg9 ;
5565 bool arg10 ;
5566 Window *argp3 ;
5567 Window *argp8 ;
5568 Cursor *argp9 ;
5569 PyObject * obj0 = 0 ;
5570 PyObject * obj1 = 0 ;
5571 PyObject * obj2 = 0 ;
5572 PyObject * obj3 = 0 ;
5573 PyObject * obj4 = 0 ;
5574 PyObject * obj7 = 0 ;
5575 PyObject * obj8 = 0 ;
5576 PyObject * obj9 = 0 ;
5577
5578 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5579 arg1 = (unsigned int) PyInt_AsLong(obj0);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 arg2 = (unsigned int) PyInt_AsLong(obj1);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5584 arg3 = *argp3;
5585 arg4 = (bool) PyInt_AsLong(obj3);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 arg5 = (unsigned int) PyInt_AsLong(obj4);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5590 arg8 = *argp8;
5591 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5592 arg9 = *argp9;
5593 arg10 = (bool) PyInt_AsLong(obj9);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5596
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5605 PyObject *resultobj;
5606 unsigned int arg1 ;
5607 unsigned int arg2 ;
5608 Window arg3 ;
5609 Window *argp3 ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 PyObject * obj2 = 0 ;
5613
5614 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5615 arg1 = (unsigned int) PyInt_AsLong(obj0);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 arg2 = (unsigned int) PyInt_AsLong(obj1);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5620 arg3 = *argp3;
5621 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5622
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5631 PyObject *resultobj;
5632 unsigned int arg1 ;
5633 unsigned int arg2 ;
5634 Window arg3 ;
5635 bool arg4 ;
5636 int arg5 ;
5637 int arg6 ;
5638 bool arg7 ;
5639 Window *argp3 ;
5640 PyObject * obj0 = 0 ;
5641 PyObject * obj1 = 0 ;
5642 PyObject * obj2 = 0 ;
5643 PyObject * obj3 = 0 ;
5644 PyObject * obj6 = 0 ;
5645
5646 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5647 arg1 = (unsigned int) PyInt_AsLong(obj0);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 arg2 = (unsigned int) PyInt_AsLong(obj1);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5652 arg3 = *argp3;
5653 arg4 = (bool) PyInt_AsLong(obj3);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 arg7 = (bool) PyInt_AsLong(obj6);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5658
5659 Py_INCREF(Py_None); resultobj = Py_None;
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5667 PyObject *resultobj;
5668 unsigned int arg1 ;
5669 unsigned int arg2 ;
5670 Window arg3 ;
5671 Window *argp3 ;
5672 PyObject * obj0 = 0 ;
5673 PyObject * obj1 = 0 ;
5674 PyObject * obj2 = 0 ;
5675
5676 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5677 arg1 = (unsigned int) PyInt_AsLong(obj0);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 arg2 = (unsigned int) PyInt_AsLong(obj1);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5682 arg3 = *argp3;
5683 otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5684
5685 Py_INCREF(Py_None); resultobj = Py_None;
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5693 PyObject *resultobj;
5694 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5695 PyObject * obj0 = 0 ;
5696
5697 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5699 delete arg1;
5700
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705 }
5706
5707
5708 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5709 PyObject *obj;
5710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5711 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5712 Py_INCREF(obj);
5713 return Py_BuildValue((char *)"");
5714 }
5715 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5716 PyObject *resultobj;
5717 std::string result;
5718
5719 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5720 result = otk::BFont::fallbackFont();
5721
5722 {
5723 resultobj = PyString_FromString((&result)->c_str());
5724 }
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5732 PyObject *resultobj;
5733 std::string *arg1 = 0 ;
5734 std::string temp1 ;
5735 PyObject * obj0 = 0 ;
5736
5737 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5738 {
5739 if (PyString_Check(obj0)) {
5740 temp1 = std::string(PyString_AsString(obj0));
5741 arg1 = &temp1;
5742 }else {
5743 SWIG_exception(SWIG_TypeError, "string expected");
5744 }
5745 }
5746 otk::BFont::setFallbackFont((std::string const &)*arg1);
5747
5748 Py_INCREF(Py_None); resultobj = Py_None;
5749 return resultobj;
5750 fail:
5751 return NULL;
5752 }
5753
5754
5755 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5756 PyObject *resultobj;
5757 int arg1 ;
5758 std::string *arg2 = 0 ;
5759 bool arg3 ;
5760 unsigned char arg4 ;
5761 unsigned char arg5 ;
5762 otk::BFont *result;
5763 std::string temp2 ;
5764 PyObject * obj1 = 0 ;
5765 PyObject * obj2 = 0 ;
5766 PyObject * obj3 = 0 ;
5767 PyObject * obj4 = 0 ;
5768
5769 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5770 {
5771 if (PyString_Check(obj1)) {
5772 temp2 = std::string(PyString_AsString(obj1));
5773 arg2 = &temp2;
5774 }else {
5775 SWIG_exception(SWIG_TypeError, "string expected");
5776 }
5777 }
5778 arg3 = (bool) PyInt_AsLong(obj2);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 arg4 = (unsigned char) PyInt_AsLong(obj3);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 arg5 = (unsigned char) PyInt_AsLong(obj4);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5785
5786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5794 PyObject *resultobj;
5795 otk::BFont *arg1 = (otk::BFont *) 0 ;
5796 PyObject * obj0 = 0 ;
5797
5798 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5800 delete arg1;
5801
5802 Py_INCREF(Py_None); resultobj = Py_None;
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5810 PyObject *resultobj;
5811 otk::BFont *arg1 = (otk::BFont *) 0 ;
5812 std::string *result;
5813 PyObject * obj0 = 0 ;
5814
5815 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 {
5818 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5819 result = (std::string *) &_result_ref;
5820 }
5821
5822 {
5823 resultobj = PyString_FromString(result->c_str());
5824 }
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5832 PyObject *resultobj;
5833 otk::BFont *arg1 = (otk::BFont *) 0 ;
5834 unsigned int result;
5835 PyObject * obj0 = 0 ;
5836
5837 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 result = (unsigned int)((otk::BFont const *)arg1)->height();
5840
5841 resultobj = PyInt_FromLong((long)result);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5849 PyObject *resultobj;
5850 otk::BFont *arg1 = (otk::BFont *) 0 ;
5851 unsigned int result;
5852 PyObject * obj0 = 0 ;
5853
5854 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5856 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5857
5858 resultobj = PyInt_FromLong((long)result);
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5866 PyObject *resultobj;
5867 otk::BFont *arg1 = (otk::BFont *) 0 ;
5868 std::string *arg2 = 0 ;
5869 bool arg3 = (bool) false ;
5870 unsigned int result;
5871 std::string temp2 ;
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 PyObject * obj2 = 0 ;
5875
5876 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 if (PyString_Check(obj1)) {
5880 temp2 = std::string(PyString_AsString(obj1));
5881 arg2 = &temp2;
5882 }else {
5883 SWIG_exception(SWIG_TypeError, "string expected");
5884 }
5885 }
5886 if (obj2) {
5887 arg3 = (bool) PyInt_AsLong(obj2);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5891
5892 resultobj = PyInt_FromLong((long)result);
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5900 PyObject *resultobj;
5901 otk::BFont *arg1 = (otk::BFont *) 0 ;
5902 XftDraw *arg2 = (XftDraw *) 0 ;
5903 int arg3 ;
5904 int arg4 ;
5905 otk::BColor *arg5 = 0 ;
5906 std::string *arg6 = 0 ;
5907 bool arg7 = (bool) false ;
5908 std::string temp6 ;
5909 PyObject * obj0 = 0 ;
5910 PyObject * obj1 = 0 ;
5911 PyObject * obj4 = 0 ;
5912 PyObject * obj5 = 0 ;
5913 PyObject * obj6 = 0 ;
5914
5915 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5918 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 if (arg5 == NULL) {
5920 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5921 }
5922 {
5923 if (PyString_Check(obj5)) {
5924 temp6 = std::string(PyString_AsString(obj5));
5925 arg6 = &temp6;
5926 }else {
5927 SWIG_exception(SWIG_TypeError, "string expected");
5928 }
5929 }
5930 if (obj6) {
5931 arg7 = (bool) PyInt_AsLong(obj6);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5935
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5944 PyObject *obj;
5945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5946 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5947 Py_INCREF(obj);
5948 return Py_BuildValue((char *)"");
5949 }
5950 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5951 PyObject *resultobj;
5952 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5953 otk::BColor *arg2 = 0 ;
5954 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5955 int arg4 ;
5956 int arg5 ;
5957 int arg6 ;
5958 PyObject * obj0 = 0 ;
5959 PyObject * obj1 = 0 ;
5960 PyObject * obj2 = 0 ;
5961
5962 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 if (arg2 == NULL) {
5966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5967 }
5968 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5969 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5970
5971 Py_INCREF(Py_None); resultobj = Py_None;
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5979 PyObject *resultobj;
5980 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5981 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984
5985 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
5986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5988 (arg1)->set((XFontStruct const *)arg2);
5989
5990 Py_INCREF(Py_None); resultobj = Py_None;
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
5998 int argc;
5999 PyObject *argv[7];
6000 int ii;
6001
6002 argc = PyObject_Length(args);
6003 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6004 argv[ii] = PyTuple_GetItem(args,ii);
6005 }
6006 if (argc == 2) {
6007 int _v;
6008 {
6009 void *ptr;
6010 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6011 _v = 0;
6012 PyErr_Clear();
6013 }else {
6014 _v = 1;
6015 }
6016 }
6017 if (_v) {
6018 {
6019 void *ptr;
6020 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6021 _v = 0;
6022 PyErr_Clear();
6023 }else {
6024 _v = 1;
6025 }
6026 }
6027 if (_v) {
6028 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6029 }
6030 }
6031 }
6032 if (argc == 6) {
6033 int _v;
6034 {
6035 void *ptr;
6036 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6037 _v = 0;
6038 PyErr_Clear();
6039 }else {
6040 _v = 1;
6041 }
6042 }
6043 if (_v) {
6044 {
6045 void *ptr;
6046 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6047 _v = 0;
6048 PyErr_Clear();
6049 }else {
6050 _v = 1;
6051 }
6052 }
6053 if (_v) {
6054 {
6055 void *ptr;
6056 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6057 _v = 0;
6058 PyErr_Clear();
6059 }else {
6060 _v = 1;
6061 }
6062 }
6063 if (_v) {
6064 {
6065 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6066 }
6067 if (_v) {
6068 {
6069 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6070 }
6071 if (_v) {
6072 {
6073 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6074 }
6075 if (_v) {
6076 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6077 }
6078 }
6079 }
6080 }
6081 }
6082 }
6083 }
6084
6085 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6091 PyObject *resultobj;
6092 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6093 PyObject * obj0 = 0 ;
6094
6095 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6097 delete arg1;
6098
6099 Py_INCREF(Py_None); resultobj = Py_None;
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6107 PyObject *obj;
6108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6109 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6110 Py_INCREF(obj);
6111 return Py_BuildValue((char *)"");
6112 }
6113 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6114 PyObject *resultobj;
6115 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6116 GC *result;
6117 PyObject * obj0 = 0 ;
6118
6119 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6121 {
6122 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6123 result = (GC *) &_result_ref;
6124 }
6125
6126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6134 PyObject *resultobj;
6135 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6136 PyObject * obj0 = 0 ;
6137
6138 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6140 delete arg1;
6141
6142 Py_INCREF(Py_None); resultobj = Py_None;
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6150 PyObject *obj;
6151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6152 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6153 Py_INCREF(obj);
6154 return Py_BuildValue((char *)"");
6155 }
6156 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6157 PyObject *resultobj;
6158 unsigned int arg1 ;
6159 otk::BGCCache *result;
6160 PyObject * obj0 = 0 ;
6161
6162 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6163 arg1 = (unsigned int) PyInt_AsLong(obj0);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6166
6167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6175 PyObject *resultobj;
6176 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6177 PyObject * obj0 = 0 ;
6178
6179 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6181 delete arg1;
6182
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6191 PyObject *resultobj;
6192 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6193 PyObject * obj0 = 0 ;
6194
6195 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 (arg1)->purge();
6198
6199 Py_INCREF(Py_None); resultobj = Py_None;
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6207 PyObject *resultobj;
6208 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6209 otk::BColor *arg2 = 0 ;
6210 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6211 int arg4 = (int) GXcopy ;
6212 int arg5 = (int) ClipByChildren ;
6213 int arg6 = (int) 0 ;
6214 otk::BGCCacheItem *result;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 PyObject * obj2 = 0 ;
6218
6219 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6222 if (arg2 == NULL) {
6223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6224 }
6225 if (obj2) {
6226 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6227 }
6228 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6229
6230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6238 PyObject *resultobj;
6239 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6240 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6241 PyObject * obj0 = 0 ;
6242 PyObject * obj1 = 0 ;
6243
6244 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6247 (arg1)->release(arg2);
6248
6249 Py_INCREF(Py_None); resultobj = Py_None;
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6257 PyObject *obj;
6258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6259 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6260 Py_INCREF(obj);
6261 return Py_BuildValue((char *)"");
6262 }
6263 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6264 PyObject *resultobj;
6265 otk::BColor *arg1 = 0 ;
6266 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6267 int arg3 = (int) 0 ;
6268 int arg4 = (int) GXcopy ;
6269 int arg5 = (int) ClipByChildren ;
6270 otk::BPen *result;
6271 PyObject * obj0 = 0 ;
6272 PyObject * obj1 = 0 ;
6273
6274 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6276 if (arg1 == NULL) {
6277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6278 }
6279 if (obj1) {
6280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6281 }
6282 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6283
6284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6292 PyObject *resultobj;
6293 otk::BPen *arg1 = (otk::BPen *) 0 ;
6294 PyObject * obj0 = 0 ;
6295
6296 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6298 delete arg1;
6299
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6308 PyObject *resultobj;
6309 otk::BPen *arg1 = (otk::BPen *) 0 ;
6310 GC *result;
6311 PyObject * obj0 = 0 ;
6312
6313 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6315 {
6316 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6317 result = (GC *) &_result_ref;
6318 }
6319
6320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6328 PyObject *obj;
6329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6330 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6331 Py_INCREF(obj);
6332 return Py_BuildValue((char *)"");
6333 }
6334 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6335 PyObject *resultobj;
6336 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6337 int arg2 ;
6338 int arg3 ;
6339 otk::BImage *result;
6340 PyObject * obj0 = 0 ;
6341
6342 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6344 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6345
6346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6354 PyObject *resultobj;
6355 otk::BImage *arg1 = (otk::BImage *) 0 ;
6356 PyObject * obj0 = 0 ;
6357
6358 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6360 delete arg1;
6361
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6370 PyObject *resultobj;
6371 otk::BImage *arg1 = (otk::BImage *) 0 ;
6372 otk::BTexture *arg2 = 0 ;
6373 Pixmap result;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376
6377 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 if (arg2 == NULL) {
6381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6382 }
6383 result = (arg1)->render((otk::BTexture const &)*arg2);
6384
6385 {
6386 Pixmap * resultptr;
6387 resultptr = new Pixmap((Pixmap &) result);
6388 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6389 }
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6397 PyObject *obj;
6398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6399 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6400 Py_INCREF(obj);
6401 return Py_BuildValue((char *)"");
6402 }
6403 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6404 PyObject *resultobj;
6405 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6406 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6407 bool arg3 = (bool) False ;
6408 int arg4 = (int) 4 ;
6409 unsigned long arg5 = (unsigned long) 300000l ;
6410 unsigned long arg6 = (unsigned long) 200l ;
6411 otk::BImageControl *result;
6412 PyObject * obj0 = 0 ;
6413 PyObject * obj1 = 0 ;
6414 PyObject * obj2 = 0 ;
6415 PyObject * obj4 = 0 ;
6416 PyObject * obj5 = 0 ;
6417
6418 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6421 if (obj2) {
6422 arg3 = (bool) PyInt_AsLong(obj2);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 if (obj4) {
6426 arg5 = (unsigned long) PyInt_AsLong(obj4);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 if (obj5) {
6430 arg6 = (unsigned long) PyInt_AsLong(obj5);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6434
6435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6436 return resultobj;
6437 fail:
6438 return NULL;
6439 }
6440
6441
6442 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6443 PyObject *resultobj;
6444 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6445 PyObject * obj0 = 0 ;
6446
6447 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 delete arg1;
6450
6451 Py_INCREF(Py_None); resultobj = Py_None;
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6459 PyObject *resultobj;
6460 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6461 bool result;
6462 PyObject * obj0 = 0 ;
6463
6464 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6466 result = (bool)(arg1)->doDither();
6467
6468 resultobj = PyInt_FromLong((long)result);
6469 return resultobj;
6470 fail:
6471 return NULL;
6472 }
6473
6474
6475 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6476 PyObject *resultobj;
6477 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6478 otk::ScreenInfo *result;
6479 PyObject * obj0 = 0 ;
6480
6481 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6483 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6484
6485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6486 return resultobj;
6487 fail:
6488 return NULL;
6489 }
6490
6491
6492 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6493 PyObject *resultobj;
6494 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6495 Window result;
6496 PyObject * obj0 = 0 ;
6497
6498 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 result = ((otk::BImageControl const *)arg1)->getDrawable();
6501
6502 {
6503 Window * resultptr;
6504 resultptr = new Window((Window &) result);
6505 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6506 }
6507 return resultobj;
6508 fail:
6509 return NULL;
6510 }
6511
6512
6513 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6514 PyObject *resultobj;
6515 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6516 Visual *result;
6517 PyObject * obj0 = 0 ;
6518
6519 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6521 result = (Visual *)(arg1)->getVisual();
6522
6523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6531 PyObject *resultobj;
6532 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6533 int result;
6534 PyObject * obj0 = 0 ;
6535
6536 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6538 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6539
6540 resultobj = PyInt_FromLong((long)result);
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6548 PyObject *resultobj;
6549 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6550 int result;
6551 PyObject * obj0 = 0 ;
6552
6553 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6555 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6556
6557 resultobj = PyInt_FromLong((long)result);
6558 return resultobj;
6559 fail:
6560 return NULL;
6561 }
6562
6563
6564 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6565 PyObject *resultobj;
6566 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6567 int result;
6568 PyObject * obj0 = 0 ;
6569
6570 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6573
6574 resultobj = PyInt_FromLong((long)result);
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6582 PyObject *resultobj;
6583 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6584 unsigned int arg2 ;
6585 unsigned long result;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588
6589 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 arg2 = (unsigned int) PyInt_AsLong(obj1);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 result = (unsigned long)(arg1)->getSqrt(arg2);
6594
6595 resultobj = PyInt_FromLong((long)result);
6596 return resultobj;
6597 fail:
6598 return NULL;
6599 }
6600
6601
6602 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6603 PyObject *resultobj;
6604 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6605 unsigned int arg2 ;
6606 unsigned int arg3 ;
6607 otk::BTexture *arg4 = 0 ;
6608 Pixmap result;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 PyObject * obj2 = 0 ;
6612 PyObject * obj3 = 0 ;
6613
6614 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 arg2 = (unsigned int) PyInt_AsLong(obj1);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 arg3 = (unsigned int) PyInt_AsLong(obj2);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6621 if (arg4 == NULL) {
6622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6623 }
6624 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6625
6626 {
6627 Pixmap * resultptr;
6628 resultptr = new Pixmap((Pixmap &) result);
6629 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6630 }
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6638 PyObject *resultobj;
6639 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6640 PyObject * obj0 = 0 ;
6641
6642 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6644 (arg1)->installRootColormap();
6645
6646 Py_INCREF(Py_None); resultobj = Py_None;
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6654 PyObject *resultobj;
6655 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6656 Pixmap arg2 ;
6657 Pixmap *argp2 ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660
6661 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6663 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6664 arg2 = *argp2;
6665 (arg1)->removeImage(arg2);
6666
6667 Py_INCREF(Py_None); resultobj = Py_None;
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6675 PyObject *resultobj;
6676 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6677 unsigned char **arg2 = (unsigned char **) 0 ;
6678 unsigned char **arg3 = (unsigned char **) 0 ;
6679 unsigned char **arg4 = (unsigned char **) 0 ;
6680 int *arg5 = (int *) 0 ;
6681 int *arg6 = (int *) 0 ;
6682 int *arg7 = (int *) 0 ;
6683 int *arg8 = (int *) 0 ;
6684 int *arg9 = (int *) 0 ;
6685 int *arg10 = (int *) 0 ;
6686 PyObject * obj0 = 0 ;
6687 PyObject * obj1 = 0 ;
6688 PyObject * obj2 = 0 ;
6689 PyObject * obj3 = 0 ;
6690 PyObject * obj4 = 0 ;
6691 PyObject * obj5 = 0 ;
6692 PyObject * obj6 = 0 ;
6693 PyObject * obj7 = 0 ;
6694 PyObject * obj8 = 0 ;
6695 PyObject * obj9 = 0 ;
6696
6697 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6700 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6701 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6702 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6703 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6704 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6707 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
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_getXColorTable(PyObject *self, PyObject *args) {
6718 PyObject *resultobj;
6719 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6720 XColor **arg2 = (XColor **) 0 ;
6721 int *arg3 = (int *) 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 PyObject * obj2 = 0 ;
6725
6726 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6730 (arg1)->getXColorTable(arg2,arg3);
6731
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6740 PyObject *resultobj;
6741 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6742 unsigned int arg2 ;
6743 unsigned int arg3 ;
6744 unsigned int **arg4 = (unsigned int **) 0 ;
6745 unsigned int **arg5 = (unsigned int **) 0 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 PyObject * obj2 = 0 ;
6749 PyObject * obj3 = 0 ;
6750 PyObject * obj4 = 0 ;
6751
6752 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 arg2 = (unsigned int) PyInt_AsLong(obj1);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 arg3 = (unsigned int) PyInt_AsLong(obj2);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6761
6762 Py_INCREF(Py_None); resultobj = Py_None;
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6770 PyObject *resultobj;
6771 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6772 bool arg2 ;
6773 PyObject * obj0 = 0 ;
6774 PyObject * obj1 = 0 ;
6775
6776 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6778 arg2 = (bool) PyInt_AsLong(obj1);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 (arg1)->setDither(arg2);
6781
6782 Py_INCREF(Py_None); resultobj = Py_None;
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6790 PyObject *resultobj;
6791 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6792 int arg2 ;
6793 PyObject * obj0 = 0 ;
6794
6795 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797 (arg1)->setColorsPerChannel(arg2);
6798
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6807 PyObject *resultobj;
6808 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6809 PyObject * obj0 = 0 ;
6810
6811 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6813 otk::BImageControl::timeout(arg1);
6814
6815 Py_INCREF(Py_None); resultobj = Py_None;
6816 return resultobj;
6817 fail:
6818 return NULL;
6819 }
6820
6821
6822 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6823 PyObject *obj;
6824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6825 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6826 Py_INCREF(obj);
6827 return Py_BuildValue((char *)"");
6828 }
6829 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6830 PyObject *resultobj;
6831 otk::Point *result;
6832
6833 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6834 result = (otk::Point *)new otk::Point();
6835
6836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6844 PyObject *resultobj;
6845 int arg1 ;
6846 int arg2 ;
6847 otk::Point *result;
6848
6849 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6850 result = (otk::Point *)new otk::Point(arg1,arg2);
6851
6852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6860 int argc;
6861 PyObject *argv[3];
6862 int ii;
6863
6864 argc = PyObject_Length(args);
6865 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6866 argv[ii] = PyTuple_GetItem(args,ii);
6867 }
6868 if (argc == 0) {
6869 return _wrap_new_Point__SWIG_0(self,args);
6870 }
6871 if (argc == 2) {
6872 int _v;
6873 {
6874 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6875 }
6876 if (_v) {
6877 {
6878 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6879 }
6880 if (_v) {
6881 return _wrap_new_Point__SWIG_1(self,args);
6882 }
6883 }
6884 }
6885
6886 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6892 PyObject *resultobj;
6893 otk::Point *arg1 = (otk::Point *) 0 ;
6894 int arg2 ;
6895 PyObject * obj0 = 0 ;
6896
6897 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 (arg1)->setX(arg2);
6900
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6909 PyObject *resultobj;
6910 otk::Point *arg1 = (otk::Point *) 0 ;
6911 int result;
6912 PyObject * obj0 = 0 ;
6913
6914 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6916 result = (int)((otk::Point const *)arg1)->x();
6917
6918 resultobj = PyInt_FromLong((long)result);
6919 return resultobj;
6920 fail:
6921 return NULL;
6922 }
6923
6924
6925 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6926 PyObject *resultobj;
6927 otk::Point *arg1 = (otk::Point *) 0 ;
6928 int arg2 ;
6929 PyObject * obj0 = 0 ;
6930
6931 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6933 (arg1)->setY(arg2);
6934
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6943 PyObject *resultobj;
6944 otk::Point *arg1 = (otk::Point *) 0 ;
6945 int result;
6946 PyObject * obj0 = 0 ;
6947
6948 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 result = (int)((otk::Point const *)arg1)->y();
6951
6952 resultobj = PyInt_FromLong((long)result);
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6960 PyObject *resultobj;
6961 otk::Point *arg1 = (otk::Point *) 0 ;
6962 int arg2 ;
6963 int arg3 ;
6964 PyObject * obj0 = 0 ;
6965
6966 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 (arg1)->setPoint(arg2,arg3);
6969
6970 Py_INCREF(Py_None); resultobj = Py_None;
6971 return resultobj;
6972 fail:
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6978 PyObject *resultobj;
6979 otk::Point *arg1 = (otk::Point *) 0 ;
6980 PyObject * obj0 = 0 ;
6981
6982 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 delete arg1;
6985
6986 Py_INCREF(Py_None); resultobj = Py_None;
6987 return resultobj;
6988 fail:
6989 return NULL;
6990 }
6991
6992
6993 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
6994 PyObject *obj;
6995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6996 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
6997 Py_INCREF(obj);
6998 return Py_BuildValue((char *)"");
6999 }
7000 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7001 PyObject *resultobj;
7002 otk::OBProperty *result;
7003
7004 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7005 result = (otk::OBProperty *)new otk::OBProperty();
7006
7007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7015 PyObject *resultobj;
7016 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7017 PyObject * obj0 = 0 ;
7018
7019 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7021 delete arg1;
7022
7023 Py_INCREF(Py_None); resultobj = Py_None;
7024 return resultobj;
7025 fail:
7026 return NULL;
7027 }
7028
7029
7030 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7031 PyObject *resultobj;
7032 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7033 Window arg2 ;
7034 int arg3 ;
7035 int arg4 ;
7036 unsigned long arg5 ;
7037 Window *argp2 ;
7038 PyObject * obj0 = 0 ;
7039 PyObject * obj1 = 0 ;
7040 PyObject * obj4 = 0 ;
7041
7042 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7045 arg2 = *argp2;
7046 arg5 = (unsigned long) PyInt_AsLong(obj4);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7049
7050 Py_INCREF(Py_None); resultobj = Py_None;
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7058 PyObject *resultobj;
7059 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7060 Window arg2 ;
7061 int arg3 ;
7062 int arg4 ;
7063 unsigned long *arg5 ;
7064 int arg6 ;
7065 Window *argp2 ;
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 PyObject * obj4 = 0 ;
7069
7070 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7072 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7073 arg2 = *argp2;
7074 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7075 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7076
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7085 PyObject *resultobj;
7086 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7087 Window arg2 ;
7088 int arg3 ;
7089 int arg4 ;
7090 std::string *arg5 = 0 ;
7091 Window *argp2 ;
7092 std::string temp5 ;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 PyObject * obj4 = 0 ;
7096
7097 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7099 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7100 arg2 = *argp2;
7101 {
7102 if (PyString_Check(obj4)) {
7103 temp5 = std::string(PyString_AsString(obj4));
7104 arg5 = &temp5;
7105 }else {
7106 SWIG_exception(SWIG_TypeError, "string expected");
7107 }
7108 }
7109 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7110
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7119 PyObject *resultobj;
7120 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7121 Window arg2 ;
7122 int arg3 ;
7123 int arg4 ;
7124 otk::OBProperty::StringVect *arg5 = 0 ;
7125 Window *argp2 ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj4 = 0 ;
7129
7130 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7133 arg2 = *argp2;
7134 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 if (arg5 == NULL) {
7136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7137 }
7138 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7139
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7148 int argc;
7149 PyObject *argv[7];
7150 int ii;
7151
7152 argc = PyObject_Length(args);
7153 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7154 argv[ii] = PyTuple_GetItem(args,ii);
7155 }
7156 if (argc == 5) {
7157 int _v;
7158 {
7159 void *ptr;
7160 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7161 _v = 0;
7162 PyErr_Clear();
7163 }else {
7164 _v = 1;
7165 }
7166 }
7167 if (_v) {
7168 {
7169 void *ptr;
7170 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7171 _v = 0;
7172 PyErr_Clear();
7173 }else {
7174 _v = 1;
7175 }
7176 }
7177 if (_v) {
7178 {
7179 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7180 }
7181 if (_v) {
7182 {
7183 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7184 }
7185 if (_v) {
7186 {
7187 void *ptr;
7188 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7189 _v = 0;
7190 PyErr_Clear();
7191 }else {
7192 _v = 1;
7193 }
7194 }
7195 if (_v) {
7196 return _wrap_OBProperty_set__SWIG_3(self,args);
7197 }
7198 }
7199 }
7200 }
7201 }
7202 }
7203 if (argc == 5) {
7204 int _v;
7205 {
7206 void *ptr;
7207 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7208 _v = 0;
7209 PyErr_Clear();
7210 }else {
7211 _v = 1;
7212 }
7213 }
7214 if (_v) {
7215 {
7216 void *ptr;
7217 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7218 _v = 0;
7219 PyErr_Clear();
7220 }else {
7221 _v = 1;
7222 }
7223 }
7224 if (_v) {
7225 {
7226 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7227 }
7228 if (_v) {
7229 {
7230 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7231 }
7232 if (_v) {
7233 {
7234 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7235 }
7236 if (_v) {
7237 return _wrap_OBProperty_set__SWIG_0(self,args);
7238 }
7239 }
7240 }
7241 }
7242 }
7243 }
7244 if (argc == 5) {
7245 int _v;
7246 {
7247 void *ptr;
7248 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7249 _v = 0;
7250 PyErr_Clear();
7251 }else {
7252 _v = 1;
7253 }
7254 }
7255 if (_v) {
7256 {
7257 void *ptr;
7258 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7259 _v = 0;
7260 PyErr_Clear();
7261 }else {
7262 _v = 1;
7263 }
7264 }
7265 if (_v) {
7266 {
7267 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7268 }
7269 if (_v) {
7270 {
7271 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7272 }
7273 if (_v) {
7274 {
7275 _v = PyString_Check(argv[4]) ? 1 : 0;
7276 }
7277 if (_v) {
7278 return _wrap_OBProperty_set__SWIG_2(self,args);
7279 }
7280 }
7281 }
7282 }
7283 }
7284 }
7285 if (argc == 6) {
7286 int _v;
7287 {
7288 void *ptr;
7289 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7290 _v = 0;
7291 PyErr_Clear();
7292 }else {
7293 _v = 1;
7294 }
7295 }
7296 if (_v) {
7297 {
7298 void *ptr;
7299 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7300 _v = 0;
7301 PyErr_Clear();
7302 }else {
7303 _v = 1;
7304 }
7305 }
7306 if (_v) {
7307 {
7308 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7309 }
7310 if (_v) {
7311 {
7312 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7313 }
7314 if (_v) {
7315 {
7316 void *ptr;
7317 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7318 _v = 0;
7319 PyErr_Clear();
7320 }else {
7321 _v = 1;
7322 }
7323 }
7324 if (_v) {
7325 {
7326 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7327 }
7328 if (_v) {
7329 return _wrap_OBProperty_set__SWIG_1(self,args);
7330 }
7331 }
7332 }
7333 }
7334 }
7335 }
7336 }
7337
7338 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7339 return NULL;
7340 }
7341
7342
7343 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7344 PyObject *resultobj;
7345 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7346 Window arg2 ;
7347 int arg3 ;
7348 int arg4 ;
7349 unsigned long *arg5 = (unsigned long *) 0 ;
7350 unsigned long **arg6 = (unsigned long **) 0 ;
7351 bool result;
7352 Window *argp2 ;
7353 PyObject * obj0 = 0 ;
7354 PyObject * obj1 = 0 ;
7355 PyObject * obj4 = 0 ;
7356 PyObject * obj5 = 0 ;
7357
7358 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7360 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7361 arg2 = *argp2;
7362 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7363 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7364 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7365
7366 resultobj = PyInt_FromLong((long)result);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7374 PyObject *resultobj;
7375 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7376 Window arg2 ;
7377 int arg3 ;
7378 int arg4 ;
7379 unsigned long *arg5 = (unsigned long *) 0 ;
7380 bool result;
7381 Window *argp2 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 PyObject * obj4 = 0 ;
7385
7386 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7388 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7389 arg2 = *argp2;
7390 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7391 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7392
7393 resultobj = PyInt_FromLong((long)result);
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7401 PyObject *resultobj;
7402 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7403 Window arg2 ;
7404 int arg3 ;
7405 int arg4 ;
7406 std::string *arg5 = (std::string *) 0 ;
7407 bool result;
7408 Window *argp2 ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 PyObject * obj4 = 0 ;
7412
7413 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7416 arg2 = *argp2;
7417 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7418 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7419
7420 resultobj = PyInt_FromLong((long)result);
7421 return resultobj;
7422 fail:
7423 return NULL;
7424 }
7425
7426
7427 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7428 PyObject *resultobj;
7429 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7430 Window arg2 ;
7431 int arg3 ;
7432 int arg4 ;
7433 unsigned long *arg5 = (unsigned long *) 0 ;
7434 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7435 bool result;
7436 Window *argp2 ;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 PyObject * obj4 = 0 ;
7440 PyObject * obj5 = 0 ;
7441
7442 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7444 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7445 arg2 = *argp2;
7446 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7447 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7449
7450 resultobj = PyInt_FromLong((long)result);
7451 return resultobj;
7452 fail:
7453 return NULL;
7454 }
7455
7456
7457 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7458 int argc;
7459 PyObject *argv[7];
7460 int ii;
7461
7462 argc = PyObject_Length(args);
7463 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7464 argv[ii] = PyTuple_GetItem(args,ii);
7465 }
7466 if (argc == 5) {
7467 int _v;
7468 {
7469 void *ptr;
7470 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7471 _v = 0;
7472 PyErr_Clear();
7473 }else {
7474 _v = 1;
7475 }
7476 }
7477 if (_v) {
7478 {
7479 void *ptr;
7480 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7481 _v = 0;
7482 PyErr_Clear();
7483 }else {
7484 _v = 1;
7485 }
7486 }
7487 if (_v) {
7488 {
7489 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7490 }
7491 if (_v) {
7492 {
7493 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7494 }
7495 if (_v) {
7496 {
7497 void *ptr;
7498 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7499 _v = 0;
7500 PyErr_Clear();
7501 }else {
7502 _v = 1;
7503 }
7504 }
7505 if (_v) {
7506 return _wrap_OBProperty_get__SWIG_1(self,args);
7507 }
7508 }
7509 }
7510 }
7511 }
7512 }
7513 if (argc == 5) {
7514 int _v;
7515 {
7516 void *ptr;
7517 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7518 _v = 0;
7519 PyErr_Clear();
7520 }else {
7521 _v = 1;
7522 }
7523 }
7524 if (_v) {
7525 {
7526 void *ptr;
7527 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7528 _v = 0;
7529 PyErr_Clear();
7530 }else {
7531 _v = 1;
7532 }
7533 }
7534 if (_v) {
7535 {
7536 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7537 }
7538 if (_v) {
7539 {
7540 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7541 }
7542 if (_v) {
7543 {
7544 void *ptr;
7545 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7546 _v = 0;
7547 PyErr_Clear();
7548 }else {
7549 _v = 1;
7550 }
7551 }
7552 if (_v) {
7553 return _wrap_OBProperty_get__SWIG_2(self,args);
7554 }
7555 }
7556 }
7557 }
7558 }
7559 }
7560 if (argc == 6) {
7561 int _v;
7562 {
7563 void *ptr;
7564 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7565 _v = 0;
7566 PyErr_Clear();
7567 }else {
7568 _v = 1;
7569 }
7570 }
7571 if (_v) {
7572 {
7573 void *ptr;
7574 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7575 _v = 0;
7576 PyErr_Clear();
7577 }else {
7578 _v = 1;
7579 }
7580 }
7581 if (_v) {
7582 {
7583 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7584 }
7585 if (_v) {
7586 {
7587 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7588 }
7589 if (_v) {
7590 {
7591 void *ptr;
7592 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7593 _v = 0;
7594 PyErr_Clear();
7595 }else {
7596 _v = 1;
7597 }
7598 }
7599 if (_v) {
7600 {
7601 void *ptr;
7602 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7603 _v = 0;
7604 PyErr_Clear();
7605 }else {
7606 _v = 1;
7607 }
7608 }
7609 if (_v) {
7610 return _wrap_OBProperty_get__SWIG_0(self,args);
7611 }
7612 }
7613 }
7614 }
7615 }
7616 }
7617 }
7618 if (argc == 6) {
7619 int _v;
7620 {
7621 void *ptr;
7622 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7623 _v = 0;
7624 PyErr_Clear();
7625 }else {
7626 _v = 1;
7627 }
7628 }
7629 if (_v) {
7630 {
7631 void *ptr;
7632 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7633 _v = 0;
7634 PyErr_Clear();
7635 }else {
7636 _v = 1;
7637 }
7638 }
7639 if (_v) {
7640 {
7641 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7642 }
7643 if (_v) {
7644 {
7645 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7646 }
7647 if (_v) {
7648 {
7649 void *ptr;
7650 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7651 _v = 0;
7652 PyErr_Clear();
7653 }else {
7654 _v = 1;
7655 }
7656 }
7657 if (_v) {
7658 {
7659 void *ptr;
7660 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7661 _v = 0;
7662 PyErr_Clear();
7663 }else {
7664 _v = 1;
7665 }
7666 }
7667 if (_v) {
7668 return _wrap_OBProperty_get__SWIG_3(self,args);
7669 }
7670 }
7671 }
7672 }
7673 }
7674 }
7675 }
7676
7677 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7683 PyObject *resultobj;
7684 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7685 Window arg2 ;
7686 int arg3 ;
7687 Window *argp2 ;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690
7691 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7693 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7694 arg2 = *argp2;
7695 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7696
7697 Py_INCREF(Py_None); resultobj = Py_None;
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7705 PyObject *resultobj;
7706 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7707 int arg2 ;
7708 Atom result;
7709 PyObject * obj0 = 0 ;
7710
7711 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7714
7715 {
7716 Atom * resultptr;
7717 resultptr = new Atom((Atom &) result);
7718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7719 }
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7727 PyObject *obj;
7728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7729 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7730 Py_INCREF(obj);
7731 return Py_BuildValue((char *)"");
7732 }
7733 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7734 PyObject *resultobj;
7735 otk::Rect *result;
7736
7737 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7738 result = (otk::Rect *)new otk::Rect();
7739
7740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7748 PyObject *resultobj;
7749 int arg1 ;
7750 int arg2 ;
7751 int arg3 ;
7752 int arg4 ;
7753 otk::Rect *result;
7754
7755 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7756 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7757
7758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7766 PyObject *resultobj;
7767 otk::Point *arg1 = 0 ;
7768 otk::Point *arg2 = 0 ;
7769 otk::Rect *result;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772
7773 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7775 if (arg1 == NULL) {
7776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7777 }
7778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 if (arg2 == NULL) {
7780 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7781 }
7782 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7783
7784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7792 PyObject *resultobj;
7793 otk::Rect *arg1 = 0 ;
7794 otk::Rect *result;
7795 PyObject * obj0 = 0 ;
7796
7797 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7799 if (arg1 == NULL) {
7800 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7801 }
7802 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7803
7804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7805 return resultobj;
7806 fail:
7807 return NULL;
7808 }
7809
7810
7811 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7812 PyObject *resultobj;
7813 XRectangle *arg1 = 0 ;
7814 otk::Rect *result;
7815 PyObject * obj0 = 0 ;
7816
7817 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7819 if (arg1 == NULL) {
7820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7821 }
7822 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7823
7824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7832 int argc;
7833 PyObject *argv[5];
7834 int ii;
7835
7836 argc = PyObject_Length(args);
7837 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7838 argv[ii] = PyTuple_GetItem(args,ii);
7839 }
7840 if (argc == 0) {
7841 return _wrap_new_Rect__SWIG_0(self,args);
7842 }
7843 if (argc == 1) {
7844 int _v;
7845 {
7846 void *ptr;
7847 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7848 _v = 0;
7849 PyErr_Clear();
7850 }else {
7851 _v = 1;
7852 }
7853 }
7854 if (_v) {
7855 return _wrap_new_Rect__SWIG_3(self,args);
7856 }
7857 }
7858 if (argc == 1) {
7859 int _v;
7860 {
7861 void *ptr;
7862 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7863 _v = 0;
7864 PyErr_Clear();
7865 }else {
7866 _v = 1;
7867 }
7868 }
7869 if (_v) {
7870 return _wrap_new_Rect__SWIG_4(self,args);
7871 }
7872 }
7873 if (argc == 2) {
7874 int _v;
7875 {
7876 void *ptr;
7877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7878 _v = 0;
7879 PyErr_Clear();
7880 }else {
7881 _v = 1;
7882 }
7883 }
7884 if (_v) {
7885 {
7886 void *ptr;
7887 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7888 _v = 0;
7889 PyErr_Clear();
7890 }else {
7891 _v = 1;
7892 }
7893 }
7894 if (_v) {
7895 return _wrap_new_Rect__SWIG_2(self,args);
7896 }
7897 }
7898 }
7899 if (argc == 4) {
7900 int _v;
7901 {
7902 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7903 }
7904 if (_v) {
7905 {
7906 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7907 }
7908 if (_v) {
7909 {
7910 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7911 }
7912 if (_v) {
7913 {
7914 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7915 }
7916 if (_v) {
7917 return _wrap_new_Rect__SWIG_1(self,args);
7918 }
7919 }
7920 }
7921 }
7922 }
7923
7924 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7930 PyObject *resultobj;
7931 otk::Rect *arg1 = (otk::Rect *) 0 ;
7932 int result;
7933 PyObject * obj0 = 0 ;
7934
7935 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 result = (int)((otk::Rect const *)arg1)->left();
7938
7939 resultobj = PyInt_FromLong((long)result);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7947 PyObject *resultobj;
7948 otk::Rect *arg1 = (otk::Rect *) 0 ;
7949 int result;
7950 PyObject * obj0 = 0 ;
7951
7952 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7954 result = (int)((otk::Rect const *)arg1)->top();
7955
7956 resultobj = PyInt_FromLong((long)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7964 PyObject *resultobj;
7965 otk::Rect *arg1 = (otk::Rect *) 0 ;
7966 int result;
7967 PyObject * obj0 = 0 ;
7968
7969 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7971 result = (int)((otk::Rect const *)arg1)->right();
7972
7973 resultobj = PyInt_FromLong((long)result);
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7981 PyObject *resultobj;
7982 otk::Rect *arg1 = (otk::Rect *) 0 ;
7983 int result;
7984 PyObject * obj0 = 0 ;
7985
7986 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7988 result = (int)((otk::Rect const *)arg1)->bottom();
7989
7990 resultobj = PyInt_FromLong((long)result);
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7998 PyObject *resultobj;
7999 otk::Rect *arg1 = (otk::Rect *) 0 ;
8000 int result;
8001 PyObject * obj0 = 0 ;
8002
8003 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8005 result = (int)((otk::Rect const *)arg1)->x();
8006
8007 resultobj = PyInt_FromLong((long)result);
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
8015 PyObject *resultobj;
8016 otk::Rect *arg1 = (otk::Rect *) 0 ;
8017 int result;
8018 PyObject * obj0 = 0 ;
8019
8020 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8022 result = (int)((otk::Rect const *)arg1)->y();
8023
8024 resultobj = PyInt_FromLong((long)result);
8025 return resultobj;
8026 fail:
8027 return NULL;
8028 }
8029
8030
8031 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
8032 PyObject *resultobj;
8033 otk::Rect *arg1 = (otk::Rect *) 0 ;
8034 otk::Point result;
8035 PyObject * obj0 = 0 ;
8036
8037 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
8038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8039 result = ((otk::Rect const *)arg1)->location();
8040
8041 {
8042 otk::Point * resultptr;
8043 resultptr = new otk::Point((otk::Point &) result);
8044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8045 }
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8053 PyObject *resultobj;
8054 otk::Rect *arg1 = (otk::Rect *) 0 ;
8055 int arg2 ;
8056 PyObject * obj0 = 0 ;
8057
8058 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8060 (arg1)->setX(arg2);
8061
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8070 PyObject *resultobj;
8071 otk::Rect *arg1 = (otk::Rect *) 0 ;
8072 int arg2 ;
8073 PyObject * obj0 = 0 ;
8074
8075 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8077 (arg1)->setY(arg2);
8078
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8087 PyObject *resultobj;
8088 otk::Rect *arg1 = (otk::Rect *) 0 ;
8089 int arg2 ;
8090 int arg3 ;
8091 PyObject * obj0 = 0 ;
8092
8093 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8095 (arg1)->setPos(arg2,arg3);
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__SWIG_1(PyObject *self, PyObject *args) {
8105 PyObject *resultobj;
8106 otk::Rect *arg1 = (otk::Rect *) 0 ;
8107 otk::Point *arg2 = 0 ;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110
8111 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 if (arg2 == NULL) {
8115 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8116 }
8117 (arg1)->setPos((otk::Point const &)*arg2);
8118
8119 Py_INCREF(Py_None); resultobj = Py_None;
8120 return resultobj;
8121 fail:
8122 return NULL;
8123 }
8124
8125
8126 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8127 int argc;
8128 PyObject *argv[4];
8129 int ii;
8130
8131 argc = PyObject_Length(args);
8132 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8133 argv[ii] = PyTuple_GetItem(args,ii);
8134 }
8135 if (argc == 2) {
8136 int _v;
8137 {
8138 void *ptr;
8139 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8140 _v = 0;
8141 PyErr_Clear();
8142 }else {
8143 _v = 1;
8144 }
8145 }
8146 if (_v) {
8147 {
8148 void *ptr;
8149 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8150 _v = 0;
8151 PyErr_Clear();
8152 }else {
8153 _v = 1;
8154 }
8155 }
8156 if (_v) {
8157 return _wrap_Rect_setPos__SWIG_1(self,args);
8158 }
8159 }
8160 }
8161 if (argc == 3) {
8162 int _v;
8163 {
8164 void *ptr;
8165 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8166 _v = 0;
8167 PyErr_Clear();
8168 }else {
8169 _v = 1;
8170 }
8171 }
8172 if (_v) {
8173 {
8174 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8175 }
8176 if (_v) {
8177 {
8178 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8179 }
8180 if (_v) {
8181 return _wrap_Rect_setPos__SWIG_0(self,args);
8182 }
8183 }
8184 }
8185 }
8186
8187 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8193 PyObject *resultobj;
8194 otk::Rect *arg1 = (otk::Rect *) 0 ;
8195 int result;
8196 PyObject * obj0 = 0 ;
8197
8198 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8200 result = (int)((otk::Rect const *)arg1)->width();
8201
8202 resultobj = PyInt_FromLong((long)result);
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8210 PyObject *resultobj;
8211 otk::Rect *arg1 = (otk::Rect *) 0 ;
8212 int result;
8213 PyObject * obj0 = 0 ;
8214
8215 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8217 result = (int)((otk::Rect const *)arg1)->height();
8218
8219 resultobj = PyInt_FromLong((long)result);
8220 return resultobj;
8221 fail:
8222 return NULL;
8223 }
8224
8225
8226 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8227 PyObject *resultobj;
8228 otk::Rect *arg1 = (otk::Rect *) 0 ;
8229 otk::Point result;
8230 PyObject * obj0 = 0 ;
8231
8232 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8234 result = ((otk::Rect const *)arg1)->size();
8235
8236 {
8237 otk::Point * resultptr;
8238 resultptr = new otk::Point((otk::Point &) result);
8239 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8240 }
8241 return resultobj;
8242 fail:
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8248 PyObject *resultobj;
8249 otk::Rect *arg1 = (otk::Rect *) 0 ;
8250 int arg2 ;
8251 PyObject * obj0 = 0 ;
8252
8253 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8255 (arg1)->setWidth(arg2);
8256
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 return resultobj;
8259 fail:
8260 return NULL;
8261 }
8262
8263
8264 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8265 PyObject *resultobj;
8266 otk::Rect *arg1 = (otk::Rect *) 0 ;
8267 int arg2 ;
8268 PyObject * obj0 = 0 ;
8269
8270 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 (arg1)->setHeight(arg2);
8273
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 return resultobj;
8276 fail:
8277 return NULL;
8278 }
8279
8280
8281 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8282 PyObject *resultobj;
8283 otk::Rect *arg1 = (otk::Rect *) 0 ;
8284 int arg2 ;
8285 int arg3 ;
8286 PyObject * obj0 = 0 ;
8287
8288 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 (arg1)->setSize(arg2,arg3);
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__SWIG_1(PyObject *self, PyObject *args) {
8300 PyObject *resultobj;
8301 otk::Rect *arg1 = (otk::Rect *) 0 ;
8302 otk::Point *arg2 = 0 ;
8303 PyObject * obj0 = 0 ;
8304 PyObject * obj1 = 0 ;
8305
8306 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8309 if (arg2 == NULL) {
8310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8311 }
8312 (arg1)->setSize((otk::Point const &)*arg2);
8313
8314 Py_INCREF(Py_None); resultobj = Py_None;
8315 return resultobj;
8316 fail:
8317 return NULL;
8318 }
8319
8320
8321 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8322 int argc;
8323 PyObject *argv[4];
8324 int ii;
8325
8326 argc = PyObject_Length(args);
8327 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8328 argv[ii] = PyTuple_GetItem(args,ii);
8329 }
8330 if (argc == 2) {
8331 int _v;
8332 {
8333 void *ptr;
8334 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8335 _v = 0;
8336 PyErr_Clear();
8337 }else {
8338 _v = 1;
8339 }
8340 }
8341 if (_v) {
8342 {
8343 void *ptr;
8344 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8345 _v = 0;
8346 PyErr_Clear();
8347 }else {
8348 _v = 1;
8349 }
8350 }
8351 if (_v) {
8352 return _wrap_Rect_setSize__SWIG_1(self,args);
8353 }
8354 }
8355 }
8356 if (argc == 3) {
8357 int _v;
8358 {
8359 void *ptr;
8360 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8361 _v = 0;
8362 PyErr_Clear();
8363 }else {
8364 _v = 1;
8365 }
8366 }
8367 if (_v) {
8368 {
8369 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8370 }
8371 if (_v) {
8372 {
8373 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8374 }
8375 if (_v) {
8376 return _wrap_Rect_setSize__SWIG_0(self,args);
8377 }
8378 }
8379 }
8380 }
8381
8382 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8383 return NULL;
8384 }
8385
8386
8387 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8388 PyObject *resultobj;
8389 otk::Rect *arg1 = (otk::Rect *) 0 ;
8390 int arg2 ;
8391 int arg3 ;
8392 int arg4 ;
8393 int arg5 ;
8394 PyObject * obj0 = 0 ;
8395
8396 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8398 (arg1)->setRect(arg2,arg3,arg4,arg5);
8399
8400 Py_INCREF(Py_None); resultobj = Py_None;
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8408 PyObject *resultobj;
8409 otk::Rect *arg1 = (otk::Rect *) 0 ;
8410 otk::Point *arg2 = 0 ;
8411 otk::Point *arg3 = 0 ;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 PyObject * obj2 = 0 ;
8415
8416 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419 if (arg2 == NULL) {
8420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8421 }
8422 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8423 if (arg3 == NULL) {
8424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8425 }
8426 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8427
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8436 int argc;
8437 PyObject *argv[6];
8438 int ii;
8439
8440 argc = PyObject_Length(args);
8441 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8442 argv[ii] = PyTuple_GetItem(args,ii);
8443 }
8444 if (argc == 3) {
8445 int _v;
8446 {
8447 void *ptr;
8448 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8449 _v = 0;
8450 PyErr_Clear();
8451 }else {
8452 _v = 1;
8453 }
8454 }
8455 if (_v) {
8456 {
8457 void *ptr;
8458 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8459 _v = 0;
8460 PyErr_Clear();
8461 }else {
8462 _v = 1;
8463 }
8464 }
8465 if (_v) {
8466 {
8467 void *ptr;
8468 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8469 _v = 0;
8470 PyErr_Clear();
8471 }else {
8472 _v = 1;
8473 }
8474 }
8475 if (_v) {
8476 return _wrap_Rect_setRect__SWIG_1(self,args);
8477 }
8478 }
8479 }
8480 }
8481 if (argc == 5) {
8482 int _v;
8483 {
8484 void *ptr;
8485 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8486 _v = 0;
8487 PyErr_Clear();
8488 }else {
8489 _v = 1;
8490 }
8491 }
8492 if (_v) {
8493 {
8494 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8495 }
8496 if (_v) {
8497 {
8498 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8499 }
8500 if (_v) {
8501 {
8502 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8503 }
8504 if (_v) {
8505 {
8506 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8507 }
8508 if (_v) {
8509 return _wrap_Rect_setRect__SWIG_0(self,args);
8510 }
8511 }
8512 }
8513 }
8514 }
8515 }
8516
8517 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8523 PyObject *resultobj;
8524 otk::Rect *arg1 = (otk::Rect *) 0 ;
8525 int arg2 ;
8526 int arg3 ;
8527 int arg4 ;
8528 int arg5 ;
8529 PyObject * obj0 = 0 ;
8530
8531 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8533 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8534
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8543 PyObject *resultobj;
8544 otk::Rect *arg1 = (otk::Rect *) 0 ;
8545 otk::Point *arg2 = 0 ;
8546 otk::Point *arg3 = 0 ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550
8551 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8554 if (arg2 == NULL) {
8555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8556 }
8557 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8558 if (arg3 == NULL) {
8559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8560 }
8561 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8562
8563 Py_INCREF(Py_None); resultobj = Py_None;
8564 return resultobj;
8565 fail:
8566 return NULL;
8567 }
8568
8569
8570 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8571 int argc;
8572 PyObject *argv[6];
8573 int ii;
8574
8575 argc = PyObject_Length(args);
8576 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8577 argv[ii] = PyTuple_GetItem(args,ii);
8578 }
8579 if (argc == 3) {
8580 int _v;
8581 {
8582 void *ptr;
8583 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8584 _v = 0;
8585 PyErr_Clear();
8586 }else {
8587 _v = 1;
8588 }
8589 }
8590 if (_v) {
8591 {
8592 void *ptr;
8593 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8594 _v = 0;
8595 PyErr_Clear();
8596 }else {
8597 _v = 1;
8598 }
8599 }
8600 if (_v) {
8601 {
8602 void *ptr;
8603 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8604 _v = 0;
8605 PyErr_Clear();
8606 }else {
8607 _v = 1;
8608 }
8609 }
8610 if (_v) {
8611 return _wrap_Rect_setCoords__SWIG_1(self,args);
8612 }
8613 }
8614 }
8615 }
8616 if (argc == 5) {
8617 int _v;
8618 {
8619 void *ptr;
8620 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8621 _v = 0;
8622 PyErr_Clear();
8623 }else {
8624 _v = 1;
8625 }
8626 }
8627 if (_v) {
8628 {
8629 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8630 }
8631 if (_v) {
8632 {
8633 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8634 }
8635 if (_v) {
8636 {
8637 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8638 }
8639 if (_v) {
8640 {
8641 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8642 }
8643 if (_v) {
8644 return _wrap_Rect_setCoords__SWIG_0(self,args);
8645 }
8646 }
8647 }
8648 }
8649 }
8650 }
8651
8652 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8653 return NULL;
8654 }
8655
8656
8657 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8658 PyObject *resultobj;
8659 otk::Rect *arg1 = (otk::Rect *) 0 ;
8660 otk::Rect *arg2 = 0 ;
8661 bool result;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664
8665 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 if (arg2 == NULL) {
8669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8670 }
8671 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8672
8673 resultobj = PyInt_FromLong((long)result);
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8681 PyObject *resultobj;
8682 otk::Rect *arg1 = (otk::Rect *) 0 ;
8683 bool result;
8684 PyObject * obj0 = 0 ;
8685
8686 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8688 result = (bool)((otk::Rect const *)arg1)->valid();
8689
8690 resultobj = PyInt_FromLong((long)result);
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8698 PyObject *resultobj;
8699 otk::Rect *arg1 = (otk::Rect *) 0 ;
8700 otk::Rect *arg2 = 0 ;
8701 bool result;
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
8704
8705 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8708 if (arg2 == NULL) {
8709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8710 }
8711 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8712
8713 resultobj = PyInt_FromLong((long)result);
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8721 PyObject *resultobj;
8722 otk::Rect *arg1 = (otk::Rect *) 0 ;
8723 int arg2 ;
8724 int arg3 ;
8725 bool result;
8726 PyObject * obj0 = 0 ;
8727
8728 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8730 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8731
8732 resultobj = PyInt_FromLong((long)result);
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8740 PyObject *resultobj;
8741 otk::Rect *arg1 = (otk::Rect *) 0 ;
8742 otk::Point *arg2 = 0 ;
8743 bool result;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746
8747 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 if (arg2 == NULL) {
8751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8752 }
8753 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8754
8755 resultobj = PyInt_FromLong((long)result);
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8763 PyObject *resultobj;
8764 otk::Rect *arg1 = (otk::Rect *) 0 ;
8765 otk::Rect *arg2 = 0 ;
8766 bool result;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769
8770 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8773 if (arg2 == NULL) {
8774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8775 }
8776 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8777
8778 resultobj = PyInt_FromLong((long)result);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8786 int argc;
8787 PyObject *argv[4];
8788 int ii;
8789
8790 argc = PyObject_Length(args);
8791 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8792 argv[ii] = PyTuple_GetItem(args,ii);
8793 }
8794 if (argc == 2) {
8795 int _v;
8796 {
8797 void *ptr;
8798 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8799 _v = 0;
8800 PyErr_Clear();
8801 }else {
8802 _v = 1;
8803 }
8804 }
8805 if (_v) {
8806 {
8807 void *ptr;
8808 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8809 _v = 0;
8810 PyErr_Clear();
8811 }else {
8812 _v = 1;
8813 }
8814 }
8815 if (_v) {
8816 return _wrap_Rect_contains__SWIG_1(self,args);
8817 }
8818 }
8819 }
8820 if (argc == 2) {
8821 int _v;
8822 {
8823 void *ptr;
8824 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8825 _v = 0;
8826 PyErr_Clear();
8827 }else {
8828 _v = 1;
8829 }
8830 }
8831 if (_v) {
8832 {
8833 void *ptr;
8834 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8835 _v = 0;
8836 PyErr_Clear();
8837 }else {
8838 _v = 1;
8839 }
8840 }
8841 if (_v) {
8842 return _wrap_Rect_contains__SWIG_2(self,args);
8843 }
8844 }
8845 }
8846 if (argc == 3) {
8847 int _v;
8848 {
8849 void *ptr;
8850 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8851 _v = 0;
8852 PyErr_Clear();
8853 }else {
8854 _v = 1;
8855 }
8856 }
8857 if (_v) {
8858 {
8859 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8860 }
8861 if (_v) {
8862 {
8863 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8864 }
8865 if (_v) {
8866 return _wrap_Rect_contains__SWIG_0(self,args);
8867 }
8868 }
8869 }
8870 }
8871
8872 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8873 return NULL;
8874 }
8875
8876
8877 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8878 PyObject *resultobj;
8879 otk::Rect *arg1 = (otk::Rect *) 0 ;
8880 PyObject * obj0 = 0 ;
8881
8882 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 delete arg1;
8885
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8894 PyObject *obj;
8895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8896 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8897 Py_INCREF(obj);
8898 return Py_BuildValue((char *)"");
8899 }
8900 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8901 PyObject *resultobj;
8902 unsigned int arg1 ;
8903 otk::ScreenInfo *result;
8904 PyObject * obj0 = 0 ;
8905
8906 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8907 arg1 = (unsigned int) PyInt_AsLong(obj0);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8910
8911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8919 PyObject *resultobj;
8920 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8921 Visual *result;
8922 PyObject * obj0 = 0 ;
8923
8924 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8927
8928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8936 PyObject *resultobj;
8937 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8938 Window result;
8939 PyObject * obj0 = 0 ;
8940
8941 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
8944
8945 {
8946 Window * resultptr;
8947 resultptr = new Window((Window &) result);
8948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
8949 }
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8957 PyObject *resultobj;
8958 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8959 Colormap result;
8960 PyObject * obj0 = 0 ;
8961
8962 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8964 result = ((otk::ScreenInfo const *)arg1)->colormap();
8965
8966 {
8967 Colormap * resultptr;
8968 resultptr = new Colormap((Colormap &) result);
8969 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
8970 }
8971 return resultobj;
8972 fail:
8973 return NULL;
8974 }
8975
8976
8977 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8978 PyObject *resultobj;
8979 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8980 int result;
8981 PyObject * obj0 = 0 ;
8982
8983 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8985 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8986
8987 resultobj = PyInt_FromLong((long)result);
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8995 PyObject *resultobj;
8996 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8997 unsigned int result;
8998 PyObject * obj0 = 0 ;
8999
9000 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9002 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
9003
9004 resultobj = PyInt_FromLong((long)result);
9005 return resultobj;
9006 fail:
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
9012 PyObject *resultobj;
9013 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9014 otk::Rect *result;
9015 PyObject * obj0 = 0 ;
9016
9017 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9019 {
9020 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
9021 result = (otk::Rect *) &_result_ref;
9022 }
9023
9024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
9032 PyObject *resultobj;
9033 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9034 unsigned int result;
9035 PyObject * obj0 = 0 ;
9036
9037 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
9038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9039 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
9040
9041 resultobj = PyInt_FromLong((long)result);
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
9049 PyObject *resultobj;
9050 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9051 unsigned int result;
9052 PyObject * obj0 = 0 ;
9053
9054 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
9057
9058 resultobj = PyInt_FromLong((long)result);
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9066 PyObject *resultobj;
9067 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9068 std::string *result;
9069 PyObject * obj0 = 0 ;
9070
9071 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 {
9074 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9075 result = (std::string *) &_result_ref;
9076 }
9077
9078 {
9079 resultobj = PyString_FromString(result->c_str());
9080 }
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9088 PyObject *resultobj;
9089 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9090 PyObject * obj0 = 0 ;
9091
9092 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9094 delete arg1;
9095
9096 Py_INCREF(Py_None); resultobj = Py_None;
9097 return resultobj;
9098 fail:
9099 return NULL;
9100 }
9101
9102
9103 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9104 PyObject *obj;
9105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9106 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9107 Py_INCREF(obj);
9108 return Py_BuildValue((char *)"");
9109 }
9110 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9111 PyObject *resultobj;
9112 otk::Strut *arg1 = (otk::Strut *) 0 ;
9113 unsigned int arg2 ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116
9117 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9119 arg2 = (unsigned int) PyInt_AsLong(obj1);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 if (arg1) (arg1)->top = arg2;
9122
9123 Py_INCREF(Py_None); resultobj = Py_None;
9124 return resultobj;
9125 fail:
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9131 PyObject *resultobj;
9132 otk::Strut *arg1 = (otk::Strut *) 0 ;
9133 unsigned int result;
9134 PyObject * obj0 = 0 ;
9135
9136 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 result = (unsigned int) ((arg1)->top);
9139
9140 resultobj = PyInt_FromLong((long)result);
9141 return resultobj;
9142 fail:
9143 return NULL;
9144 }
9145
9146
9147 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9148 PyObject *resultobj;
9149 otk::Strut *arg1 = (otk::Strut *) 0 ;
9150 unsigned int arg2 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153
9154 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 arg2 = (unsigned int) PyInt_AsLong(obj1);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 if (arg1) (arg1)->bottom = arg2;
9159
9160 Py_INCREF(Py_None); resultobj = Py_None;
9161 return resultobj;
9162 fail:
9163 return NULL;
9164 }
9165
9166
9167 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9168 PyObject *resultobj;
9169 otk::Strut *arg1 = (otk::Strut *) 0 ;
9170 unsigned int result;
9171 PyObject * obj0 = 0 ;
9172
9173 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9175 result = (unsigned int) ((arg1)->bottom);
9176
9177 resultobj = PyInt_FromLong((long)result);
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9185 PyObject *resultobj;
9186 otk::Strut *arg1 = (otk::Strut *) 0 ;
9187 unsigned int arg2 ;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190
9191 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9193 arg2 = (unsigned int) PyInt_AsLong(obj1);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 if (arg1) (arg1)->left = arg2;
9196
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9205 PyObject *resultobj;
9206 otk::Strut *arg1 = (otk::Strut *) 0 ;
9207 unsigned int result;
9208 PyObject * obj0 = 0 ;
9209
9210 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9212 result = (unsigned int) ((arg1)->left);
9213
9214 resultobj = PyInt_FromLong((long)result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9222 PyObject *resultobj;
9223 otk::Strut *arg1 = (otk::Strut *) 0 ;
9224 unsigned int arg2 ;
9225 PyObject * obj0 = 0 ;
9226 PyObject * obj1 = 0 ;
9227
9228 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9230 arg2 = (unsigned int) PyInt_AsLong(obj1);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 if (arg1) (arg1)->right = arg2;
9233
9234 Py_INCREF(Py_None); resultobj = Py_None;
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9242 PyObject *resultobj;
9243 otk::Strut *arg1 = (otk::Strut *) 0 ;
9244 unsigned int result;
9245 PyObject * obj0 = 0 ;
9246
9247 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9249 result = (unsigned int) ((arg1)->right);
9250
9251 resultobj = PyInt_FromLong((long)result);
9252 return resultobj;
9253 fail:
9254 return NULL;
9255 }
9256
9257
9258 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9259 PyObject *resultobj;
9260 otk::Strut *result;
9261
9262 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9263 result = (otk::Strut *)new otk::Strut();
9264
9265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9273 PyObject *resultobj;
9274 int arg1 ;
9275 int arg2 ;
9276 int arg3 ;
9277 int arg4 ;
9278 otk::Strut *result;
9279
9280 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9281 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9282
9283 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9291 int argc;
9292 PyObject *argv[5];
9293 int ii;
9294
9295 argc = PyObject_Length(args);
9296 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9297 argv[ii] = PyTuple_GetItem(args,ii);
9298 }
9299 if (argc == 0) {
9300 return _wrap_new_Strut__SWIG_0(self,args);
9301 }
9302 if (argc == 4) {
9303 int _v;
9304 {
9305 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9306 }
9307 if (_v) {
9308 {
9309 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9310 }
9311 if (_v) {
9312 {
9313 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9314 }
9315 if (_v) {
9316 {
9317 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9318 }
9319 if (_v) {
9320 return _wrap_new_Strut__SWIG_1(self,args);
9321 }
9322 }
9323 }
9324 }
9325 }
9326
9327 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9333 PyObject *resultobj;
9334 otk::Strut *arg1 = (otk::Strut *) 0 ;
9335 PyObject * obj0 = 0 ;
9336
9337 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9339 delete arg1;
9340
9341 Py_INCREF(Py_None); resultobj = Py_None;
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9349 PyObject *obj;
9350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9351 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9352 Py_INCREF(obj);
9353 return Py_BuildValue((char *)"");
9354 }
9355 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9356 PyObject *resultobj;
9357 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9358 Pixmap arg2 ;
9359 Pixmap *argp2 ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362
9363 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9365 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9366 arg2 = *argp2;
9367 if (arg1) (arg1)->mask = arg2;
9368
9369 Py_INCREF(Py_None); resultobj = Py_None;
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9377 PyObject *resultobj;
9378 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9379 Pixmap result;
9380 PyObject * obj0 = 0 ;
9381
9382 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9384 result = ((arg1)->mask);
9385
9386 {
9387 Pixmap * resultptr;
9388 resultptr = new Pixmap((Pixmap &) result);
9389 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9390 }
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9398 PyObject *resultobj;
9399 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9400 unsigned int arg2 ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403
9404 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9406 arg2 = (unsigned int) PyInt_AsLong(obj1);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 if (arg1) (arg1)->w = arg2;
9409
9410 Py_INCREF(Py_None); resultobj = Py_None;
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9418 PyObject *resultobj;
9419 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9420 unsigned int result;
9421 PyObject * obj0 = 0 ;
9422
9423 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9425 result = (unsigned int) ((arg1)->w);
9426
9427 resultobj = PyInt_FromLong((long)result);
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9435 PyObject *resultobj;
9436 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9437 unsigned int arg2 ;
9438 PyObject * obj0 = 0 ;
9439 PyObject * obj1 = 0 ;
9440
9441 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 arg2 = (unsigned int) PyInt_AsLong(obj1);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 if (arg1) (arg1)->h = arg2;
9446
9447 Py_INCREF(Py_None); resultobj = Py_None;
9448 return resultobj;
9449 fail:
9450 return NULL;
9451 }
9452
9453
9454 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9455 PyObject *resultobj;
9456 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9457 unsigned int result;
9458 PyObject * obj0 = 0 ;
9459
9460 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9462 result = (unsigned int) ((arg1)->h);
9463
9464 resultobj = PyInt_FromLong((long)result);
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9472 PyObject *resultobj;
9473 otk::PixmapMask *result;
9474
9475 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9476 result = (otk::PixmapMask *)new otk::PixmapMask();
9477
9478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9486 PyObject *resultobj;
9487 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9488 PyObject * obj0 = 0 ;
9489
9490 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 delete arg1;
9493
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9502 PyObject *obj;
9503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9504 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9505 Py_INCREF(obj);
9506 return Py_BuildValue((char *)"");
9507 }
9508 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9509 PyObject *resultobj;
9510 otk::Style *arg1 = (otk::Style *) 0 ;
9511 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514
9515 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9518 if (arg1) (arg1)->image_control = arg2;
9519
9520 Py_INCREF(Py_None); resultobj = Py_None;
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9528 PyObject *resultobj;
9529 otk::Style *arg1 = (otk::Style *) 0 ;
9530 otk::BImageControl *result;
9531 PyObject * obj0 = 0 ;
9532
9533 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9535 result = (otk::BImageControl *) ((arg1)->image_control);
9536
9537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9538 return resultobj;
9539 fail:
9540 return NULL;
9541 }
9542
9543
9544 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9545 PyObject *resultobj;
9546 otk::Style *arg1 = (otk::Style *) 0 ;
9547 otk::BColor *arg2 = (otk::BColor *) 0 ;
9548 PyObject * obj0 = 0 ;
9549 PyObject * obj1 = 0 ;
9550
9551 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9554 if (arg1) (arg1)->l_text_focus = *arg2;
9555
9556 Py_INCREF(Py_None); resultobj = Py_None;
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9564 PyObject *resultobj;
9565 otk::Style *arg1 = (otk::Style *) 0 ;
9566 otk::BColor *result;
9567 PyObject * obj0 = 0 ;
9568
9569 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 result = (otk::BColor *)& ((arg1)->l_text_focus);
9572
9573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9581 PyObject *resultobj;
9582 otk::Style *arg1 = (otk::Style *) 0 ;
9583 otk::BColor *arg2 = (otk::BColor *) 0 ;
9584 PyObject * obj0 = 0 ;
9585 PyObject * obj1 = 0 ;
9586
9587 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 if (arg1) (arg1)->l_text_unfocus = *arg2;
9591
9592 Py_INCREF(Py_None); resultobj = Py_None;
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9600 PyObject *resultobj;
9601 otk::Style *arg1 = (otk::Style *) 0 ;
9602 otk::BColor *result;
9603 PyObject * obj0 = 0 ;
9604
9605 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9608
9609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9617 PyObject *resultobj;
9618 otk::Style *arg1 = (otk::Style *) 0 ;
9619 otk::BColor *arg2 = (otk::BColor *) 0 ;
9620 PyObject * obj0 = 0 ;
9621 PyObject * obj1 = 0 ;
9622
9623 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9626 if (arg1) (arg1)->b_pic_focus = *arg2;
9627
9628 Py_INCREF(Py_None); resultobj = Py_None;
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9636 PyObject *resultobj;
9637 otk::Style *arg1 = (otk::Style *) 0 ;
9638 otk::BColor *result;
9639 PyObject * obj0 = 0 ;
9640
9641 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9643 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9644
9645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9653 PyObject *resultobj;
9654 otk::Style *arg1 = (otk::Style *) 0 ;
9655 otk::BColor *arg2 = (otk::BColor *) 0 ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658
9659 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9663
9664 Py_INCREF(Py_None); resultobj = Py_None;
9665 return resultobj;
9666 fail:
9667 return NULL;
9668 }
9669
9670
9671 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9672 PyObject *resultobj;
9673 otk::Style *arg1 = (otk::Style *) 0 ;
9674 otk::BColor *result;
9675 PyObject * obj0 = 0 ;
9676
9677 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9679 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9680
9681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9689 PyObject *resultobj;
9690 otk::Style *arg1 = (otk::Style *) 0 ;
9691 otk::BColor *arg2 = (otk::BColor *) 0 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694
9695 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 if (arg1) (arg1)->border_color = *arg2;
9699
9700 Py_INCREF(Py_None); resultobj = Py_None;
9701 return resultobj;
9702 fail:
9703 return NULL;
9704 }
9705
9706
9707 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9708 PyObject *resultobj;
9709 otk::Style *arg1 = (otk::Style *) 0 ;
9710 otk::BColor *result;
9711 PyObject * obj0 = 0 ;
9712
9713 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9715 result = (otk::BColor *)& ((arg1)->border_color);
9716
9717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9725 PyObject *resultobj;
9726 otk::Style *arg1 = (otk::Style *) 0 ;
9727 otk::BFont *arg2 = (otk::BFont *) 0 ;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730
9731 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9734 if (arg1) (arg1)->font = arg2;
9735
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9744 PyObject *resultobj;
9745 otk::Style *arg1 = (otk::Style *) 0 ;
9746 otk::BFont *result;
9747 PyObject * obj0 = 0 ;
9748
9749 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9751 result = (otk::BFont *) ((arg1)->font);
9752
9753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9761 PyObject *resultobj;
9762 otk::Style *arg1 = (otk::Style *) 0 ;
9763 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766
9767 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9770 if (arg1) (arg1)->f_focus = *arg2;
9771
9772 Py_INCREF(Py_None); resultobj = Py_None;
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9780 PyObject *resultobj;
9781 otk::Style *arg1 = (otk::Style *) 0 ;
9782 otk::BTexture *result;
9783 PyObject * obj0 = 0 ;
9784
9785 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 result = (otk::BTexture *)& ((arg1)->f_focus);
9788
9789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9797 PyObject *resultobj;
9798 otk::Style *arg1 = (otk::Style *) 0 ;
9799 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802
9803 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9806 if (arg1) (arg1)->f_unfocus = *arg2;
9807
9808 Py_INCREF(Py_None); resultobj = Py_None;
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9816 PyObject *resultobj;
9817 otk::Style *arg1 = (otk::Style *) 0 ;
9818 otk::BTexture *result;
9819 PyObject * obj0 = 0 ;
9820
9821 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9823 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9824
9825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9826 return resultobj;
9827 fail:
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9833 PyObject *resultobj;
9834 otk::Style *arg1 = (otk::Style *) 0 ;
9835 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838
9839 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9842 if (arg1) (arg1)->t_focus = *arg2;
9843
9844 Py_INCREF(Py_None); resultobj = Py_None;
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9852 PyObject *resultobj;
9853 otk::Style *arg1 = (otk::Style *) 0 ;
9854 otk::BTexture *result;
9855 PyObject * obj0 = 0 ;
9856
9857 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9859 result = (otk::BTexture *)& ((arg1)->t_focus);
9860
9861 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9869 PyObject *resultobj;
9870 otk::Style *arg1 = (otk::Style *) 0 ;
9871 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874
9875 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 if (arg1) (arg1)->t_unfocus = *arg2;
9879
9880 Py_INCREF(Py_None); resultobj = Py_None;
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9888 PyObject *resultobj;
9889 otk::Style *arg1 = (otk::Style *) 0 ;
9890 otk::BTexture *result;
9891 PyObject * obj0 = 0 ;
9892
9893 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9895 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9896
9897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9905 PyObject *resultobj;
9906 otk::Style *arg1 = (otk::Style *) 0 ;
9907 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9908 PyObject * obj0 = 0 ;
9909 PyObject * obj1 = 0 ;
9910
9911 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 if (arg1) (arg1)->l_focus = *arg2;
9915
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9924 PyObject *resultobj;
9925 otk::Style *arg1 = (otk::Style *) 0 ;
9926 otk::BTexture *result;
9927 PyObject * obj0 = 0 ;
9928
9929 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9931 result = (otk::BTexture *)& ((arg1)->l_focus);
9932
9933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9941 PyObject *resultobj;
9942 otk::Style *arg1 = (otk::Style *) 0 ;
9943 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9944 PyObject * obj0 = 0 ;
9945 PyObject * obj1 = 0 ;
9946
9947 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 if (arg1) (arg1)->l_unfocus = *arg2;
9951
9952 Py_INCREF(Py_None); resultobj = Py_None;
9953 return resultobj;
9954 fail:
9955 return NULL;
9956 }
9957
9958
9959 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9960 PyObject *resultobj;
9961 otk::Style *arg1 = (otk::Style *) 0 ;
9962 otk::BTexture *result;
9963 PyObject * obj0 = 0 ;
9964
9965 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9968
9969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9977 PyObject *resultobj;
9978 otk::Style *arg1 = (otk::Style *) 0 ;
9979 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982
9983 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9986 if (arg1) (arg1)->h_focus = *arg2;
9987
9988 Py_INCREF(Py_None); resultobj = Py_None;
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9996 PyObject *resultobj;
9997 otk::Style *arg1 = (otk::Style *) 0 ;
9998 otk::BTexture *result;
9999 PyObject * obj0 = 0 ;
10000
10001 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10003 result = (otk::BTexture *)& ((arg1)->h_focus);
10004
10005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10006 return resultobj;
10007 fail:
10008 return NULL;
10009 }
10010
10011
10012 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
10013 PyObject *resultobj;
10014 otk::Style *arg1 = (otk::Style *) 0 ;
10015 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10016 PyObject * obj0 = 0 ;
10017 PyObject * obj1 = 0 ;
10018
10019 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 if (arg1) (arg1)->h_unfocus = *arg2;
10023
10024 Py_INCREF(Py_None); resultobj = Py_None;
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
10032 PyObject *resultobj;
10033 otk::Style *arg1 = (otk::Style *) 0 ;
10034 otk::BTexture *result;
10035 PyObject * obj0 = 0 ;
10036
10037 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 result = (otk::BTexture *)& ((arg1)->h_unfocus);
10040
10041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
10049 PyObject *resultobj;
10050 otk::Style *arg1 = (otk::Style *) 0 ;
10051 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10052 PyObject * obj0 = 0 ;
10053 PyObject * obj1 = 0 ;
10054
10055 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10057 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10058 if (arg1) (arg1)->b_focus = *arg2;
10059
10060 Py_INCREF(Py_None); resultobj = Py_None;
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10068 PyObject *resultobj;
10069 otk::Style *arg1 = (otk::Style *) 0 ;
10070 otk::BTexture *result;
10071 PyObject * obj0 = 0 ;
10072
10073 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10075 result = (otk::BTexture *)& ((arg1)->b_focus);
10076
10077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10085 PyObject *resultobj;
10086 otk::Style *arg1 = (otk::Style *) 0 ;
10087 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090
10091 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 if (arg1) (arg1)->b_unfocus = *arg2;
10095
10096 Py_INCREF(Py_None); resultobj = Py_None;
10097 return resultobj;
10098 fail:
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10104 PyObject *resultobj;
10105 otk::Style *arg1 = (otk::Style *) 0 ;
10106 otk::BTexture *result;
10107 PyObject * obj0 = 0 ;
10108
10109 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10111 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10112
10113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10121 PyObject *resultobj;
10122 otk::Style *arg1 = (otk::Style *) 0 ;
10123 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10124 PyObject * obj0 = 0 ;
10125 PyObject * obj1 = 0 ;
10126
10127 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10130 if (arg1) (arg1)->b_pressed_focus = *arg2;
10131
10132 Py_INCREF(Py_None); resultobj = Py_None;
10133 return resultobj;
10134 fail:
10135 return NULL;
10136 }
10137
10138
10139 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10140 PyObject *resultobj;
10141 otk::Style *arg1 = (otk::Style *) 0 ;
10142 otk::BTexture *result;
10143 PyObject * obj0 = 0 ;
10144
10145 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10147 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10148
10149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10157 PyObject *resultobj;
10158 otk::Style *arg1 = (otk::Style *) 0 ;
10159 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162
10163 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10167
10168 Py_INCREF(Py_None); resultobj = Py_None;
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10176 PyObject *resultobj;
10177 otk::Style *arg1 = (otk::Style *) 0 ;
10178 otk::BTexture *result;
10179 PyObject * obj0 = 0 ;
10180
10181 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10183 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10184
10185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10193 PyObject *resultobj;
10194 otk::Style *arg1 = (otk::Style *) 0 ;
10195 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198
10199 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10202 if (arg1) (arg1)->g_focus = *arg2;
10203
10204 Py_INCREF(Py_None); resultobj = Py_None;
10205 return resultobj;
10206 fail:
10207 return NULL;
10208 }
10209
10210
10211 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10212 PyObject *resultobj;
10213 otk::Style *arg1 = (otk::Style *) 0 ;
10214 otk::BTexture *result;
10215 PyObject * obj0 = 0 ;
10216
10217 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10219 result = (otk::BTexture *)& ((arg1)->g_focus);
10220
10221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10229 PyObject *resultobj;
10230 otk::Style *arg1 = (otk::Style *) 0 ;
10231 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10232 PyObject * obj0 = 0 ;
10233 PyObject * obj1 = 0 ;
10234
10235 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10238 if (arg1) (arg1)->g_unfocus = *arg2;
10239
10240 Py_INCREF(Py_None); resultobj = Py_None;
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10248 PyObject *resultobj;
10249 otk::Style *arg1 = (otk::Style *) 0 ;
10250 otk::BTexture *result;
10251 PyObject * obj0 = 0 ;
10252
10253 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10255 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10256
10257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10265 PyObject *resultobj;
10266 otk::Style *arg1 = (otk::Style *) 0 ;
10267 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270
10271 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10274 if (arg1) (arg1)->close_button = *arg2;
10275
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10284 PyObject *resultobj;
10285 otk::Style *arg1 = (otk::Style *) 0 ;
10286 otk::PixmapMask *result;
10287 PyObject * obj0 = 0 ;
10288
10289 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10291 result = (otk::PixmapMask *)& ((arg1)->close_button);
10292
10293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10301 PyObject *resultobj;
10302 otk::Style *arg1 = (otk::Style *) 0 ;
10303 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306
10307 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10310 if (arg1) (arg1)->max_button = *arg2;
10311
10312 Py_INCREF(Py_None); resultobj = Py_None;
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10320 PyObject *resultobj;
10321 otk::Style *arg1 = (otk::Style *) 0 ;
10322 otk::PixmapMask *result;
10323 PyObject * obj0 = 0 ;
10324
10325 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10327 result = (otk::PixmapMask *)& ((arg1)->max_button);
10328
10329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10337 PyObject *resultobj;
10338 otk::Style *arg1 = (otk::Style *) 0 ;
10339 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10340 PyObject * obj0 = 0 ;
10341 PyObject * obj1 = 0 ;
10342
10343 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10346 if (arg1) (arg1)->icon_button = *arg2;
10347
10348 Py_INCREF(Py_None); resultobj = Py_None;
10349 return resultobj;
10350 fail:
10351 return NULL;
10352 }
10353
10354
10355 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10356 PyObject *resultobj;
10357 otk::Style *arg1 = (otk::Style *) 0 ;
10358 otk::PixmapMask *result;
10359 PyObject * obj0 = 0 ;
10360
10361 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10363 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10364
10365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10373 PyObject *resultobj;
10374 otk::Style *arg1 = (otk::Style *) 0 ;
10375 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10376 PyObject * obj0 = 0 ;
10377 PyObject * obj1 = 0 ;
10378
10379 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if (arg1) (arg1)->stick_button = *arg2;
10383
10384 Py_INCREF(Py_None); resultobj = Py_None;
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10392 PyObject *resultobj;
10393 otk::Style *arg1 = (otk::Style *) 0 ;
10394 otk::PixmapMask *result;
10395 PyObject * obj0 = 0 ;
10396
10397 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10399 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10400
10401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10409 PyObject *resultobj;
10410 otk::Style *arg1 = (otk::Style *) 0 ;
10411 int arg2 ;
10412 PyObject * obj0 = 0 ;
10413
10414 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10416 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10417
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10426 PyObject *resultobj;
10427 otk::Style *arg1 = (otk::Style *) 0 ;
10428 int result;
10429 PyObject * obj0 = 0 ;
10430
10431 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10433 result = (int) ((arg1)->justify);
10434
10435 resultobj = PyInt_FromLong((long)result);
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10443 PyObject *resultobj;
10444 otk::Style *arg1 = (otk::Style *) 0 ;
10445 int arg2 ;
10446 PyObject * obj0 = 0 ;
10447
10448 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10450 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10451
10452 Py_INCREF(Py_None); resultobj = Py_None;
10453 return resultobj;
10454 fail:
10455 return NULL;
10456 }
10457
10458
10459 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10460 PyObject *resultobj;
10461 otk::Style *arg1 = (otk::Style *) 0 ;
10462 int result;
10463 PyObject * obj0 = 0 ;
10464
10465 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 result = (int) ((arg1)->bullet_type);
10468
10469 resultobj = PyInt_FromLong((long)result);
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10477 PyObject *resultobj;
10478 otk::Style *arg1 = (otk::Style *) 0 ;
10479 unsigned int arg2 ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482
10483 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10485 arg2 = (unsigned int) PyInt_AsLong(obj1);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 if (arg1) (arg1)->handle_width = arg2;
10488
10489 Py_INCREF(Py_None); resultobj = Py_None;
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10497 PyObject *resultobj;
10498 otk::Style *arg1 = (otk::Style *) 0 ;
10499 unsigned int result;
10500 PyObject * obj0 = 0 ;
10501
10502 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10504 result = (unsigned int) ((arg1)->handle_width);
10505
10506 resultobj = PyInt_FromLong((long)result);
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10514 PyObject *resultobj;
10515 otk::Style *arg1 = (otk::Style *) 0 ;
10516 unsigned int arg2 ;
10517 PyObject * obj0 = 0 ;
10518 PyObject * obj1 = 0 ;
10519
10520 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10522 arg2 = (unsigned int) PyInt_AsLong(obj1);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 if (arg1) (arg1)->bevel_width = arg2;
10525
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530 }
10531
10532
10533 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10534 PyObject *resultobj;
10535 otk::Style *arg1 = (otk::Style *) 0 ;
10536 unsigned int result;
10537 PyObject * obj0 = 0 ;
10538
10539 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10541 result = (unsigned int) ((arg1)->bevel_width);
10542
10543 resultobj = PyInt_FromLong((long)result);
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10551 PyObject *resultobj;
10552 otk::Style *arg1 = (otk::Style *) 0 ;
10553 unsigned int arg2 ;
10554 PyObject * obj0 = 0 ;
10555 PyObject * obj1 = 0 ;
10556
10557 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10559 arg2 = (unsigned int) PyInt_AsLong(obj1);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 if (arg1) (arg1)->frame_width = arg2;
10562
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10571 PyObject *resultobj;
10572 otk::Style *arg1 = (otk::Style *) 0 ;
10573 unsigned int result;
10574 PyObject * obj0 = 0 ;
10575
10576 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10578 result = (unsigned int) ((arg1)->frame_width);
10579
10580 resultobj = PyInt_FromLong((long)result);
10581 return resultobj;
10582 fail:
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10588 PyObject *resultobj;
10589 otk::Style *arg1 = (otk::Style *) 0 ;
10590 unsigned int arg2 ;
10591 PyObject * obj0 = 0 ;
10592 PyObject * obj1 = 0 ;
10593
10594 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10596 arg2 = (unsigned int) PyInt_AsLong(obj1);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 if (arg1) (arg1)->border_width = arg2;
10599
10600 Py_INCREF(Py_None); resultobj = Py_None;
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10608 PyObject *resultobj;
10609 otk::Style *arg1 = (otk::Style *) 0 ;
10610 unsigned int result;
10611 PyObject * obj0 = 0 ;
10612
10613 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10615 result = (unsigned int) ((arg1)->border_width);
10616
10617 resultobj = PyInt_FromLong((long)result);
10618 return resultobj;
10619 fail:
10620 return NULL;
10621 }
10622
10623
10624 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10625 PyObject *resultobj;
10626 otk::Style *arg1 = (otk::Style *) 0 ;
10627 unsigned int arg2 ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630
10631 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10633 arg2 = (unsigned int) PyInt_AsLong(obj1);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 if (arg1) (arg1)->screen_number = arg2;
10636
10637 Py_INCREF(Py_None); resultobj = Py_None;
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10645 PyObject *resultobj;
10646 otk::Style *arg1 = (otk::Style *) 0 ;
10647 unsigned int result;
10648 PyObject * obj0 = 0 ;
10649
10650 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10652 result = (unsigned int) ((arg1)->screen_number);
10653
10654 resultobj = PyInt_FromLong((long)result);
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10662 PyObject *resultobj;
10663 otk::Style *arg1 = (otk::Style *) 0 ;
10664 bool arg2 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667
10668 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10670 arg2 = (bool) PyInt_AsLong(obj1);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 if (arg1) (arg1)->shadow_fonts = arg2;
10673
10674 Py_INCREF(Py_None); resultobj = Py_None;
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10682 PyObject *resultobj;
10683 otk::Style *arg1 = (otk::Style *) 0 ;
10684 bool result;
10685 PyObject * obj0 = 0 ;
10686
10687 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 result = (bool) ((arg1)->shadow_fonts);
10690
10691 resultobj = PyInt_FromLong((long)result);
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10699 PyObject *resultobj;
10700 otk::Style *arg1 = (otk::Style *) 0 ;
10701 bool arg2 ;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704
10705 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10707 arg2 = (bool) PyInt_AsLong(obj1);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 if (arg1) (arg1)->aa_fonts = arg2;
10710
10711 Py_INCREF(Py_None); resultobj = Py_None;
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10719 PyObject *resultobj;
10720 otk::Style *arg1 = (otk::Style *) 0 ;
10721 bool result;
10722 PyObject * obj0 = 0 ;
10723
10724 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10726 result = (bool) ((arg1)->aa_fonts);
10727
10728 resultobj = PyInt_FromLong((long)result);
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10736 PyObject *resultobj;
10737 otk::Style *result;
10738
10739 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10740 result = (otk::Style *)new otk::Style();
10741
10742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10750 PyObject *resultobj;
10751 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10752 otk::Style *result;
10753 PyObject * obj0 = 0 ;
10754
10755 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10757 result = (otk::Style *)new otk::Style(arg1);
10758
10759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10760 return resultobj;
10761 fail:
10762 return NULL;
10763 }
10764
10765
10766 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10767 int argc;
10768 PyObject *argv[2];
10769 int ii;
10770
10771 argc = PyObject_Length(args);
10772 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10773 argv[ii] = PyTuple_GetItem(args,ii);
10774 }
10775 if (argc == 0) {
10776 return _wrap_new_Style__SWIG_0(self,args);
10777 }
10778 if (argc == 1) {
10779 int _v;
10780 {
10781 void *ptr;
10782 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10783 _v = 0;
10784 PyErr_Clear();
10785 }else {
10786 _v = 1;
10787 }
10788 }
10789 if (_v) {
10790 return _wrap_new_Style__SWIG_1(self,args);
10791 }
10792 }
10793
10794 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10800 PyObject *resultobj;
10801 otk::Style *arg1 = (otk::Style *) 0 ;
10802 PyObject * obj0 = 0 ;
10803
10804 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 delete arg1;
10807
10808 Py_INCREF(Py_None); resultobj = Py_None;
10809 return resultobj;
10810 fail:
10811 return NULL;
10812 }
10813
10814
10815 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10816 PyObject *resultobj;
10817 otk::Style *arg1 = (otk::Style *) 0 ;
10818 std::string *arg2 = 0 ;
10819 otk::PixmapMask *arg3 = 0 ;
10820 otk::Configuration *arg4 = 0 ;
10821 std::string temp2 ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 PyObject * obj2 = 0 ;
10825 PyObject * obj3 = 0 ;
10826
10827 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 if (PyString_Check(obj1)) {
10831 temp2 = std::string(PyString_AsString(obj1));
10832 arg2 = &temp2;
10833 }else {
10834 SWIG_exception(SWIG_TypeError, "string expected");
10835 }
10836 }
10837 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10838 if (arg3 == NULL) {
10839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10840 }
10841 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 if (arg4 == NULL) {
10843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10844 }
10845 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10846
10847 Py_INCREF(Py_None); resultobj = Py_None;
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10855 PyObject *resultobj;
10856 otk::Style *arg1 = (otk::Style *) 0 ;
10857 std::string *arg2 = 0 ;
10858 std::string *arg3 = 0 ;
10859 otk::Configuration *arg4 = 0 ;
10860 bool arg5 = (bool) false ;
10861 otk::BTexture result;
10862 std::string temp2 ;
10863 std::string temp3 ;
10864 PyObject * obj0 = 0 ;
10865 PyObject * obj1 = 0 ;
10866 PyObject * obj2 = 0 ;
10867 PyObject * obj3 = 0 ;
10868 PyObject * obj4 = 0 ;
10869
10870 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10872 {
10873 if (PyString_Check(obj1)) {
10874 temp2 = std::string(PyString_AsString(obj1));
10875 arg2 = &temp2;
10876 }else {
10877 SWIG_exception(SWIG_TypeError, "string expected");
10878 }
10879 }
10880 {
10881 if (PyString_Check(obj2)) {
10882 temp3 = std::string(PyString_AsString(obj2));
10883 arg3 = &temp3;
10884 }else {
10885 SWIG_exception(SWIG_TypeError, "string expected");
10886 }
10887 }
10888 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 if (arg4 == NULL) {
10890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10891 }
10892 if (obj4) {
10893 arg5 = (bool) PyInt_AsLong(obj4);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10897
10898 {
10899 otk::BTexture * resultptr;
10900 resultptr = new otk::BTexture((otk::BTexture &) result);
10901 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10902 }
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10910 PyObject *resultobj;
10911 otk::Style *arg1 = (otk::Style *) 0 ;
10912 std::string *arg2 = 0 ;
10913 std::string *arg3 = 0 ;
10914 otk::Configuration *arg4 = 0 ;
10915 otk::BColor result;
10916 std::string temp2 ;
10917 std::string temp3 ;
10918 PyObject * obj0 = 0 ;
10919 PyObject * obj1 = 0 ;
10920 PyObject * obj2 = 0 ;
10921 PyObject * obj3 = 0 ;
10922
10923 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10925 {
10926 if (PyString_Check(obj1)) {
10927 temp2 = std::string(PyString_AsString(obj1));
10928 arg2 = &temp2;
10929 }else {
10930 SWIG_exception(SWIG_TypeError, "string expected");
10931 }
10932 }
10933 {
10934 if (PyString_Check(obj2)) {
10935 temp3 = std::string(PyString_AsString(obj2));
10936 arg3 = &temp3;
10937 }else {
10938 SWIG_exception(SWIG_TypeError, "string expected");
10939 }
10940 }
10941 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10942 if (arg4 == NULL) {
10943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10944 }
10945 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10946
10947 {
10948 otk::BColor * resultptr;
10949 resultptr = new otk::BColor((otk::BColor &) result);
10950 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10951 }
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10959 PyObject *resultobj;
10960 otk::Style *arg1 = (otk::Style *) 0 ;
10961 std::string *arg2 = 0 ;
10962 otk::Configuration *arg3 = 0 ;
10963 otk::BFont *result;
10964 std::string temp2 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 PyObject * obj2 = 0 ;
10968
10969 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 {
10972 if (PyString_Check(obj1)) {
10973 temp2 = std::string(PyString_AsString(obj1));
10974 arg2 = &temp2;
10975 }else {
10976 SWIG_exception(SWIG_TypeError, "string expected");
10977 }
10978 }
10979 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 if (arg3 == NULL) {
10981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10982 }
10983 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10984
10985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10993 PyObject *resultobj;
10994 otk::Style *arg1 = (otk::Style *) 0 ;
10995 otk::Configuration *arg2 = 0 ;
10996 PyObject * obj0 = 0 ;
10997 PyObject * obj1 = 0 ;
10998
10999 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
11000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 if (arg2 == NULL) {
11003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11004 }
11005 (arg1)->load((otk::Configuration const &)*arg2);
11006
11007 Py_INCREF(Py_None); resultobj = Py_None;
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
11015 PyObject *resultobj;
11016 otk::Style *arg1 = (otk::Style *) 0 ;
11017 otk::PixmapMask *result;
11018 PyObject * obj0 = 0 ;
11019
11020 if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
11023
11024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
11032 PyObject *resultobj;
11033 otk::Style *arg1 = (otk::Style *) 0 ;
11034 otk::PixmapMask *result;
11035 PyObject * obj0 = 0 ;
11036
11037 if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
11040
11041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11042 return resultobj;
11043 fail:
11044 return NULL;
11045 }
11046
11047
11048 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
11049 PyObject *resultobj;
11050 otk::Style *arg1 = (otk::Style *) 0 ;
11051 otk::PixmapMask *result;
11052 PyObject * obj0 = 0 ;
11053
11054 if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11056 result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
11057
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11066 PyObject *resultobj;
11067 otk::Style *arg1 = (otk::Style *) 0 ;
11068 otk::PixmapMask *result;
11069 PyObject * obj0 = 0 ;
11070
11071 if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11073 result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11074
11075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11083 PyObject *resultobj;
11084 otk::Style *arg1 = (otk::Style *) 0 ;
11085 otk::BColor *result;
11086 PyObject * obj0 = 0 ;
11087
11088 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11090 result = (otk::BColor *)(arg1)->getTextFocus();
11091
11092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11100 PyObject *resultobj;
11101 otk::Style *arg1 = (otk::Style *) 0 ;
11102 otk::BColor *result;
11103 PyObject * obj0 = 0 ;
11104
11105 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 result = (otk::BColor *)(arg1)->getTextUnfocus();
11108
11109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11117 PyObject *resultobj;
11118 otk::Style *arg1 = (otk::Style *) 0 ;
11119 otk::BColor *result;
11120 PyObject * obj0 = 0 ;
11121
11122 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11124 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11125
11126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11134 PyObject *resultobj;
11135 otk::Style *arg1 = (otk::Style *) 0 ;
11136 otk::BColor *result;
11137 PyObject * obj0 = 0 ;
11138
11139 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11142
11143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11151 PyObject *resultobj;
11152 otk::Style *arg1 = (otk::Style *) 0 ;
11153 otk::BTexture *result;
11154 PyObject * obj0 = 0 ;
11155
11156 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 result = (otk::BTexture *)(arg1)->getTitleFocus();
11159
11160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11161 return resultobj;
11162 fail:
11163 return NULL;
11164 }
11165
11166
11167 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11168 PyObject *resultobj;
11169 otk::Style *arg1 = (otk::Style *) 0 ;
11170 otk::BTexture *result;
11171 PyObject * obj0 = 0 ;
11172
11173 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11176
11177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11185 PyObject *resultobj;
11186 otk::Style *arg1 = (otk::Style *) 0 ;
11187 otk::BTexture *result;
11188 PyObject * obj0 = 0 ;
11189
11190 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 result = (otk::BTexture *)(arg1)->getLabelFocus();
11193
11194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11202 PyObject *resultobj;
11203 otk::Style *arg1 = (otk::Style *) 0 ;
11204 otk::BTexture *result;
11205 PyObject * obj0 = 0 ;
11206
11207 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11209 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11210
11211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11219 PyObject *resultobj;
11220 otk::Style *arg1 = (otk::Style *) 0 ;
11221 otk::BTexture *result;
11222 PyObject * obj0 = 0 ;
11223
11224 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11226 result = (otk::BTexture *)(arg1)->getHandleFocus();
11227
11228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11236 PyObject *resultobj;
11237 otk::Style *arg1 = (otk::Style *) 0 ;
11238 otk::BTexture *result;
11239 PyObject * obj0 = 0 ;
11240
11241 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11243 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11244
11245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11253 PyObject *resultobj;
11254 otk::Style *arg1 = (otk::Style *) 0 ;
11255 otk::BTexture *result;
11256 PyObject * obj0 = 0 ;
11257
11258 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 result = (otk::BTexture *)(arg1)->getButtonFocus();
11261
11262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11270 PyObject *resultobj;
11271 otk::Style *arg1 = (otk::Style *) 0 ;
11272 otk::BTexture *result;
11273 PyObject * obj0 = 0 ;
11274
11275 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11278
11279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11280 return resultobj;
11281 fail:
11282 return NULL;
11283 }
11284
11285
11286 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11287 PyObject *resultobj;
11288 otk::Style *arg1 = (otk::Style *) 0 ;
11289 otk::BTexture *result;
11290 PyObject * obj0 = 0 ;
11291
11292 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11295
11296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11304 PyObject *resultobj;
11305 otk::Style *arg1 = (otk::Style *) 0 ;
11306 otk::BTexture *result;
11307 PyObject * obj0 = 0 ;
11308
11309 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11312
11313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11314 return resultobj;
11315 fail:
11316 return NULL;
11317 }
11318
11319
11320 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11321 PyObject *resultobj;
11322 otk::Style *arg1 = (otk::Style *) 0 ;
11323 otk::BTexture *result;
11324 PyObject * obj0 = 0 ;
11325
11326 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11328 result = (otk::BTexture *)(arg1)->getGripFocus();
11329
11330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11338 PyObject *resultobj;
11339 otk::Style *arg1 = (otk::Style *) 0 ;
11340 otk::BTexture *result;
11341 PyObject * obj0 = 0 ;
11342
11343 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11346
11347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11355 PyObject *resultobj;
11356 otk::Style *arg1 = (otk::Style *) 0 ;
11357 unsigned int result;
11358 PyObject * obj0 = 0 ;
11359
11360 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11362 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11363
11364 resultobj = PyInt_FromLong((long)result);
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11372 PyObject *resultobj;
11373 otk::Style *arg1 = (otk::Style *) 0 ;
11374 unsigned int result;
11375 PyObject * obj0 = 0 ;
11376
11377 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11379 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11380
11381 resultobj = PyInt_FromLong((long)result);
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11389 PyObject *resultobj;
11390 otk::Style *arg1 = (otk::Style *) 0 ;
11391 unsigned int result;
11392 PyObject * obj0 = 0 ;
11393
11394 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11396 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11397
11398 resultobj = PyInt_FromLong((long)result);
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11406 PyObject *resultobj;
11407 otk::Style *arg1 = (otk::Style *) 0 ;
11408 unsigned int result;
11409 PyObject * obj0 = 0 ;
11410
11411 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11413 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11414
11415 resultobj = PyInt_FromLong((long)result);
11416 return resultobj;
11417 fail:
11418 return NULL;
11419 }
11420
11421
11422 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11423 PyObject *resultobj;
11424 otk::Style *arg1 = (otk::Style *) 0 ;
11425 otk::BFont *result;
11426 PyObject * obj0 = 0 ;
11427
11428 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11430 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11431
11432 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11440 PyObject *resultobj;
11441 otk::Style *arg1 = (otk::Style *) 0 ;
11442 bool arg2 ;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445
11446 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11448 arg2 = (bool) PyInt_AsLong(obj1);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 (arg1)->setShadowFonts(arg2);
11451
11452 Py_INCREF(Py_None); resultobj = Py_None;
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11460 PyObject *resultobj;
11461 otk::Style *arg1 = (otk::Style *) 0 ;
11462 bool result;
11463 PyObject * obj0 = 0 ;
11464
11465 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11467 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11468
11469 resultobj = PyInt_FromLong((long)result);
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11477 PyObject *resultobj;
11478 otk::Style *arg1 = (otk::Style *) 0 ;
11479 bool arg2 ;
11480 PyObject * obj0 = 0 ;
11481 PyObject * obj1 = 0 ;
11482
11483 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11485 arg2 = (bool) PyInt_AsLong(obj1);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 (arg1)->setAAFonts(arg2);
11488
11489 Py_INCREF(Py_None); resultobj = Py_None;
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11497 PyObject *resultobj;
11498 otk::Style *arg1 = (otk::Style *) 0 ;
11499 bool result;
11500 PyObject * obj0 = 0 ;
11501
11502 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11504 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11505
11506 resultobj = PyInt_FromLong((long)result);
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11514 PyObject *resultobj;
11515 otk::Style *arg1 = (otk::Style *) 0 ;
11516 int result;
11517 PyObject * obj0 = 0 ;
11518
11519 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11521 result = (int)(arg1)->textJustify();
11522
11523 resultobj = PyInt_FromLong((long)result);
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11531 PyObject *resultobj;
11532 otk::Style *arg1 = (otk::Style *) 0 ;
11533 int result;
11534 PyObject * obj0 = 0 ;
11535
11536 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11538 result = (int)(arg1)->bulletType();
11539
11540 resultobj = PyInt_FromLong((long)result);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11548 PyObject *resultobj;
11549 otk::Style *arg1 = (otk::Style *) 0 ;
11550 otk::BColor *result;
11551 PyObject * obj0 = 0 ;
11552
11553 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11555 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11556
11557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11558 return resultobj;
11559 fail:
11560 return NULL;
11561 }
11562
11563
11564 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11565 PyObject *resultobj;
11566 otk::Style *arg1 = (otk::Style *) 0 ;
11567 otk::BTexture *result;
11568 PyObject * obj0 = 0 ;
11569
11570 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11572 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11573
11574 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11575 return resultobj;
11576 fail:
11577 return NULL;
11578 }
11579
11580
11581 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11582 PyObject *resultobj;
11583 otk::Style *arg1 = (otk::Style *) 0 ;
11584 otk::BTexture *result;
11585 PyObject * obj0 = 0 ;
11586
11587 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11590
11591 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11599 PyObject *resultobj;
11600 otk::Style *arg1 = (otk::Style *) 0 ;
11601 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604
11605 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11608 (arg1)->setImageControl(arg2);
11609
11610 Py_INCREF(Py_None); resultobj = Py_None;
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11618 PyObject *resultobj;
11619 otk::Style *arg1 = (otk::Style *) 0 ;
11620 unsigned int result;
11621 PyObject * obj0 = 0 ;
11622
11623 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 result = (unsigned int)(arg1)->getScreen();
11626
11627 resultobj = PyInt_FromLong((long)result);
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11635 PyObject *obj;
11636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11637 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11638 Py_INCREF(obj);
11639 return Py_BuildValue((char *)"");
11640 }
11641 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11642 PyObject *resultobj;
11643 unsigned int arg1 = (unsigned int) ~(0u) ;
11644 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11645 otk::BTexture *result;
11646 PyObject * obj0 = 0 ;
11647 PyObject * obj1 = 0 ;
11648
11649 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11650 if (obj0) {
11651 arg1 = (unsigned int) PyInt_AsLong(obj0);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 if (obj1) {
11655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11656 }
11657 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11658
11659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11667 PyObject *resultobj;
11668 std::string *arg1 = 0 ;
11669 unsigned int arg2 = (unsigned int) ~(0u) ;
11670 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11671 otk::BTexture *result;
11672 std::string temp1 ;
11673 PyObject * obj0 = 0 ;
11674 PyObject * obj1 = 0 ;
11675 PyObject * obj2 = 0 ;
11676
11677 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11678 {
11679 if (PyString_Check(obj0)) {
11680 temp1 = std::string(PyString_AsString(obj0));
11681 arg1 = &temp1;
11682 }else {
11683 SWIG_exception(SWIG_TypeError, "string expected");
11684 }
11685 }
11686 if (obj1) {
11687 arg2 = (unsigned int) PyInt_AsLong(obj1);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 if (obj2) {
11691 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 }
11693 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11694
11695 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11696 return resultobj;
11697 fail:
11698 return NULL;
11699 }
11700
11701
11702 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11703 int argc;
11704 PyObject *argv[4];
11705 int ii;
11706
11707 argc = PyObject_Length(args);
11708 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11709 argv[ii] = PyTuple_GetItem(args,ii);
11710 }
11711 if ((argc >= 0) && (argc <= 2)) {
11712 int _v;
11713 if (argc <= 0) {
11714 return _wrap_new_BTexture__SWIG_0(self,args);
11715 }
11716 {
11717 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11718 }
11719 if (_v) {
11720 if (argc <= 1) {
11721 return _wrap_new_BTexture__SWIG_0(self,args);
11722 }
11723 {
11724 void *ptr;
11725 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11726 _v = 0;
11727 PyErr_Clear();
11728 }else {
11729 _v = 1;
11730 }
11731 }
11732 if (_v) {
11733 return _wrap_new_BTexture__SWIG_0(self,args);
11734 }
11735 }
11736 }
11737 if ((argc >= 1) && (argc <= 3)) {
11738 int _v;
11739 {
11740 _v = PyString_Check(argv[0]) ? 1 : 0;
11741 }
11742 if (_v) {
11743 if (argc <= 1) {
11744 return _wrap_new_BTexture__SWIG_1(self,args);
11745 }
11746 {
11747 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11748 }
11749 if (_v) {
11750 if (argc <= 2) {
11751 return _wrap_new_BTexture__SWIG_1(self,args);
11752 }
11753 {
11754 void *ptr;
11755 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11756 _v = 0;
11757 PyErr_Clear();
11758 }else {
11759 _v = 1;
11760 }
11761 }
11762 if (_v) {
11763 return _wrap_new_BTexture__SWIG_1(self,args);
11764 }
11765 }
11766 }
11767 }
11768
11769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_BTexture_setColor(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_setColor",&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)->setColor((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_setColorTo(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_setColorTo",&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)->setColorTo((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_setBorderColor(PyObject *self, PyObject *args) {
11819 PyObject *resultobj;
11820 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11821 otk::BColor *arg2 = 0 ;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11824
11825 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 if (arg2 == NULL) {
11829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11830 }
11831 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11832
11833 Py_INCREF(Py_None); resultobj = Py_None;
11834 return resultobj;
11835 fail:
11836 return NULL;
11837 }
11838
11839
11840 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11841 PyObject *resultobj;
11842 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11843 otk::BColor *result;
11844 PyObject * obj0 = 0 ;
11845
11846 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11848 {
11849 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11850 result = (otk::BColor *) &_result_ref;
11851 }
11852
11853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11854 return resultobj;
11855 fail:
11856 return NULL;
11857 }
11858
11859
11860 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11861 PyObject *resultobj;
11862 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11863 otk::BColor *result;
11864 PyObject * obj0 = 0 ;
11865
11866 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11868 {
11869 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11870 result = (otk::BColor *) &_result_ref;
11871 }
11872
11873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11874 return resultobj;
11875 fail:
11876 return NULL;
11877 }
11878
11879
11880 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11881 PyObject *resultobj;
11882 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11883 otk::BColor *result;
11884 PyObject * obj0 = 0 ;
11885
11886 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11888 {
11889 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11890 result = (otk::BColor *) &_result_ref;
11891 }
11892
11893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11901 PyObject *resultobj;
11902 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11903 otk::BColor *result;
11904 PyObject * obj0 = 0 ;
11905
11906 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11908 {
11909 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11910 result = (otk::BColor *) &_result_ref;
11911 }
11912
11913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11914 return resultobj;
11915 fail:
11916 return NULL;
11917 }
11918
11919
11920 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11921 PyObject *resultobj;
11922 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11923 otk::BColor *result;
11924 PyObject * obj0 = 0 ;
11925
11926 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 {
11929 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11930 result = (otk::BColor *) &_result_ref;
11931 }
11932
11933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11941 PyObject *resultobj;
11942 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11943 unsigned long result;
11944 PyObject * obj0 = 0 ;
11945
11946 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11948 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11949
11950 resultobj = PyInt_FromLong((long)result);
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11958 PyObject *resultobj;
11959 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11960 unsigned long arg2 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963
11964 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11966 arg2 = (unsigned long) PyInt_AsLong(obj1);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 (arg1)->setTexture(arg2);
11969
11970 Py_INCREF(Py_None); resultobj = Py_None;
11971 return resultobj;
11972 fail:
11973 return NULL;
11974 }
11975
11976
11977 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11978 PyObject *resultobj;
11979 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11980 unsigned long arg2 ;
11981 PyObject * obj0 = 0 ;
11982 PyObject * obj1 = 0 ;
11983
11984 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 arg2 = (unsigned long) PyInt_AsLong(obj1);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 (arg1)->addTexture(arg2);
11989
11990 Py_INCREF(Py_None); resultobj = Py_None;
11991 return resultobj;
11992 fail:
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11998 PyObject *resultobj;
11999 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12000 otk::BTexture *arg2 = 0 ;
12001 bool result;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004
12005 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
12006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 if (arg2 == NULL) {
12009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12010 }
12011 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
12012
12013 resultobj = PyInt_FromLong((long)result);
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
12021 PyObject *resultobj;
12022 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12023 unsigned int result;
12024 PyObject * obj0 = 0 ;
12025
12026 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
12027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12028 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
12029
12030 resultobj = PyInt_FromLong((long)result);
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
12038 PyObject *resultobj;
12039 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12040 unsigned int arg2 ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043
12044 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
12045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12046 arg2 = (unsigned int) PyInt_AsLong(obj1);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 (arg1)->setScreen(arg2);
12049
12050 Py_INCREF(Py_None); resultobj = Py_None;
12051 return resultobj;
12052 fail:
12053 return NULL;
12054 }
12055
12056
12057 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
12058 PyObject *resultobj;
12059 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12060 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063
12064 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12067 (arg1)->setImageControl(arg2);
12068
12069 Py_INCREF(Py_None); resultobj = Py_None;
12070 return resultobj;
12071 fail:
12072 return NULL;
12073 }
12074
12075
12076 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12077 PyObject *resultobj;
12078 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12079 std::string *result;
12080 PyObject * obj0 = 0 ;
12081
12082 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 {
12085 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12086 result = (std::string *) &_result_ref;
12087 }
12088
12089 {
12090 resultobj = PyString_FromString(result->c_str());
12091 }
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12099 PyObject *resultobj;
12100 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12101 std::string *arg2 = 0 ;
12102 std::string temp2 ;
12103 PyObject * obj0 = 0 ;
12104 PyObject * obj1 = 0 ;
12105
12106 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12108 {
12109 if (PyString_Check(obj1)) {
12110 temp2 = std::string(PyString_AsString(obj1));
12111 arg2 = &temp2;
12112 }else {
12113 SWIG_exception(SWIG_TypeError, "string expected");
12114 }
12115 }
12116 (arg1)->setDescription((std::string const &)*arg2);
12117
12118 Py_INCREF(Py_None); resultobj = Py_None;
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12126 PyObject *resultobj;
12127 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12128 unsigned int arg2 ;
12129 unsigned int arg3 ;
12130 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12131 Pixmap result;
12132 Pixmap *argp4 ;
12133 PyObject * obj0 = 0 ;
12134 PyObject * obj1 = 0 ;
12135 PyObject * obj2 = 0 ;
12136 PyObject * obj3 = 0 ;
12137
12138 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12140 arg2 = (unsigned int) PyInt_AsLong(obj1);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 arg3 = (unsigned int) PyInt_AsLong(obj2);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 if (obj3) {
12145 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12146 arg4 = *argp4;
12147 }
12148 result = (arg1)->render(arg2,arg3,arg4);
12149
12150 {
12151 Pixmap * resultptr;
12152 resultptr = new Pixmap((Pixmap &) result);
12153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12154 }
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12162 PyObject *resultobj;
12163 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12164 PyObject * obj0 = 0 ;
12165
12166 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12168 delete arg1;
12169
12170 Py_INCREF(Py_None); resultobj = Py_None;
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12178 PyObject *obj;
12179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12180 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12181 Py_INCREF(obj);
12182 return Py_BuildValue((char *)"");
12183 }
12184 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12185 PyObject *resultobj;
12186 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12187 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12188 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12189 otk::OBTimer *result;
12190 PyObject * obj0 = 0 ;
12191 PyObject * obj1 = 0 ;
12192 PyObject * obj2 = 0 ;
12193
12194 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12197 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12198 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12199
12200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12201 return resultobj;
12202 fail:
12203 return NULL;
12204 }
12205
12206
12207 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12208 PyObject *resultobj;
12209 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12210 PyObject * obj0 = 0 ;
12211
12212 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 delete arg1;
12215
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12224 PyObject *resultobj;
12225 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12226 PyObject * obj0 = 0 ;
12227
12228 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12230 (arg1)->fire();
12231
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12240 PyObject *resultobj;
12241 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12242 bool result;
12243 PyObject * obj0 = 0 ;
12244
12245 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12247 result = (bool)((otk::OBTimer const *)arg1)->timing();
12248
12249 resultobj = PyInt_FromLong((long)result);
12250 return resultobj;
12251 fail:
12252 return NULL;
12253 }
12254
12255
12256 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12257 PyObject *resultobj;
12258 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12259 bool result;
12260 PyObject * obj0 = 0 ;
12261
12262 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12264 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12265
12266 resultobj = PyInt_FromLong((long)result);
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12274 PyObject *resultobj;
12275 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12276 timeval *result;
12277 PyObject * obj0 = 0 ;
12278
12279 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12281 {
12282 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12283 result = (timeval *) &_result_ref;
12284 }
12285
12286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12294 PyObject *resultobj;
12295 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12296 timeval *result;
12297 PyObject * obj0 = 0 ;
12298
12299 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12301 {
12302 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12303 result = (timeval *) &_result_ref;
12304 }
12305
12306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12307 return resultobj;
12308 fail:
12309 return NULL;
12310 }
12311
12312
12313 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12314 PyObject *resultobj;
12315 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12316 timeval *arg2 = 0 ;
12317 timeval result;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320
12321 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12324 if (arg2 == NULL) {
12325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12326 }
12327 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12328
12329 {
12330 timeval * resultptr;
12331 resultptr = new timeval((timeval &) result);
12332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12333 }
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12341 PyObject *resultobj;
12342 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12343 timeval *arg2 = 0 ;
12344 bool result;
12345 PyObject * obj0 = 0 ;
12346 PyObject * obj1 = 0 ;
12347
12348 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12351 if (arg2 == NULL) {
12352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12353 }
12354 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12355
12356 resultobj = PyInt_FromLong((long)result);
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12364 PyObject *resultobj;
12365 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12366 timeval result;
12367 PyObject * obj0 = 0 ;
12368
12369 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 result = ((otk::OBTimer const *)arg1)->endTime();
12372
12373 {
12374 timeval * resultptr;
12375 resultptr = new timeval((timeval &) result);
12376 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12377 }
12378 return resultobj;
12379 fail:
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12385 PyObject *resultobj;
12386 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12387 bool arg2 ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390
12391 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 arg2 = (bool) PyInt_AsLong(obj1);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 (arg1)->setRecurring(arg2);
12396
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12405 PyObject *resultobj;
12406 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12407 long arg2 ;
12408 PyObject * obj0 = 0 ;
12409
12410 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12412 (arg1)->setTimeout(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__SWIG_1(PyObject *self, PyObject *args) {
12422 PyObject *resultobj;
12423 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12424 timeval *arg2 = 0 ;
12425 PyObject * obj0 = 0 ;
12426 PyObject * obj1 = 0 ;
12427
12428 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12431 if (arg2 == NULL) {
12432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12433 }
12434 (arg1)->setTimeout((timeval const &)*arg2);
12435
12436 Py_INCREF(Py_None); resultobj = Py_None;
12437 return resultobj;
12438 fail:
12439 return NULL;
12440 }
12441
12442
12443 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12444 int argc;
12445 PyObject *argv[3];
12446 int ii;
12447
12448 argc = PyObject_Length(args);
12449 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12450 argv[ii] = PyTuple_GetItem(args,ii);
12451 }
12452 if (argc == 2) {
12453 int _v;
12454 {
12455 void *ptr;
12456 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12457 _v = 0;
12458 PyErr_Clear();
12459 }else {
12460 _v = 1;
12461 }
12462 }
12463 if (_v) {
12464 {
12465 void *ptr;
12466 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12467 _v = 0;
12468 PyErr_Clear();
12469 }else {
12470 _v = 1;
12471 }
12472 }
12473 if (_v) {
12474 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12475 }
12476 }
12477 }
12478 if (argc == 2) {
12479 int _v;
12480 {
12481 void *ptr;
12482 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12483 _v = 0;
12484 PyErr_Clear();
12485 }else {
12486 _v = 1;
12487 }
12488 }
12489 if (_v) {
12490 {
12491 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12492 }
12493 if (_v) {
12494 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12495 }
12496 }
12497 }
12498
12499 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12505 PyObject *resultobj;
12506 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12507 PyObject * obj0 = 0 ;
12508
12509 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12511 (arg1)->start();
12512
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12521 PyObject *resultobj;
12522 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12523 PyObject * obj0 = 0 ;
12524
12525 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12527 (arg1)->stop();
12528
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12537 PyObject *obj;
12538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12539 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12540 Py_INCREF(obj);
12541 return Py_BuildValue((char *)"");
12542 }
12543 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12544 PyObject *resultobj;
12545 otk::OBTimerQueueManager *result;
12546
12547 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12548 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12549
12550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12558 PyObject *resultobj;
12559 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12560 PyObject * obj0 = 0 ;
12561
12562 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12564 delete arg1;
12565
12566 Py_INCREF(Py_None); resultobj = Py_None;
12567 return resultobj;
12568 fail:
12569 return NULL;
12570 }
12571
12572
12573 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12574 PyObject *resultobj;
12575 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12576 PyObject * obj0 = 0 ;
12577
12578 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12580 (arg1)->fire();
12581
12582 Py_INCREF(Py_None); resultobj = Py_None;
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12590 PyObject *resultobj;
12591 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12592 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12593 PyObject * obj0 = 0 ;
12594 PyObject * obj1 = 0 ;
12595
12596 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12599 (arg1)->addTimer(arg2);
12600
12601 Py_INCREF(Py_None); resultobj = Py_None;
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12609 PyObject *resultobj;
12610 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12611 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12612 PyObject * obj0 = 0 ;
12613 PyObject * obj1 = 0 ;
12614
12615 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12618 (arg1)->removeTimer(arg2);
12619
12620 Py_INCREF(Py_None); resultobj = Py_None;
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12628 PyObject *obj;
12629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12630 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12631 Py_INCREF(obj);
12632 return Py_BuildValue((char *)"");
12633 }
12634 static int _wrap_BSENTINEL_set(PyObject *_val) {
12635 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12636 return 1;
12637 }
12638
12639
12640 static PyObject *_wrap_BSENTINEL_get() {
12641 PyObject *pyobj;
12642
12643 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12644 return pyobj;
12645 }
12646
12647
12648 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12649 PyObject *resultobj;
12650 std::string *arg1 = 0 ;
12651 std::string result;
12652 std::string temp1 ;
12653 PyObject * obj0 = 0 ;
12654
12655 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12656 {
12657 if (PyString_Check(obj0)) {
12658 temp1 = std::string(PyString_AsString(obj0));
12659 arg1 = &temp1;
12660 }else {
12661 SWIG_exception(SWIG_TypeError, "string expected");
12662 }
12663 }
12664 result = otk::expandTilde((std::string const &)*arg1);
12665
12666 {
12667 resultobj = PyString_FromString((&result)->c_str());
12668 }
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12676 PyObject *resultobj;
12677 std::string *arg1 = 0 ;
12678 std::string *arg2 = 0 ;
12679 std::string temp1 ;
12680 std::string temp2 ;
12681 PyObject * obj0 = 0 ;
12682 PyObject * obj1 = 0 ;
12683
12684 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12685 {
12686 if (PyString_Check(obj0)) {
12687 temp1 = std::string(PyString_AsString(obj0));
12688 arg1 = &temp1;
12689 }else {
12690 SWIG_exception(SWIG_TypeError, "string expected");
12691 }
12692 }
12693 {
12694 if (PyString_Check(obj1)) {
12695 temp2 = std::string(PyString_AsString(obj1));
12696 arg2 = &temp2;
12697 }else {
12698 SWIG_exception(SWIG_TypeError, "string expected");
12699 }
12700 }
12701 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12702
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12711 PyObject *resultobj;
12712 Display *arg1 = (Display *) 0 ;
12713 XTextProperty *arg2 = 0 ;
12714 std::string result;
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717
12718 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12721 if (arg2 == NULL) {
12722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12723 }
12724 result = otk::textPropertyToString(arg1,*arg2);
12725
12726 {
12727 resultobj = PyString_FromString((&result)->c_str());
12728 }
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12736 PyObject *resultobj;
12737 unsigned long arg1 ;
12738 std::string result;
12739 PyObject * obj0 = 0 ;
12740
12741 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12742 arg1 = (unsigned long) PyInt_AsLong(obj0);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 result = otk::itostring(arg1);
12745
12746 {
12747 resultobj = PyString_FromString((&result)->c_str());
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12756 PyObject *resultobj;
12757 long arg1 ;
12758 std::string result;
12759
12760 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12761 result = otk::itostring(arg1);
12762
12763 {
12764 resultobj = PyString_FromString((&result)->c_str());
12765 }
12766 return resultobj;
12767 fail:
12768 return NULL;
12769 }
12770
12771
12772 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12773 PyObject *resultobj;
12774 unsigned int arg1 ;
12775 std::string result;
12776 PyObject * obj0 = 0 ;
12777
12778 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12779 arg1 = (unsigned int) PyInt_AsLong(obj0);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 result = otk::itostring(arg1);
12782
12783 {
12784 resultobj = PyString_FromString((&result)->c_str());
12785 }
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12793 PyObject *resultobj;
12794 int arg1 ;
12795 std::string result;
12796
12797 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12798 result = otk::itostring(arg1);
12799
12800 {
12801 resultobj = PyString_FromString((&result)->c_str());
12802 }
12803 return resultobj;
12804 fail:
12805 return NULL;
12806 }
12807
12808
12809 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12810 PyObject *resultobj;
12811 std::string *arg1 = 0 ;
12812 std::string result;
12813 std::string temp1 ;
12814 PyObject * obj0 = 0 ;
12815
12816 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12817 {
12818 if (PyString_Check(obj0)) {
12819 temp1 = std::string(PyString_AsString(obj0));
12820 arg1 = &temp1;
12821 }else {
12822 SWIG_exception(SWIG_TypeError, "string expected");
12823 }
12824 }
12825 result = otk::basename((std::string const &)*arg1);
12826
12827 {
12828 resultobj = PyString_FromString((&result)->c_str());
12829 }
12830 return resultobj;
12831 fail:
12832 return NULL;
12833 }
12834
12835
12836 static PyMethodDef SwigMethods[] = {
12837 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12838 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12839 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12840 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12841 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12842 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12843 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12844 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12845 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12846 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12847 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12848 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
12849 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12850 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12851 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12852 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12853 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12854 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12855 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12856 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12857 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12858 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12859 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12860 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12861 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12862 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12863 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12864 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12865 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12866 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12867 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12868 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12869 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12870 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12871 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12872 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12873 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12874 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12875 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12876 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12877 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12878 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12879 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12880 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12881 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12882 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12883 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12884 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12885 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12886 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12887 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12888 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12889 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12890 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12891 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12892 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12893 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12894 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12895 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12896 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12897 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12898 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12899 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12900 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12901 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12902 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12903 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12904 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12905 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12906 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12907 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12908 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12909 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12910 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12911 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12912 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12913 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12914 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12915 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12916 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12917 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12918 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12919 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12920 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12921 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12922 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12923 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12924 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12925 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12926 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12927 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12928 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12929 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12930 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12931 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12932 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12933 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12934 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12935 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12936 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12937 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12938 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12939 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12940 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12941 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12942 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12943 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12944 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12945 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12946 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12947 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12948 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12949 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12950 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12951 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12952 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12953 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12954 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12955 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12956 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12957 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12958 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12959 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12960 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12961 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12962 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12963 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12964 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12965 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12966 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12967 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12968 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12969 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12970 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12971 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12972 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12973 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12974 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12975 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12976 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12977 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12978 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12979 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12980 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12981 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12982 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12983 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12984 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12985 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12986 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12987 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12988 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12989 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12990 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12991 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12992 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12993 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12994 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12995 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12996 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12997 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12998 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12999 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
13000 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
13001 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
13002 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
13003 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
13004 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
13005 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
13006 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
13007 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
13008 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
13009 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
13010 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
13011 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
13012 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
13013 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
13014 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
13015 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
13016 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
13017 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
13018 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
13019 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
13020 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
13021 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
13022 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
13023 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
13024 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
13025 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
13026 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
13027 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
13028 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
13029 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
13030 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
13031 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
13032 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
13033 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
13034 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
13035 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
13036 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
13037 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
13038 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
13039 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
13040 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
13041 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
13042 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
13043 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
13044 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
13045 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
13046 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
13047 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
13048 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
13049 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
13050 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
13051 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
13052 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
13053 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
13054 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
13055 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
13056 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
13057 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
13058 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
13059 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
13060 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
13061 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
13062 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
13063 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
13064 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
13065 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
13066 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
13067 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
13068 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
13069 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
13070 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
13071 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
13072 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
13073 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
13074 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
13075 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
13076 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
13077 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
13078 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
13079 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
13080 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
13081 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
13082 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
13083 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
13084 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
13085 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
13086 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
13087 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
13088 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
13089 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
13090 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
13091 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
13092 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
13093 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
13094 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
13095 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
13096 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
13097 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
13098 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
13099 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
13100 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
13101 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13102 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13103 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13104 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13105 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13106 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13107 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13108 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13109 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13110 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13111 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13112 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13113 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13114 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13115 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13116 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13117 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13118 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13119 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13120 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13121 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13122 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13123 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13124 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13125 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13126 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13127 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13128 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13129 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13130 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13131 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13132 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13133 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13134 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13135 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13136 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13137 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13138 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13139 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13140 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13141 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13142 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13143 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13144 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13145 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13146 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13147 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13148 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13149 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13150 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13151 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13152 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13153 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13154 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13155 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13156 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13157 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13158 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13159 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13160 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13161 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13162 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13163 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13164 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13165 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13166 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13167 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13168 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13169 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13170 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13171 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13172 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13173 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13174 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13175 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13176 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13177 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13178 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13179 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13180 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13181 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13182 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13183 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13184 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13185 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13186 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13187 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13188 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13189 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13190 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13191 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13192 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13193 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13194 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13195 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13196 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13197 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13198 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13199 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13200 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13201 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13202 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13203 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13204 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13205 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13206 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13207 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13208 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13209 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13210 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13211 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13212 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13213 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13214 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13215 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13216 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13217 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13218 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13219 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13220 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13221 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13222 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13223 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13224 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13225 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13226 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13227 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13228 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13229 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13230 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13231 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13232 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13233 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13234 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13235 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
13236 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
13237 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
13238 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
13239 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13240 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13241 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13242 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13243 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13244 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13245 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13246 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13247 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13248 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13249 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13250 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13251 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13252 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13253 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13254 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13255 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13256 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13257 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13258 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13259 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13260 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13261 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13262 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13263 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13264 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13265 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13266 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13267 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13268 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13269 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13270 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13271 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13272 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13273 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13274 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13275 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13276 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13277 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13278 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13279 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13280 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13281 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13282 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13283 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13284 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13285 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13286 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13287 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13288 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13289 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13290 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13291 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13292 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13293 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13294 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13295 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13296 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13297 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13298 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13299 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13300 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13301 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13302 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13303 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13304 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13305 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13306 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13307 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13308 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13309 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13310 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13311 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13312 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13313 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13314 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13315 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13316 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13317 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13318 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13319 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13320 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13321 { (char *)"basename", _wrap_basename, METH_VARARGS },
13322 { NULL, NULL }
13323 };
13324
13325
13326 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13327
13328 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13329 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13330 }
13331 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13332 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13333 }
13334 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13335 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13336 }
13337 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13338 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13339 }
13340 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13341 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13342 }
13343 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13344 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13345 }
13346 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13347 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13348 }
13349 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13350 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13351 }
13352 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13353 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13354 }
13355 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13356 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13357 }
13358 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13359 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13360 }
13361 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13362 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13363 }
13364 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13365 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13366 }
13367 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13368 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13369 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13370 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13371 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13372 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13373 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13374 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13375 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13376 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13377 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13378 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13379 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13380 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13381 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13382 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13383 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13384 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13385 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13386 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13387 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13388 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13389 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13390 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13391 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13392 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13393 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13394 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13395 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}};
13396 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}};
13397 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13398 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13399 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13400 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13401 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13402 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13403 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13404 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13405 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13406 static swig_type_info _swigt__p_Time[] = {{"_p_Time", 0, "Time *", 0},{"_p_Time"},{0}};
13407 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13408 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13409 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13410 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13411 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13412 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}};
13413 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13414 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13415 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13416 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13417 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13418 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13419 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13420 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13421 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}};
13422 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13423 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}};
13424 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13425 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13426 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13427 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13428 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13429 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13430 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13431 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13432 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13433 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13434 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13435 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13436 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13437 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13438 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13439 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13440 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13441 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13442 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13443 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13444 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13445 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13446 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13447 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13448 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13449 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13450 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13451 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13452 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13453
13454 static swig_type_info *swig_types_initial[] = {
13455 _swigt__p_otk__BGCCache,
13456 _swigt__p_otk__BColor,
13457 _swigt__p_otk__OBProperty__StringVect,
13458 _swigt__p_XFontStruct,
13459 _swigt__p_otk__Configuration,
13460 _swigt__p_otk__PixmapMask,
13461 _swigt__p_Atom,
13462 _swigt__p_otk__PointerAssassin,
13463 _swigt__p_otk__BImage,
13464 _swigt__p_otk__OBTimer,
13465 _swigt__p_otk__OtkWidget__OtkWidgetList,
13466 _swigt__p_bool,
13467 _swigt__p_otk__OBDisplay,
13468 _swigt__p_Display,
13469 _swigt__p_p_XColor,
13470 _swigt__p_XReparentEvent,
13471 _swigt__p_otk__BPen,
13472 _swigt__p_otk__BImageControl,
13473 _swigt__p_otk__OtkButton,
13474 _swigt__p_otk__Rect,
13475 _swigt__p_otk__Style,
13476 _swigt__p_XSelectionClearEvent,
13477 _swigt__p_Visual,
13478 _swigt__p_timeval,
13479 _swigt__p_int,
13480 _swigt__p_otk__Strut,
13481 _swigt__p_otk__OtkApplication,
13482 _swigt__p_XRectangle,
13483 _swigt__p_otk__OtkFocusWidget,
13484 _swigt__p_otk__OtkWidget,
13485 _swigt__p_Cursor,
13486 _swigt__p_Colormap,
13487 _swigt__p_XGravityEvent,
13488 _swigt__p_XVisibilityEvent,
13489 _swigt__p_XPropertyEvent,
13490 _swigt__p_Window,
13491 _swigt__p_otk__BGCCacheContext,
13492 _swigt__p_XCreateWindowEvent,
13493 _swigt__p_XDestroyWindowEvent,
13494 _swigt__p_Time,
13495 _swigt__p_XCirculateEvent,
13496 _swigt__p_XConfigureEvent,
13497 _swigt__p_long,
13498 _swigt__p_otk__OBProperty,
13499 _swigt__p_XTextProperty,
13500 _swigt__p_otk__OtkEventHandler,
13501 _swigt__p_XSelectionRequestEvent,
13502 _swigt__p_XCirculateRequestEvent,
13503 _swigt__p_XConfigureRequestEvent,
13504 _swigt__p_XMapRequestEvent,
13505 _swigt__p_XResizeRequestEvent,
13506 _swigt__otk__OBTimeoutHandler,
13507 _swigt__p_XftDraw,
13508 _swigt__p_otk__ScreenInfo,
13509 _swigt__p_otk__OtkFocusLabel,
13510 _swigt__p_otk__BTexture,
13511 _swigt__p_otk__OtkEventDispatcher,
13512 _swigt__p_otk__BFont,
13513 _swigt__p_otk__Point,
13514 _swigt__p_p_char,
13515 _swigt__p_XMotionEvent,
13516 _swigt__p_XButtonEvent,
13517 _swigt__p_XSelectionEvent,
13518 _swigt__p_Pixmap,
13519 _swigt__p_GC,
13520 _swigt__p_otk__OBTimerQueueManager,
13521 _swigt__p_otk__OtkAppWidget,
13522 _swigt__p_XKeyEvent,
13523 _swigt__p_unsigned_long,
13524 _swigt__p_XEvent,
13525 _swigt__p_p_unsigned_long,
13526 _swigt__p_std__string,
13527 _swigt__p_XCrossingEvent,
13528 _swigt__p_XMappingEvent,
13529 _swigt__p_otk__BGCCacheItem,
13530 _swigt__p_p_unsigned_int,
13531 _swigt__p_unsigned_int,
13532 _swigt__p_p_unsigned_char,
13533 _swigt__p_XClientMessageEvent,
13534 _swigt__p_XExposeEvent,
13535 _swigt__p_XFocusChangeEvent,
13536 _swigt__p_XGraphicsExposeEvent,
13537 _swigt__p_XNoExposeEvent,
13538 _swigt__p_XMapEvent,
13539 _swigt__p_XUnmapEvent,
13540 _swigt__p_XColormapEvent,
13541 0
13542 };
13543
13544
13545 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13546
13547 static swig_const_info swig_const_table[] = {
13548 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13549 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13550 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13551 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13552 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13553 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13554 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13555 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13556 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13557 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13558 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13559 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13560 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13561 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13562 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13563 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13564 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13565 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13566 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13567 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13568 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13569 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13570 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13571 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13572 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13573 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13574 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13575 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13576 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13577 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13578 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13579 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13580 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13581 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13582 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13583 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13584 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13585 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13586 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13587 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13588 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13589 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13590 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13591 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13592 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13593 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13594 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13595 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13596 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13597 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13598 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13599 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13600 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13601 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13602 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13603 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13604 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13605 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13606 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13607 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13608 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13609 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13610 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13611 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13612 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13613 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13614 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13615 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13616 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13617 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13618 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13619 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13620 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13621 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13622 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13623 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13624 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13625 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13626 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13627 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
13628 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13629 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13630 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13631 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13632 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13633 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13634 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13635 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
13636 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
13637 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13638 { 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},
13639 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13640 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13641 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13642 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13643 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13644 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13645 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13646 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13647 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13648 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13649 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13650 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13651 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13652 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13653 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13654 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13655 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13656 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13657 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13658 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13659 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13660 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13661 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13662 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13663 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13664 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13665 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13666 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13667 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13668 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13669 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13670 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13671 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13672 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13673 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13674 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13675 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13676 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13677 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13678 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13679 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13680 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13681 {0}};
13682
13683 #ifdef __cplusplus
13684 }
13685 #endif
13686
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 SWIGEXPORT(void) SWIG_init(void) {
13691 static PyObject *SWIG_globals = 0;
13692 static int typeinit = 0;
13693 PyObject *m, *d;
13694 int i;
13695 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13696 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13697 d = PyModule_GetDict(m);
13698
13699 if (!typeinit) {
13700 for (i = 0; swig_types_initial[i]; i++) {
13701 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13702 }
13703 typeinit = 1;
13704 }
13705 SWIG_InstallConstants(d,swig_const_table);
13706
13707 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13708 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13709 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13710 }
13711
This page took 0.726448 seconds and 3 git commands to generate.