]> Dogcows Code - chaz/openbox/blob - otk/otk_wrap.cc
c8d4b60f8c9fe819896f69009764e782ad2f20c9
[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 bool arg6 = (bool) false ;
1866 otk::OtkWidget *result;
1867 Cursor *argp4 ;
1868 PyObject * obj0 = 0 ;
1869 PyObject * obj1 = 0 ;
1870 PyObject * obj3 = 0 ;
1871 PyObject * obj5 = 0 ;
1872
1873 if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1876 if (obj3) {
1877 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1878 arg4 = *argp4;
1879 }
1880 if (obj5) {
1881 arg6 = (bool) PyInt_AsLong(obj5);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 }
1884 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);
1885
1886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1894 int argc;
1895 PyObject *argv[7];
1896 int ii;
1897
1898 argc = PyObject_Length(args);
1899 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1900 argv[ii] = PyTuple_GetItem(args,ii);
1901 }
1902 if ((argc >= 1) && (argc <= 2)) {
1903 int _v;
1904 {
1905 void *ptr;
1906 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1907 _v = 0;
1908 PyErr_Clear();
1909 }else {
1910 _v = 1;
1911 }
1912 }
1913 if (_v) {
1914 if (argc <= 1) {
1915 return _wrap_new_OtkWidget__SWIG_0(self,args);
1916 }
1917 {
1918 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1919 }
1920 if (_v) {
1921 return _wrap_new_OtkWidget__SWIG_0(self,args);
1922 }
1923 }
1924 }
1925 if ((argc >= 2) && (argc <= 6)) {
1926 int _v;
1927 {
1928 void *ptr;
1929 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1930 _v = 0;
1931 PyErr_Clear();
1932 }else {
1933 _v = 1;
1934 }
1935 }
1936 if (_v) {
1937 {
1938 void *ptr;
1939 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1940 _v = 0;
1941 PyErr_Clear();
1942 }else {
1943 _v = 1;
1944 }
1945 }
1946 if (_v) {
1947 if (argc <= 2) {
1948 return _wrap_new_OtkWidget__SWIG_1(self,args);
1949 }
1950 {
1951 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1952 }
1953 if (_v) {
1954 if (argc <= 3) {
1955 return _wrap_new_OtkWidget__SWIG_1(self,args);
1956 }
1957 {
1958 void *ptr;
1959 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_Cursor, 0) == -1) {
1960 _v = 0;
1961 PyErr_Clear();
1962 }else {
1963 _v = 1;
1964 }
1965 }
1966 if (_v) {
1967 if (argc <= 4) {
1968 return _wrap_new_OtkWidget__SWIG_1(self,args);
1969 }
1970 {
1971 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1972 }
1973 if (_v) {
1974 if (argc <= 5) {
1975 return _wrap_new_OtkWidget__SWIG_1(self,args);
1976 }
1977 {
1978 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
1979 }
1980 if (_v) {
1981 return _wrap_new_OtkWidget__SWIG_1(self,args);
1982 }
1983 }
1984 }
1985 }
1986 }
1987 }
1988 }
1989
1990 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1991 return NULL;
1992 }
1993
1994
1995 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1996 PyObject *resultobj;
1997 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1998 PyObject * obj0 = 0 ;
1999
2000 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002 delete arg1;
2003
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008 }
2009
2010
2011 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
2012 PyObject *resultobj;
2013 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2014 PyObject * obj0 = 0 ;
2015
2016 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
2017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2018 (arg1)->update();
2019
2020 Py_INCREF(Py_None); resultobj = Py_None;
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
2028 PyObject *resultobj;
2029 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2030 XExposeEvent *arg2 = 0 ;
2031 PyObject * obj0 = 0 ;
2032 PyObject * obj1 = 0 ;
2033
2034 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
2035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2037 if (arg2 == NULL) {
2038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2039 }
2040 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2041
2042 Py_INCREF(Py_None); resultobj = Py_None;
2043 return resultobj;
2044 fail:
2045 return NULL;
2046 }
2047
2048
2049 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2050 PyObject *resultobj;
2051 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2052 XConfigureEvent *arg2 = 0 ;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj1 = 0 ;
2055
2056 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2059 if (arg2 == NULL) {
2060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2061 }
2062 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2063
2064 Py_INCREF(Py_None); resultobj = Py_None;
2065 return resultobj;
2066 fail:
2067 return NULL;
2068 }
2069
2070
2071 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2072 PyObject *resultobj;
2073 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2074 Window result;
2075 PyObject * obj0 = 0 ;
2076
2077 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 result = ((otk::OtkWidget const *)arg1)->window();
2080
2081 {
2082 Window * resultptr;
2083 resultptr = new Window((Window &) result);
2084 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
2085 }
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2093 PyObject *resultobj;
2094 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2095 otk::OtkWidget *result;
2096 PyObject * obj0 = 0 ;
2097
2098 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2100 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2101
2102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2103 return resultobj;
2104 fail:
2105 return NULL;
2106 }
2107
2108
2109 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2110 PyObject *resultobj;
2111 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2112 otk::OtkWidget::OtkWidgetList *result;
2113 PyObject * obj0 = 0 ;
2114
2115 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2117 {
2118 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2119 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2120 }
2121
2122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2130 PyObject *resultobj;
2131 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2132 unsigned int result;
2133 PyObject * obj0 = 0 ;
2134
2135 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2138
2139 resultobj = PyInt_FromLong((long)result);
2140 return resultobj;
2141 fail:
2142 return NULL;
2143 }
2144
2145
2146 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2147 PyObject *resultobj;
2148 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2149 otk::Rect *result;
2150 PyObject * obj0 = 0 ;
2151
2152 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2154 {
2155 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2156 result = (otk::Rect *) &_result_ref;
2157 }
2158
2159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2167 PyObject *resultobj;
2168 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2169 otk::Point *arg2 = 0 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172
2173 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2176 if (arg2 == NULL) {
2177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2178 }
2179 (arg1)->move((otk::Point const &)*arg2);
2180
2181 Py_INCREF(Py_None); resultobj = Py_None;
2182 return resultobj;
2183 fail:
2184 return NULL;
2185 }
2186
2187
2188 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2189 PyObject *resultobj;
2190 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2191 int arg2 ;
2192 int arg3 ;
2193 PyObject * obj0 = 0 ;
2194
2195 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2197 (arg1)->move(arg2,arg3);
2198
2199 Py_INCREF(Py_None); resultobj = Py_None;
2200 return resultobj;
2201 fail:
2202 return NULL;
2203 }
2204
2205
2206 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2207 int argc;
2208 PyObject *argv[4];
2209 int ii;
2210
2211 argc = PyObject_Length(args);
2212 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2213 argv[ii] = PyTuple_GetItem(args,ii);
2214 }
2215 if (argc == 2) {
2216 int _v;
2217 {
2218 void *ptr;
2219 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2220 _v = 0;
2221 PyErr_Clear();
2222 }else {
2223 _v = 1;
2224 }
2225 }
2226 if (_v) {
2227 {
2228 void *ptr;
2229 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2230 _v = 0;
2231 PyErr_Clear();
2232 }else {
2233 _v = 1;
2234 }
2235 }
2236 if (_v) {
2237 return _wrap_OtkWidget_move__SWIG_0(self,args);
2238 }
2239 }
2240 }
2241 if (argc == 3) {
2242 int _v;
2243 {
2244 void *ptr;
2245 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2246 _v = 0;
2247 PyErr_Clear();
2248 }else {
2249 _v = 1;
2250 }
2251 }
2252 if (_v) {
2253 {
2254 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2255 }
2256 if (_v) {
2257 {
2258 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2259 }
2260 if (_v) {
2261 return _wrap_OtkWidget_move__SWIG_1(self,args);
2262 }
2263 }
2264 }
2265 }
2266
2267 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2268 return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2273 PyObject *resultobj;
2274 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2275 int arg2 ;
2276 PyObject * obj0 = 0 ;
2277
2278 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 (arg1)->setWidth(arg2);
2281
2282 Py_INCREF(Py_None); resultobj = Py_None;
2283 return resultobj;
2284 fail:
2285 return NULL;
2286 }
2287
2288
2289 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2290 PyObject *resultobj;
2291 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2292 int arg2 ;
2293 PyObject * obj0 = 0 ;
2294
2295 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 (arg1)->setHeight(arg2);
2298
2299 Py_INCREF(Py_None); resultobj = Py_None;
2300 return resultobj;
2301 fail:
2302 return NULL;
2303 }
2304
2305
2306 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2307 PyObject *resultobj;
2308 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2309 int result;
2310 PyObject * obj0 = 0 ;
2311
2312 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 result = (int)((otk::OtkWidget const *)arg1)->width();
2315
2316 resultobj = PyInt_FromLong((long)result);
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2324 PyObject *resultobj;
2325 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2326 int result;
2327 PyObject * obj0 = 0 ;
2328
2329 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 result = (int)((otk::OtkWidget const *)arg1)->height();
2332
2333 resultobj = PyInt_FromLong((long)result);
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2341 PyObject *resultobj;
2342 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2343 otk::Point *arg2 = 0 ;
2344 PyObject * obj0 = 0 ;
2345 PyObject * obj1 = 0 ;
2346
2347 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2350 if (arg2 == NULL) {
2351 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2352 }
2353 (arg1)->resize((otk::Point const &)*arg2);
2354
2355 Py_INCREF(Py_None); resultobj = Py_None;
2356 return resultobj;
2357 fail:
2358 return NULL;
2359 }
2360
2361
2362 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2363 PyObject *resultobj;
2364 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2365 int arg2 ;
2366 int arg3 ;
2367 PyObject * obj0 = 0 ;
2368
2369 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2371 (arg1)->resize(arg2,arg3);
2372
2373 Py_INCREF(Py_None); resultobj = Py_None;
2374 return resultobj;
2375 fail:
2376 return NULL;
2377 }
2378
2379
2380 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2381 int argc;
2382 PyObject *argv[4];
2383 int ii;
2384
2385 argc = PyObject_Length(args);
2386 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2387 argv[ii] = PyTuple_GetItem(args,ii);
2388 }
2389 if (argc == 2) {
2390 int _v;
2391 {
2392 void *ptr;
2393 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2394 _v = 0;
2395 PyErr_Clear();
2396 }else {
2397 _v = 1;
2398 }
2399 }
2400 if (_v) {
2401 {
2402 void *ptr;
2403 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2404 _v = 0;
2405 PyErr_Clear();
2406 }else {
2407 _v = 1;
2408 }
2409 }
2410 if (_v) {
2411 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2412 }
2413 }
2414 }
2415 if (argc == 3) {
2416 int _v;
2417 {
2418 void *ptr;
2419 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2420 _v = 0;
2421 PyErr_Clear();
2422 }else {
2423 _v = 1;
2424 }
2425 }
2426 if (_v) {
2427 {
2428 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2429 }
2430 if (_v) {
2431 {
2432 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2433 }
2434 if (_v) {
2435 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2436 }
2437 }
2438 }
2439 }
2440
2441 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2447 PyObject *resultobj;
2448 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2449 otk::Rect *arg2 = 0 ;
2450 PyObject * obj0 = 0 ;
2451 PyObject * obj1 = 0 ;
2452
2453 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if (arg2 == NULL) {
2457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2458 }
2459 (arg1)->setGeometry((otk::Rect const &)*arg2);
2460
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2469 PyObject *resultobj;
2470 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2471 otk::Point *arg2 = 0 ;
2472 int arg3 ;
2473 int arg4 ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476
2477 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2480 if (arg2 == NULL) {
2481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2482 }
2483 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2484
2485 Py_INCREF(Py_None); resultobj = Py_None;
2486 return resultobj;
2487 fail:
2488 return NULL;
2489 }
2490
2491
2492 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2493 PyObject *resultobj;
2494 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2495 int arg2 ;
2496 int arg3 ;
2497 int arg4 ;
2498 int arg5 ;
2499 PyObject * obj0 = 0 ;
2500
2501 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2503 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2504
2505 Py_INCREF(Py_None); resultobj = Py_None;
2506 return resultobj;
2507 fail:
2508 return NULL;
2509 }
2510
2511
2512 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2513 int argc;
2514 PyObject *argv[6];
2515 int ii;
2516
2517 argc = PyObject_Length(args);
2518 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2519 argv[ii] = PyTuple_GetItem(args,ii);
2520 }
2521 if (argc == 2) {
2522 int _v;
2523 {
2524 void *ptr;
2525 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2526 _v = 0;
2527 PyErr_Clear();
2528 }else {
2529 _v = 1;
2530 }
2531 }
2532 if (_v) {
2533 {
2534 void *ptr;
2535 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2536 _v = 0;
2537 PyErr_Clear();
2538 }else {
2539 _v = 1;
2540 }
2541 }
2542 if (_v) {
2543 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2544 }
2545 }
2546 }
2547 if (argc == 4) {
2548 int _v;
2549 {
2550 void *ptr;
2551 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2552 _v = 0;
2553 PyErr_Clear();
2554 }else {
2555 _v = 1;
2556 }
2557 }
2558 if (_v) {
2559 {
2560 void *ptr;
2561 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2562 _v = 0;
2563 PyErr_Clear();
2564 }else {
2565 _v = 1;
2566 }
2567 }
2568 if (_v) {
2569 {
2570 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2571 }
2572 if (_v) {
2573 {
2574 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2575 }
2576 if (_v) {
2577 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2578 }
2579 }
2580 }
2581 }
2582 }
2583 if (argc == 5) {
2584 int _v;
2585 {
2586 void *ptr;
2587 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2588 _v = 0;
2589 PyErr_Clear();
2590 }else {
2591 _v = 1;
2592 }
2593 }
2594 if (_v) {
2595 {
2596 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2597 }
2598 if (_v) {
2599 {
2600 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2601 }
2602 if (_v) {
2603 {
2604 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2605 }
2606 if (_v) {
2607 {
2608 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2609 }
2610 if (_v) {
2611 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2612 }
2613 }
2614 }
2615 }
2616 }
2617 }
2618
2619 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2625 PyObject *resultobj;
2626 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2627 bool result;
2628 PyObject * obj0 = 0 ;
2629
2630 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2632 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2633
2634 resultobj = PyInt_FromLong((long)result);
2635 return resultobj;
2636 fail:
2637 return NULL;
2638 }
2639
2640
2641 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2642 PyObject *resultobj;
2643 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2644 bool arg2 = (bool) false ;
2645 PyObject * obj0 = 0 ;
2646 PyObject * obj1 = 0 ;
2647
2648 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2650 if (obj1) {
2651 arg2 = (bool) PyInt_AsLong(obj1);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 (arg1)->show(arg2);
2655
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2664 PyObject *resultobj;
2665 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2666 bool arg2 = (bool) false ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669
2670 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2672 if (obj1) {
2673 arg2 = (bool) PyInt_AsLong(obj1);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 (arg1)->hide(arg2);
2677
2678 Py_INCREF(Py_None); resultobj = Py_None;
2679 return resultobj;
2680 fail:
2681 return NULL;
2682 }
2683
2684
2685 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2686 PyObject *resultobj;
2687 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2688 bool result;
2689 PyObject * obj0 = 0 ;
2690
2691 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2694
2695 resultobj = PyInt_FromLong((long)result);
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2703 PyObject *resultobj;
2704 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2705 PyObject * obj0 = 0 ;
2706
2707 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 (arg1)->focus();
2710
2711 Py_INCREF(Py_None); resultobj = Py_None;
2712 return resultobj;
2713 fail:
2714 return NULL;
2715 }
2716
2717
2718 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2719 PyObject *resultobj;
2720 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2721 PyObject * obj0 = 0 ;
2722
2723 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2725 (arg1)->unfocus();
2726
2727 Py_INCREF(Py_None); resultobj = Py_None;
2728 return resultobj;
2729 fail:
2730 return NULL;
2731 }
2732
2733
2734 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2735 PyObject *resultobj;
2736 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2737 bool result;
2738 PyObject * obj0 = 0 ;
2739
2740 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2743
2744 resultobj = PyInt_FromLong((long)result);
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2752 PyObject *resultobj;
2753 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2754 bool result;
2755 PyObject * obj0 = 0 ;
2756
2757 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2759 result = (bool)(arg1)->grabMouse();
2760
2761 resultobj = PyInt_FromLong((long)result);
2762 return resultobj;
2763 fail:
2764 return NULL;
2765 }
2766
2767
2768 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2769 PyObject *resultobj;
2770 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2771 PyObject * obj0 = 0 ;
2772
2773 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2775 (arg1)->ungrabMouse();
2776
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2785 PyObject *resultobj;
2786 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2787 bool result;
2788 PyObject * obj0 = 0 ;
2789
2790 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2793
2794 resultobj = PyInt_FromLong((long)result);
2795 return resultobj;
2796 fail:
2797 return NULL;
2798 }
2799
2800
2801 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2802 PyObject *resultobj;
2803 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2804 bool result;
2805 PyObject * obj0 = 0 ;
2806
2807 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2809 result = (bool)(arg1)->grabKeyboard();
2810
2811 resultobj = PyInt_FromLong((long)result);
2812 return resultobj;
2813 fail:
2814 return NULL;
2815 }
2816
2817
2818 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2819 PyObject *resultobj;
2820 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2821 PyObject * obj0 = 0 ;
2822
2823 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 (arg1)->ungrabKeyboard();
2826
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2835 PyObject *resultobj;
2836 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2837 otk::BTexture *result;
2838 PyObject * obj0 = 0 ;
2839
2840 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2843
2844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2845 return resultobj;
2846 fail:
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2852 PyObject *resultobj;
2853 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2854 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2855 PyObject * obj0 = 0 ;
2856 PyObject * obj1 = 0 ;
2857
2858 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2861 (arg1)->setTexture(arg2);
2862
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 return resultobj;
2865 fail:
2866 return NULL;
2867 }
2868
2869
2870 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2871 PyObject *resultobj;
2872 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2873 otk::BColor *result;
2874 PyObject * obj0 = 0 ;
2875
2876 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2878 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2879
2880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2881 return resultobj;
2882 fail:
2883 return NULL;
2884 }
2885
2886
2887 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2888 PyObject *resultobj;
2889 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2890 otk::BColor *arg2 = (otk::BColor *) 0 ;
2891 PyObject * obj0 = 0 ;
2892 PyObject * obj1 = 0 ;
2893
2894 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2897 (arg1)->setBorderColor((otk::BColor const *)arg2);
2898
2899 Py_INCREF(Py_None); resultobj = Py_None;
2900 return resultobj;
2901 fail:
2902 return NULL;
2903 }
2904
2905
2906 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2907 PyObject *resultobj;
2908 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2909 int result;
2910 PyObject * obj0 = 0 ;
2911
2912 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2914 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2915
2916 resultobj = PyInt_FromLong((long)result);
2917 return resultobj;
2918 fail:
2919 return NULL;
2920 }
2921
2922
2923 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2924 PyObject *resultobj;
2925 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2926 int arg2 ;
2927 PyObject * obj0 = 0 ;
2928
2929 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2931 (arg1)->setBorderWidth(arg2);
2932
2933 Py_INCREF(Py_None); resultobj = Py_None;
2934 return resultobj;
2935 fail:
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2941 PyObject *resultobj;
2942 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2943 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2944 bool arg3 = (bool) false ;
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 PyObject * obj2 = 0 ;
2948
2949 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2952 if (obj2) {
2953 arg3 = (bool) PyInt_AsLong(obj2);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 (arg1)->addChild(arg2,arg3);
2957
2958 Py_INCREF(Py_None); resultobj = Py_None;
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2966 PyObject *resultobj;
2967 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2968 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2969 PyObject * obj0 = 0 ;
2970 PyObject * obj1 = 0 ;
2971
2972 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2975 (arg1)->removeChild(arg2);
2976
2977 Py_INCREF(Py_None); resultobj = Py_None;
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2985 PyObject *resultobj;
2986 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2987 bool result;
2988 PyObject * obj0 = 0 ;
2989
2990 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2992 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2993
2994 resultobj = PyInt_FromLong((long)result);
2995 return resultobj;
2996 fail:
2997 return NULL;
2998 }
2999
3000
3001 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
3002 PyObject *resultobj;
3003 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3004 bool arg2 = (bool) true ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj1 = 0 ;
3007
3008 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 if (obj1) {
3011 arg2 = (bool) PyInt_AsLong(obj1);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 (arg1)->setStretchableHorz(arg2);
3015
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
3024 PyObject *resultobj;
3025 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3026 bool result;
3027 PyObject * obj0 = 0 ;
3028
3029 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
3030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3031 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
3032
3033 resultobj = PyInt_FromLong((long)result);
3034 return resultobj;
3035 fail:
3036 return NULL;
3037 }
3038
3039
3040 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3041 PyObject *resultobj;
3042 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3043 bool arg2 = (bool) true ;
3044 PyObject * obj0 = 0 ;
3045 PyObject * obj1 = 0 ;
3046
3047 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3049 if (obj1) {
3050 arg2 = (bool) PyInt_AsLong(obj1);
3051 if (PyErr_Occurred()) SWIG_fail;
3052 }
3053 (arg1)->setStretchableVert(arg2);
3054
3055 Py_INCREF(Py_None); resultobj = Py_None;
3056 return resultobj;
3057 fail:
3058 return NULL;
3059 }
3060
3061
3062 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3063 PyObject *resultobj;
3064 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3065 Cursor result;
3066 PyObject * obj0 = 0 ;
3067
3068 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3070 result = ((otk::OtkWidget const *)arg1)->cursor();
3071
3072 {
3073 Cursor * resultptr;
3074 resultptr = new Cursor((Cursor &) result);
3075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Cursor, 1);
3076 }
3077 return resultobj;
3078 fail:
3079 return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3084 PyObject *resultobj;
3085 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3086 Cursor arg2 ;
3087 Cursor *argp2 ;
3088 PyObject * obj0 = 0 ;
3089 PyObject * obj1 = 0 ;
3090
3091 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3094 arg2 = *argp2;
3095 (arg1)->setCursor(arg2);
3096
3097 Py_INCREF(Py_None); resultobj = Py_None;
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3105 PyObject *resultobj;
3106 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3107 int result;
3108 PyObject * obj0 = 0 ;
3109
3110 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3113
3114 resultobj = PyInt_FromLong((long)result);
3115 return resultobj;
3116 fail:
3117 return NULL;
3118 }
3119
3120
3121 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3122 PyObject *resultobj;
3123 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3124 int arg2 ;
3125 PyObject * obj0 = 0 ;
3126
3127 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3129 (arg1)->setBevelWidth(arg2);
3130
3131 Py_INCREF(Py_None); resultobj = Py_None;
3132 return resultobj;
3133 fail:
3134 return NULL;
3135 }
3136
3137
3138 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3139 PyObject *resultobj;
3140 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3141 int result;
3142 PyObject * obj0 = 0 ;
3143
3144 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3146 result = (int)((otk::OtkWidget const *)arg1)->direction();
3147
3148 resultobj = PyInt_FromLong((long)result);
3149 return resultobj;
3150 fail:
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3156 PyObject *resultobj;
3157 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3158 int arg2 ;
3159 PyObject * obj0 = 0 ;
3160
3161 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3164
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3173 PyObject *resultobj;
3174 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3175 otk::Style *result;
3176 PyObject * obj0 = 0 ;
3177
3178 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3180 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3181
3182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3190 PyObject *resultobj;
3191 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3192 otk::Style *arg2 = (otk::Style *) 0 ;
3193 PyObject * obj0 = 0 ;
3194 PyObject * obj1 = 0 ;
3195
3196 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3199 (arg1)->setStyle(arg2);
3200
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3209 PyObject *resultobj;
3210 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3211 otk::OtkEventDispatcher *result;
3212 PyObject * obj0 = 0 ;
3213
3214 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3216 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3217
3218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3219 return resultobj;
3220 fail:
3221 return NULL;
3222 }
3223
3224
3225 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3226 PyObject *resultobj;
3227 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3228 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231
3232 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3235 (arg1)->setEventDispatcher(arg2);
3236
3237 Py_INCREF(Py_None); resultobj = Py_None;
3238 return resultobj;
3239 fail:
3240 return NULL;
3241 }
3242
3243
3244 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3245 PyObject *obj;
3246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3247 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3248 Py_INCREF(obj);
3249 return Py_BuildValue((char *)"");
3250 }
3251 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3252 PyObject *resultobj;
3253 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3254 int arg2 = (int) otk::OtkWidget::Horizontal ;
3255 otk::OtkFocusWidget *result;
3256 PyObject * obj0 = 0 ;
3257
3258 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3261
3262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3263 return resultobj;
3264 fail:
3265 return NULL;
3266 }
3267
3268
3269 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3270 PyObject *resultobj;
3271 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3272 PyObject * obj0 = 0 ;
3273
3274 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 delete arg1;
3277
3278 Py_INCREF(Py_None); resultobj = Py_None;
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3286 PyObject *resultobj;
3287 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3288 PyObject * obj0 = 0 ;
3289
3290 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3292 (arg1)->focus();
3293
3294 Py_INCREF(Py_None); resultobj = Py_None;
3295 return resultobj;
3296 fail:
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3302 PyObject *resultobj;
3303 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3304 PyObject * obj0 = 0 ;
3305
3306 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 (arg1)->unfocus();
3309
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3318 PyObject *resultobj;
3319 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3320 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323
3324 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3327 (arg1)->setTexture(arg2);
3328
3329 Py_INCREF(Py_None); resultobj = Py_None;
3330 return resultobj;
3331 fail:
3332 return NULL;
3333 }
3334
3335
3336 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3337 PyObject *resultobj;
3338 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3339 otk::BColor *arg2 = (otk::BColor *) 0 ;
3340 PyObject * obj0 = 0 ;
3341 PyObject * obj1 = 0 ;
3342
3343 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 (arg1)->setBorderColor((otk::BColor const *)arg2);
3347
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3356 PyObject *resultobj;
3357 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3358 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3359 PyObject * obj0 = 0 ;
3360 PyObject * obj1 = 0 ;
3361
3362 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3365 (arg1)->setUnfocusTexture(arg2);
3366
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3375 PyObject *resultobj;
3376 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3377 otk::BTexture *result;
3378 PyObject * obj0 = 0 ;
3379
3380 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3382 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3383
3384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3392 PyObject *resultobj;
3393 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3394 otk::BColor *arg2 = (otk::BColor *) 0 ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397
3398 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3401 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3402
3403 Py_INCREF(Py_None); resultobj = Py_None;
3404 return resultobj;
3405 fail:
3406 return NULL;
3407 }
3408
3409
3410 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3411 PyObject *resultobj;
3412 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3413 otk::BColor *result;
3414 PyObject * obj0 = 0 ;
3415
3416 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3419
3420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3421 return resultobj;
3422 fail:
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3428 PyObject *resultobj;
3429 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3430 bool result;
3431 PyObject * obj0 = 0 ;
3432
3433 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3435 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3436
3437 resultobj = PyInt_FromLong((long)result);
3438 return resultobj;
3439 fail:
3440 return NULL;
3441 }
3442
3443
3444 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3445 PyObject *resultobj;
3446 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3447 bool result;
3448 PyObject * obj0 = 0 ;
3449
3450 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3452 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3453
3454 resultobj = PyInt_FromLong((long)result);
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3462 PyObject *obj;
3463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3464 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3465 Py_INCREF(obj);
3466 return Py_BuildValue((char *)"");
3467 }
3468 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3469 PyObject *resultobj;
3470 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3471 otk::OtkFocusLabel *result;
3472 PyObject * obj0 = 0 ;
3473
3474 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3476 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3477
3478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3486 PyObject *resultobj;
3487 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3488 PyObject * obj0 = 0 ;
3489
3490 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3492 delete arg1;
3493
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498 }
3499
3500
3501 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3502 PyObject *resultobj;
3503 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3504 std::string *result;
3505 PyObject * obj0 = 0 ;
3506
3507 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3509 {
3510 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3511 result = (std::string *) &_result_ref;
3512 }
3513
3514 {
3515 resultobj = PyString_FromString(result->c_str());
3516 }
3517 return resultobj;
3518 fail:
3519 return NULL;
3520 }
3521
3522
3523 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3524 PyObject *resultobj;
3525 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3526 std::string *arg2 = 0 ;
3527 std::string temp2 ;
3528 PyObject * obj0 = 0 ;
3529 PyObject * obj1 = 0 ;
3530
3531 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3533 {
3534 if (PyString_Check(obj1)) {
3535 temp2 = std::string(PyString_AsString(obj1));
3536 arg2 = &temp2;
3537 }else {
3538 SWIG_exception(SWIG_TypeError, "string expected");
3539 }
3540 }
3541 (arg1)->setText((std::string const &)*arg2);
3542
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3551 PyObject *resultobj;
3552 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3553 PyObject * obj0 = 0 ;
3554
3555 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3557 (arg1)->update();
3558
3559 Py_INCREF(Py_None); resultobj = Py_None;
3560 return resultobj;
3561 fail:
3562 return NULL;
3563 }
3564
3565
3566 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3567 PyObject *resultobj;
3568 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3569 otk::Style *arg2 = (otk::Style *) 0 ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572
3573 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3576 (arg1)->setStyle(arg2);
3577
3578 Py_INCREF(Py_None); resultobj = Py_None;
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3586 PyObject *obj;
3587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3588 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3589 Py_INCREF(obj);
3590 return Py_BuildValue((char *)"");
3591 }
3592 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3593 PyObject *resultobj;
3594 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3595 int arg2 = (int) otk::OtkWidget::Horizontal ;
3596 Cursor arg3 = (Cursor) 0 ;
3597 int arg4 = (int) 1 ;
3598 otk::OtkAppWidget *result;
3599 Cursor *argp3 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj2 = 0 ;
3602
3603 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 if (obj2) {
3606 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3607 arg3 = *argp3;
3608 }
3609 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3610
3611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3612 return resultobj;
3613 fail:
3614 return NULL;
3615 }
3616
3617
3618 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3619 PyObject *resultobj;
3620 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3621 PyObject * obj0 = 0 ;
3622
3623 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3625 delete arg1;
3626
3627 Py_INCREF(Py_None); resultobj = Py_None;
3628 return resultobj;
3629 fail:
3630 return NULL;
3631 }
3632
3633
3634 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3635 PyObject *resultobj;
3636 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3637 PyObject * obj0 = 0 ;
3638
3639 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3641 (arg1)->show();
3642
3643 Py_INCREF(Py_None); resultobj = Py_None;
3644 return resultobj;
3645 fail:
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3651 PyObject *resultobj;
3652 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3653 PyObject * obj0 = 0 ;
3654
3655 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3657 (arg1)->hide();
3658
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 return resultobj;
3661 fail:
3662 return NULL;
3663 }
3664
3665
3666 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3667 PyObject *resultobj;
3668 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3669 XClientMessageEvent *arg2 = 0 ;
3670 PyObject * obj0 = 0 ;
3671 PyObject * obj1 = 0 ;
3672
3673 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3676 if (arg2 == NULL) {
3677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3678 }
3679 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3680
3681 Py_INCREF(Py_None); resultobj = Py_None;
3682 return resultobj;
3683 fail:
3684 return NULL;
3685 }
3686
3687
3688 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3689 PyObject *obj;
3690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3691 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3692 Py_INCREF(obj);
3693 return Py_BuildValue((char *)"");
3694 }
3695 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3696 PyObject *resultobj;
3697 int arg1 ;
3698 char **arg2 = (char **) 0 ;
3699 otk::OtkApplication *result;
3700 PyObject * obj1 = 0 ;
3701
3702 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3704 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3705
3706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3707 return resultobj;
3708 fail:
3709 return NULL;
3710 }
3711
3712
3713 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3714 PyObject *resultobj;
3715 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3716 PyObject * obj0 = 0 ;
3717
3718 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3720 delete arg1;
3721
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3730 PyObject *resultobj;
3731 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3732 PyObject * obj0 = 0 ;
3733
3734 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3736 (arg1)->run();
3737
3738 Py_INCREF(Py_None); resultobj = Py_None;
3739 return resultobj;
3740 fail:
3741 return NULL;
3742 }
3743
3744
3745 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3746 PyObject *resultobj;
3747 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3748 bool arg2 ;
3749 PyObject * obj0 = 0 ;
3750 PyObject * obj1 = 0 ;
3751
3752 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3754 arg2 = (bool) PyInt_AsLong(obj1);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 (arg1)->setDockable(arg2);
3757
3758 Py_INCREF(Py_None); resultobj = Py_None;
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3766 PyObject *resultobj;
3767 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3768 bool result;
3769 PyObject * obj0 = 0 ;
3770
3771 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3773 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3774
3775 resultobj = PyInt_FromLong((long)result);
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3783 PyObject *resultobj;
3784 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3785 otk::Style *result;
3786 PyObject * obj0 = 0 ;
3787
3788 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3790 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3791
3792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3800 PyObject *obj;
3801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3802 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3803 Py_INCREF(obj);
3804 return Py_BuildValue((char *)"");
3805 }
3806 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3807 PyObject *resultobj;
3808 otk::PointerAssassin *result;
3809
3810 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3811 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3812
3813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3814 return resultobj;
3815 fail:
3816 return NULL;
3817 }
3818
3819
3820 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3821 PyObject *resultobj;
3822 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3823 PyObject * obj0 = 0 ;
3824
3825 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3827 delete arg1;
3828
3829 Py_INCREF(Py_None); resultobj = Py_None;
3830 return resultobj;
3831 fail:
3832 return NULL;
3833 }
3834
3835
3836 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3837 PyObject *obj;
3838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3839 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3840 Py_INCREF(obj);
3841 return Py_BuildValue((char *)"");
3842 }
3843 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3844 PyObject *resultobj;
3845 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3846 otk::OtkButton *result;
3847 PyObject * obj0 = 0 ;
3848
3849 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3851 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3852
3853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3861 PyObject *resultobj;
3862 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3863 PyObject * obj0 = 0 ;
3864
3865 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 delete arg1;
3868
3869 Py_INCREF(Py_None); resultobj = Py_None;
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3877 PyObject *resultobj;
3878 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3879 otk::BTexture *result;
3880 PyObject * obj0 = 0 ;
3881
3882 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3884 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3885
3886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3887 return resultobj;
3888 fail:
3889 return NULL;
3890 }
3891
3892
3893 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3894 PyObject *resultobj;
3895 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3896 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3897 PyObject * obj0 = 0 ;
3898 PyObject * obj1 = 0 ;
3899
3900 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3903 (arg1)->setPressedFocusTexture(arg2);
3904
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3913 PyObject *resultobj;
3914 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3915 otk::BTexture *result;
3916 PyObject * obj0 = 0 ;
3917
3918 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3920 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3921
3922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3923 return resultobj;
3924 fail:
3925 return NULL;
3926 }
3927
3928
3929 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3930 PyObject *resultobj;
3931 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3932 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3933 PyObject * obj0 = 0 ;
3934 PyObject * obj1 = 0 ;
3935
3936 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3939 (arg1)->setPressedUnfocusTexture(arg2);
3940
3941 Py_INCREF(Py_None); resultobj = Py_None;
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3949 PyObject *resultobj;
3950 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3951 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3952 PyObject * obj0 = 0 ;
3953 PyObject * obj1 = 0 ;
3954
3955 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 (arg1)->setTexture(arg2);
3959
3960 Py_INCREF(Py_None); resultobj = Py_None;
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3968 PyObject *resultobj;
3969 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3970 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973
3974 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3977 (arg1)->setUnfocusTexture(arg2);
3978
3979 Py_INCREF(Py_None); resultobj = Py_None;
3980 return resultobj;
3981 fail:
3982 return NULL;
3983 }
3984
3985
3986 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3987 PyObject *resultobj;
3988 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3989 bool result;
3990 PyObject * obj0 = 0 ;
3991
3992 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3994 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3995
3996 resultobj = PyInt_FromLong((long)result);
3997 return resultobj;
3998 fail:
3999 return NULL;
4000 }
4001
4002
4003 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
4004 PyObject *resultobj;
4005 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4006 unsigned int arg2 ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj1 = 0 ;
4009
4010 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 arg2 = (unsigned int) PyInt_AsLong(obj1);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 (arg1)->press(arg2);
4015
4016 Py_INCREF(Py_None); resultobj = Py_None;
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4024 PyObject *resultobj;
4025 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4026 unsigned int arg2 ;
4027 PyObject * obj0 = 0 ;
4028 PyObject * obj1 = 0 ;
4029
4030 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 arg2 = (unsigned int) PyInt_AsLong(obj1);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 (arg1)->release(arg2);
4035
4036 Py_INCREF(Py_None); resultobj = Py_None;
4037 return resultobj;
4038 fail:
4039 return NULL;
4040 }
4041
4042
4043 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4044 PyObject *resultobj;
4045 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4046 XButtonEvent *arg2 = 0 ;
4047 PyObject * obj0 = 0 ;
4048 PyObject * obj1 = 0 ;
4049
4050 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4053 if (arg2 == NULL) {
4054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4055 }
4056 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4057
4058 Py_INCREF(Py_None); resultobj = Py_None;
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4066 PyObject *resultobj;
4067 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4068 XButtonEvent *arg2 = 0 ;
4069 PyObject * obj0 = 0 ;
4070 PyObject * obj1 = 0 ;
4071
4072 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 if (arg2 == NULL) {
4076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4077 }
4078 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4079
4080 Py_INCREF(Py_None); resultobj = Py_None;
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4088 PyObject *resultobj;
4089 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4090 otk::Style *arg2 = (otk::Style *) 0 ;
4091 PyObject * obj0 = 0 ;
4092 PyObject * obj1 = 0 ;
4093
4094 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 (arg1)->setStyle(arg2);
4098
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4107 PyObject *obj;
4108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4109 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4110 Py_INCREF(obj);
4111 return Py_BuildValue((char *)"");
4112 }
4113 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4114 PyObject *resultobj;
4115 unsigned int arg1 = (unsigned int) ~(0u) ;
4116 otk::BColor *result;
4117 PyObject * obj0 = 0 ;
4118
4119 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4120 if (obj0) {
4121 arg1 = (unsigned int) PyInt_AsLong(obj0);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 result = (otk::BColor *)new otk::BColor(arg1);
4125
4126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4134 PyObject *resultobj;
4135 int arg1 ;
4136 int arg2 ;
4137 int arg3 ;
4138 unsigned int arg4 = (unsigned int) ~(0u) ;
4139 otk::BColor *result;
4140 PyObject * obj3 = 0 ;
4141
4142 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4143 if (obj3) {
4144 arg4 = (unsigned int) PyInt_AsLong(obj3);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4148
4149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4157 PyObject *resultobj;
4158 std::string *arg1 = 0 ;
4159 unsigned int arg2 = (unsigned int) ~(0u) ;
4160 otk::BColor *result;
4161 std::string temp1 ;
4162 PyObject * obj0 = 0 ;
4163 PyObject * obj1 = 0 ;
4164
4165 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4166 {
4167 if (PyString_Check(obj0)) {
4168 temp1 = std::string(PyString_AsString(obj0));
4169 arg1 = &temp1;
4170 }else {
4171 SWIG_exception(SWIG_TypeError, "string expected");
4172 }
4173 }
4174 if (obj1) {
4175 arg2 = (unsigned int) PyInt_AsLong(obj1);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4179
4180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4188 int argc;
4189 PyObject *argv[5];
4190 int ii;
4191
4192 argc = PyObject_Length(args);
4193 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4194 argv[ii] = PyTuple_GetItem(args,ii);
4195 }
4196 if ((argc >= 0) && (argc <= 1)) {
4197 int _v;
4198 if (argc <= 0) {
4199 return _wrap_new_BColor__SWIG_0(self,args);
4200 }
4201 {
4202 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4203 }
4204 if (_v) {
4205 return _wrap_new_BColor__SWIG_0(self,args);
4206 }
4207 }
4208 if ((argc >= 1) && (argc <= 2)) {
4209 int _v;
4210 {
4211 _v = PyString_Check(argv[0]) ? 1 : 0;
4212 }
4213 if (_v) {
4214 if (argc <= 1) {
4215 return _wrap_new_BColor__SWIG_2(self,args);
4216 }
4217 {
4218 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4219 }
4220 if (_v) {
4221 return _wrap_new_BColor__SWIG_2(self,args);
4222 }
4223 }
4224 }
4225 if ((argc >= 3) && (argc <= 4)) {
4226 int _v;
4227 {
4228 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4229 }
4230 if (_v) {
4231 {
4232 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4233 }
4234 if (_v) {
4235 {
4236 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4237 }
4238 if (_v) {
4239 if (argc <= 3) {
4240 return _wrap_new_BColor__SWIG_1(self,args);
4241 }
4242 {
4243 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4244 }
4245 if (_v) {
4246 return _wrap_new_BColor__SWIG_1(self,args);
4247 }
4248 }
4249 }
4250 }
4251 }
4252
4253 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4254 return NULL;
4255 }
4256
4257
4258 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4259 PyObject *resultobj;
4260 otk::BColor *arg1 = (otk::BColor *) 0 ;
4261 PyObject * obj0 = 0 ;
4262
4263 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 delete arg1;
4266
4267 Py_INCREF(Py_None); resultobj = Py_None;
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4275 PyObject *resultobj;
4276 otk::BColor *arg1 = (otk::BColor *) 0 ;
4277 std::string *result;
4278 PyObject * obj0 = 0 ;
4279
4280 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4282 {
4283 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4284 result = (std::string *) &_result_ref;
4285 }
4286
4287 {
4288 resultobj = PyString_FromString(result->c_str());
4289 }
4290 return resultobj;
4291 fail:
4292 return NULL;
4293 }
4294
4295
4296 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4297 PyObject *resultobj;
4298 otk::BColor *arg1 = (otk::BColor *) 0 ;
4299 int result;
4300 PyObject * obj0 = 0 ;
4301
4302 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 result = (int)((otk::BColor const *)arg1)->red();
4305
4306 resultobj = PyInt_FromLong((long)result);
4307 return resultobj;
4308 fail:
4309 return NULL;
4310 }
4311
4312
4313 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4314 PyObject *resultobj;
4315 otk::BColor *arg1 = (otk::BColor *) 0 ;
4316 int result;
4317 PyObject * obj0 = 0 ;
4318
4319 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 result = (int)((otk::BColor const *)arg1)->green();
4322
4323 resultobj = PyInt_FromLong((long)result);
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4331 PyObject *resultobj;
4332 otk::BColor *arg1 = (otk::BColor *) 0 ;
4333 int result;
4334 PyObject * obj0 = 0 ;
4335
4336 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4338 result = (int)((otk::BColor const *)arg1)->blue();
4339
4340 resultobj = PyInt_FromLong((long)result);
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4348 PyObject *resultobj;
4349 otk::BColor *arg1 = (otk::BColor *) 0 ;
4350 int arg2 ;
4351 int arg3 ;
4352 int arg4 ;
4353 PyObject * obj0 = 0 ;
4354
4355 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4357 (arg1)->setRGB(arg2,arg3,arg4);
4358
4359 Py_INCREF(Py_None); resultobj = Py_None;
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4367 PyObject *resultobj;
4368 otk::BColor *arg1 = (otk::BColor *) 0 ;
4369 unsigned int result;
4370 PyObject * obj0 = 0 ;
4371
4372 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4374 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4375
4376 resultobj = PyInt_FromLong((long)result);
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4384 PyObject *resultobj;
4385 otk::BColor *arg1 = (otk::BColor *) 0 ;
4386 unsigned int arg2 = (unsigned int) ~(0u) ;
4387 PyObject * obj0 = 0 ;
4388 PyObject * obj1 = 0 ;
4389
4390 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4392 if (obj1) {
4393 arg2 = (unsigned int) PyInt_AsLong(obj1);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 (arg1)->setScreen(arg2);
4397
4398 Py_INCREF(Py_None); resultobj = Py_None;
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4406 PyObject *resultobj;
4407 otk::BColor *arg1 = (otk::BColor *) 0 ;
4408 bool result;
4409 PyObject * obj0 = 0 ;
4410
4411 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4414
4415 resultobj = PyInt_FromLong((long)result);
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4423 PyObject *resultobj;
4424 otk::BColor *arg1 = (otk::BColor *) 0 ;
4425 bool result;
4426 PyObject * obj0 = 0 ;
4427
4428 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4430 result = (bool)((otk::BColor const *)arg1)->isValid();
4431
4432 resultobj = PyInt_FromLong((long)result);
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4440 PyObject *resultobj;
4441 otk::BColor *arg1 = (otk::BColor *) 0 ;
4442 unsigned long result;
4443 PyObject * obj0 = 0 ;
4444
4445 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4448
4449 resultobj = PyInt_FromLong((long)result);
4450 return resultobj;
4451 fail:
4452 return NULL;
4453 }
4454
4455
4456 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4457 PyObject *resultobj;
4458 otk::BColor *arg1 = (otk::BColor *) 0 ;
4459 otk::BColor *arg2 = 0 ;
4460 bool result;
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463
4464 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4467 if (arg2 == NULL) {
4468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4469 }
4470 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4471
4472 resultobj = PyInt_FromLong((long)result);
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4480 PyObject *resultobj;
4481
4482 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4483 otk::BColor::cleanupColorCache();
4484
4485 Py_INCREF(Py_None); resultobj = Py_None;
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4493 PyObject *obj;
4494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4495 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4496 Py_INCREF(obj);
4497 return Py_BuildValue((char *)"");
4498 }
4499 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4500 PyObject *resultobj;
4501 std::string *arg1 = 0 ;
4502 bool arg2 = (bool) True ;
4503 otk::Configuration *result;
4504 std::string temp1 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507
4508 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4509 {
4510 if (PyString_Check(obj0)) {
4511 temp1 = std::string(PyString_AsString(obj0));
4512 arg1 = &temp1;
4513 }else {
4514 SWIG_exception(SWIG_TypeError, "string expected");
4515 }
4516 }
4517 if (obj1) {
4518 arg2 = (bool) PyInt_AsLong(obj1);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4522
4523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4531 PyObject *resultobj;
4532 bool arg1 = (bool) True ;
4533 otk::Configuration *result;
4534 PyObject * obj0 = 0 ;
4535
4536 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4537 if (obj0) {
4538 arg1 = (bool) PyInt_AsLong(obj0);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 result = (otk::Configuration *)new otk::Configuration(arg1);
4542
4543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4544 return resultobj;
4545 fail:
4546 return NULL;
4547 }
4548
4549
4550 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4551 int argc;
4552 PyObject *argv[3];
4553 int ii;
4554
4555 argc = PyObject_Length(args);
4556 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4557 argv[ii] = PyTuple_GetItem(args,ii);
4558 }
4559 if ((argc >= 0) && (argc <= 1)) {
4560 int _v;
4561 if (argc <= 0) {
4562 return _wrap_new_Configuration__SWIG_1(self,args);
4563 }
4564 {
4565 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4566 }
4567 if (_v) {
4568 return _wrap_new_Configuration__SWIG_1(self,args);
4569 }
4570 }
4571 if ((argc >= 1) && (argc <= 2)) {
4572 int _v;
4573 {
4574 _v = PyString_Check(argv[0]) ? 1 : 0;
4575 }
4576 if (_v) {
4577 if (argc <= 1) {
4578 return _wrap_new_Configuration__SWIG_0(self,args);
4579 }
4580 {
4581 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4582 }
4583 if (_v) {
4584 return _wrap_new_Configuration__SWIG_0(self,args);
4585 }
4586 }
4587 }
4588
4589 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4590 return NULL;
4591 }
4592
4593
4594 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4595 PyObject *resultobj;
4596 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4597 PyObject * obj0 = 0 ;
4598
4599 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 delete arg1;
4602
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4611 PyObject *resultobj;
4612 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4613 std::string *result;
4614 PyObject * obj0 = 0 ;
4615
4616 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4618 {
4619 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4620 result = (std::string *) &_result_ref;
4621 }
4622
4623 {
4624 resultobj = PyString_FromString(result->c_str());
4625 }
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4633 PyObject *resultobj;
4634 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4635 std::string *arg2 = 0 ;
4636 std::string temp2 ;
4637 PyObject * obj0 = 0 ;
4638 PyObject * obj1 = 0 ;
4639
4640 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4642 {
4643 if (PyString_Check(obj1)) {
4644 temp2 = std::string(PyString_AsString(obj1));
4645 arg2 = &temp2;
4646 }else {
4647 SWIG_exception(SWIG_TypeError, "string expected");
4648 }
4649 }
4650 (arg1)->setFile((std::string const &)*arg2);
4651
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4660 PyObject *resultobj;
4661 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4662 bool result;
4663 PyObject * obj0 = 0 ;
4664
4665 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4668
4669 resultobj = PyInt_FromLong((long)result);
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4677 PyObject *resultobj;
4678 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4679 bool arg2 ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682
4683 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4685 arg2 = (bool) PyInt_AsLong(obj1);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 (arg1)->setAutoSave(arg2);
4688
4689 Py_INCREF(Py_None); resultobj = Py_None;
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4697 PyObject *resultobj;
4698 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4699 bool result;
4700 PyObject * obj0 = 0 ;
4701
4702 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 result = (bool)((otk::Configuration const *)arg1)->isModified();
4705
4706 resultobj = PyInt_FromLong((long)result);
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4714 PyObject *resultobj;
4715 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4716 PyObject * obj0 = 0 ;
4717
4718 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4720 (arg1)->save();
4721
4722 Py_INCREF(Py_None); resultobj = Py_None;
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4730 PyObject *resultobj;
4731 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4732 bool result;
4733 PyObject * obj0 = 0 ;
4734
4735 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4737 result = (bool)(arg1)->load();
4738
4739 resultobj = PyInt_FromLong((long)result);
4740 return resultobj;
4741 fail:
4742 return NULL;
4743 }
4744
4745
4746 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4747 PyObject *resultobj;
4748 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4749 std::string *arg2 = 0 ;
4750 bool arg3 = (bool) False ;
4751 bool result;
4752 std::string temp2 ;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 PyObject * obj2 = 0 ;
4756
4757 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 {
4760 if (PyString_Check(obj1)) {
4761 temp2 = std::string(PyString_AsString(obj1));
4762 arg2 = &temp2;
4763 }else {
4764 SWIG_exception(SWIG_TypeError, "string expected");
4765 }
4766 }
4767 if (obj2) {
4768 arg3 = (bool) PyInt_AsLong(obj2);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4772
4773 resultobj = PyInt_FromLong((long)result);
4774 return resultobj;
4775 fail:
4776 return NULL;
4777 }
4778
4779
4780 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4781 PyObject *resultobj;
4782 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4783 PyObject * obj0 = 0 ;
4784
4785 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4787 (arg1)->create();
4788
4789 Py_INCREF(Py_None); resultobj = Py_None;
4790 return resultobj;
4791 fail:
4792 return NULL;
4793 }
4794
4795
4796 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4797 PyObject *resultobj;
4798 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4799 std::string *arg2 = 0 ;
4800 bool arg3 ;
4801 std::string temp2 ;
4802 PyObject * obj0 = 0 ;
4803 PyObject * obj1 = 0 ;
4804 PyObject * obj2 = 0 ;
4805
4806 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4808 {
4809 if (PyString_Check(obj1)) {
4810 temp2 = std::string(PyString_AsString(obj1));
4811 arg2 = &temp2;
4812 }else {
4813 SWIG_exception(SWIG_TypeError, "string expected");
4814 }
4815 }
4816 arg3 = (bool) PyInt_AsLong(obj2);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 (arg1)->setValue((std::string const &)*arg2,arg3);
4819
4820 Py_INCREF(Py_None); resultobj = Py_None;
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4828 PyObject *resultobj;
4829 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4830 std::string *arg2 = 0 ;
4831 int arg3 ;
4832 std::string temp2 ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835
4836 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4838 {
4839 if (PyString_Check(obj1)) {
4840 temp2 = std::string(PyString_AsString(obj1));
4841 arg2 = &temp2;
4842 }else {
4843 SWIG_exception(SWIG_TypeError, "string expected");
4844 }
4845 }
4846 (arg1)->setValue((std::string const &)*arg2,arg3);
4847
4848 Py_INCREF(Py_None); resultobj = Py_None;
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4856 PyObject *resultobj;
4857 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4858 std::string *arg2 = 0 ;
4859 unsigned int arg3 ;
4860 std::string temp2 ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 PyObject * obj2 = 0 ;
4864
4865 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 {
4868 if (PyString_Check(obj1)) {
4869 temp2 = std::string(PyString_AsString(obj1));
4870 arg2 = &temp2;
4871 }else {
4872 SWIG_exception(SWIG_TypeError, "string expected");
4873 }
4874 }
4875 arg3 = (unsigned int) PyInt_AsLong(obj2);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 (arg1)->setValue((std::string const &)*arg2,arg3);
4878
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4887 PyObject *resultobj;
4888 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4889 std::string *arg2 = 0 ;
4890 long arg3 ;
4891 std::string temp2 ;
4892 PyObject * obj0 = 0 ;
4893 PyObject * obj1 = 0 ;
4894
4895 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 if (PyString_Check(obj1)) {
4899 temp2 = std::string(PyString_AsString(obj1));
4900 arg2 = &temp2;
4901 }else {
4902 SWIG_exception(SWIG_TypeError, "string expected");
4903 }
4904 }
4905 (arg1)->setValue((std::string const &)*arg2,arg3);
4906
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4915 PyObject *resultobj;
4916 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4917 std::string *arg2 = 0 ;
4918 unsigned long arg3 ;
4919 std::string temp2 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 PyObject * obj2 = 0 ;
4923
4924 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 {
4927 if (PyString_Check(obj1)) {
4928 temp2 = std::string(PyString_AsString(obj1));
4929 arg2 = &temp2;
4930 }else {
4931 SWIG_exception(SWIG_TypeError, "string expected");
4932 }
4933 }
4934 arg3 = (unsigned long) PyInt_AsLong(obj2);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 (arg1)->setValue((std::string const &)*arg2,arg3);
4937
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4946 PyObject *resultobj;
4947 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4948 std::string *arg2 = 0 ;
4949 std::string *arg3 = 0 ;
4950 std::string temp2 ;
4951 std::string temp3 ;
4952 PyObject * obj0 = 0 ;
4953 PyObject * obj1 = 0 ;
4954 PyObject * obj2 = 0 ;
4955
4956 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 {
4959 if (PyString_Check(obj1)) {
4960 temp2 = std::string(PyString_AsString(obj1));
4961 arg2 = &temp2;
4962 }else {
4963 SWIG_exception(SWIG_TypeError, "string expected");
4964 }
4965 }
4966 {
4967 if (PyString_Check(obj2)) {
4968 temp3 = std::string(PyString_AsString(obj2));
4969 arg3 = &temp3;
4970 }else {
4971 SWIG_exception(SWIG_TypeError, "string expected");
4972 }
4973 }
4974 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4975
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4984 PyObject *resultobj;
4985 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4986 std::string *arg2 = 0 ;
4987 char *arg3 ;
4988 std::string temp2 ;
4989 PyObject * obj0 = 0 ;
4990 PyObject * obj1 = 0 ;
4991
4992 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4994 {
4995 if (PyString_Check(obj1)) {
4996 temp2 = std::string(PyString_AsString(obj1));
4997 arg2 = &temp2;
4998 }else {
4999 SWIG_exception(SWIG_TypeError, "string expected");
5000 }
5001 }
5002 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
5003
5004 Py_INCREF(Py_None); resultobj = Py_None;
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
5012 PyObject *resultobj;
5013 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5014 std::string *arg2 = 0 ;
5015 bool *arg3 = 0 ;
5016 bool result;
5017 std::string temp2 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 PyObject * obj2 = 0 ;
5021
5022 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5024 {
5025 if (PyString_Check(obj1)) {
5026 temp2 = std::string(PyString_AsString(obj1));
5027 arg2 = &temp2;
5028 }else {
5029 SWIG_exception(SWIG_TypeError, "string expected");
5030 }
5031 }
5032 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5033 if (arg3 == NULL) {
5034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5035 }
5036 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5037
5038 resultobj = PyInt_FromLong((long)result);
5039 return resultobj;
5040 fail:
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5046 PyObject *resultobj;
5047 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5048 std::string *arg2 = 0 ;
5049 int *arg3 = 0 ;
5050 bool result;
5051 std::string temp2 ;
5052 PyObject * obj0 = 0 ;
5053 PyObject * obj1 = 0 ;
5054 PyObject * obj2 = 0 ;
5055
5056 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5058 {
5059 if (PyString_Check(obj1)) {
5060 temp2 = std::string(PyString_AsString(obj1));
5061 arg2 = &temp2;
5062 }else {
5063 SWIG_exception(SWIG_TypeError, "string expected");
5064 }
5065 }
5066 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 if (arg3 == NULL) {
5068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5069 }
5070 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5071
5072 resultobj = PyInt_FromLong((long)result);
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5080 PyObject *resultobj;
5081 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5082 std::string *arg2 = 0 ;
5083 unsigned int *arg3 = 0 ;
5084 bool result;
5085 std::string temp2 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 PyObject * obj2 = 0 ;
5089
5090 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 if (PyString_Check(obj1)) {
5094 temp2 = std::string(PyString_AsString(obj1));
5095 arg2 = &temp2;
5096 }else {
5097 SWIG_exception(SWIG_TypeError, "string expected");
5098 }
5099 }
5100 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 if (arg3 == NULL) {
5102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5103 }
5104 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5105
5106 resultobj = PyInt_FromLong((long)result);
5107 return resultobj;
5108 fail:
5109 return NULL;
5110 }
5111
5112
5113 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5114 PyObject *resultobj;
5115 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5116 std::string *arg2 = 0 ;
5117 long *arg3 = 0 ;
5118 bool result;
5119 std::string temp2 ;
5120 PyObject * obj0 = 0 ;
5121 PyObject * obj1 = 0 ;
5122 PyObject * obj2 = 0 ;
5123
5124 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5126 {
5127 if (PyString_Check(obj1)) {
5128 temp2 = std::string(PyString_AsString(obj1));
5129 arg2 = &temp2;
5130 }else {
5131 SWIG_exception(SWIG_TypeError, "string expected");
5132 }
5133 }
5134 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 if (arg3 == NULL) {
5136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5137 }
5138 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5139
5140 resultobj = PyInt_FromLong((long)result);
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5148 PyObject *resultobj;
5149 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5150 std::string *arg2 = 0 ;
5151 unsigned long *arg3 = 0 ;
5152 bool result;
5153 std::string temp2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 PyObject * obj2 = 0 ;
5157
5158 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5160 {
5161 if (PyString_Check(obj1)) {
5162 temp2 = std::string(PyString_AsString(obj1));
5163 arg2 = &temp2;
5164 }else {
5165 SWIG_exception(SWIG_TypeError, "string expected");
5166 }
5167 }
5168 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169 if (arg3 == NULL) {
5170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5171 }
5172 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5173
5174 resultobj = PyInt_FromLong((long)result);
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5182 PyObject *resultobj;
5183 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5184 std::string *arg2 = 0 ;
5185 std::string *arg3 = 0 ;
5186 bool result;
5187 std::string temp2 ;
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 PyObject * obj2 = 0 ;
5191
5192 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 {
5195 if (PyString_Check(obj1)) {
5196 temp2 = std::string(PyString_AsString(obj1));
5197 arg2 = &temp2;
5198 }else {
5199 SWIG_exception(SWIG_TypeError, "string expected");
5200 }
5201 }
5202 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5203 if (arg3 == NULL) {
5204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5205 }
5206 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5207
5208 resultobj = PyInt_FromLong((long)result);
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5216 int argc;
5217 PyObject *argv[4];
5218 int ii;
5219
5220 argc = PyObject_Length(args);
5221 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5222 argv[ii] = PyTuple_GetItem(args,ii);
5223 }
5224 if (argc == 3) {
5225 int _v;
5226 {
5227 void *ptr;
5228 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5229 _v = 0;
5230 PyErr_Clear();
5231 }else {
5232 _v = 1;
5233 }
5234 }
5235 if (_v) {
5236 {
5237 _v = PyString_Check(argv[1]) ? 1 : 0;
5238 }
5239 if (_v) {
5240 {
5241 void *ptr;
5242 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5243 _v = 0;
5244 PyErr_Clear();
5245 }else {
5246 _v = 1;
5247 }
5248 }
5249 if (_v) {
5250 return _wrap_Configuration_getValue__SWIG_0(self,args);
5251 }
5252 }
5253 }
5254 }
5255 if (argc == 3) {
5256 int _v;
5257 {
5258 void *ptr;
5259 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5260 _v = 0;
5261 PyErr_Clear();
5262 }else {
5263 _v = 1;
5264 }
5265 }
5266 if (_v) {
5267 {
5268 _v = PyString_Check(argv[1]) ? 1 : 0;
5269 }
5270 if (_v) {
5271 {
5272 void *ptr;
5273 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5274 _v = 0;
5275 PyErr_Clear();
5276 }else {
5277 _v = 1;
5278 }
5279 }
5280 if (_v) {
5281 return _wrap_Configuration_getValue__SWIG_1(self,args);
5282 }
5283 }
5284 }
5285 }
5286 if (argc == 3) {
5287 int _v;
5288 {
5289 void *ptr;
5290 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5291 _v = 0;
5292 PyErr_Clear();
5293 }else {
5294 _v = 1;
5295 }
5296 }
5297 if (_v) {
5298 {
5299 _v = PyString_Check(argv[1]) ? 1 : 0;
5300 }
5301 if (_v) {
5302 {
5303 void *ptr;
5304 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5305 _v = 0;
5306 PyErr_Clear();
5307 }else {
5308 _v = 1;
5309 }
5310 }
5311 if (_v) {
5312 return _wrap_Configuration_getValue__SWIG_2(self,args);
5313 }
5314 }
5315 }
5316 }
5317 if (argc == 3) {
5318 int _v;
5319 {
5320 void *ptr;
5321 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5322 _v = 0;
5323 PyErr_Clear();
5324 }else {
5325 _v = 1;
5326 }
5327 }
5328 if (_v) {
5329 {
5330 _v = PyString_Check(argv[1]) ? 1 : 0;
5331 }
5332 if (_v) {
5333 {
5334 void *ptr;
5335 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5336 _v = 0;
5337 PyErr_Clear();
5338 }else {
5339 _v = 1;
5340 }
5341 }
5342 if (_v) {
5343 return _wrap_Configuration_getValue__SWIG_3(self,args);
5344 }
5345 }
5346 }
5347 }
5348 if (argc == 3) {
5349 int _v;
5350 {
5351 void *ptr;
5352 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5353 _v = 0;
5354 PyErr_Clear();
5355 }else {
5356 _v = 1;
5357 }
5358 }
5359 if (_v) {
5360 {
5361 _v = PyString_Check(argv[1]) ? 1 : 0;
5362 }
5363 if (_v) {
5364 {
5365 void *ptr;
5366 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5367 _v = 0;
5368 PyErr_Clear();
5369 }else {
5370 _v = 1;
5371 }
5372 }
5373 if (_v) {
5374 return _wrap_Configuration_getValue__SWIG_4(self,args);
5375 }
5376 }
5377 }
5378 }
5379 if (argc == 3) {
5380 int _v;
5381 {
5382 void *ptr;
5383 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5384 _v = 0;
5385 PyErr_Clear();
5386 }else {
5387 _v = 1;
5388 }
5389 }
5390 if (_v) {
5391 {
5392 _v = PyString_Check(argv[1]) ? 1 : 0;
5393 }
5394 if (_v) {
5395 {
5396 void *ptr;
5397 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5398 _v = 0;
5399 PyErr_Clear();
5400 }else {
5401 _v = 1;
5402 }
5403 }
5404 if (_v) {
5405 return _wrap_Configuration_getValue__SWIG_5(self,args);
5406 }
5407 }
5408 }
5409 }
5410
5411 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5412 return NULL;
5413 }
5414
5415
5416 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5417 PyObject *obj;
5418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5419 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5420 Py_INCREF(obj);
5421 return Py_BuildValue((char *)"");
5422 }
5423 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5424 {
5425 void *temp;
5426 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5427 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5428 return 1;
5429 }
5430 otk::OBDisplay::display = (Display *) temp;
5431 }
5432 return 0;
5433 }
5434
5435
5436 static PyObject *_wrap_OBDisplay_display_get() {
5437 PyObject *pyobj;
5438
5439 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5440 return pyobj;
5441 }
5442
5443
5444 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5445 PyObject *resultobj;
5446 char *arg1 ;
5447
5448 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5449 otk::OBDisplay::initialize(arg1);
5450
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5459 PyObject *resultobj;
5460
5461 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5462 otk::OBDisplay::destroy();
5463
5464 Py_INCREF(Py_None); resultobj = Py_None;
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5472 PyObject *resultobj;
5473 otk::BGCCache *result;
5474
5475 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5476 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5477
5478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5486 PyObject *resultobj;
5487 int arg1 ;
5488 otk::ScreenInfo *result;
5489
5490 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5491 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5492
5493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_OBDisplay_findScreen(PyObject *self, PyObject *args) {
5501 PyObject *resultobj;
5502 Window arg1 ;
5503 otk::ScreenInfo *result;
5504 Window *argp1 ;
5505 PyObject * obj0 = 0 ;
5506
5507 if(!PyArg_ParseTuple(args,(char *)"O:OBDisplay_findScreen",&obj0)) goto fail;
5508 if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5509 arg1 = *argp1;
5510 result = (otk::ScreenInfo *)otk::OBDisplay::findScreen(arg1);
5511
5512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5520 PyObject *resultobj;
5521 bool result;
5522
5523 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5524 result = (bool)otk::OBDisplay::shape();
5525
5526 resultobj = PyInt_FromLong((long)result);
5527 return resultobj;
5528 fail:
5529 return NULL;
5530 }
5531
5532
5533 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5534 PyObject *resultobj;
5535 int result;
5536
5537 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5538 result = (int)otk::OBDisplay::shapeEventBase();
5539
5540 resultobj = PyInt_FromLong((long)result);
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5548 PyObject *resultobj;
5549 bool result;
5550
5551 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5552 result = (bool)otk::OBDisplay::xinerama();
5553
5554 resultobj = PyInt_FromLong((long)result);
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) {
5562 PyObject *resultobj;
5563 unsigned int result;
5564
5565 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail;
5566 result = (unsigned int)otk::OBDisplay::numLockMask();
5567
5568 resultobj = PyInt_FromLong((long)result);
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) {
5576 PyObject *resultobj;
5577 unsigned int result;
5578
5579 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail;
5580 result = (unsigned int)otk::OBDisplay::scrollLockMask();
5581
5582 resultobj = PyInt_FromLong((long)result);
5583 return resultobj;
5584 fail:
5585 return NULL;
5586 }
5587
5588
5589 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5590 PyObject *resultobj;
5591
5592 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5593 otk::OBDisplay::grab();
5594
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5603 PyObject *resultobj;
5604
5605 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5606 otk::OBDisplay::ungrab();
5607
5608 Py_INCREF(Py_None); resultobj = Py_None;
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5616 PyObject *resultobj;
5617 unsigned int arg1 ;
5618 unsigned int arg2 ;
5619 Window arg3 ;
5620 bool arg4 ;
5621 unsigned int arg5 ;
5622 int arg6 ;
5623 int arg7 ;
5624 Window arg8 ;
5625 Cursor arg9 ;
5626 bool arg10 ;
5627 Window *argp3 ;
5628 Window *argp8 ;
5629 Cursor *argp9 ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
5633 PyObject * obj3 = 0 ;
5634 PyObject * obj4 = 0 ;
5635 PyObject * obj7 = 0 ;
5636 PyObject * obj8 = 0 ;
5637 PyObject * obj9 = 0 ;
5638
5639 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5640 arg1 = (unsigned int) PyInt_AsLong(obj0);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 arg2 = (unsigned int) PyInt_AsLong(obj1);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5645 arg3 = *argp3;
5646 arg4 = (bool) PyInt_AsLong(obj3);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 arg5 = (unsigned int) PyInt_AsLong(obj4);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5651 arg8 = *argp8;
5652 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5653 arg9 = *argp9;
5654 arg10 = (bool) PyInt_AsLong(obj9);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5657
5658 Py_INCREF(Py_None); resultobj = Py_None;
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5666 PyObject *resultobj;
5667 unsigned int arg1 ;
5668 unsigned int arg2 ;
5669 Window arg3 ;
5670 Window *argp3 ;
5671 PyObject * obj0 = 0 ;
5672 PyObject * obj1 = 0 ;
5673 PyObject * obj2 = 0 ;
5674
5675 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5676 arg1 = (unsigned int) PyInt_AsLong(obj0);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 arg2 = (unsigned int) PyInt_AsLong(obj1);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5681 arg3 = *argp3;
5682 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5683
5684 Py_INCREF(Py_None); resultobj = Py_None;
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5692 PyObject *resultobj;
5693 unsigned int arg1 ;
5694 unsigned int arg2 ;
5695 Window arg3 ;
5696 bool arg4 ;
5697 int arg5 ;
5698 int arg6 ;
5699 bool arg7 ;
5700 Window *argp3 ;
5701 PyObject * obj0 = 0 ;
5702 PyObject * obj1 = 0 ;
5703 PyObject * obj2 = 0 ;
5704 PyObject * obj3 = 0 ;
5705 PyObject * obj6 = 0 ;
5706
5707 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5708 arg1 = (unsigned int) PyInt_AsLong(obj0);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 arg2 = (unsigned int) PyInt_AsLong(obj1);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5713 arg3 = *argp3;
5714 arg4 = (bool) PyInt_AsLong(obj3);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 arg7 = (bool) PyInt_AsLong(obj6);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5719
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5728 PyObject *resultobj;
5729 unsigned int arg1 ;
5730 unsigned int arg2 ;
5731 Window arg3 ;
5732 Window *argp3 ;
5733 PyObject * obj0 = 0 ;
5734 PyObject * obj1 = 0 ;
5735 PyObject * obj2 = 0 ;
5736
5737 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5738 arg1 = (unsigned int) PyInt_AsLong(obj0);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 arg2 = (unsigned int) PyInt_AsLong(obj1);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5743 arg3 = *argp3;
5744 otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5745
5746 Py_INCREF(Py_None); resultobj = Py_None;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5754 PyObject *resultobj;
5755 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5756 PyObject * obj0 = 0 ;
5757
5758 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5760 delete arg1;
5761
5762 Py_INCREF(Py_None); resultobj = Py_None;
5763 return resultobj;
5764 fail:
5765 return NULL;
5766 }
5767
5768
5769 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5770 PyObject *obj;
5771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5772 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5773 Py_INCREF(obj);
5774 return Py_BuildValue((char *)"");
5775 }
5776 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5777 PyObject *resultobj;
5778 std::string result;
5779
5780 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5781 result = otk::BFont::fallbackFont();
5782
5783 {
5784 resultobj = PyString_FromString((&result)->c_str());
5785 }
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5793 PyObject *resultobj;
5794 std::string *arg1 = 0 ;
5795 std::string temp1 ;
5796 PyObject * obj0 = 0 ;
5797
5798 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5799 {
5800 if (PyString_Check(obj0)) {
5801 temp1 = std::string(PyString_AsString(obj0));
5802 arg1 = &temp1;
5803 }else {
5804 SWIG_exception(SWIG_TypeError, "string expected");
5805 }
5806 }
5807 otk::BFont::setFallbackFont((std::string const &)*arg1);
5808
5809 Py_INCREF(Py_None); resultobj = Py_None;
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5817 PyObject *resultobj;
5818 int arg1 ;
5819 std::string *arg2 = 0 ;
5820 bool arg3 ;
5821 unsigned char arg4 ;
5822 unsigned char arg5 ;
5823 otk::BFont *result;
5824 std::string temp2 ;
5825 PyObject * obj1 = 0 ;
5826 PyObject * obj2 = 0 ;
5827 PyObject * obj3 = 0 ;
5828 PyObject * obj4 = 0 ;
5829
5830 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5831 {
5832 if (PyString_Check(obj1)) {
5833 temp2 = std::string(PyString_AsString(obj1));
5834 arg2 = &temp2;
5835 }else {
5836 SWIG_exception(SWIG_TypeError, "string expected");
5837 }
5838 }
5839 arg3 = (bool) PyInt_AsLong(obj2);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 arg4 = (unsigned char) PyInt_AsLong(obj3);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 arg5 = (unsigned char) PyInt_AsLong(obj4);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5846
5847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5848 return resultobj;
5849 fail:
5850 return NULL;
5851 }
5852
5853
5854 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5855 PyObject *resultobj;
5856 otk::BFont *arg1 = (otk::BFont *) 0 ;
5857 PyObject * obj0 = 0 ;
5858
5859 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5861 delete arg1;
5862
5863 Py_INCREF(Py_None); resultobj = Py_None;
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5871 PyObject *resultobj;
5872 otk::BFont *arg1 = (otk::BFont *) 0 ;
5873 std::string *result;
5874 PyObject * obj0 = 0 ;
5875
5876 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5878 {
5879 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5880 result = (std::string *) &_result_ref;
5881 }
5882
5883 {
5884 resultobj = PyString_FromString(result->c_str());
5885 }
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5893 PyObject *resultobj;
5894 otk::BFont *arg1 = (otk::BFont *) 0 ;
5895 unsigned int result;
5896 PyObject * obj0 = 0 ;
5897
5898 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 result = (unsigned int)((otk::BFont const *)arg1)->height();
5901
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5910 PyObject *resultobj;
5911 otk::BFont *arg1 = (otk::BFont *) 0 ;
5912 unsigned int result;
5913 PyObject * obj0 = 0 ;
5914
5915 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5917 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5918
5919 resultobj = PyInt_FromLong((long)result);
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5927 PyObject *resultobj;
5928 otk::BFont *arg1 = (otk::BFont *) 0 ;
5929 std::string *arg2 = 0 ;
5930 bool arg3 = (bool) false ;
5931 unsigned int result;
5932 std::string temp2 ;
5933 PyObject * obj0 = 0 ;
5934 PyObject * obj1 = 0 ;
5935 PyObject * obj2 = 0 ;
5936
5937 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 if (PyString_Check(obj1)) {
5941 temp2 = std::string(PyString_AsString(obj1));
5942 arg2 = &temp2;
5943 }else {
5944 SWIG_exception(SWIG_TypeError, "string expected");
5945 }
5946 }
5947 if (obj2) {
5948 arg3 = (bool) PyInt_AsLong(obj2);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5952
5953 resultobj = PyInt_FromLong((long)result);
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5961 PyObject *resultobj;
5962 otk::BFont *arg1 = (otk::BFont *) 0 ;
5963 XftDraw *arg2 = (XftDraw *) 0 ;
5964 int arg3 ;
5965 int arg4 ;
5966 otk::BColor *arg5 = 0 ;
5967 std::string *arg6 = 0 ;
5968 bool arg7 = (bool) false ;
5969 std::string temp6 ;
5970 PyObject * obj0 = 0 ;
5971 PyObject * obj1 = 0 ;
5972 PyObject * obj4 = 0 ;
5973 PyObject * obj5 = 0 ;
5974 PyObject * obj6 = 0 ;
5975
5976 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5979 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 if (arg5 == NULL) {
5981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5982 }
5983 {
5984 if (PyString_Check(obj5)) {
5985 temp6 = std::string(PyString_AsString(obj5));
5986 arg6 = &temp6;
5987 }else {
5988 SWIG_exception(SWIG_TypeError, "string expected");
5989 }
5990 }
5991 if (obj6) {
5992 arg7 = (bool) PyInt_AsLong(obj6);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5996
5997 Py_INCREF(Py_None); resultobj = Py_None;
5998 return resultobj;
5999 fail:
6000 return NULL;
6001 }
6002
6003
6004 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
6005 PyObject *obj;
6006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6007 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
6008 Py_INCREF(obj);
6009 return Py_BuildValue((char *)"");
6010 }
6011 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
6012 PyObject *resultobj;
6013 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6014 otk::BColor *arg2 = 0 ;
6015 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6016 int arg4 ;
6017 int arg5 ;
6018 int arg6 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 PyObject * obj2 = 0 ;
6022
6023 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 if (arg2 == NULL) {
6027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6028 }
6029 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6030 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6031
6032 Py_INCREF(Py_None); resultobj = Py_None;
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
6040 PyObject *resultobj;
6041 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6042 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj1 = 0 ;
6045
6046 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 (arg1)->set((XFontStruct const *)arg2);
6050
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
6059 int argc;
6060 PyObject *argv[7];
6061 int ii;
6062
6063 argc = PyObject_Length(args);
6064 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6065 argv[ii] = PyTuple_GetItem(args,ii);
6066 }
6067 if (argc == 2) {
6068 int _v;
6069 {
6070 void *ptr;
6071 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6072 _v = 0;
6073 PyErr_Clear();
6074 }else {
6075 _v = 1;
6076 }
6077 }
6078 if (_v) {
6079 {
6080 void *ptr;
6081 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6082 _v = 0;
6083 PyErr_Clear();
6084 }else {
6085 _v = 1;
6086 }
6087 }
6088 if (_v) {
6089 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6090 }
6091 }
6092 }
6093 if (argc == 6) {
6094 int _v;
6095 {
6096 void *ptr;
6097 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6098 _v = 0;
6099 PyErr_Clear();
6100 }else {
6101 _v = 1;
6102 }
6103 }
6104 if (_v) {
6105 {
6106 void *ptr;
6107 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6108 _v = 0;
6109 PyErr_Clear();
6110 }else {
6111 _v = 1;
6112 }
6113 }
6114 if (_v) {
6115 {
6116 void *ptr;
6117 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6118 _v = 0;
6119 PyErr_Clear();
6120 }else {
6121 _v = 1;
6122 }
6123 }
6124 if (_v) {
6125 {
6126 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6127 }
6128 if (_v) {
6129 {
6130 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6131 }
6132 if (_v) {
6133 {
6134 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6135 }
6136 if (_v) {
6137 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6138 }
6139 }
6140 }
6141 }
6142 }
6143 }
6144 }
6145
6146 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6152 PyObject *resultobj;
6153 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6154 PyObject * obj0 = 0 ;
6155
6156 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 delete arg1;
6159
6160 Py_INCREF(Py_None); resultobj = Py_None;
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6168 PyObject *obj;
6169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6170 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6171 Py_INCREF(obj);
6172 return Py_BuildValue((char *)"");
6173 }
6174 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6175 PyObject *resultobj;
6176 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6177 GC *result;
6178 PyObject * obj0 = 0 ;
6179
6180 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6182 {
6183 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6184 result = (GC *) &_result_ref;
6185 }
6186
6187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6195 PyObject *resultobj;
6196 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6197 PyObject * obj0 = 0 ;
6198
6199 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6201 delete arg1;
6202
6203 Py_INCREF(Py_None); resultobj = Py_None;
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6211 PyObject *obj;
6212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6213 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6214 Py_INCREF(obj);
6215 return Py_BuildValue((char *)"");
6216 }
6217 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6218 PyObject *resultobj;
6219 unsigned int arg1 ;
6220 otk::BGCCache *result;
6221 PyObject * obj0 = 0 ;
6222
6223 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6224 arg1 = (unsigned int) PyInt_AsLong(obj0);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6227
6228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6236 PyObject *resultobj;
6237 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6238 PyObject * obj0 = 0 ;
6239
6240 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6242 delete arg1;
6243
6244 Py_INCREF(Py_None); resultobj = Py_None;
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6252 PyObject *resultobj;
6253 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6254 PyObject * obj0 = 0 ;
6255
6256 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 (arg1)->purge();
6259
6260 Py_INCREF(Py_None); resultobj = Py_None;
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6268 PyObject *resultobj;
6269 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6270 otk::BColor *arg2 = 0 ;
6271 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6272 int arg4 = (int) GXcopy ;
6273 int arg5 = (int) ClipByChildren ;
6274 int arg6 = (int) 0 ;
6275 otk::BGCCacheItem *result;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 PyObject * obj2 = 0 ;
6279
6280 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6283 if (arg2 == NULL) {
6284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6285 }
6286 if (obj2) {
6287 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6288 }
6289 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6290
6291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6299 PyObject *resultobj;
6300 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6301 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6302 PyObject * obj0 = 0 ;
6303 PyObject * obj1 = 0 ;
6304
6305 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6308 (arg1)->release(arg2);
6309
6310 Py_INCREF(Py_None); resultobj = Py_None;
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6318 PyObject *obj;
6319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6320 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6321 Py_INCREF(obj);
6322 return Py_BuildValue((char *)"");
6323 }
6324 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6325 PyObject *resultobj;
6326 otk::BColor *arg1 = 0 ;
6327 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6328 int arg3 = (int) 0 ;
6329 int arg4 = (int) GXcopy ;
6330 int arg5 = (int) ClipByChildren ;
6331 otk::BPen *result;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334
6335 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6337 if (arg1 == NULL) {
6338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6339 }
6340 if (obj1) {
6341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6342 }
6343 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6344
6345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6353 PyObject *resultobj;
6354 otk::BPen *arg1 = (otk::BPen *) 0 ;
6355 PyObject * obj0 = 0 ;
6356
6357 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6359 delete arg1;
6360
6361 Py_INCREF(Py_None); resultobj = Py_None;
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6369 PyObject *resultobj;
6370 otk::BPen *arg1 = (otk::BPen *) 0 ;
6371 GC *result;
6372 PyObject * obj0 = 0 ;
6373
6374 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 {
6377 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6378 result = (GC *) &_result_ref;
6379 }
6380
6381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6389 PyObject *obj;
6390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6391 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6392 Py_INCREF(obj);
6393 return Py_BuildValue((char *)"");
6394 }
6395 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6396 PyObject *resultobj;
6397 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6398 int arg2 ;
6399 int arg3 ;
6400 otk::BImage *result;
6401 PyObject * obj0 = 0 ;
6402
6403 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6405 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6406
6407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6415 PyObject *resultobj;
6416 otk::BImage *arg1 = (otk::BImage *) 0 ;
6417 PyObject * obj0 = 0 ;
6418
6419 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6421 delete arg1;
6422
6423 Py_INCREF(Py_None); resultobj = Py_None;
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6431 PyObject *resultobj;
6432 otk::BImage *arg1 = (otk::BImage *) 0 ;
6433 otk::BTexture *arg2 = 0 ;
6434 Pixmap result;
6435 PyObject * obj0 = 0 ;
6436 PyObject * obj1 = 0 ;
6437
6438 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6441 if (arg2 == NULL) {
6442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6443 }
6444 result = (arg1)->render((otk::BTexture const &)*arg2);
6445
6446 {
6447 Pixmap * resultptr;
6448 resultptr = new Pixmap((Pixmap &) result);
6449 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6458 PyObject *obj;
6459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6460 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6461 Py_INCREF(obj);
6462 return Py_BuildValue((char *)"");
6463 }
6464 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6465 PyObject *resultobj;
6466 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6467 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6468 bool arg3 = (bool) False ;
6469 int arg4 = (int) 4 ;
6470 unsigned long arg5 = (unsigned long) 300000l ;
6471 unsigned long arg6 = (unsigned long) 200l ;
6472 otk::BImageControl *result;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 PyObject * obj2 = 0 ;
6476 PyObject * obj4 = 0 ;
6477 PyObject * obj5 = 0 ;
6478
6479 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 if (obj2) {
6483 arg3 = (bool) PyInt_AsLong(obj2);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 if (obj4) {
6487 arg5 = (unsigned long) PyInt_AsLong(obj4);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 if (obj5) {
6491 arg6 = (unsigned long) PyInt_AsLong(obj5);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6495
6496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6504 PyObject *resultobj;
6505 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6506 PyObject * obj0 = 0 ;
6507
6508 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6510 delete arg1;
6511
6512 Py_INCREF(Py_None); resultobj = Py_None;
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6520 PyObject *resultobj;
6521 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6522 bool result;
6523 PyObject * obj0 = 0 ;
6524
6525 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6527 result = (bool)(arg1)->doDither();
6528
6529 resultobj = PyInt_FromLong((long)result);
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6537 PyObject *resultobj;
6538 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6539 otk::ScreenInfo *result;
6540 PyObject * obj0 = 0 ;
6541
6542 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6544 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6545
6546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6547 return resultobj;
6548 fail:
6549 return NULL;
6550 }
6551
6552
6553 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6554 PyObject *resultobj;
6555 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6556 Window result;
6557 PyObject * obj0 = 0 ;
6558
6559 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 result = ((otk::BImageControl const *)arg1)->getDrawable();
6562
6563 {
6564 Window * resultptr;
6565 resultptr = new Window((Window &) result);
6566 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6567 }
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6575 PyObject *resultobj;
6576 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6577 Visual *result;
6578 PyObject * obj0 = 0 ;
6579
6580 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6582 result = (Visual *)(arg1)->getVisual();
6583
6584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6592 PyObject *resultobj;
6593 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6594 int result;
6595 PyObject * obj0 = 0 ;
6596
6597 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6600
6601 resultobj = PyInt_FromLong((long)result);
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6609 PyObject *resultobj;
6610 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6611 int result;
6612 PyObject * obj0 = 0 ;
6613
6614 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6617
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6626 PyObject *resultobj;
6627 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6628 int result;
6629 PyObject * obj0 = 0 ;
6630
6631 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6634
6635 resultobj = PyInt_FromLong((long)result);
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6643 PyObject *resultobj;
6644 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6645 unsigned int arg2 ;
6646 unsigned long result;
6647 PyObject * obj0 = 0 ;
6648 PyObject * obj1 = 0 ;
6649
6650 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6652 arg2 = (unsigned int) PyInt_AsLong(obj1);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 result = (unsigned long)(arg1)->getSqrt(arg2);
6655
6656 resultobj = PyInt_FromLong((long)result);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6664 PyObject *resultobj;
6665 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6666 unsigned int arg2 ;
6667 unsigned int arg3 ;
6668 otk::BTexture *arg4 = 0 ;
6669 Pixmap result;
6670 PyObject * obj0 = 0 ;
6671 PyObject * obj1 = 0 ;
6672 PyObject * obj2 = 0 ;
6673 PyObject * obj3 = 0 ;
6674
6675 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6677 arg2 = (unsigned int) PyInt_AsLong(obj1);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 arg3 = (unsigned int) PyInt_AsLong(obj2);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6682 if (arg4 == NULL) {
6683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6684 }
6685 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6686
6687 {
6688 Pixmap * resultptr;
6689 resultptr = new Pixmap((Pixmap &) result);
6690 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6691 }
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6699 PyObject *resultobj;
6700 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6701 PyObject * obj0 = 0 ;
6702
6703 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 (arg1)->installRootColormap();
6706
6707 Py_INCREF(Py_None); resultobj = Py_None;
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6715 PyObject *resultobj;
6716 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6717 Pixmap arg2 ;
6718 Pixmap *argp2 ;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721
6722 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6725 arg2 = *argp2;
6726 (arg1)->removeImage(arg2);
6727
6728 Py_INCREF(Py_None); resultobj = Py_None;
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6736 PyObject *resultobj;
6737 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6738 unsigned char **arg2 = (unsigned char **) 0 ;
6739 unsigned char **arg3 = (unsigned char **) 0 ;
6740 unsigned char **arg4 = (unsigned char **) 0 ;
6741 int *arg5 = (int *) 0 ;
6742 int *arg6 = (int *) 0 ;
6743 int *arg7 = (int *) 0 ;
6744 int *arg8 = (int *) 0 ;
6745 int *arg9 = (int *) 0 ;
6746 int *arg10 = (int *) 0 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 PyObject * obj2 = 0 ;
6750 PyObject * obj3 = 0 ;
6751 PyObject * obj4 = 0 ;
6752 PyObject * obj5 = 0 ;
6753 PyObject * obj6 = 0 ;
6754 PyObject * obj7 = 0 ;
6755 PyObject * obj8 = 0 ;
6756 PyObject * obj9 = 0 ;
6757
6758 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6763 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6764 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6765 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6767 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6770
6771 Py_INCREF(Py_None); resultobj = Py_None;
6772 return resultobj;
6773 fail:
6774 return NULL;
6775 }
6776
6777
6778 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6779 PyObject *resultobj;
6780 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6781 XColor **arg2 = (XColor **) 0 ;
6782 int *arg3 = (int *) 0 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 PyObject * obj2 = 0 ;
6786
6787 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6790 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 (arg1)->getXColorTable(arg2,arg3);
6792
6793 Py_INCREF(Py_None); resultobj = Py_None;
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6801 PyObject *resultobj;
6802 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6803 unsigned int arg2 ;
6804 unsigned int arg3 ;
6805 unsigned int **arg4 = (unsigned int **) 0 ;
6806 unsigned int **arg5 = (unsigned int **) 0 ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 PyObject * obj2 = 0 ;
6810 PyObject * obj3 = 0 ;
6811 PyObject * obj4 = 0 ;
6812
6813 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6815 arg2 = (unsigned int) PyInt_AsLong(obj1);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 arg3 = (unsigned int) PyInt_AsLong(obj2);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6821 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6822
6823 Py_INCREF(Py_None); resultobj = Py_None;
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6831 PyObject *resultobj;
6832 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6833 bool arg2 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836
6837 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6839 arg2 = (bool) PyInt_AsLong(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 (arg1)->setDither(arg2);
6842
6843 Py_INCREF(Py_None); resultobj = Py_None;
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6851 PyObject *resultobj;
6852 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6853 int arg2 ;
6854 PyObject * obj0 = 0 ;
6855
6856 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6858 (arg1)->setColorsPerChannel(arg2);
6859
6860 Py_INCREF(Py_None); resultobj = Py_None;
6861 return resultobj;
6862 fail:
6863 return NULL;
6864 }
6865
6866
6867 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6868 PyObject *resultobj;
6869 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6870 PyObject * obj0 = 0 ;
6871
6872 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6874 otk::BImageControl::timeout(arg1);
6875
6876 Py_INCREF(Py_None); resultobj = Py_None;
6877 return resultobj;
6878 fail:
6879 return NULL;
6880 }
6881
6882
6883 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6884 PyObject *obj;
6885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6886 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6887 Py_INCREF(obj);
6888 return Py_BuildValue((char *)"");
6889 }
6890 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6891 PyObject *resultobj;
6892 otk::Point *result;
6893
6894 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6895 result = (otk::Point *)new otk::Point();
6896
6897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6905 PyObject *resultobj;
6906 int arg1 ;
6907 int arg2 ;
6908 otk::Point *result;
6909
6910 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6911 result = (otk::Point *)new otk::Point(arg1,arg2);
6912
6913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6914 return resultobj;
6915 fail:
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6921 int argc;
6922 PyObject *argv[3];
6923 int ii;
6924
6925 argc = PyObject_Length(args);
6926 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6927 argv[ii] = PyTuple_GetItem(args,ii);
6928 }
6929 if (argc == 0) {
6930 return _wrap_new_Point__SWIG_0(self,args);
6931 }
6932 if (argc == 2) {
6933 int _v;
6934 {
6935 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6936 }
6937 if (_v) {
6938 {
6939 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6940 }
6941 if (_v) {
6942 return _wrap_new_Point__SWIG_1(self,args);
6943 }
6944 }
6945 }
6946
6947 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6948 return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6953 PyObject *resultobj;
6954 otk::Point *arg1 = (otk::Point *) 0 ;
6955 int arg2 ;
6956 PyObject * obj0 = 0 ;
6957
6958 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6960 (arg1)->setX(arg2);
6961
6962 Py_INCREF(Py_None); resultobj = Py_None;
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6970 PyObject *resultobj;
6971 otk::Point *arg1 = (otk::Point *) 0 ;
6972 int result;
6973 PyObject * obj0 = 0 ;
6974
6975 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6977 result = (int)((otk::Point const *)arg1)->x();
6978
6979 resultobj = PyInt_FromLong((long)result);
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6987 PyObject *resultobj;
6988 otk::Point *arg1 = (otk::Point *) 0 ;
6989 int arg2 ;
6990 PyObject * obj0 = 0 ;
6991
6992 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6994 (arg1)->setY(arg2);
6995
6996 Py_INCREF(Py_None); resultobj = Py_None;
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
7004 PyObject *resultobj;
7005 otk::Point *arg1 = (otk::Point *) 0 ;
7006 int result;
7007 PyObject * obj0 = 0 ;
7008
7009 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7011 result = (int)((otk::Point const *)arg1)->y();
7012
7013 resultobj = PyInt_FromLong((long)result);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
7021 PyObject *resultobj;
7022 otk::Point *arg1 = (otk::Point *) 0 ;
7023 int arg2 ;
7024 int arg3 ;
7025 PyObject * obj0 = 0 ;
7026
7027 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
7028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7029 (arg1)->setPoint(arg2,arg3);
7030
7031 Py_INCREF(Py_None); resultobj = Py_None;
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
7039 PyObject *resultobj;
7040 otk::Point *arg1 = (otk::Point *) 0 ;
7041 PyObject * obj0 = 0 ;
7042
7043 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
7044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7045 delete arg1;
7046
7047 Py_INCREF(Py_None); resultobj = Py_None;
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
7055 PyObject *obj;
7056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7057 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
7058 Py_INCREF(obj);
7059 return Py_BuildValue((char *)"");
7060 }
7061 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7062 PyObject *resultobj;
7063 otk::OBProperty *result;
7064
7065 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7066 result = (otk::OBProperty *)new otk::OBProperty();
7067
7068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7076 PyObject *resultobj;
7077 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7078 PyObject * obj0 = 0 ;
7079
7080 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7082 delete arg1;
7083
7084 Py_INCREF(Py_None); resultobj = Py_None;
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7092 PyObject *resultobj;
7093 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7094 Window arg2 ;
7095 int arg3 ;
7096 int arg4 ;
7097 unsigned long arg5 ;
7098 Window *argp2 ;
7099 PyObject * obj0 = 0 ;
7100 PyObject * obj1 = 0 ;
7101 PyObject * obj4 = 0 ;
7102
7103 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7106 arg2 = *argp2;
7107 arg5 = (unsigned long) PyInt_AsLong(obj4);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,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_1(PyObject *self, PyObject *args) {
7119 PyObject *resultobj;
7120 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7121 Window arg2 ;
7122 int arg3 ;
7123 int arg4 ;
7124 unsigned long *arg5 ;
7125 int arg6 ;
7126 Window *argp2 ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 PyObject * obj4 = 0 ;
7130
7131 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7133 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7134 arg2 = *argp2;
7135 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7136 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7137
7138 Py_INCREF(Py_None); resultobj = Py_None;
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7146 PyObject *resultobj;
7147 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7148 Window arg2 ;
7149 int arg3 ;
7150 int arg4 ;
7151 std::string *arg5 = 0 ;
7152 Window *argp2 ;
7153 std::string temp5 ;
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 PyObject * obj4 = 0 ;
7157
7158 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7160 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7161 arg2 = *argp2;
7162 {
7163 if (PyString_Check(obj4)) {
7164 temp5 = std::string(PyString_AsString(obj4));
7165 arg5 = &temp5;
7166 }else {
7167 SWIG_exception(SWIG_TypeError, "string expected");
7168 }
7169 }
7170 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7171
7172 Py_INCREF(Py_None); resultobj = Py_None;
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7180 PyObject *resultobj;
7181 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7182 Window arg2 ;
7183 int arg3 ;
7184 int arg4 ;
7185 otk::OBProperty::StringVect *arg5 = 0 ;
7186 Window *argp2 ;
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 PyObject * obj4 = 0 ;
7190
7191 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7194 arg2 = *argp2;
7195 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 if (arg5 == NULL) {
7197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7198 }
7199 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7200
7201 Py_INCREF(Py_None); resultobj = Py_None;
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7209 int argc;
7210 PyObject *argv[7];
7211 int ii;
7212
7213 argc = PyObject_Length(args);
7214 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7215 argv[ii] = PyTuple_GetItem(args,ii);
7216 }
7217 if (argc == 5) {
7218 int _v;
7219 {
7220 void *ptr;
7221 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7222 _v = 0;
7223 PyErr_Clear();
7224 }else {
7225 _v = 1;
7226 }
7227 }
7228 if (_v) {
7229 {
7230 void *ptr;
7231 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7232 _v = 0;
7233 PyErr_Clear();
7234 }else {
7235 _v = 1;
7236 }
7237 }
7238 if (_v) {
7239 {
7240 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7241 }
7242 if (_v) {
7243 {
7244 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7245 }
7246 if (_v) {
7247 {
7248 void *ptr;
7249 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7250 _v = 0;
7251 PyErr_Clear();
7252 }else {
7253 _v = 1;
7254 }
7255 }
7256 if (_v) {
7257 return _wrap_OBProperty_set__SWIG_3(self,args);
7258 }
7259 }
7260 }
7261 }
7262 }
7263 }
7264 if (argc == 5) {
7265 int _v;
7266 {
7267 void *ptr;
7268 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7269 _v = 0;
7270 PyErr_Clear();
7271 }else {
7272 _v = 1;
7273 }
7274 }
7275 if (_v) {
7276 {
7277 void *ptr;
7278 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7279 _v = 0;
7280 PyErr_Clear();
7281 }else {
7282 _v = 1;
7283 }
7284 }
7285 if (_v) {
7286 {
7287 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7288 }
7289 if (_v) {
7290 {
7291 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7292 }
7293 if (_v) {
7294 {
7295 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7296 }
7297 if (_v) {
7298 return _wrap_OBProperty_set__SWIG_0(self,args);
7299 }
7300 }
7301 }
7302 }
7303 }
7304 }
7305 if (argc == 5) {
7306 int _v;
7307 {
7308 void *ptr;
7309 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7310 _v = 0;
7311 PyErr_Clear();
7312 }else {
7313 _v = 1;
7314 }
7315 }
7316 if (_v) {
7317 {
7318 void *ptr;
7319 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7320 _v = 0;
7321 PyErr_Clear();
7322 }else {
7323 _v = 1;
7324 }
7325 }
7326 if (_v) {
7327 {
7328 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7329 }
7330 if (_v) {
7331 {
7332 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7333 }
7334 if (_v) {
7335 {
7336 _v = PyString_Check(argv[4]) ? 1 : 0;
7337 }
7338 if (_v) {
7339 return _wrap_OBProperty_set__SWIG_2(self,args);
7340 }
7341 }
7342 }
7343 }
7344 }
7345 }
7346 if (argc == 6) {
7347 int _v;
7348 {
7349 void *ptr;
7350 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7351 _v = 0;
7352 PyErr_Clear();
7353 }else {
7354 _v = 1;
7355 }
7356 }
7357 if (_v) {
7358 {
7359 void *ptr;
7360 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7361 _v = 0;
7362 PyErr_Clear();
7363 }else {
7364 _v = 1;
7365 }
7366 }
7367 if (_v) {
7368 {
7369 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7370 }
7371 if (_v) {
7372 {
7373 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7374 }
7375 if (_v) {
7376 {
7377 void *ptr;
7378 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7379 _v = 0;
7380 PyErr_Clear();
7381 }else {
7382 _v = 1;
7383 }
7384 }
7385 if (_v) {
7386 {
7387 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7388 }
7389 if (_v) {
7390 return _wrap_OBProperty_set__SWIG_1(self,args);
7391 }
7392 }
7393 }
7394 }
7395 }
7396 }
7397 }
7398
7399 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7405 PyObject *resultobj;
7406 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7407 Window arg2 ;
7408 int arg3 ;
7409 int arg4 ;
7410 unsigned long *arg5 = (unsigned long *) 0 ;
7411 unsigned long **arg6 = (unsigned long **) 0 ;
7412 bool result;
7413 Window *argp2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 PyObject * obj4 = 0 ;
7417 PyObject * obj5 = 0 ;
7418
7419 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7422 arg2 = *argp2;
7423 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7424 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7425 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7426
7427 resultobj = PyInt_FromLong((long)result);
7428 return resultobj;
7429 fail:
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7435 PyObject *resultobj;
7436 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7437 Window arg2 ;
7438 int arg3 ;
7439 int arg4 ;
7440 unsigned long *arg5 = (unsigned long *) 0 ;
7441 bool result;
7442 Window *argp2 ;
7443 PyObject * obj0 = 0 ;
7444 PyObject * obj1 = 0 ;
7445 PyObject * obj4 = 0 ;
7446
7447 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7449 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7450 arg2 = *argp2;
7451 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7452 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7453
7454 resultobj = PyInt_FromLong((long)result);
7455 return resultobj;
7456 fail:
7457 return NULL;
7458 }
7459
7460
7461 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7462 PyObject *resultobj;
7463 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7464 Window arg2 ;
7465 int arg3 ;
7466 int arg4 ;
7467 std::string *arg5 = (std::string *) 0 ;
7468 bool result;
7469 Window *argp2 ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj4 = 0 ;
7473
7474 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7476 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7477 arg2 = *argp2;
7478 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7479 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7480
7481 resultobj = PyInt_FromLong((long)result);
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7489 PyObject *resultobj;
7490 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7491 Window arg2 ;
7492 int arg3 ;
7493 int arg4 ;
7494 unsigned long *arg5 = (unsigned long *) 0 ;
7495 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7496 bool result;
7497 Window *argp2 ;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 PyObject * obj4 = 0 ;
7501 PyObject * obj5 = 0 ;
7502
7503 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7506 arg2 = *argp2;
7507 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7508 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7509 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7510
7511 resultobj = PyInt_FromLong((long)result);
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7519 int argc;
7520 PyObject *argv[7];
7521 int ii;
7522
7523 argc = PyObject_Length(args);
7524 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7525 argv[ii] = PyTuple_GetItem(args,ii);
7526 }
7527 if (argc == 5) {
7528 int _v;
7529 {
7530 void *ptr;
7531 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7532 _v = 0;
7533 PyErr_Clear();
7534 }else {
7535 _v = 1;
7536 }
7537 }
7538 if (_v) {
7539 {
7540 void *ptr;
7541 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7542 _v = 0;
7543 PyErr_Clear();
7544 }else {
7545 _v = 1;
7546 }
7547 }
7548 if (_v) {
7549 {
7550 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7551 }
7552 if (_v) {
7553 {
7554 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7555 }
7556 if (_v) {
7557 {
7558 void *ptr;
7559 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7560 _v = 0;
7561 PyErr_Clear();
7562 }else {
7563 _v = 1;
7564 }
7565 }
7566 if (_v) {
7567 return _wrap_OBProperty_get__SWIG_1(self,args);
7568 }
7569 }
7570 }
7571 }
7572 }
7573 }
7574 if (argc == 5) {
7575 int _v;
7576 {
7577 void *ptr;
7578 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7579 _v = 0;
7580 PyErr_Clear();
7581 }else {
7582 _v = 1;
7583 }
7584 }
7585 if (_v) {
7586 {
7587 void *ptr;
7588 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7589 _v = 0;
7590 PyErr_Clear();
7591 }else {
7592 _v = 1;
7593 }
7594 }
7595 if (_v) {
7596 {
7597 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7598 }
7599 if (_v) {
7600 {
7601 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7602 }
7603 if (_v) {
7604 {
7605 void *ptr;
7606 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7607 _v = 0;
7608 PyErr_Clear();
7609 }else {
7610 _v = 1;
7611 }
7612 }
7613 if (_v) {
7614 return _wrap_OBProperty_get__SWIG_2(self,args);
7615 }
7616 }
7617 }
7618 }
7619 }
7620 }
7621 if (argc == 6) {
7622 int _v;
7623 {
7624 void *ptr;
7625 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7626 _v = 0;
7627 PyErr_Clear();
7628 }else {
7629 _v = 1;
7630 }
7631 }
7632 if (_v) {
7633 {
7634 void *ptr;
7635 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7636 _v = 0;
7637 PyErr_Clear();
7638 }else {
7639 _v = 1;
7640 }
7641 }
7642 if (_v) {
7643 {
7644 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7645 }
7646 if (_v) {
7647 {
7648 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7649 }
7650 if (_v) {
7651 {
7652 void *ptr;
7653 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7654 _v = 0;
7655 PyErr_Clear();
7656 }else {
7657 _v = 1;
7658 }
7659 }
7660 if (_v) {
7661 {
7662 void *ptr;
7663 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7664 _v = 0;
7665 PyErr_Clear();
7666 }else {
7667 _v = 1;
7668 }
7669 }
7670 if (_v) {
7671 return _wrap_OBProperty_get__SWIG_0(self,args);
7672 }
7673 }
7674 }
7675 }
7676 }
7677 }
7678 }
7679 if (argc == 6) {
7680 int _v;
7681 {
7682 void *ptr;
7683 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7684 _v = 0;
7685 PyErr_Clear();
7686 }else {
7687 _v = 1;
7688 }
7689 }
7690 if (_v) {
7691 {
7692 void *ptr;
7693 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7694 _v = 0;
7695 PyErr_Clear();
7696 }else {
7697 _v = 1;
7698 }
7699 }
7700 if (_v) {
7701 {
7702 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7703 }
7704 if (_v) {
7705 {
7706 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7707 }
7708 if (_v) {
7709 {
7710 void *ptr;
7711 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7712 _v = 0;
7713 PyErr_Clear();
7714 }else {
7715 _v = 1;
7716 }
7717 }
7718 if (_v) {
7719 {
7720 void *ptr;
7721 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7722 _v = 0;
7723 PyErr_Clear();
7724 }else {
7725 _v = 1;
7726 }
7727 }
7728 if (_v) {
7729 return _wrap_OBProperty_get__SWIG_3(self,args);
7730 }
7731 }
7732 }
7733 }
7734 }
7735 }
7736 }
7737
7738 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7744 PyObject *resultobj;
7745 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7746 Window arg2 ;
7747 int arg3 ;
7748 Window *argp2 ;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751
7752 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7754 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7755 arg2 = *argp2;
7756 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7757
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7766 PyObject *resultobj;
7767 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7768 int arg2 ;
7769 Atom result;
7770 PyObject * obj0 = 0 ;
7771
7772 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7774 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7775
7776 {
7777 Atom * resultptr;
7778 resultptr = new Atom((Atom &) result);
7779 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7780 }
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7788 PyObject *obj;
7789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7790 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7791 Py_INCREF(obj);
7792 return Py_BuildValue((char *)"");
7793 }
7794 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7795 PyObject *resultobj;
7796 otk::Rect *result;
7797
7798 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7799 result = (otk::Rect *)new otk::Rect();
7800
7801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7809 PyObject *resultobj;
7810 int arg1 ;
7811 int arg2 ;
7812 int arg3 ;
7813 int arg4 ;
7814 otk::Rect *result;
7815
7816 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7817 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7818
7819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7827 PyObject *resultobj;
7828 otk::Point *arg1 = 0 ;
7829 otk::Point *arg2 = 0 ;
7830 otk::Rect *result;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833
7834 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7836 if (arg1 == NULL) {
7837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7838 }
7839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7840 if (arg2 == NULL) {
7841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7842 }
7843 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7844
7845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7853 PyObject *resultobj;
7854 otk::Rect *arg1 = 0 ;
7855 otk::Rect *result;
7856 PyObject * obj0 = 0 ;
7857
7858 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7860 if (arg1 == NULL) {
7861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7862 }
7863 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7864
7865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7873 PyObject *resultobj;
7874 XRectangle *arg1 = 0 ;
7875 otk::Rect *result;
7876 PyObject * obj0 = 0 ;
7877
7878 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7880 if (arg1 == NULL) {
7881 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7882 }
7883 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7884
7885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7893 int argc;
7894 PyObject *argv[5];
7895 int ii;
7896
7897 argc = PyObject_Length(args);
7898 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7899 argv[ii] = PyTuple_GetItem(args,ii);
7900 }
7901 if (argc == 0) {
7902 return _wrap_new_Rect__SWIG_0(self,args);
7903 }
7904 if (argc == 1) {
7905 int _v;
7906 {
7907 void *ptr;
7908 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7909 _v = 0;
7910 PyErr_Clear();
7911 }else {
7912 _v = 1;
7913 }
7914 }
7915 if (_v) {
7916 return _wrap_new_Rect__SWIG_3(self,args);
7917 }
7918 }
7919 if (argc == 1) {
7920 int _v;
7921 {
7922 void *ptr;
7923 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7924 _v = 0;
7925 PyErr_Clear();
7926 }else {
7927 _v = 1;
7928 }
7929 }
7930 if (_v) {
7931 return _wrap_new_Rect__SWIG_4(self,args);
7932 }
7933 }
7934 if (argc == 2) {
7935 int _v;
7936 {
7937 void *ptr;
7938 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7939 _v = 0;
7940 PyErr_Clear();
7941 }else {
7942 _v = 1;
7943 }
7944 }
7945 if (_v) {
7946 {
7947 void *ptr;
7948 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7949 _v = 0;
7950 PyErr_Clear();
7951 }else {
7952 _v = 1;
7953 }
7954 }
7955 if (_v) {
7956 return _wrap_new_Rect__SWIG_2(self,args);
7957 }
7958 }
7959 }
7960 if (argc == 4) {
7961 int _v;
7962 {
7963 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7964 }
7965 if (_v) {
7966 {
7967 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7968 }
7969 if (_v) {
7970 {
7971 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7972 }
7973 if (_v) {
7974 {
7975 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7976 }
7977 if (_v) {
7978 return _wrap_new_Rect__SWIG_1(self,args);
7979 }
7980 }
7981 }
7982 }
7983 }
7984
7985 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7991 PyObject *resultobj;
7992 otk::Rect *arg1 = (otk::Rect *) 0 ;
7993 int result;
7994 PyObject * obj0 = 0 ;
7995
7996 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7998 result = (int)((otk::Rect const *)arg1)->left();
7999
8000 resultobj = PyInt_FromLong((long)result);
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
8008 PyObject *resultobj;
8009 otk::Rect *arg1 = (otk::Rect *) 0 ;
8010 int result;
8011 PyObject * obj0 = 0 ;
8012
8013 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
8014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8015 result = (int)((otk::Rect const *)arg1)->top();
8016
8017 resultobj = PyInt_FromLong((long)result);
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
8025 PyObject *resultobj;
8026 otk::Rect *arg1 = (otk::Rect *) 0 ;
8027 int result;
8028 PyObject * obj0 = 0 ;
8029
8030 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 result = (int)((otk::Rect const *)arg1)->right();
8033
8034 resultobj = PyInt_FromLong((long)result);
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
8042 PyObject *resultobj;
8043 otk::Rect *arg1 = (otk::Rect *) 0 ;
8044 int result;
8045 PyObject * obj0 = 0 ;
8046
8047 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
8048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8049 result = (int)((otk::Rect const *)arg1)->bottom();
8050
8051 resultobj = PyInt_FromLong((long)result);
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
8059 PyObject *resultobj;
8060 otk::Rect *arg1 = (otk::Rect *) 0 ;
8061 int result;
8062 PyObject * obj0 = 0 ;
8063
8064 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8066 result = (int)((otk::Rect const *)arg1)->x();
8067
8068 resultobj = PyInt_FromLong((long)result);
8069 return resultobj;
8070 fail:
8071 return NULL;
8072 }
8073
8074
8075 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
8076 PyObject *resultobj;
8077 otk::Rect *arg1 = (otk::Rect *) 0 ;
8078 int result;
8079 PyObject * obj0 = 0 ;
8080
8081 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 result = (int)((otk::Rect const *)arg1)->y();
8084
8085 resultobj = PyInt_FromLong((long)result);
8086 return resultobj;
8087 fail:
8088 return NULL;
8089 }
8090
8091
8092 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
8093 PyObject *resultobj;
8094 otk::Rect *arg1 = (otk::Rect *) 0 ;
8095 otk::Point result;
8096 PyObject * obj0 = 0 ;
8097
8098 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8100 result = ((otk::Rect const *)arg1)->location();
8101
8102 {
8103 otk::Point * resultptr;
8104 resultptr = new otk::Point((otk::Point &) result);
8105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8106 }
8107 return resultobj;
8108 fail:
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
8114 PyObject *resultobj;
8115 otk::Rect *arg1 = (otk::Rect *) 0 ;
8116 int arg2 ;
8117 PyObject * obj0 = 0 ;
8118
8119 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 (arg1)->setX(arg2);
8122
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8131 PyObject *resultobj;
8132 otk::Rect *arg1 = (otk::Rect *) 0 ;
8133 int arg2 ;
8134 PyObject * obj0 = 0 ;
8135
8136 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 (arg1)->setY(arg2);
8139
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8148 PyObject *resultobj;
8149 otk::Rect *arg1 = (otk::Rect *) 0 ;
8150 int arg2 ;
8151 int arg3 ;
8152 PyObject * obj0 = 0 ;
8153
8154 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8156 (arg1)->setPos(arg2,arg3);
8157
8158 Py_INCREF(Py_None); resultobj = Py_None;
8159 return resultobj;
8160 fail:
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8166 PyObject *resultobj;
8167 otk::Rect *arg1 = (otk::Rect *) 0 ;
8168 otk::Point *arg2 = 0 ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171
8172 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8175 if (arg2 == NULL) {
8176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8177 }
8178 (arg1)->setPos((otk::Point const &)*arg2);
8179
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 return resultobj;
8182 fail:
8183 return NULL;
8184 }
8185
8186
8187 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8188 int argc;
8189 PyObject *argv[4];
8190 int ii;
8191
8192 argc = PyObject_Length(args);
8193 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8194 argv[ii] = PyTuple_GetItem(args,ii);
8195 }
8196 if (argc == 2) {
8197 int _v;
8198 {
8199 void *ptr;
8200 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8201 _v = 0;
8202 PyErr_Clear();
8203 }else {
8204 _v = 1;
8205 }
8206 }
8207 if (_v) {
8208 {
8209 void *ptr;
8210 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8211 _v = 0;
8212 PyErr_Clear();
8213 }else {
8214 _v = 1;
8215 }
8216 }
8217 if (_v) {
8218 return _wrap_Rect_setPos__SWIG_1(self,args);
8219 }
8220 }
8221 }
8222 if (argc == 3) {
8223 int _v;
8224 {
8225 void *ptr;
8226 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8227 _v = 0;
8228 PyErr_Clear();
8229 }else {
8230 _v = 1;
8231 }
8232 }
8233 if (_v) {
8234 {
8235 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8236 }
8237 if (_v) {
8238 {
8239 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8240 }
8241 if (_v) {
8242 return _wrap_Rect_setPos__SWIG_0(self,args);
8243 }
8244 }
8245 }
8246 }
8247
8248 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8254 PyObject *resultobj;
8255 otk::Rect *arg1 = (otk::Rect *) 0 ;
8256 int result;
8257 PyObject * obj0 = 0 ;
8258
8259 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8261 result = (int)((otk::Rect const *)arg1)->width();
8262
8263 resultobj = PyInt_FromLong((long)result);
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8271 PyObject *resultobj;
8272 otk::Rect *arg1 = (otk::Rect *) 0 ;
8273 int result;
8274 PyObject * obj0 = 0 ;
8275
8276 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 result = (int)((otk::Rect const *)arg1)->height();
8279
8280 resultobj = PyInt_FromLong((long)result);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8288 PyObject *resultobj;
8289 otk::Rect *arg1 = (otk::Rect *) 0 ;
8290 otk::Point result;
8291 PyObject * obj0 = 0 ;
8292
8293 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8295 result = ((otk::Rect const *)arg1)->size();
8296
8297 {
8298 otk::Point * resultptr;
8299 resultptr = new otk::Point((otk::Point &) result);
8300 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8301 }
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8309 PyObject *resultobj;
8310 otk::Rect *arg1 = (otk::Rect *) 0 ;
8311 int arg2 ;
8312 PyObject * obj0 = 0 ;
8313
8314 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8316 (arg1)->setWidth(arg2);
8317
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 return resultobj;
8320 fail:
8321 return NULL;
8322 }
8323
8324
8325 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8326 PyObject *resultobj;
8327 otk::Rect *arg1 = (otk::Rect *) 0 ;
8328 int arg2 ;
8329 PyObject * obj0 = 0 ;
8330
8331 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8333 (arg1)->setHeight(arg2);
8334
8335 Py_INCREF(Py_None); resultobj = Py_None;
8336 return resultobj;
8337 fail:
8338 return NULL;
8339 }
8340
8341
8342 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8343 PyObject *resultobj;
8344 otk::Rect *arg1 = (otk::Rect *) 0 ;
8345 int arg2 ;
8346 int arg3 ;
8347 PyObject * obj0 = 0 ;
8348
8349 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8351 (arg1)->setSize(arg2,arg3);
8352
8353 Py_INCREF(Py_None); resultobj = Py_None;
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8361 PyObject *resultobj;
8362 otk::Rect *arg1 = (otk::Rect *) 0 ;
8363 otk::Point *arg2 = 0 ;
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366
8367 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 if (arg2 == NULL) {
8371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8372 }
8373 (arg1)->setSize((otk::Point const &)*arg2);
8374
8375 Py_INCREF(Py_None); resultobj = Py_None;
8376 return resultobj;
8377 fail:
8378 return NULL;
8379 }
8380
8381
8382 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8383 int argc;
8384 PyObject *argv[4];
8385 int ii;
8386
8387 argc = PyObject_Length(args);
8388 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8389 argv[ii] = PyTuple_GetItem(args,ii);
8390 }
8391 if (argc == 2) {
8392 int _v;
8393 {
8394 void *ptr;
8395 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8396 _v = 0;
8397 PyErr_Clear();
8398 }else {
8399 _v = 1;
8400 }
8401 }
8402 if (_v) {
8403 {
8404 void *ptr;
8405 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8406 _v = 0;
8407 PyErr_Clear();
8408 }else {
8409 _v = 1;
8410 }
8411 }
8412 if (_v) {
8413 return _wrap_Rect_setSize__SWIG_1(self,args);
8414 }
8415 }
8416 }
8417 if (argc == 3) {
8418 int _v;
8419 {
8420 void *ptr;
8421 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8422 _v = 0;
8423 PyErr_Clear();
8424 }else {
8425 _v = 1;
8426 }
8427 }
8428 if (_v) {
8429 {
8430 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8431 }
8432 if (_v) {
8433 {
8434 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8435 }
8436 if (_v) {
8437 return _wrap_Rect_setSize__SWIG_0(self,args);
8438 }
8439 }
8440 }
8441 }
8442
8443 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8444 return NULL;
8445 }
8446
8447
8448 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8449 PyObject *resultobj;
8450 otk::Rect *arg1 = (otk::Rect *) 0 ;
8451 int arg2 ;
8452 int arg3 ;
8453 int arg4 ;
8454 int arg5 ;
8455 PyObject * obj0 = 0 ;
8456
8457 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 (arg1)->setRect(arg2,arg3,arg4,arg5);
8460
8461 Py_INCREF(Py_None); resultobj = Py_None;
8462 return resultobj;
8463 fail:
8464 return NULL;
8465 }
8466
8467
8468 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8469 PyObject *resultobj;
8470 otk::Rect *arg1 = (otk::Rect *) 0 ;
8471 otk::Point *arg2 = 0 ;
8472 otk::Point *arg3 = 0 ;
8473 PyObject * obj0 = 0 ;
8474 PyObject * obj1 = 0 ;
8475 PyObject * obj2 = 0 ;
8476
8477 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8480 if (arg2 == NULL) {
8481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8482 }
8483 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8484 if (arg3 == NULL) {
8485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8486 }
8487 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8488
8489 Py_INCREF(Py_None); resultobj = Py_None;
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8497 int argc;
8498 PyObject *argv[6];
8499 int ii;
8500
8501 argc = PyObject_Length(args);
8502 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8503 argv[ii] = PyTuple_GetItem(args,ii);
8504 }
8505 if (argc == 3) {
8506 int _v;
8507 {
8508 void *ptr;
8509 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8510 _v = 0;
8511 PyErr_Clear();
8512 }else {
8513 _v = 1;
8514 }
8515 }
8516 if (_v) {
8517 {
8518 void *ptr;
8519 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8520 _v = 0;
8521 PyErr_Clear();
8522 }else {
8523 _v = 1;
8524 }
8525 }
8526 if (_v) {
8527 {
8528 void *ptr;
8529 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8530 _v = 0;
8531 PyErr_Clear();
8532 }else {
8533 _v = 1;
8534 }
8535 }
8536 if (_v) {
8537 return _wrap_Rect_setRect__SWIG_1(self,args);
8538 }
8539 }
8540 }
8541 }
8542 if (argc == 5) {
8543 int _v;
8544 {
8545 void *ptr;
8546 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8547 _v = 0;
8548 PyErr_Clear();
8549 }else {
8550 _v = 1;
8551 }
8552 }
8553 if (_v) {
8554 {
8555 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8556 }
8557 if (_v) {
8558 {
8559 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8560 }
8561 if (_v) {
8562 {
8563 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8564 }
8565 if (_v) {
8566 {
8567 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8568 }
8569 if (_v) {
8570 return _wrap_Rect_setRect__SWIG_0(self,args);
8571 }
8572 }
8573 }
8574 }
8575 }
8576 }
8577
8578 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8579 return NULL;
8580 }
8581
8582
8583 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8584 PyObject *resultobj;
8585 otk::Rect *arg1 = (otk::Rect *) 0 ;
8586 int arg2 ;
8587 int arg3 ;
8588 int arg4 ;
8589 int arg5 ;
8590 PyObject * obj0 = 0 ;
8591
8592 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8595
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8604 PyObject *resultobj;
8605 otk::Rect *arg1 = (otk::Rect *) 0 ;
8606 otk::Point *arg2 = 0 ;
8607 otk::Point *arg3 = 0 ;
8608 PyObject * obj0 = 0 ;
8609 PyObject * obj1 = 0 ;
8610 PyObject * obj2 = 0 ;
8611
8612 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 if (arg2 == NULL) {
8616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8617 }
8618 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8619 if (arg3 == NULL) {
8620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8621 }
8622 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8623
8624 Py_INCREF(Py_None); resultobj = Py_None;
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8632 int argc;
8633 PyObject *argv[6];
8634 int ii;
8635
8636 argc = PyObject_Length(args);
8637 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8638 argv[ii] = PyTuple_GetItem(args,ii);
8639 }
8640 if (argc == 3) {
8641 int _v;
8642 {
8643 void *ptr;
8644 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8645 _v = 0;
8646 PyErr_Clear();
8647 }else {
8648 _v = 1;
8649 }
8650 }
8651 if (_v) {
8652 {
8653 void *ptr;
8654 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8655 _v = 0;
8656 PyErr_Clear();
8657 }else {
8658 _v = 1;
8659 }
8660 }
8661 if (_v) {
8662 {
8663 void *ptr;
8664 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8665 _v = 0;
8666 PyErr_Clear();
8667 }else {
8668 _v = 1;
8669 }
8670 }
8671 if (_v) {
8672 return _wrap_Rect_setCoords__SWIG_1(self,args);
8673 }
8674 }
8675 }
8676 }
8677 if (argc == 5) {
8678 int _v;
8679 {
8680 void *ptr;
8681 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8682 _v = 0;
8683 PyErr_Clear();
8684 }else {
8685 _v = 1;
8686 }
8687 }
8688 if (_v) {
8689 {
8690 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8691 }
8692 if (_v) {
8693 {
8694 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8695 }
8696 if (_v) {
8697 {
8698 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8699 }
8700 if (_v) {
8701 {
8702 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8703 }
8704 if (_v) {
8705 return _wrap_Rect_setCoords__SWIG_0(self,args);
8706 }
8707 }
8708 }
8709 }
8710 }
8711 }
8712
8713 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8714 return NULL;
8715 }
8716
8717
8718 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8719 PyObject *resultobj;
8720 otk::Rect *arg1 = (otk::Rect *) 0 ;
8721 otk::Rect *arg2 = 0 ;
8722 bool result;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725
8726 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8729 if (arg2 == NULL) {
8730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8731 }
8732 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8733
8734 resultobj = PyInt_FromLong((long)result);
8735 return resultobj;
8736 fail:
8737 return NULL;
8738 }
8739
8740
8741 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8742 PyObject *resultobj;
8743 otk::Rect *arg1 = (otk::Rect *) 0 ;
8744 bool result;
8745 PyObject * obj0 = 0 ;
8746
8747 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8749 result = (bool)((otk::Rect const *)arg1)->valid();
8750
8751 resultobj = PyInt_FromLong((long)result);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8759 PyObject *resultobj;
8760 otk::Rect *arg1 = (otk::Rect *) 0 ;
8761 otk::Rect *arg2 = 0 ;
8762 bool result;
8763 PyObject * obj0 = 0 ;
8764 PyObject * obj1 = 0 ;
8765
8766 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8769 if (arg2 == NULL) {
8770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8771 }
8772 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8773
8774 resultobj = PyInt_FromLong((long)result);
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8782 PyObject *resultobj;
8783 otk::Rect *arg1 = (otk::Rect *) 0 ;
8784 int arg2 ;
8785 int arg3 ;
8786 bool result;
8787 PyObject * obj0 = 0 ;
8788
8789 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8791 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8792
8793 resultobj = PyInt_FromLong((long)result);
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8801 PyObject *resultobj;
8802 otk::Rect *arg1 = (otk::Rect *) 0 ;
8803 otk::Point *arg2 = 0 ;
8804 bool result;
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
8807
8808 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8811 if (arg2 == NULL) {
8812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8813 }
8814 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8815
8816 resultobj = PyInt_FromLong((long)result);
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8824 PyObject *resultobj;
8825 otk::Rect *arg1 = (otk::Rect *) 0 ;
8826 otk::Rect *arg2 = 0 ;
8827 bool result;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830
8831 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8834 if (arg2 == NULL) {
8835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8836 }
8837 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8838
8839 resultobj = PyInt_FromLong((long)result);
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8847 int argc;
8848 PyObject *argv[4];
8849 int ii;
8850
8851 argc = PyObject_Length(args);
8852 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8853 argv[ii] = PyTuple_GetItem(args,ii);
8854 }
8855 if (argc == 2) {
8856 int _v;
8857 {
8858 void *ptr;
8859 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8860 _v = 0;
8861 PyErr_Clear();
8862 }else {
8863 _v = 1;
8864 }
8865 }
8866 if (_v) {
8867 {
8868 void *ptr;
8869 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8870 _v = 0;
8871 PyErr_Clear();
8872 }else {
8873 _v = 1;
8874 }
8875 }
8876 if (_v) {
8877 return _wrap_Rect_contains__SWIG_1(self,args);
8878 }
8879 }
8880 }
8881 if (argc == 2) {
8882 int _v;
8883 {
8884 void *ptr;
8885 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8886 _v = 0;
8887 PyErr_Clear();
8888 }else {
8889 _v = 1;
8890 }
8891 }
8892 if (_v) {
8893 {
8894 void *ptr;
8895 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8896 _v = 0;
8897 PyErr_Clear();
8898 }else {
8899 _v = 1;
8900 }
8901 }
8902 if (_v) {
8903 return _wrap_Rect_contains__SWIG_2(self,args);
8904 }
8905 }
8906 }
8907 if (argc == 3) {
8908 int _v;
8909 {
8910 void *ptr;
8911 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8912 _v = 0;
8913 PyErr_Clear();
8914 }else {
8915 _v = 1;
8916 }
8917 }
8918 if (_v) {
8919 {
8920 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8921 }
8922 if (_v) {
8923 {
8924 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8925 }
8926 if (_v) {
8927 return _wrap_Rect_contains__SWIG_0(self,args);
8928 }
8929 }
8930 }
8931 }
8932
8933 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8939 PyObject *resultobj;
8940 otk::Rect *arg1 = (otk::Rect *) 0 ;
8941 PyObject * obj0 = 0 ;
8942
8943 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8945 delete arg1;
8946
8947 Py_INCREF(Py_None); resultobj = Py_None;
8948 return resultobj;
8949 fail:
8950 return NULL;
8951 }
8952
8953
8954 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8955 PyObject *obj;
8956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8957 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8958 Py_INCREF(obj);
8959 return Py_BuildValue((char *)"");
8960 }
8961 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8962 PyObject *resultobj;
8963 unsigned int arg1 ;
8964 otk::ScreenInfo *result;
8965 PyObject * obj0 = 0 ;
8966
8967 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8968 arg1 = (unsigned int) PyInt_AsLong(obj0);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8971
8972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8980 PyObject *resultobj;
8981 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8982 Visual *result;
8983 PyObject * obj0 = 0 ;
8984
8985 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8987 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8988
8989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8997 PyObject *resultobj;
8998 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8999 Window result;
9000 PyObject * obj0 = 0 ;
9001
9002 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
9005
9006 {
9007 Window * resultptr;
9008 resultptr = new Window((Window &) result);
9009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
9010 }
9011 return resultobj;
9012 fail:
9013 return NULL;
9014 }
9015
9016
9017 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
9018 PyObject *resultobj;
9019 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9020 Colormap result;
9021 PyObject * obj0 = 0 ;
9022
9023 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9025 result = ((otk::ScreenInfo const *)arg1)->colormap();
9026
9027 {
9028 Colormap * resultptr;
9029 resultptr = new Colormap((Colormap &) result);
9030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
9031 }
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
9039 PyObject *resultobj;
9040 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9041 int result;
9042 PyObject * obj0 = 0 ;
9043
9044 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 result = (int)((otk::ScreenInfo const *)arg1)->depth();
9047
9048 resultobj = PyInt_FromLong((long)result);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
9056 PyObject *resultobj;
9057 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9058 unsigned int result;
9059 PyObject * obj0 = 0 ;
9060
9061 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
9064
9065 resultobj = PyInt_FromLong((long)result);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
9073 PyObject *resultobj;
9074 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9075 otk::Rect *result;
9076 PyObject * obj0 = 0 ;
9077
9078 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 {
9081 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
9082 result = (otk::Rect *) &_result_ref;
9083 }
9084
9085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
9086 return resultobj;
9087 fail:
9088 return NULL;
9089 }
9090
9091
9092 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
9093 PyObject *resultobj;
9094 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9095 unsigned int result;
9096 PyObject * obj0 = 0 ;
9097
9098 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
9099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9100 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
9101
9102 resultobj = PyInt_FromLong((long)result);
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
9110 PyObject *resultobj;
9111 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9112 unsigned int result;
9113 PyObject * obj0 = 0 ;
9114
9115 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
9116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9117 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
9118
9119 resultobj = PyInt_FromLong((long)result);
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9127 PyObject *resultobj;
9128 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9129 std::string *result;
9130 PyObject * obj0 = 0 ;
9131
9132 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9134 {
9135 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9136 result = (std::string *) &_result_ref;
9137 }
9138
9139 {
9140 resultobj = PyString_FromString(result->c_str());
9141 }
9142 return resultobj;
9143 fail:
9144 return NULL;
9145 }
9146
9147
9148 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9149 PyObject *resultobj;
9150 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9151 PyObject * obj0 = 0 ;
9152
9153 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9155 delete arg1;
9156
9157 Py_INCREF(Py_None); resultobj = Py_None;
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9165 PyObject *obj;
9166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9167 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9168 Py_INCREF(obj);
9169 return Py_BuildValue((char *)"");
9170 }
9171 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9172 PyObject *resultobj;
9173 otk::Strut *arg1 = (otk::Strut *) 0 ;
9174 unsigned int arg2 ;
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177
9178 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9180 arg2 = (unsigned int) PyInt_AsLong(obj1);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 if (arg1) (arg1)->top = arg2;
9183
9184 Py_INCREF(Py_None); resultobj = Py_None;
9185 return resultobj;
9186 fail:
9187 return NULL;
9188 }
9189
9190
9191 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9192 PyObject *resultobj;
9193 otk::Strut *arg1 = (otk::Strut *) 0 ;
9194 unsigned int result;
9195 PyObject * obj0 = 0 ;
9196
9197 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9199 result = (unsigned int) ((arg1)->top);
9200
9201 resultobj = PyInt_FromLong((long)result);
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9209 PyObject *resultobj;
9210 otk::Strut *arg1 = (otk::Strut *) 0 ;
9211 unsigned int arg2 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214
9215 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9217 arg2 = (unsigned int) PyInt_AsLong(obj1);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 if (arg1) (arg1)->bottom = arg2;
9220
9221 Py_INCREF(Py_None); resultobj = Py_None;
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9229 PyObject *resultobj;
9230 otk::Strut *arg1 = (otk::Strut *) 0 ;
9231 unsigned int result;
9232 PyObject * obj0 = 0 ;
9233
9234 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9236 result = (unsigned int) ((arg1)->bottom);
9237
9238 resultobj = PyInt_FromLong((long)result);
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9246 PyObject *resultobj;
9247 otk::Strut *arg1 = (otk::Strut *) 0 ;
9248 unsigned int arg2 ;
9249 PyObject * obj0 = 0 ;
9250 PyObject * obj1 = 0 ;
9251
9252 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9254 arg2 = (unsigned int) PyInt_AsLong(obj1);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 if (arg1) (arg1)->left = arg2;
9257
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9266 PyObject *resultobj;
9267 otk::Strut *arg1 = (otk::Strut *) 0 ;
9268 unsigned int result;
9269 PyObject * obj0 = 0 ;
9270
9271 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 result = (unsigned int) ((arg1)->left);
9274
9275 resultobj = PyInt_FromLong((long)result);
9276 return resultobj;
9277 fail:
9278 return NULL;
9279 }
9280
9281
9282 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9283 PyObject *resultobj;
9284 otk::Strut *arg1 = (otk::Strut *) 0 ;
9285 unsigned int arg2 ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288
9289 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 arg2 = (unsigned int) PyInt_AsLong(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 if (arg1) (arg1)->right = arg2;
9294
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9303 PyObject *resultobj;
9304 otk::Strut *arg1 = (otk::Strut *) 0 ;
9305 unsigned int result;
9306 PyObject * obj0 = 0 ;
9307
9308 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9310 result = (unsigned int) ((arg1)->right);
9311
9312 resultobj = PyInt_FromLong((long)result);
9313 return resultobj;
9314 fail:
9315 return NULL;
9316 }
9317
9318
9319 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9320 PyObject *resultobj;
9321 otk::Strut *result;
9322
9323 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9324 result = (otk::Strut *)new otk::Strut();
9325
9326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9334 PyObject *resultobj;
9335 int arg1 ;
9336 int arg2 ;
9337 int arg3 ;
9338 int arg4 ;
9339 otk::Strut *result;
9340
9341 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9342 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9343
9344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9345 return resultobj;
9346 fail:
9347 return NULL;
9348 }
9349
9350
9351 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9352 int argc;
9353 PyObject *argv[5];
9354 int ii;
9355
9356 argc = PyObject_Length(args);
9357 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9358 argv[ii] = PyTuple_GetItem(args,ii);
9359 }
9360 if (argc == 0) {
9361 return _wrap_new_Strut__SWIG_0(self,args);
9362 }
9363 if (argc == 4) {
9364 int _v;
9365 {
9366 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9367 }
9368 if (_v) {
9369 {
9370 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9371 }
9372 if (_v) {
9373 {
9374 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9375 }
9376 if (_v) {
9377 {
9378 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9379 }
9380 if (_v) {
9381 return _wrap_new_Strut__SWIG_1(self,args);
9382 }
9383 }
9384 }
9385 }
9386 }
9387
9388 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9394 PyObject *resultobj;
9395 otk::Strut *arg1 = (otk::Strut *) 0 ;
9396 PyObject * obj0 = 0 ;
9397
9398 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9400 delete arg1;
9401
9402 Py_INCREF(Py_None); resultobj = Py_None;
9403 return resultobj;
9404 fail:
9405 return NULL;
9406 }
9407
9408
9409 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9410 PyObject *obj;
9411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9412 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9413 Py_INCREF(obj);
9414 return Py_BuildValue((char *)"");
9415 }
9416 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9417 PyObject *resultobj;
9418 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9419 Pixmap arg2 ;
9420 Pixmap *argp2 ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423
9424 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9427 arg2 = *argp2;
9428 if (arg1) (arg1)->mask = arg2;
9429
9430 Py_INCREF(Py_None); resultobj = Py_None;
9431 return resultobj;
9432 fail:
9433 return NULL;
9434 }
9435
9436
9437 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9438 PyObject *resultobj;
9439 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9440 Pixmap result;
9441 PyObject * obj0 = 0 ;
9442
9443 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9445 result = ((arg1)->mask);
9446
9447 {
9448 Pixmap * resultptr;
9449 resultptr = new Pixmap((Pixmap &) result);
9450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9451 }
9452 return resultobj;
9453 fail:
9454 return NULL;
9455 }
9456
9457
9458 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9459 PyObject *resultobj;
9460 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9461 unsigned int arg2 ;
9462 PyObject * obj0 = 0 ;
9463 PyObject * obj1 = 0 ;
9464
9465 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 arg2 = (unsigned int) PyInt_AsLong(obj1);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 if (arg1) (arg1)->w = arg2;
9470
9471 Py_INCREF(Py_None); resultobj = Py_None;
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9479 PyObject *resultobj;
9480 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9481 unsigned int result;
9482 PyObject * obj0 = 0 ;
9483
9484 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 result = (unsigned int) ((arg1)->w);
9487
9488 resultobj = PyInt_FromLong((long)result);
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9496 PyObject *resultobj;
9497 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9498 unsigned int arg2 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501
9502 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 arg2 = (unsigned int) PyInt_AsLong(obj1);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 if (arg1) (arg1)->h = arg2;
9507
9508 Py_INCREF(Py_None); resultobj = Py_None;
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9516 PyObject *resultobj;
9517 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9518 unsigned int result;
9519 PyObject * obj0 = 0 ;
9520
9521 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9523 result = (unsigned int) ((arg1)->h);
9524
9525 resultobj = PyInt_FromLong((long)result);
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9533 PyObject *resultobj;
9534 otk::PixmapMask *result;
9535
9536 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9537 result = (otk::PixmapMask *)new otk::PixmapMask();
9538
9539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9547 PyObject *resultobj;
9548 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9549 PyObject * obj0 = 0 ;
9550
9551 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9553 delete arg1;
9554
9555 Py_INCREF(Py_None); resultobj = Py_None;
9556 return resultobj;
9557 fail:
9558 return NULL;
9559 }
9560
9561
9562 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9563 PyObject *obj;
9564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9565 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9566 Py_INCREF(obj);
9567 return Py_BuildValue((char *)"");
9568 }
9569 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9570 PyObject *resultobj;
9571 otk::Style *arg1 = (otk::Style *) 0 ;
9572 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575
9576 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9579 if (arg1) (arg1)->image_control = arg2;
9580
9581 Py_INCREF(Py_None); resultobj = Py_None;
9582 return resultobj;
9583 fail:
9584 return NULL;
9585 }
9586
9587
9588 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9589 PyObject *resultobj;
9590 otk::Style *arg1 = (otk::Style *) 0 ;
9591 otk::BImageControl *result;
9592 PyObject * obj0 = 0 ;
9593
9594 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9596 result = (otk::BImageControl *) ((arg1)->image_control);
9597
9598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9606 PyObject *resultobj;
9607 otk::Style *arg1 = (otk::Style *) 0 ;
9608 otk::BColor *arg2 = (otk::BColor *) 0 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611
9612 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9615 if (arg1) (arg1)->l_text_focus = *arg2;
9616
9617 Py_INCREF(Py_None); resultobj = Py_None;
9618 return resultobj;
9619 fail:
9620 return NULL;
9621 }
9622
9623
9624 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9625 PyObject *resultobj;
9626 otk::Style *arg1 = (otk::Style *) 0 ;
9627 otk::BColor *result;
9628 PyObject * obj0 = 0 ;
9629
9630 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9632 result = (otk::BColor *)& ((arg1)->l_text_focus);
9633
9634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9635 return resultobj;
9636 fail:
9637 return NULL;
9638 }
9639
9640
9641 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9642 PyObject *resultobj;
9643 otk::Style *arg1 = (otk::Style *) 0 ;
9644 otk::BColor *arg2 = (otk::BColor *) 0 ;
9645 PyObject * obj0 = 0 ;
9646 PyObject * obj1 = 0 ;
9647
9648 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 if (arg1) (arg1)->l_text_unfocus = *arg2;
9652
9653 Py_INCREF(Py_None); resultobj = Py_None;
9654 return resultobj;
9655 fail:
9656 return NULL;
9657 }
9658
9659
9660 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9661 PyObject *resultobj;
9662 otk::Style *arg1 = (otk::Style *) 0 ;
9663 otk::BColor *result;
9664 PyObject * obj0 = 0 ;
9665
9666 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9669
9670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9678 PyObject *resultobj;
9679 otk::Style *arg1 = (otk::Style *) 0 ;
9680 otk::BColor *arg2 = (otk::BColor *) 0 ;
9681 PyObject * obj0 = 0 ;
9682 PyObject * obj1 = 0 ;
9683
9684 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9687 if (arg1) (arg1)->b_pic_focus = *arg2;
9688
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9697 PyObject *resultobj;
9698 otk::Style *arg1 = (otk::Style *) 0 ;
9699 otk::BColor *result;
9700 PyObject * obj0 = 0 ;
9701
9702 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9704 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9705
9706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9707 return resultobj;
9708 fail:
9709 return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9714 PyObject *resultobj;
9715 otk::Style *arg1 = (otk::Style *) 0 ;
9716 otk::BColor *arg2 = (otk::BColor *) 0 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719
9720 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9723 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9724
9725 Py_INCREF(Py_None); resultobj = Py_None;
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9733 PyObject *resultobj;
9734 otk::Style *arg1 = (otk::Style *) 0 ;
9735 otk::BColor *result;
9736 PyObject * obj0 = 0 ;
9737
9738 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9740 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9741
9742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9750 PyObject *resultobj;
9751 otk::Style *arg1 = (otk::Style *) 0 ;
9752 otk::BColor *arg2 = (otk::BColor *) 0 ;
9753 PyObject * obj0 = 0 ;
9754 PyObject * obj1 = 0 ;
9755
9756 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 if (arg1) (arg1)->border_color = *arg2;
9760
9761 Py_INCREF(Py_None); resultobj = Py_None;
9762 return resultobj;
9763 fail:
9764 return NULL;
9765 }
9766
9767
9768 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9769 PyObject *resultobj;
9770 otk::Style *arg1 = (otk::Style *) 0 ;
9771 otk::BColor *result;
9772 PyObject * obj0 = 0 ;
9773
9774 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9776 result = (otk::BColor *)& ((arg1)->border_color);
9777
9778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9786 PyObject *resultobj;
9787 otk::Style *arg1 = (otk::Style *) 0 ;
9788 otk::BFont *arg2 = (otk::BFont *) 0 ;
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj1 = 0 ;
9791
9792 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9795 if (arg1) (arg1)->font = arg2;
9796
9797 Py_INCREF(Py_None); resultobj = Py_None;
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9805 PyObject *resultobj;
9806 otk::Style *arg1 = (otk::Style *) 0 ;
9807 otk::BFont *result;
9808 PyObject * obj0 = 0 ;
9809
9810 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812 result = (otk::BFont *) ((arg1)->font);
9813
9814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9815 return resultobj;
9816 fail:
9817 return NULL;
9818 }
9819
9820
9821 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9822 PyObject *resultobj;
9823 otk::Style *arg1 = (otk::Style *) 0 ;
9824 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9825 PyObject * obj0 = 0 ;
9826 PyObject * obj1 = 0 ;
9827
9828 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9831 if (arg1) (arg1)->f_focus = *arg2;
9832
9833 Py_INCREF(Py_None); resultobj = Py_None;
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9841 PyObject *resultobj;
9842 otk::Style *arg1 = (otk::Style *) 0 ;
9843 otk::BTexture *result;
9844 PyObject * obj0 = 0 ;
9845
9846 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848 result = (otk::BTexture *)& ((arg1)->f_focus);
9849
9850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9858 PyObject *resultobj;
9859 otk::Style *arg1 = (otk::Style *) 0 ;
9860 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863
9864 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9867 if (arg1) (arg1)->f_unfocus = *arg2;
9868
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9877 PyObject *resultobj;
9878 otk::Style *arg1 = (otk::Style *) 0 ;
9879 otk::BTexture *result;
9880 PyObject * obj0 = 0 ;
9881
9882 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9885
9886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9894 PyObject *resultobj;
9895 otk::Style *arg1 = (otk::Style *) 0 ;
9896 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj1 = 0 ;
9899
9900 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9903 if (arg1) (arg1)->t_focus = *arg2;
9904
9905 Py_INCREF(Py_None); resultobj = Py_None;
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9913 PyObject *resultobj;
9914 otk::Style *arg1 = (otk::Style *) 0 ;
9915 otk::BTexture *result;
9916 PyObject * obj0 = 0 ;
9917
9918 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9920 result = (otk::BTexture *)& ((arg1)->t_focus);
9921
9922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9923 return resultobj;
9924 fail:
9925 return NULL;
9926 }
9927
9928
9929 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9930 PyObject *resultobj;
9931 otk::Style *arg1 = (otk::Style *) 0 ;
9932 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935
9936 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 if (arg1) (arg1)->t_unfocus = *arg2;
9940
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9949 PyObject *resultobj;
9950 otk::Style *arg1 = (otk::Style *) 0 ;
9951 otk::BTexture *result;
9952 PyObject * obj0 = 0 ;
9953
9954 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9956 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9957
9958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9966 PyObject *resultobj;
9967 otk::Style *arg1 = (otk::Style *) 0 ;
9968 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971
9972 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9975 if (arg1) (arg1)->l_focus = *arg2;
9976
9977 Py_INCREF(Py_None); resultobj = Py_None;
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9985 PyObject *resultobj;
9986 otk::Style *arg1 = (otk::Style *) 0 ;
9987 otk::BTexture *result;
9988 PyObject * obj0 = 0 ;
9989
9990 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9992 result = (otk::BTexture *)& ((arg1)->l_focus);
9993
9994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
10002 PyObject *resultobj;
10003 otk::Style *arg1 = (otk::Style *) 0 ;
10004 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007
10008 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
10009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 if (arg1) (arg1)->l_unfocus = *arg2;
10012
10013 Py_INCREF(Py_None); resultobj = Py_None;
10014 return resultobj;
10015 fail:
10016 return NULL;
10017 }
10018
10019
10020 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
10021 PyObject *resultobj;
10022 otk::Style *arg1 = (otk::Style *) 0 ;
10023 otk::BTexture *result;
10024 PyObject * obj0 = 0 ;
10025
10026 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
10027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10028 result = (otk::BTexture *)& ((arg1)->l_unfocus);
10029
10030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
10038 PyObject *resultobj;
10039 otk::Style *arg1 = (otk::Style *) 0 ;
10040 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043
10044 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
10045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10047 if (arg1) (arg1)->h_focus = *arg2;
10048
10049 Py_INCREF(Py_None); resultobj = Py_None;
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
10057 PyObject *resultobj;
10058 otk::Style *arg1 = (otk::Style *) 0 ;
10059 otk::BTexture *result;
10060 PyObject * obj0 = 0 ;
10061
10062 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064 result = (otk::BTexture *)& ((arg1)->h_focus);
10065
10066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
10074 PyObject *resultobj;
10075 otk::Style *arg1 = (otk::Style *) 0 ;
10076 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079
10080 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10083 if (arg1) (arg1)->h_unfocus = *arg2;
10084
10085 Py_INCREF(Py_None); resultobj = Py_None;
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
10093 PyObject *resultobj;
10094 otk::Style *arg1 = (otk::Style *) 0 ;
10095 otk::BTexture *result;
10096 PyObject * obj0 = 0 ;
10097
10098 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
10099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10100 result = (otk::BTexture *)& ((arg1)->h_unfocus);
10101
10102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
10110 PyObject *resultobj;
10111 otk::Style *arg1 = (otk::Style *) 0 ;
10112 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115
10116 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
10117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10119 if (arg1) (arg1)->b_focus = *arg2;
10120
10121 Py_INCREF(Py_None); resultobj = Py_None;
10122 return resultobj;
10123 fail:
10124 return NULL;
10125 }
10126
10127
10128 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10129 PyObject *resultobj;
10130 otk::Style *arg1 = (otk::Style *) 0 ;
10131 otk::BTexture *result;
10132 PyObject * obj0 = 0 ;
10133
10134 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 result = (otk::BTexture *)& ((arg1)->b_focus);
10137
10138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10146 PyObject *resultobj;
10147 otk::Style *arg1 = (otk::Style *) 0 ;
10148 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151
10152 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10155 if (arg1) (arg1)->b_unfocus = *arg2;
10156
10157 Py_INCREF(Py_None); resultobj = Py_None;
10158 return resultobj;
10159 fail:
10160 return NULL;
10161 }
10162
10163
10164 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10165 PyObject *resultobj;
10166 otk::Style *arg1 = (otk::Style *) 0 ;
10167 otk::BTexture *result;
10168 PyObject * obj0 = 0 ;
10169
10170 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10173
10174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10182 PyObject *resultobj;
10183 otk::Style *arg1 = (otk::Style *) 0 ;
10184 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10185 PyObject * obj0 = 0 ;
10186 PyObject * obj1 = 0 ;
10187
10188 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 if (arg1) (arg1)->b_pressed_focus = *arg2;
10192
10193 Py_INCREF(Py_None); resultobj = Py_None;
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10201 PyObject *resultobj;
10202 otk::Style *arg1 = (otk::Style *) 0 ;
10203 otk::BTexture *result;
10204 PyObject * obj0 = 0 ;
10205
10206 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10208 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10209
10210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10218 PyObject *resultobj;
10219 otk::Style *arg1 = (otk::Style *) 0 ;
10220 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10221 PyObject * obj0 = 0 ;
10222 PyObject * obj1 = 0 ;
10223
10224 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10227 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10228
10229 Py_INCREF(Py_None); resultobj = Py_None;
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10237 PyObject *resultobj;
10238 otk::Style *arg1 = (otk::Style *) 0 ;
10239 otk::BTexture *result;
10240 PyObject * obj0 = 0 ;
10241
10242 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10244 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10245
10246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10254 PyObject *resultobj;
10255 otk::Style *arg1 = (otk::Style *) 0 ;
10256 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259
10260 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10263 if (arg1) (arg1)->g_focus = *arg2;
10264
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10273 PyObject *resultobj;
10274 otk::Style *arg1 = (otk::Style *) 0 ;
10275 otk::BTexture *result;
10276 PyObject * obj0 = 0 ;
10277
10278 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 result = (otk::BTexture *)& ((arg1)->g_focus);
10281
10282 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10290 PyObject *resultobj;
10291 otk::Style *arg1 = (otk::Style *) 0 ;
10292 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295
10296 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10299 if (arg1) (arg1)->g_unfocus = *arg2;
10300
10301 Py_INCREF(Py_None); resultobj = Py_None;
10302 return resultobj;
10303 fail:
10304 return NULL;
10305 }
10306
10307
10308 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10309 PyObject *resultobj;
10310 otk::Style *arg1 = (otk::Style *) 0 ;
10311 otk::BTexture *result;
10312 PyObject * obj0 = 0 ;
10313
10314 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10316 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10317
10318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10326 PyObject *resultobj;
10327 otk::Style *arg1 = (otk::Style *) 0 ;
10328 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10329 PyObject * obj0 = 0 ;
10330 PyObject * obj1 = 0 ;
10331
10332 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335 if (arg1) (arg1)->close_button = *arg2;
10336
10337 Py_INCREF(Py_None); resultobj = Py_None;
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10345 PyObject *resultobj;
10346 otk::Style *arg1 = (otk::Style *) 0 ;
10347 otk::PixmapMask *result;
10348 PyObject * obj0 = 0 ;
10349
10350 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10352 result = (otk::PixmapMask *)& ((arg1)->close_button);
10353
10354 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10355 return resultobj;
10356 fail:
10357 return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10362 PyObject *resultobj;
10363 otk::Style *arg1 = (otk::Style *) 0 ;
10364 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367
10368 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10371 if (arg1) (arg1)->max_button = *arg2;
10372
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10381 PyObject *resultobj;
10382 otk::Style *arg1 = (otk::Style *) 0 ;
10383 otk::PixmapMask *result;
10384 PyObject * obj0 = 0 ;
10385
10386 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10388 result = (otk::PixmapMask *)& ((arg1)->max_button);
10389
10390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10398 PyObject *resultobj;
10399 otk::Style *arg1 = (otk::Style *) 0 ;
10400 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10401 PyObject * obj0 = 0 ;
10402 PyObject * obj1 = 0 ;
10403
10404 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10407 if (arg1) (arg1)->icon_button = *arg2;
10408
10409 Py_INCREF(Py_None); resultobj = Py_None;
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10417 PyObject *resultobj;
10418 otk::Style *arg1 = (otk::Style *) 0 ;
10419 otk::PixmapMask *result;
10420 PyObject * obj0 = 0 ;
10421
10422 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10424 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10425
10426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10434 PyObject *resultobj;
10435 otk::Style *arg1 = (otk::Style *) 0 ;
10436 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439
10440 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 if (arg1) (arg1)->stick_button = *arg2;
10444
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10453 PyObject *resultobj;
10454 otk::Style *arg1 = (otk::Style *) 0 ;
10455 otk::PixmapMask *result;
10456 PyObject * obj0 = 0 ;
10457
10458 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10460 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10461
10462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10470 PyObject *resultobj;
10471 otk::Style *arg1 = (otk::Style *) 0 ;
10472 int arg2 ;
10473 PyObject * obj0 = 0 ;
10474
10475 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10477 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10478
10479 Py_INCREF(Py_None); resultobj = Py_None;
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10487 PyObject *resultobj;
10488 otk::Style *arg1 = (otk::Style *) 0 ;
10489 int result;
10490 PyObject * obj0 = 0 ;
10491
10492 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 result = (int) ((arg1)->justify);
10495
10496 resultobj = PyInt_FromLong((long)result);
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10504 PyObject *resultobj;
10505 otk::Style *arg1 = (otk::Style *) 0 ;
10506 int arg2 ;
10507 PyObject * obj0 = 0 ;
10508
10509 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10512
10513 Py_INCREF(Py_None); resultobj = Py_None;
10514 return resultobj;
10515 fail:
10516 return NULL;
10517 }
10518
10519
10520 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10521 PyObject *resultobj;
10522 otk::Style *arg1 = (otk::Style *) 0 ;
10523 int result;
10524 PyObject * obj0 = 0 ;
10525
10526 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10528 result = (int) ((arg1)->bullet_type);
10529
10530 resultobj = PyInt_FromLong((long)result);
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10538 PyObject *resultobj;
10539 otk::Style *arg1 = (otk::Style *) 0 ;
10540 unsigned int arg2 ;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543
10544 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10546 arg2 = (unsigned int) PyInt_AsLong(obj1);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 if (arg1) (arg1)->handle_width = arg2;
10549
10550 Py_INCREF(Py_None); resultobj = Py_None;
10551 return resultobj;
10552 fail:
10553 return NULL;
10554 }
10555
10556
10557 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10558 PyObject *resultobj;
10559 otk::Style *arg1 = (otk::Style *) 0 ;
10560 unsigned int result;
10561 PyObject * obj0 = 0 ;
10562
10563 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10565 result = (unsigned int) ((arg1)->handle_width);
10566
10567 resultobj = PyInt_FromLong((long)result);
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10575 PyObject *resultobj;
10576 otk::Style *arg1 = (otk::Style *) 0 ;
10577 unsigned int arg2 ;
10578 PyObject * obj0 = 0 ;
10579 PyObject * obj1 = 0 ;
10580
10581 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10583 arg2 = (unsigned int) PyInt_AsLong(obj1);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 if (arg1) (arg1)->bevel_width = arg2;
10586
10587 Py_INCREF(Py_None); resultobj = Py_None;
10588 return resultobj;
10589 fail:
10590 return NULL;
10591 }
10592
10593
10594 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10595 PyObject *resultobj;
10596 otk::Style *arg1 = (otk::Style *) 0 ;
10597 unsigned int result;
10598 PyObject * obj0 = 0 ;
10599
10600 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 result = (unsigned int) ((arg1)->bevel_width);
10603
10604 resultobj = PyInt_FromLong((long)result);
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10612 PyObject *resultobj;
10613 otk::Style *arg1 = (otk::Style *) 0 ;
10614 unsigned int arg2 ;
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617
10618 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10620 arg2 = (unsigned int) PyInt_AsLong(obj1);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 if (arg1) (arg1)->frame_width = arg2;
10623
10624 Py_INCREF(Py_None); resultobj = Py_None;
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10632 PyObject *resultobj;
10633 otk::Style *arg1 = (otk::Style *) 0 ;
10634 unsigned int result;
10635 PyObject * obj0 = 0 ;
10636
10637 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 result = (unsigned int) ((arg1)->frame_width);
10640
10641 resultobj = PyInt_FromLong((long)result);
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10649 PyObject *resultobj;
10650 otk::Style *arg1 = (otk::Style *) 0 ;
10651 unsigned int arg2 ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654
10655 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10657 arg2 = (unsigned int) PyInt_AsLong(obj1);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 if (arg1) (arg1)->border_width = arg2;
10660
10661 Py_INCREF(Py_None); resultobj = Py_None;
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10669 PyObject *resultobj;
10670 otk::Style *arg1 = (otk::Style *) 0 ;
10671 unsigned int result;
10672 PyObject * obj0 = 0 ;
10673
10674 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10676 result = (unsigned int) ((arg1)->border_width);
10677
10678 resultobj = PyInt_FromLong((long)result);
10679 return resultobj;
10680 fail:
10681 return NULL;
10682 }
10683
10684
10685 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10686 PyObject *resultobj;
10687 otk::Style *arg1 = (otk::Style *) 0 ;
10688 unsigned int arg2 ;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691
10692 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10694 arg2 = (unsigned int) PyInt_AsLong(obj1);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 if (arg1) (arg1)->screen_number = arg2;
10697
10698 Py_INCREF(Py_None); resultobj = Py_None;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10706 PyObject *resultobj;
10707 otk::Style *arg1 = (otk::Style *) 0 ;
10708 unsigned int result;
10709 PyObject * obj0 = 0 ;
10710
10711 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10713 result = (unsigned int) ((arg1)->screen_number);
10714
10715 resultobj = PyInt_FromLong((long)result);
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10723 PyObject *resultobj;
10724 otk::Style *arg1 = (otk::Style *) 0 ;
10725 bool arg2 ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728
10729 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 arg2 = (bool) PyInt_AsLong(obj1);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 if (arg1) (arg1)->shadow_fonts = arg2;
10734
10735 Py_INCREF(Py_None); resultobj = Py_None;
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10743 PyObject *resultobj;
10744 otk::Style *arg1 = (otk::Style *) 0 ;
10745 bool result;
10746 PyObject * obj0 = 0 ;
10747
10748 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10750 result = (bool) ((arg1)->shadow_fonts);
10751
10752 resultobj = PyInt_FromLong((long)result);
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10760 PyObject *resultobj;
10761 otk::Style *arg1 = (otk::Style *) 0 ;
10762 bool arg2 ;
10763 PyObject * obj0 = 0 ;
10764 PyObject * obj1 = 0 ;
10765
10766 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10768 arg2 = (bool) PyInt_AsLong(obj1);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 if (arg1) (arg1)->aa_fonts = arg2;
10771
10772 Py_INCREF(Py_None); resultobj = Py_None;
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10780 PyObject *resultobj;
10781 otk::Style *arg1 = (otk::Style *) 0 ;
10782 bool result;
10783 PyObject * obj0 = 0 ;
10784
10785 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 result = (bool) ((arg1)->aa_fonts);
10788
10789 resultobj = PyInt_FromLong((long)result);
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10797 PyObject *resultobj;
10798 otk::Style *result;
10799
10800 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10801 result = (otk::Style *)new otk::Style();
10802
10803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10811 PyObject *resultobj;
10812 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10813 otk::Style *result;
10814 PyObject * obj0 = 0 ;
10815
10816 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10818 result = (otk::Style *)new otk::Style(arg1);
10819
10820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10821 return resultobj;
10822 fail:
10823 return NULL;
10824 }
10825
10826
10827 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10828 int argc;
10829 PyObject *argv[2];
10830 int ii;
10831
10832 argc = PyObject_Length(args);
10833 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10834 argv[ii] = PyTuple_GetItem(args,ii);
10835 }
10836 if (argc == 0) {
10837 return _wrap_new_Style__SWIG_0(self,args);
10838 }
10839 if (argc == 1) {
10840 int _v;
10841 {
10842 void *ptr;
10843 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10844 _v = 0;
10845 PyErr_Clear();
10846 }else {
10847 _v = 1;
10848 }
10849 }
10850 if (_v) {
10851 return _wrap_new_Style__SWIG_1(self,args);
10852 }
10853 }
10854
10855 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10856 return NULL;
10857 }
10858
10859
10860 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10861 PyObject *resultobj;
10862 otk::Style *arg1 = (otk::Style *) 0 ;
10863 PyObject * obj0 = 0 ;
10864
10865 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10867 delete arg1;
10868
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 return resultobj;
10871 fail:
10872 return NULL;
10873 }
10874
10875
10876 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10877 PyObject *resultobj;
10878 otk::Style *arg1 = (otk::Style *) 0 ;
10879 std::string *arg2 = 0 ;
10880 otk::PixmapMask *arg3 = 0 ;
10881 otk::Configuration *arg4 = 0 ;
10882 std::string temp2 ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 PyObject * obj2 = 0 ;
10886 PyObject * obj3 = 0 ;
10887
10888 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10890 {
10891 if (PyString_Check(obj1)) {
10892 temp2 = std::string(PyString_AsString(obj1));
10893 arg2 = &temp2;
10894 }else {
10895 SWIG_exception(SWIG_TypeError, "string expected");
10896 }
10897 }
10898 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10899 if (arg3 == NULL) {
10900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10901 }
10902 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10903 if (arg4 == NULL) {
10904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10905 }
10906 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10907
10908 Py_INCREF(Py_None); resultobj = Py_None;
10909 return resultobj;
10910 fail:
10911 return NULL;
10912 }
10913
10914
10915 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10916 PyObject *resultobj;
10917 otk::Style *arg1 = (otk::Style *) 0 ;
10918 std::string *arg2 = 0 ;
10919 std::string *arg3 = 0 ;
10920 otk::Configuration *arg4 = 0 ;
10921 bool arg5 = (bool) false ;
10922 otk::BTexture result;
10923 std::string temp2 ;
10924 std::string temp3 ;
10925 PyObject * obj0 = 0 ;
10926 PyObject * obj1 = 0 ;
10927 PyObject * obj2 = 0 ;
10928 PyObject * obj3 = 0 ;
10929 PyObject * obj4 = 0 ;
10930
10931 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10933 {
10934 if (PyString_Check(obj1)) {
10935 temp2 = std::string(PyString_AsString(obj1));
10936 arg2 = &temp2;
10937 }else {
10938 SWIG_exception(SWIG_TypeError, "string expected");
10939 }
10940 }
10941 {
10942 if (PyString_Check(obj2)) {
10943 temp3 = std::string(PyString_AsString(obj2));
10944 arg3 = &temp3;
10945 }else {
10946 SWIG_exception(SWIG_TypeError, "string expected");
10947 }
10948 }
10949 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10950 if (arg4 == NULL) {
10951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10952 }
10953 if (obj4) {
10954 arg5 = (bool) PyInt_AsLong(obj4);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10958
10959 {
10960 otk::BTexture * resultptr;
10961 resultptr = new otk::BTexture((otk::BTexture &) result);
10962 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10963 }
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10971 PyObject *resultobj;
10972 otk::Style *arg1 = (otk::Style *) 0 ;
10973 std::string *arg2 = 0 ;
10974 std::string *arg3 = 0 ;
10975 otk::Configuration *arg4 = 0 ;
10976 otk::BColor result;
10977 std::string temp2 ;
10978 std::string temp3 ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 PyObject * obj2 = 0 ;
10982 PyObject * obj3 = 0 ;
10983
10984 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10986 {
10987 if (PyString_Check(obj1)) {
10988 temp2 = std::string(PyString_AsString(obj1));
10989 arg2 = &temp2;
10990 }else {
10991 SWIG_exception(SWIG_TypeError, "string expected");
10992 }
10993 }
10994 {
10995 if (PyString_Check(obj2)) {
10996 temp3 = std::string(PyString_AsString(obj2));
10997 arg3 = &temp3;
10998 }else {
10999 SWIG_exception(SWIG_TypeError, "string expected");
11000 }
11001 }
11002 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11003 if (arg4 == NULL) {
11004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11005 }
11006 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
11007
11008 {
11009 otk::BColor * resultptr;
11010 resultptr = new otk::BColor((otk::BColor &) result);
11011 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
11012 }
11013 return resultobj;
11014 fail:
11015 return NULL;
11016 }
11017
11018
11019 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
11020 PyObject *resultobj;
11021 otk::Style *arg1 = (otk::Style *) 0 ;
11022 std::string *arg2 = 0 ;
11023 otk::Configuration *arg3 = 0 ;
11024 otk::BFont *result;
11025 std::string temp2 ;
11026 PyObject * obj0 = 0 ;
11027 PyObject * obj1 = 0 ;
11028 PyObject * obj2 = 0 ;
11029
11030 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
11031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11032 {
11033 if (PyString_Check(obj1)) {
11034 temp2 = std::string(PyString_AsString(obj1));
11035 arg2 = &temp2;
11036 }else {
11037 SWIG_exception(SWIG_TypeError, "string expected");
11038 }
11039 }
11040 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 if (arg3 == NULL) {
11042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11043 }
11044 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
11045
11046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
11054 PyObject *resultobj;
11055 otk::Style *arg1 = (otk::Style *) 0 ;
11056 otk::Configuration *arg2 = 0 ;
11057 PyObject * obj0 = 0 ;
11058 PyObject * obj1 = 0 ;
11059
11060 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
11061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11063 if (arg2 == NULL) {
11064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11065 }
11066 (arg1)->load((otk::Configuration const &)*arg2);
11067
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
11076 PyObject *resultobj;
11077 otk::Style *arg1 = (otk::Style *) 0 ;
11078 otk::PixmapMask *result;
11079 PyObject * obj0 = 0 ;
11080
11081 if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11083 result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
11084
11085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
11093 PyObject *resultobj;
11094 otk::Style *arg1 = (otk::Style *) 0 ;
11095 otk::PixmapMask *result;
11096 PyObject * obj0 = 0 ;
11097
11098 if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
11101
11102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11103 return resultobj;
11104 fail:
11105 return NULL;
11106 }
11107
11108
11109 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
11110 PyObject *resultobj;
11111 otk::Style *arg1 = (otk::Style *) 0 ;
11112 otk::PixmapMask *result;
11113 PyObject * obj0 = 0 ;
11114
11115 if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11117 result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
11118
11119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
11127 PyObject *resultobj;
11128 otk::Style *arg1 = (otk::Style *) 0 ;
11129 otk::PixmapMask *result;
11130 PyObject * obj0 = 0 ;
11131
11132 if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11134 result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11135
11136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11144 PyObject *resultobj;
11145 otk::Style *arg1 = (otk::Style *) 0 ;
11146 otk::BColor *result;
11147 PyObject * obj0 = 0 ;
11148
11149 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11151 result = (otk::BColor *)(arg1)->getTextFocus();
11152
11153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11161 PyObject *resultobj;
11162 otk::Style *arg1 = (otk::Style *) 0 ;
11163 otk::BColor *result;
11164 PyObject * obj0 = 0 ;
11165
11166 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 result = (otk::BColor *)(arg1)->getTextUnfocus();
11169
11170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11171 return resultobj;
11172 fail:
11173 return NULL;
11174 }
11175
11176
11177 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11178 PyObject *resultobj;
11179 otk::Style *arg1 = (otk::Style *) 0 ;
11180 otk::BColor *result;
11181 PyObject * obj0 = 0 ;
11182
11183 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11185 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11186
11187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11195 PyObject *resultobj;
11196 otk::Style *arg1 = (otk::Style *) 0 ;
11197 otk::BColor *result;
11198 PyObject * obj0 = 0 ;
11199
11200 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11202 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11203
11204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11212 PyObject *resultobj;
11213 otk::Style *arg1 = (otk::Style *) 0 ;
11214 otk::BTexture *result;
11215 PyObject * obj0 = 0 ;
11216
11217 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 result = (otk::BTexture *)(arg1)->getTitleFocus();
11220
11221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11229 PyObject *resultobj;
11230 otk::Style *arg1 = (otk::Style *) 0 ;
11231 otk::BTexture *result;
11232 PyObject * obj0 = 0 ;
11233
11234 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11236 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11237
11238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11246 PyObject *resultobj;
11247 otk::Style *arg1 = (otk::Style *) 0 ;
11248 otk::BTexture *result;
11249 PyObject * obj0 = 0 ;
11250
11251 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11253 result = (otk::BTexture *)(arg1)->getLabelFocus();
11254
11255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11256 return resultobj;
11257 fail:
11258 return NULL;
11259 }
11260
11261
11262 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11263 PyObject *resultobj;
11264 otk::Style *arg1 = (otk::Style *) 0 ;
11265 otk::BTexture *result;
11266 PyObject * obj0 = 0 ;
11267
11268 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11270 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11271
11272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11280 PyObject *resultobj;
11281 otk::Style *arg1 = (otk::Style *) 0 ;
11282 otk::BTexture *result;
11283 PyObject * obj0 = 0 ;
11284
11285 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11287 result = (otk::BTexture *)(arg1)->getHandleFocus();
11288
11289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11297 PyObject *resultobj;
11298 otk::Style *arg1 = (otk::Style *) 0 ;
11299 otk::BTexture *result;
11300 PyObject * obj0 = 0 ;
11301
11302 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11304 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11305
11306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11314 PyObject *resultobj;
11315 otk::Style *arg1 = (otk::Style *) 0 ;
11316 otk::BTexture *result;
11317 PyObject * obj0 = 0 ;
11318
11319 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11321 result = (otk::BTexture *)(arg1)->getButtonFocus();
11322
11323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11324 return resultobj;
11325 fail:
11326 return NULL;
11327 }
11328
11329
11330 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11331 PyObject *resultobj;
11332 otk::Style *arg1 = (otk::Style *) 0 ;
11333 otk::BTexture *result;
11334 PyObject * obj0 = 0 ;
11335
11336 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11338 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11339
11340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11348 PyObject *resultobj;
11349 otk::Style *arg1 = (otk::Style *) 0 ;
11350 otk::BTexture *result;
11351 PyObject * obj0 = 0 ;
11352
11353 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11355 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11356
11357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11365 PyObject *resultobj;
11366 otk::Style *arg1 = (otk::Style *) 0 ;
11367 otk::BTexture *result;
11368 PyObject * obj0 = 0 ;
11369
11370 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11373
11374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11382 PyObject *resultobj;
11383 otk::Style *arg1 = (otk::Style *) 0 ;
11384 otk::BTexture *result;
11385 PyObject * obj0 = 0 ;
11386
11387 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11389 result = (otk::BTexture *)(arg1)->getGripFocus();
11390
11391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11399 PyObject *resultobj;
11400 otk::Style *arg1 = (otk::Style *) 0 ;
11401 otk::BTexture *result;
11402 PyObject * obj0 = 0 ;
11403
11404 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11406 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11407
11408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11409 return resultobj;
11410 fail:
11411 return NULL;
11412 }
11413
11414
11415 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11416 PyObject *resultobj;
11417 otk::Style *arg1 = (otk::Style *) 0 ;
11418 unsigned int result;
11419 PyObject * obj0 = 0 ;
11420
11421 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11423 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11424
11425 resultobj = PyInt_FromLong((long)result);
11426 return resultobj;
11427 fail:
11428 return NULL;
11429 }
11430
11431
11432 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11433 PyObject *resultobj;
11434 otk::Style *arg1 = (otk::Style *) 0 ;
11435 unsigned int result;
11436 PyObject * obj0 = 0 ;
11437
11438 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11441
11442 resultobj = PyInt_FromLong((long)result);
11443 return resultobj;
11444 fail:
11445 return NULL;
11446 }
11447
11448
11449 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11450 PyObject *resultobj;
11451 otk::Style *arg1 = (otk::Style *) 0 ;
11452 unsigned int result;
11453 PyObject * obj0 = 0 ;
11454
11455 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11457 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11458
11459 resultobj = PyInt_FromLong((long)result);
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11467 PyObject *resultobj;
11468 otk::Style *arg1 = (otk::Style *) 0 ;
11469 unsigned int result;
11470 PyObject * obj0 = 0 ;
11471
11472 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11474 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11475
11476 resultobj = PyInt_FromLong((long)result);
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11484 PyObject *resultobj;
11485 otk::Style *arg1 = (otk::Style *) 0 ;
11486 otk::BFont *result;
11487 PyObject * obj0 = 0 ;
11488
11489 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11491 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11492
11493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11501 PyObject *resultobj;
11502 otk::Style *arg1 = (otk::Style *) 0 ;
11503 bool arg2 ;
11504 PyObject * obj0 = 0 ;
11505 PyObject * obj1 = 0 ;
11506
11507 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11509 arg2 = (bool) PyInt_AsLong(obj1);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 (arg1)->setShadowFonts(arg2);
11512
11513 Py_INCREF(Py_None); resultobj = Py_None;
11514 return resultobj;
11515 fail:
11516 return NULL;
11517 }
11518
11519
11520 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11521 PyObject *resultobj;
11522 otk::Style *arg1 = (otk::Style *) 0 ;
11523 bool result;
11524 PyObject * obj0 = 0 ;
11525
11526 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11529
11530 resultobj = PyInt_FromLong((long)result);
11531 return resultobj;
11532 fail:
11533 return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11538 PyObject *resultobj;
11539 otk::Style *arg1 = (otk::Style *) 0 ;
11540 bool arg2 ;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11543
11544 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11546 arg2 = (bool) PyInt_AsLong(obj1);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 (arg1)->setAAFonts(arg2);
11549
11550 Py_INCREF(Py_None); resultobj = Py_None;
11551 return resultobj;
11552 fail:
11553 return NULL;
11554 }
11555
11556
11557 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11558 PyObject *resultobj;
11559 otk::Style *arg1 = (otk::Style *) 0 ;
11560 bool result;
11561 PyObject * obj0 = 0 ;
11562
11563 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11566
11567 resultobj = PyInt_FromLong((long)result);
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11575 PyObject *resultobj;
11576 otk::Style *arg1 = (otk::Style *) 0 ;
11577 int result;
11578 PyObject * obj0 = 0 ;
11579
11580 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 result = (int)(arg1)->textJustify();
11583
11584 resultobj = PyInt_FromLong((long)result);
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11592 PyObject *resultobj;
11593 otk::Style *arg1 = (otk::Style *) 0 ;
11594 int result;
11595 PyObject * obj0 = 0 ;
11596
11597 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11599 result = (int)(arg1)->bulletType();
11600
11601 resultobj = PyInt_FromLong((long)result);
11602 return resultobj;
11603 fail:
11604 return NULL;
11605 }
11606
11607
11608 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11609 PyObject *resultobj;
11610 otk::Style *arg1 = (otk::Style *) 0 ;
11611 otk::BColor *result;
11612 PyObject * obj0 = 0 ;
11613
11614 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11616 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11617
11618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11626 PyObject *resultobj;
11627 otk::Style *arg1 = (otk::Style *) 0 ;
11628 otk::BTexture *result;
11629 PyObject * obj0 = 0 ;
11630
11631 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11633 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11634
11635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11636 return resultobj;
11637 fail:
11638 return NULL;
11639 }
11640
11641
11642 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11643 PyObject *resultobj;
11644 otk::Style *arg1 = (otk::Style *) 0 ;
11645 otk::BTexture *result;
11646 PyObject * obj0 = 0 ;
11647
11648 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11650 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11651
11652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11653 return resultobj;
11654 fail:
11655 return NULL;
11656 }
11657
11658
11659 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11660 PyObject *resultobj;
11661 otk::Style *arg1 = (otk::Style *) 0 ;
11662 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11663 PyObject * obj0 = 0 ;
11664 PyObject * obj1 = 0 ;
11665
11666 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 (arg1)->setImageControl(arg2);
11670
11671 Py_INCREF(Py_None); resultobj = Py_None;
11672 return resultobj;
11673 fail:
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11679 PyObject *resultobj;
11680 otk::Style *arg1 = (otk::Style *) 0 ;
11681 unsigned int result;
11682 PyObject * obj0 = 0 ;
11683
11684 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11686 result = (unsigned int)(arg1)->getScreen();
11687
11688 resultobj = PyInt_FromLong((long)result);
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11696 PyObject *obj;
11697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11698 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11699 Py_INCREF(obj);
11700 return Py_BuildValue((char *)"");
11701 }
11702 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11703 PyObject *resultobj;
11704 unsigned int arg1 = (unsigned int) ~(0u) ;
11705 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11706 otk::BTexture *result;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709
11710 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11711 if (obj0) {
11712 arg1 = (unsigned int) PyInt_AsLong(obj0);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 if (obj1) {
11716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 }
11718 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11719
11720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11728 PyObject *resultobj;
11729 std::string *arg1 = 0 ;
11730 unsigned int arg2 = (unsigned int) ~(0u) ;
11731 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11732 otk::BTexture *result;
11733 std::string temp1 ;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 PyObject * obj2 = 0 ;
11737
11738 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11739 {
11740 if (PyString_Check(obj0)) {
11741 temp1 = std::string(PyString_AsString(obj0));
11742 arg1 = &temp1;
11743 }else {
11744 SWIG_exception(SWIG_TypeError, "string expected");
11745 }
11746 }
11747 if (obj1) {
11748 arg2 = (unsigned int) PyInt_AsLong(obj1);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 if (obj2) {
11752 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11753 }
11754 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11755
11756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11757 return resultobj;
11758 fail:
11759 return NULL;
11760 }
11761
11762
11763 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11764 int argc;
11765 PyObject *argv[4];
11766 int ii;
11767
11768 argc = PyObject_Length(args);
11769 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11770 argv[ii] = PyTuple_GetItem(args,ii);
11771 }
11772 if ((argc >= 0) && (argc <= 2)) {
11773 int _v;
11774 if (argc <= 0) {
11775 return _wrap_new_BTexture__SWIG_0(self,args);
11776 }
11777 {
11778 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11779 }
11780 if (_v) {
11781 if (argc <= 1) {
11782 return _wrap_new_BTexture__SWIG_0(self,args);
11783 }
11784 {
11785 void *ptr;
11786 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11787 _v = 0;
11788 PyErr_Clear();
11789 }else {
11790 _v = 1;
11791 }
11792 }
11793 if (_v) {
11794 return _wrap_new_BTexture__SWIG_0(self,args);
11795 }
11796 }
11797 }
11798 if ((argc >= 1) && (argc <= 3)) {
11799 int _v;
11800 {
11801 _v = PyString_Check(argv[0]) ? 1 : 0;
11802 }
11803 if (_v) {
11804 if (argc <= 1) {
11805 return _wrap_new_BTexture__SWIG_1(self,args);
11806 }
11807 {
11808 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11809 }
11810 if (_v) {
11811 if (argc <= 2) {
11812 return _wrap_new_BTexture__SWIG_1(self,args);
11813 }
11814 {
11815 void *ptr;
11816 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11817 _v = 0;
11818 PyErr_Clear();
11819 }else {
11820 _v = 1;
11821 }
11822 }
11823 if (_v) {
11824 return _wrap_new_BTexture__SWIG_1(self,args);
11825 }
11826 }
11827 }
11828 }
11829
11830 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11831 return NULL;
11832 }
11833
11834
11835 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11836 PyObject *resultobj;
11837 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11838 otk::BColor *arg2 = 0 ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841
11842 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11845 if (arg2 == NULL) {
11846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11847 }
11848 (arg1)->setColor((otk::BColor const &)*arg2);
11849
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11858 PyObject *resultobj;
11859 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11860 otk::BColor *arg2 = 0 ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863
11864 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11867 if (arg2 == NULL) {
11868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11869 }
11870 (arg1)->setColorTo((otk::BColor const &)*arg2);
11871
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 return resultobj;
11874 fail:
11875 return NULL;
11876 }
11877
11878
11879 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11880 PyObject *resultobj;
11881 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11882 otk::BColor *arg2 = 0 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885
11886 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 if (arg2 == NULL) {
11890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11891 }
11892 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11893
11894 Py_INCREF(Py_None); resultobj = Py_None;
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11902 PyObject *resultobj;
11903 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11904 otk::BColor *result;
11905 PyObject * obj0 = 0 ;
11906
11907 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11909 {
11910 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11911 result = (otk::BColor *) &_result_ref;
11912 }
11913
11914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11922 PyObject *resultobj;
11923 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11924 otk::BColor *result;
11925 PyObject * obj0 = 0 ;
11926
11927 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11929 {
11930 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11931 result = (otk::BColor *) &_result_ref;
11932 }
11933
11934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11942 PyObject *resultobj;
11943 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11944 otk::BColor *result;
11945 PyObject * obj0 = 0 ;
11946
11947 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11949 {
11950 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11951 result = (otk::BColor *) &_result_ref;
11952 }
11953
11954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11962 PyObject *resultobj;
11963 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11964 otk::BColor *result;
11965 PyObject * obj0 = 0 ;
11966
11967 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11969 {
11970 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11971 result = (otk::BColor *) &_result_ref;
11972 }
11973
11974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11982 PyObject *resultobj;
11983 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11984 otk::BColor *result;
11985 PyObject * obj0 = 0 ;
11986
11987 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11989 {
11990 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11991 result = (otk::BColor *) &_result_ref;
11992 }
11993
11994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
12002 PyObject *resultobj;
12003 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12004 unsigned long result;
12005 PyObject * obj0 = 0 ;
12006
12007 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12009 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
12010
12011 resultobj = PyInt_FromLong((long)result);
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
12019 PyObject *resultobj;
12020 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12021 unsigned long arg2 ;
12022 PyObject * obj0 = 0 ;
12023 PyObject * obj1 = 0 ;
12024
12025 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
12026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12027 arg2 = (unsigned long) PyInt_AsLong(obj1);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 (arg1)->setTexture(arg2);
12030
12031 Py_INCREF(Py_None); resultobj = Py_None;
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
12039 PyObject *resultobj;
12040 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12041 unsigned long arg2 ;
12042 PyObject * obj0 = 0 ;
12043 PyObject * obj1 = 0 ;
12044
12045 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12047 arg2 = (unsigned long) PyInt_AsLong(obj1);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 (arg1)->addTexture(arg2);
12050
12051 Py_INCREF(Py_None); resultobj = Py_None;
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
12059 PyObject *resultobj;
12060 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12061 otk::BTexture *arg2 = 0 ;
12062 bool result;
12063 PyObject * obj0 = 0 ;
12064 PyObject * obj1 = 0 ;
12065
12066 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
12067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12069 if (arg2 == NULL) {
12070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12071 }
12072 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
12073
12074 resultobj = PyInt_FromLong((long)result);
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
12082 PyObject *resultobj;
12083 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12084 unsigned int result;
12085 PyObject * obj0 = 0 ;
12086
12087 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
12088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12089 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
12090
12091 resultobj = PyInt_FromLong((long)result);
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
12099 PyObject *resultobj;
12100 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12101 unsigned int arg2 ;
12102 PyObject * obj0 = 0 ;
12103 PyObject * obj1 = 0 ;
12104
12105 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12107 arg2 = (unsigned int) PyInt_AsLong(obj1);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 (arg1)->setScreen(arg2);
12110
12111 Py_INCREF(Py_None); resultobj = Py_None;
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
12119 PyObject *resultobj;
12120 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12121 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj1 = 0 ;
12124
12125 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128 (arg1)->setImageControl(arg2);
12129
12130 Py_INCREF(Py_None); resultobj = Py_None;
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12138 PyObject *resultobj;
12139 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12140 std::string *result;
12141 PyObject * obj0 = 0 ;
12142
12143 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12147 result = (std::string *) &_result_ref;
12148 }
12149
12150 {
12151 resultobj = PyString_FromString(result->c_str());
12152 }
12153 return resultobj;
12154 fail:
12155 return NULL;
12156 }
12157
12158
12159 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12160 PyObject *resultobj;
12161 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12162 std::string *arg2 = 0 ;
12163 std::string temp2 ;
12164 PyObject * obj0 = 0 ;
12165 PyObject * obj1 = 0 ;
12166
12167 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 {
12170 if (PyString_Check(obj1)) {
12171 temp2 = std::string(PyString_AsString(obj1));
12172 arg2 = &temp2;
12173 }else {
12174 SWIG_exception(SWIG_TypeError, "string expected");
12175 }
12176 }
12177 (arg1)->setDescription((std::string const &)*arg2);
12178
12179 Py_INCREF(Py_None); resultobj = Py_None;
12180 return resultobj;
12181 fail:
12182 return NULL;
12183 }
12184
12185
12186 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12187 PyObject *resultobj;
12188 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12189 unsigned int arg2 ;
12190 unsigned int arg3 ;
12191 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12192 Pixmap result;
12193 Pixmap *argp4 ;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 PyObject * obj2 = 0 ;
12197 PyObject * obj3 = 0 ;
12198
12199 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 arg2 = (unsigned int) PyInt_AsLong(obj1);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 arg3 = (unsigned int) PyInt_AsLong(obj2);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 if (obj3) {
12206 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12207 arg4 = *argp4;
12208 }
12209 result = (arg1)->render(arg2,arg3,arg4);
12210
12211 {
12212 Pixmap * resultptr;
12213 resultptr = new Pixmap((Pixmap &) result);
12214 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12215 }
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12223 PyObject *resultobj;
12224 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12225 PyObject * obj0 = 0 ;
12226
12227 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12229 delete arg1;
12230
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12239 PyObject *obj;
12240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12241 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12242 Py_INCREF(obj);
12243 return Py_BuildValue((char *)"");
12244 }
12245 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12246 PyObject *resultobj;
12247 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12248 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12249 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12250 otk::OBTimer *result;
12251 PyObject * obj0 = 0 ;
12252 PyObject * obj1 = 0 ;
12253 PyObject * obj2 = 0 ;
12254
12255 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12258 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12260
12261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12269 PyObject *resultobj;
12270 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12271 PyObject * obj0 = 0 ;
12272
12273 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12275 delete arg1;
12276
12277 Py_INCREF(Py_None); resultobj = Py_None;
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12285 PyObject *resultobj;
12286 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12287 PyObject * obj0 = 0 ;
12288
12289 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12291 (arg1)->fire();
12292
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12301 PyObject *resultobj;
12302 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12303 bool result;
12304 PyObject * obj0 = 0 ;
12305
12306 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 result = (bool)((otk::OBTimer const *)arg1)->timing();
12309
12310 resultobj = PyInt_FromLong((long)result);
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12318 PyObject *resultobj;
12319 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12320 bool result;
12321 PyObject * obj0 = 0 ;
12322
12323 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12325 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12326
12327 resultobj = PyInt_FromLong((long)result);
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12335 PyObject *resultobj;
12336 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12337 timeval *result;
12338 PyObject * obj0 = 0 ;
12339
12340 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342 {
12343 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12344 result = (timeval *) &_result_ref;
12345 }
12346
12347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12355 PyObject *resultobj;
12356 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12357 timeval *result;
12358 PyObject * obj0 = 0 ;
12359
12360 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12362 {
12363 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12364 result = (timeval *) &_result_ref;
12365 }
12366
12367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12375 PyObject *resultobj;
12376 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12377 timeval *arg2 = 0 ;
12378 timeval result;
12379 PyObject * obj0 = 0 ;
12380 PyObject * obj1 = 0 ;
12381
12382 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12385 if (arg2 == NULL) {
12386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12387 }
12388 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12389
12390 {
12391 timeval * resultptr;
12392 resultptr = new timeval((timeval &) result);
12393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12394 }
12395 return resultobj;
12396 fail:
12397 return NULL;
12398 }
12399
12400
12401 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12402 PyObject *resultobj;
12403 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12404 timeval *arg2 = 0 ;
12405 bool result;
12406 PyObject * obj0 = 0 ;
12407 PyObject * obj1 = 0 ;
12408
12409 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12412 if (arg2 == NULL) {
12413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12414 }
12415 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12416
12417 resultobj = PyInt_FromLong((long)result);
12418 return resultobj;
12419 fail:
12420 return NULL;
12421 }
12422
12423
12424 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12425 PyObject *resultobj;
12426 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12427 timeval result;
12428 PyObject * obj0 = 0 ;
12429
12430 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12432 result = ((otk::OBTimer const *)arg1)->endTime();
12433
12434 {
12435 timeval * resultptr;
12436 resultptr = new timeval((timeval &) result);
12437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12438 }
12439 return resultobj;
12440 fail:
12441 return NULL;
12442 }
12443
12444
12445 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12446 PyObject *resultobj;
12447 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12448 bool arg2 ;
12449 PyObject * obj0 = 0 ;
12450 PyObject * obj1 = 0 ;
12451
12452 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 arg2 = (bool) PyInt_AsLong(obj1);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 (arg1)->setRecurring(arg2);
12457
12458 Py_INCREF(Py_None); resultobj = Py_None;
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12466 PyObject *resultobj;
12467 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12468 long arg2 ;
12469 PyObject * obj0 = 0 ;
12470
12471 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12473 (arg1)->setTimeout(arg2);
12474
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12483 PyObject *resultobj;
12484 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12485 timeval *arg2 = 0 ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488
12489 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12492 if (arg2 == NULL) {
12493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12494 }
12495 (arg1)->setTimeout((timeval const &)*arg2);
12496
12497 Py_INCREF(Py_None); resultobj = Py_None;
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12505 int argc;
12506 PyObject *argv[3];
12507 int ii;
12508
12509 argc = PyObject_Length(args);
12510 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12511 argv[ii] = PyTuple_GetItem(args,ii);
12512 }
12513 if (argc == 2) {
12514 int _v;
12515 {
12516 void *ptr;
12517 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12518 _v = 0;
12519 PyErr_Clear();
12520 }else {
12521 _v = 1;
12522 }
12523 }
12524 if (_v) {
12525 {
12526 void *ptr;
12527 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12528 _v = 0;
12529 PyErr_Clear();
12530 }else {
12531 _v = 1;
12532 }
12533 }
12534 if (_v) {
12535 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12536 }
12537 }
12538 }
12539 if (argc == 2) {
12540 int _v;
12541 {
12542 void *ptr;
12543 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12544 _v = 0;
12545 PyErr_Clear();
12546 }else {
12547 _v = 1;
12548 }
12549 }
12550 if (_v) {
12551 {
12552 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12553 }
12554 if (_v) {
12555 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12556 }
12557 }
12558 }
12559
12560 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12566 PyObject *resultobj;
12567 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12568 PyObject * obj0 = 0 ;
12569
12570 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12572 (arg1)->start();
12573
12574 Py_INCREF(Py_None); resultobj = Py_None;
12575 return resultobj;
12576 fail:
12577 return NULL;
12578 }
12579
12580
12581 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12582 PyObject *resultobj;
12583 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12584 PyObject * obj0 = 0 ;
12585
12586 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12588 (arg1)->stop();
12589
12590 Py_INCREF(Py_None); resultobj = Py_None;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12598 PyObject *obj;
12599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12600 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12601 Py_INCREF(obj);
12602 return Py_BuildValue((char *)"");
12603 }
12604 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12605 PyObject *resultobj;
12606 otk::OBTimerQueueManager *result;
12607
12608 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12609 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12610
12611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12619 PyObject *resultobj;
12620 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12621 PyObject * obj0 = 0 ;
12622
12623 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12625 delete arg1;
12626
12627 Py_INCREF(Py_None); resultobj = Py_None;
12628 return resultobj;
12629 fail:
12630 return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12635 PyObject *resultobj;
12636 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12637 PyObject * obj0 = 0 ;
12638
12639 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12641 (arg1)->fire();
12642
12643 Py_INCREF(Py_None); resultobj = Py_None;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12651 PyObject *resultobj;
12652 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12653 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656
12657 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12660 (arg1)->addTimer(arg2);
12661
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12670 PyObject *resultobj;
12671 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12672 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675
12676 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12679 (arg1)->removeTimer(arg2);
12680
12681 Py_INCREF(Py_None); resultobj = Py_None;
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12689 PyObject *obj;
12690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12691 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12692 Py_INCREF(obj);
12693 return Py_BuildValue((char *)"");
12694 }
12695 static int _wrap_BSENTINEL_set(PyObject *_val) {
12696 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12697 return 1;
12698 }
12699
12700
12701 static PyObject *_wrap_BSENTINEL_get() {
12702 PyObject *pyobj;
12703
12704 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12705 return pyobj;
12706 }
12707
12708
12709 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12710 PyObject *resultobj;
12711 std::string *arg1 = 0 ;
12712 std::string result;
12713 std::string temp1 ;
12714 PyObject * obj0 = 0 ;
12715
12716 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12717 {
12718 if (PyString_Check(obj0)) {
12719 temp1 = std::string(PyString_AsString(obj0));
12720 arg1 = &temp1;
12721 }else {
12722 SWIG_exception(SWIG_TypeError, "string expected");
12723 }
12724 }
12725 result = otk::expandTilde((std::string const &)*arg1);
12726
12727 {
12728 resultobj = PyString_FromString((&result)->c_str());
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12737 PyObject *resultobj;
12738 std::string *arg1 = 0 ;
12739 std::string *arg2 = 0 ;
12740 std::string temp1 ;
12741 std::string temp2 ;
12742 PyObject * obj0 = 0 ;
12743 PyObject * obj1 = 0 ;
12744
12745 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12746 {
12747 if (PyString_Check(obj0)) {
12748 temp1 = std::string(PyString_AsString(obj0));
12749 arg1 = &temp1;
12750 }else {
12751 SWIG_exception(SWIG_TypeError, "string expected");
12752 }
12753 }
12754 {
12755 if (PyString_Check(obj1)) {
12756 temp2 = std::string(PyString_AsString(obj1));
12757 arg2 = &temp2;
12758 }else {
12759 SWIG_exception(SWIG_TypeError, "string expected");
12760 }
12761 }
12762 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12763
12764 Py_INCREF(Py_None); resultobj = Py_None;
12765 return resultobj;
12766 fail:
12767 return NULL;
12768 }
12769
12770
12771 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12772 PyObject *resultobj;
12773 Display *arg1 = (Display *) 0 ;
12774 XTextProperty *arg2 = 0 ;
12775 std::string result;
12776 PyObject * obj0 = 0 ;
12777 PyObject * obj1 = 0 ;
12778
12779 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12782 if (arg2 == NULL) {
12783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12784 }
12785 result = otk::textPropertyToString(arg1,*arg2);
12786
12787 {
12788 resultobj = PyString_FromString((&result)->c_str());
12789 }
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12797 PyObject *resultobj;
12798 unsigned long arg1 ;
12799 std::string result;
12800 PyObject * obj0 = 0 ;
12801
12802 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12803 arg1 = (unsigned long) PyInt_AsLong(obj0);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 result = otk::itostring(arg1);
12806
12807 {
12808 resultobj = PyString_FromString((&result)->c_str());
12809 }
12810 return resultobj;
12811 fail:
12812 return NULL;
12813 }
12814
12815
12816 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12817 PyObject *resultobj;
12818 long arg1 ;
12819 std::string result;
12820
12821 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12822 result = otk::itostring(arg1);
12823
12824 {
12825 resultobj = PyString_FromString((&result)->c_str());
12826 }
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12834 PyObject *resultobj;
12835 unsigned int arg1 ;
12836 std::string result;
12837 PyObject * obj0 = 0 ;
12838
12839 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12840 arg1 = (unsigned int) PyInt_AsLong(obj0);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 result = otk::itostring(arg1);
12843
12844 {
12845 resultobj = PyString_FromString((&result)->c_str());
12846 }
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12854 PyObject *resultobj;
12855 int arg1 ;
12856 std::string result;
12857
12858 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12859 result = otk::itostring(arg1);
12860
12861 {
12862 resultobj = PyString_FromString((&result)->c_str());
12863 }
12864 return resultobj;
12865 fail:
12866 return NULL;
12867 }
12868
12869
12870 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12871 PyObject *resultobj;
12872 std::string *arg1 = 0 ;
12873 std::string result;
12874 std::string temp1 ;
12875 PyObject * obj0 = 0 ;
12876
12877 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12878 {
12879 if (PyString_Check(obj0)) {
12880 temp1 = std::string(PyString_AsString(obj0));
12881 arg1 = &temp1;
12882 }else {
12883 SWIG_exception(SWIG_TypeError, "string expected");
12884 }
12885 }
12886 result = otk::basename((std::string const &)*arg1);
12887
12888 {
12889 resultobj = PyString_FromString((&result)->c_str());
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyMethodDef SwigMethods[] = {
12898 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12899 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12900 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12901 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12902 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12903 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12904 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12905 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12906 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12907 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12908 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12909 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
12910 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12911 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12912 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12913 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12914 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12915 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12916 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12917 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12918 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12919 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12920 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12921 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12922 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12923 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12924 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12925 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12926 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12927 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12928 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12929 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12930 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12931 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12932 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12933 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12934 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12935 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12936 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12937 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12938 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12939 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12940 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12941 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12942 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12943 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12944 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12945 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12946 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12947 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12948 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12949 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12950 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12951 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12952 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12953 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12954 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12955 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12956 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12957 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12958 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12959 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12960 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12961 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12962 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12963 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12964 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12965 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12966 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12967 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12968 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12969 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12970 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12971 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12972 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12973 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12974 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12975 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12976 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12977 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12978 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12979 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12980 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12981 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12982 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12983 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12984 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12985 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12986 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12987 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12988 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12989 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12990 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12991 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12992 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12993 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12994 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12995 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12996 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12997 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12998 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12999 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
13000 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
13001 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
13002 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
13003 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
13004 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
13005 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
13006 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
13007 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
13008 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
13009 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
13010 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
13011 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
13012 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
13013 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
13014 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
13015 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
13016 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
13017 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
13018 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
13019 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
13020 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
13021 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
13022 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
13023 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
13024 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
13025 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
13026 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
13027 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
13028 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
13029 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
13030 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
13031 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
13032 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
13033 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
13034 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
13035 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
13036 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
13037 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
13038 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
13039 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
13040 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
13041 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
13042 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
13043 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
13044 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
13045 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
13046 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
13047 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
13048 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
13049 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
13050 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
13051 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
13052 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
13053 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
13054 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
13055 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
13056 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
13057 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
13058 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
13059 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
13060 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
13061 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
13062 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
13063 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
13064 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
13065 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
13066 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
13067 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
13068 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
13069 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
13070 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
13071 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
13072 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
13073 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
13074 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
13075 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
13076 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
13077 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
13078 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
13079 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
13080 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
13081 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
13082 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
13083 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
13084 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
13085 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
13086 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
13087 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
13088 { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen, METH_VARARGS },
13089 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
13090 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
13091 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
13092 { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS },
13093 { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS },
13094 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
13095 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
13096 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
13097 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
13098 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
13099 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
13100 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
13101 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
13102 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
13103 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
13104 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
13105 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
13106 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
13107 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
13108 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
13109 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
13110 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
13111 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
13112 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
13113 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
13114 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
13115 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
13116 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
13117 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
13118 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
13119 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
13120 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
13121 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
13122 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
13123 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
13124 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
13125 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
13126 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
13127 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
13128 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
13129 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
13130 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
13131 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
13132 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
13133 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
13134 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
13135 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
13136 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
13137 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
13138 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
13139 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
13140 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
13141 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
13142 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
13143 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
13144 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
13145 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
13146 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
13147 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
13148 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
13149 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
13150 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
13151 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
13152 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
13153 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
13154 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
13155 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
13156 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
13157 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
13158 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
13159 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
13160 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
13161 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
13162 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
13163 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
13164 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
13165 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13166 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13167 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13168 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13169 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13170 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13171 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13172 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13173 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13174 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13175 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13176 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13177 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13178 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13179 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13180 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13181 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13182 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13183 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13184 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13185 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13186 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13187 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13188 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13189 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13190 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13191 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13192 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13193 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13194 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13195 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13196 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13197 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13198 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13199 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13200 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13201 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13202 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13203 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13204 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13205 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13206 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13207 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13208 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13209 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13210 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13211 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13212 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13213 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13214 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13215 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13216 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13217 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13218 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13219 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13220 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13221 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13222 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13223 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13224 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13225 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13226 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13227 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13228 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13229 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13230 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13231 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13232 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13233 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13234 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13235 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13236 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13237 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13238 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13239 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13240 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13241 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13242 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13243 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13244 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13245 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13246 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13247 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13248 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13249 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13250 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13251 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13252 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13253 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13254 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13255 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13256 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13257 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13258 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13259 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13260 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13261 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13262 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13263 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13264 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13265 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13266 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13267 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13268 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13269 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13270 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13271 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13272 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13273 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13274 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13275 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13276 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13277 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13278 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13279 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13280 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13281 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13282 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13283 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13284 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13285 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13286 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13287 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13288 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13289 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13290 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13291 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13292 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13293 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13294 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13295 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13296 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13297 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13298 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13299 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
13300 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
13301 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
13302 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
13303 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13304 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13305 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13306 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13307 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13308 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13309 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13310 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13311 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13312 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13313 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13314 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13315 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13316 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13317 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13318 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13319 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13320 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13321 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13322 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13323 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13324 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13325 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13326 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13327 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13328 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13329 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13330 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13331 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13332 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13333 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13334 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13335 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13336 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13337 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13338 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13339 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13340 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13341 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13342 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13343 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13344 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13345 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13346 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13347 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13348 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13349 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13350 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13351 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13352 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13353 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13354 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13355 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13356 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13357 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13358 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13359 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13360 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13361 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13362 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13363 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13364 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13365 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13366 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13367 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13368 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13369 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13370 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13371 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13372 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13373 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13374 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13375 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13376 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13377 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13378 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13379 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13380 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13381 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13382 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13383 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13384 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13385 { (char *)"basename", _wrap_basename, METH_VARARGS },
13386 { NULL, NULL }
13387 };
13388
13389
13390 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13391
13392 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13393 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13394 }
13395 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13396 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13397 }
13398 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13399 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13400 }
13401 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13402 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13403 }
13404 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13405 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13406 }
13407 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13408 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13409 }
13410 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13411 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13412 }
13413 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13414 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13415 }
13416 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13417 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13418 }
13419 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13420 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13421 }
13422 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13423 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13424 }
13425 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13426 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13427 }
13428 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13429 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13430 }
13431 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13432 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13433 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13434 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13435 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13436 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13437 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13438 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13439 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13440 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13441 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13442 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13443 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13444 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13445 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13446 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13447 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13448 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13449 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13450 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13451 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13452 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13453 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13454 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13455 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13456 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13457 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13458 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13459 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}};
13460 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}};
13461 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13462 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13463 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13464 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13465 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13466 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13467 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13468 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13469 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13470 static swig_type_info _swigt__p_Time[] = {{"_p_Time", 0, "Time *", 0},{"_p_Time"},{0}};
13471 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13472 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13473 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13474 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13475 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13476 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}};
13477 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13478 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13479 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13480 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13481 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13482 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13483 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13484 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13485 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}};
13486 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13487 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}};
13488 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13489 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13490 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13491 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13492 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13493 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13494 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13495 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13496 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13497 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13498 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13499 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13500 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13501 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13502 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13503 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13504 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13505 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13506 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13507 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13508 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13509 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13510 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13511 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13512 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13513 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13514 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13515 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13516 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13517
13518 static swig_type_info *swig_types_initial[] = {
13519 _swigt__p_otk__BGCCache,
13520 _swigt__p_otk__BColor,
13521 _swigt__p_otk__OBProperty__StringVect,
13522 _swigt__p_XFontStruct,
13523 _swigt__p_otk__Configuration,
13524 _swigt__p_otk__PixmapMask,
13525 _swigt__p_Atom,
13526 _swigt__p_otk__PointerAssassin,
13527 _swigt__p_otk__BImage,
13528 _swigt__p_otk__OBTimer,
13529 _swigt__p_otk__OtkWidget__OtkWidgetList,
13530 _swigt__p_bool,
13531 _swigt__p_otk__OBDisplay,
13532 _swigt__p_Display,
13533 _swigt__p_p_XColor,
13534 _swigt__p_XReparentEvent,
13535 _swigt__p_otk__BPen,
13536 _swigt__p_otk__BImageControl,
13537 _swigt__p_otk__OtkButton,
13538 _swigt__p_otk__Rect,
13539 _swigt__p_otk__Style,
13540 _swigt__p_XSelectionClearEvent,
13541 _swigt__p_Visual,
13542 _swigt__p_timeval,
13543 _swigt__p_int,
13544 _swigt__p_otk__Strut,
13545 _swigt__p_otk__OtkApplication,
13546 _swigt__p_XRectangle,
13547 _swigt__p_otk__OtkFocusWidget,
13548 _swigt__p_otk__OtkWidget,
13549 _swigt__p_Cursor,
13550 _swigt__p_Colormap,
13551 _swigt__p_XGravityEvent,
13552 _swigt__p_XVisibilityEvent,
13553 _swigt__p_XPropertyEvent,
13554 _swigt__p_Window,
13555 _swigt__p_otk__BGCCacheContext,
13556 _swigt__p_XCreateWindowEvent,
13557 _swigt__p_XDestroyWindowEvent,
13558 _swigt__p_Time,
13559 _swigt__p_XCirculateEvent,
13560 _swigt__p_XConfigureEvent,
13561 _swigt__p_long,
13562 _swigt__p_otk__OBProperty,
13563 _swigt__p_XTextProperty,
13564 _swigt__p_otk__OtkEventHandler,
13565 _swigt__p_XSelectionRequestEvent,
13566 _swigt__p_XCirculateRequestEvent,
13567 _swigt__p_XConfigureRequestEvent,
13568 _swigt__p_XMapRequestEvent,
13569 _swigt__p_XResizeRequestEvent,
13570 _swigt__otk__OBTimeoutHandler,
13571 _swigt__p_XftDraw,
13572 _swigt__p_otk__ScreenInfo,
13573 _swigt__p_otk__OtkFocusLabel,
13574 _swigt__p_otk__BTexture,
13575 _swigt__p_otk__OtkEventDispatcher,
13576 _swigt__p_otk__BFont,
13577 _swigt__p_otk__Point,
13578 _swigt__p_p_char,
13579 _swigt__p_XMotionEvent,
13580 _swigt__p_XButtonEvent,
13581 _swigt__p_XSelectionEvent,
13582 _swigt__p_Pixmap,
13583 _swigt__p_GC,
13584 _swigt__p_otk__OBTimerQueueManager,
13585 _swigt__p_otk__OtkAppWidget,
13586 _swigt__p_XKeyEvent,
13587 _swigt__p_unsigned_long,
13588 _swigt__p_XEvent,
13589 _swigt__p_p_unsigned_long,
13590 _swigt__p_std__string,
13591 _swigt__p_XCrossingEvent,
13592 _swigt__p_XMappingEvent,
13593 _swigt__p_otk__BGCCacheItem,
13594 _swigt__p_p_unsigned_int,
13595 _swigt__p_unsigned_int,
13596 _swigt__p_p_unsigned_char,
13597 _swigt__p_XClientMessageEvent,
13598 _swigt__p_XExposeEvent,
13599 _swigt__p_XFocusChangeEvent,
13600 _swigt__p_XGraphicsExposeEvent,
13601 _swigt__p_XNoExposeEvent,
13602 _swigt__p_XMapEvent,
13603 _swigt__p_XUnmapEvent,
13604 _swigt__p_XColormapEvent,
13605 0
13606 };
13607
13608
13609 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13610
13611 static swig_const_info swig_const_table[] = {
13612 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13613 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13614 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13615 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13616 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13617 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13618 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13619 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13620 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13621 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13622 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13623 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13624 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13625 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13626 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13627 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13628 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13629 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13630 { SWIG_PY_INT, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
13631 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13632 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13633 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13634 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13635 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13636 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13637 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13638 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13639 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13640 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13641 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13642 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13643 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13644 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13645 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13646 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13647 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13648 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13649 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13650 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13651 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13652 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13653 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13654 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13655 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13656 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13657 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13658 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13659 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13660 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13661 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13662 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13663 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13664 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13665 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13666 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13667 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13668 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13669 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13670 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13671 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13672 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13673 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13674 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13675 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13676 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13677 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13678 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13679 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13680 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13681 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13682 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13683 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13684 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13685 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13686 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13687 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13688 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13689 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13690 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13691 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13692 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
13693 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13694 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13695 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13696 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13697 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13698 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13699 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13700 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
13701 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
13702 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13703 { 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},
13704 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13705 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13706 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13707 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13708 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13709 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13710 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13711 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13712 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13713 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13714 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13715 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13716 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13717 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13718 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13719 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13720 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13721 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13722 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13723 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13724 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13725 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13726 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13727 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13728 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13729 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13730 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13731 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13732 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13733 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13734 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13735 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13736 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13737 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13738 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13739 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13740 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13741 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13742 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13743 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13744 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13745 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13746 {0}};
13747
13748 #ifdef __cplusplus
13749 }
13750 #endif
13751
13752 #ifdef __cplusplus
13753 extern "C"
13754 #endif
13755 SWIGEXPORT(void) SWIG_init(void) {
13756 static PyObject *SWIG_globals = 0;
13757 static int typeinit = 0;
13758 PyObject *m, *d;
13759 int i;
13760 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13761 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13762 d = PyModule_GetDict(m);
13763
13764 if (!typeinit) {
13765 for (i = 0; swig_types_initial[i]; i++) {
13766 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13767 }
13768 typeinit = 1;
13769 }
13770 SWIG_InstallConstants(d,swig_const_table);
13771
13772 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13773 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13774 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);
13775 }
13776
This page took 0.72776 seconds and 4 git commands to generate.