1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021222-0248
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 * ----------------------------------------------------------------------------- */
14 template<class T> class SwigValueWrapper {
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; }
28 /***********************************************************************
31 * This file contains generic SWIG runtime support for pointer
32 * type checking as well as a few commonly used macros to control
35 * Author : David Beazley (beazley@cs.uchicago.edu)
37 * Copyright (c) 1999-2000, The University of Chicago
39 * This file may be freely redistributed without license or fee provided
40 * this copyright message remains intact.
41 ************************************************************************/
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
51 # define SWIGEXPORT(a) __declspec(dllexport) a
52 # define SWIGIMPORT(a) extern a
55 # if defined(__BORLANDC__)
56 # define SWIGEXPORT(a) a _export
57 # define SWIGIMPORT(a) a _export
59 # define SWIGEXPORT(a) a
60 # define SWIGIMPORT(a) a
64 # define SWIGEXPORT(a) a
65 # define SWIGIMPORT(a) a
69 #define SWIGRUNTIME(a) SWIGEXPORT(a)
71 #define SWIGRUNTIME(a) static a
78 typedef void *(*swig_converter_func)(void *);
79 typedef struct swig_type_info *(*swig_dycast_func)(void **);
81 typedef struct swig_type_info {
83 swig_converter_func converter;
86 swig_dycast_func dcast;
87 struct swig_type_info *next;
88 struct swig_type_info *prev;
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 *);
102 static swig_type_info *swig_type_list = 0;
104 /* Register a type mapping with the type-checking */
105 SWIGRUNTIME(swig_type_info *)
106 SWIG_TypeRegister(swig_type_info *ti)
108 swig_type_info *tc, *head, *ret, *next;
109 /* Check to see if this type has already been registered */
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;
125 ti->prev = swig_type_list;
128 /* Build linked lists */
132 /* Patch up the rest of the links */
143 /* Check the typename */
144 SWIGRUNTIME(swig_type_info *)
145 SWIG_TypeCheck(char *c, swig_type_info *ty)
148 if (!ty) return 0; /* Void pointer */
149 s = ty->next; /* First element always just a name */
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;
156 s->next->prev = s->prev;
158 /* Insert s as second element in the list */
160 if (ty->next) ty->next->prev = s;
165 } while (s && (s != ty->next));
169 /* Cast a pointer up an inheritance hierarchy */
171 SWIG_TypeCast(swig_type_info *ty, void *ptr)
173 if ((!ty) || (!ty->converter)) return ptr;
174 return (*ty->converter)(ptr);
177 /* Dynamic pointer casting. Down an inheritance hierarchy */
178 SWIGRUNTIME(swig_type_info *)
179 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
181 swig_type_info *lastty = ty;
182 if (!ty || !ty->dcast) return ty;
183 while (ty && (ty->dcast)) {
184 ty = (*ty->dcast)(ptr);
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;
195 if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
196 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
202 /* Set the clientdata field for a type */
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;
210 if (!equiv->converter) {
213 if ((strcmp(tc->name, equiv->name) == 0))
214 SWIG_TypeClientData(tc,clientdata);
228 /***********************************************************************
231 * This file contains the runtime support for Python modules
232 * and includes code for managing global variables and pointer
235 * Author : David Beazley (beazley@cs.uchicago.edu)
236 ************************************************************************/
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
250 /* Flags for pointer conversion */
252 #define SWIG_POINTER_EXCEPTION 0x1
253 #define SWIG_POINTER_DISOWN 0x2
255 /* Exception handling in wrappers */
256 #define SWIG_fail goto fail
258 /* Constant information structure */
259 typedef struct swig_const_info {
265 swig_type_info **ptype;
268 #ifdef SWIG_NOINCLUDE
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[]);
281 /* -----------------------------------------------------------------------------
282 * global variable support code.
283 * ----------------------------------------------------------------------------- */
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;
292 typedef struct swig_varlinkobject {
294 swig_globalvar *vars;
295 } swig_varlinkobject;
298 swig_varlink_repr(swig_varlinkobject *v) {
300 return PyString_FromString("<Global variables>");
304 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int 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,", ");
317 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
318 swig_globalvar *var = v->vars;
320 if (strcmp(var->name,n) == 0) {
321 return (*var->get_attr)();
325 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
331 swig_globalvar *var = v->vars;
333 if (strcmp(var->name,n) == 0) {
334 return (*var->set_attr)(p);
338 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
342 statichere PyTypeObject varlinktype = {
343 PyObject_HEAD_INIT(0)
345 (char *)"swigvarlink", /* Type name */
346 sizeof(swig_varlinkobject), /* Basic size */
349 (printfunc) swig_varlink_print, /* Print */
350 (getattrfunc) swig_varlink_getattr, /* get attr */
351 (setattrfunc) swig_varlink_setattr, /* Set attr */
353 (reprfunc) swig_varlink_repr, /* tp_repr */
354 0, /* tp_as_number */
355 0, /* tp_as_mapping*/
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;
367 result->ob_refcnt = 0;
368 Py_XINCREF((PyObject *) result);
369 return ((PyObject*) result);
373 SWIG_addvarlink(PyObject *p, char *name,
374 PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
375 swig_varlinkobject *v;
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;
387 /* Pack binary data into a string */
389 SWIG_PackData(char *c, void *ptr, int sz) {
390 static char hex[17] = "0123456789abcdef";
392 unsigned char *u = (unsigned char *) ptr;
393 register unsigned char uu;
394 for (i = 0; i < sz; i++,u++) {
396 *(c++) = hex[(uu & 0xf0) >> 4];
397 *(c++) = hex[uu & 0xf];
402 /* Unpack binary data from a string */
404 SWIG_UnpackData(char *c, void *ptr, int sz) {
405 register unsigned char uu = 0;
407 unsigned char *u = (unsigned char *) ptr;
409 for (i = 0; i < sz; i++, u++) {
411 if ((d >= '0') && (d <= '9'))
412 uu = ((d - '0') << 4);
413 else if ((d >= 'a') && (d <= 'f'))
414 uu = ((d - ('a'-10)) << 4);
416 if ((d >= '0') && (d <= '9'))
418 else if ((d >= 'a') && (d <= 'f'))
419 uu |= (d - ('a'-10));
425 /* Convert a pointer value */
427 SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
430 static PyObject *SWIG_this = 0;
435 if (obj == Py_None) {
439 #ifdef SWIG_COBJECT_TYPES
440 if (!(PyCObject_Check(obj))) {
442 SWIG_this = PyString_FromString("this");
444 obj = PyObject_GetAttr(obj,SWIG_this);
446 if (!obj) goto type_error;
447 if (!PyCObject_Check(obj)) {
452 *ptr = PyCObject_AsVoidPtr(obj);
453 c = (char *) PyCObject_GetDesc(obj);
454 if (newref) Py_DECREF(obj);
457 if (!(PyString_Check(obj))) {
459 SWIG_this = PyString_FromString("this");
461 obj = PyObject_GetAttr(obj,SWIG_this);
463 if (!obj) goto type_error;
464 if (!PyString_Check(obj)) {
469 c = PyString_AsString(obj);
470 /* Pointer values must start with leading underscore */
473 if (strcmp(c,"NULL") == 0) {
474 if (newref) { Py_DECREF(obj); }
477 if (newref) { Py_DECREF(obj); }
482 c = SWIG_UnpackData(c,ptr,sizeof(void *));
483 if (newref) { Py_DECREF(obj); }
486 #ifdef SWIG_COBJECT_TYPES
491 tc = SWIG_TypeCheck(c,ty);
492 if (!tc) goto type_error;
493 *ptr = SWIG_TypeCast(tc,(void*) *ptr);
496 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
497 PyObject *zero = PyInt_FromLong(0);
498 PyObject_SetAttrString(pyobj,(char*)"thisown",zero);
504 if (flags & SWIG_POINTER_EXCEPTION) {
506 char *temp = (char *) malloc(64+strlen(ty->name));
507 sprintf(temp,"Type error. Expected %s", ty->name);
508 PyErr_SetString(PyExc_TypeError, temp);
511 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
517 /* Convert a packed value value */
519 SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
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;
528 c = SWIG_UnpackData(c,ptr,sz);
530 tc = SWIG_TypeCheck(c,ty);
531 if (!tc) goto type_error;
539 char *temp = (char *) malloc(64+strlen(ty->name));
540 sprintf(temp,"Type error. Expected %s", ty->name);
541 PyErr_SetString(PyExc_TypeError, temp);
544 PyErr_SetString(PyExc_TypeError,"Expected a pointer");
550 /* Create a new pointer object */
551 SWIGRUNTIME(PyObject *)
552 SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
558 #ifdef SWIG_COBJECT_TYPES
559 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) type->name, NULL);
565 r = SWIG_PackData(r,&ptr,sizeof(void *));
566 strcpy(r,type->name);
567 robj = PyString_FromString(result);
570 if (!robj || (robj == Py_None)) return robj;
571 if (type->clientdata) {
573 PyObject *args = Py_BuildValue((char*)"(O)", robj);
575 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
579 PyObject *n = PyInt_FromLong(1);
580 PyObject_SetAttrString(inst,(char*)"thisown",n);
589 SWIGRUNTIME(PyObject *)
590 SWIG_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
593 if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
595 r = SWIG_PackData(r,ptr,sz);
596 strcpy(r,type->name);
597 return PyString_FromString(result);
600 /* Install Constants */
602 SWIG_InstallConstants(PyObject *d, swig_const_info constants[]) {
605 for (i = 0; constants[i].type; i++) {
606 switch(constants[i].type) {
608 obj = PyInt_FromLong(constants[i].lvalue);
611 obj = PyFloat_FromDouble(constants[i].dvalue);
614 obj = PyString_FromString((char *) constants[i].pvalue);
616 case SWIG_PY_POINTER:
617 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
620 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
627 PyDict_SetItemString(d,constants[i].name,obj);
646 /* -------- TYPES TABLE (BEGIN) -------- */
648 #define SWIGTYPE_p_otk__BGCCache swig_types[0]
649 #define SWIGTYPE_p_otk__BColor swig_types[1]
650 #define SWIGTYPE_p_otk__OBProperty__StringVect swig_types[2]
651 #define SWIGTYPE_p_XFontStruct swig_types[3]
652 #define SWIGTYPE_p_otk__Configuration swig_types[4]
653 #define SWIGTYPE_p_otk__PixmapMask swig_types[5]
654 #define SWIGTYPE_p_Atom swig_types[6]
655 #define SWIGTYPE_p_otk__PointerAssassin swig_types[7]
656 #define SWIGTYPE_p_otk__BImage swig_types[8]
657 #define SWIGTYPE_p_otk__OBTimer swig_types[9]
658 #define SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[10]
659 #define SWIGTYPE_p_bool swig_types[11]
660 #define SWIGTYPE_p_otk__OBDisplay swig_types[12]
661 #define SWIGTYPE_p_Display swig_types[13]
662 #define SWIGTYPE_p_p_XColor swig_types[14]
663 #define SWIGTYPE_p_XReparentEvent swig_types[15]
664 #define SWIGTYPE_p_otk__BPen swig_types[16]
665 #define SWIGTYPE_p_otk__BImageControl swig_types[17]
666 #define SWIGTYPE_p_otk__OtkButton swig_types[18]
667 #define SWIGTYPE_p_otk__Rect swig_types[19]
668 #define SWIGTYPE_p_otk__Style swig_types[20]
669 #define SWIGTYPE_p_XSelectionClearEvent swig_types[21]
670 #define SWIGTYPE_p_Visual swig_types[22]
671 #define SWIGTYPE_p_timeval swig_types[23]
672 #define SWIGTYPE_p_int swig_types[24]
673 #define SWIGTYPE_p_otk__Strut swig_types[25]
674 #define SWIGTYPE_p_otk__OtkApplication swig_types[26]
675 #define SWIGTYPE_p_XRectangle swig_types[27]
676 #define SWIGTYPE_p_otk__OtkFocusWidget swig_types[28]
677 #define SWIGTYPE_p_otk__OtkWidget swig_types[29]
678 #define SWIGTYPE_p_Cursor swig_types[30]
679 #define SWIGTYPE_p_Colormap swig_types[31]
680 #define SWIGTYPE_p_XGravityEvent swig_types[32]
681 #define SWIGTYPE_p_XVisibilityEvent swig_types[33]
682 #define SWIGTYPE_p_XPropertyEvent swig_types[34]
683 #define SWIGTYPE_p_Window swig_types[35]
684 #define SWIGTYPE_p_otk__BGCCacheContext swig_types[36]
685 #define SWIGTYPE_p_XCreateWindowEvent swig_types[37]
686 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[38]
687 #define SWIGTYPE_p_XCirculateEvent swig_types[39]
688 #define SWIGTYPE_p_XConfigureEvent swig_types[40]
689 #define SWIGTYPE_p_otk__OBProperty swig_types[41]
690 #define SWIGTYPE_p_long swig_types[42]
691 #define SWIGTYPE_p_XTextProperty swig_types[43]
692 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[44]
693 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[45]
694 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[46]
695 #define SWIGTYPE_p_XMapRequestEvent swig_types[47]
696 #define SWIGTYPE_p_XResizeRequestEvent swig_types[48]
697 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[49]
698 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[50]
699 #define SWIGTYPE_p_XftDraw swig_types[51]
700 #define SWIGTYPE_p_otk__ScreenInfo swig_types[52]
701 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[53]
702 #define SWIGTYPE_p_otk__BTexture swig_types[54]
703 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[55]
704 #define SWIGTYPE_p_otk__BFont swig_types[56]
705 #define SWIGTYPE_p_otk__Point swig_types[57]
706 #define SWIGTYPE_p_p_char swig_types[58]
707 #define SWIGTYPE_p_XMotionEvent swig_types[59]
708 #define SWIGTYPE_p_XButtonEvent swig_types[60]
709 #define SWIGTYPE_p_XSelectionEvent swig_types[61]
710 #define SWIGTYPE_p_Pixmap swig_types[62]
711 #define SWIGTYPE_p_GC swig_types[63]
712 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[64]
713 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[65]
714 #define SWIGTYPE_p_XKeyEvent swig_types[66]
715 #define SWIGTYPE_p_unsigned_long swig_types[67]
716 #define SWIGTYPE_p_XEvent swig_types[68]
717 #define SWIGTYPE_p_p_unsigned_long swig_types[69]
718 #define SWIGTYPE_p_std__string swig_types[70]
719 #define SWIGTYPE_p_XCrossingEvent swig_types[71]
720 #define SWIGTYPE_p_XMappingEvent swig_types[72]
721 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[73]
722 #define SWIGTYPE_p_p_unsigned_int swig_types[74]
723 #define SWIGTYPE_p_unsigned_int swig_types[75]
724 #define SWIGTYPE_p_p_unsigned_char swig_types[76]
725 #define SWIGTYPE_p_XClientMessageEvent swig_types[77]
726 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[78]
727 #define SWIGTYPE_p_XExposeEvent swig_types[79]
728 #define SWIGTYPE_p_XFocusChangeEvent swig_types[80]
729 #define SWIGTYPE_p_XNoExposeEvent swig_types[81]
730 #define SWIGTYPE_p_XMapEvent swig_types[82]
731 #define SWIGTYPE_p_XUnmapEvent swig_types[83]
732 #define SWIGTYPE_p_XColormapEvent swig_types[84]
733 static swig_type_info *swig_types[86];
735 /* -------- TYPES TABLE (END) -------- */
738 /*-----------------------------------------------
740 ------------------------------------------------*/
741 #define SWIG_init init_otk
743 #define SWIG_name "_otk"
746 # include "../config.h"
749 #include "application.hh"
750 #include "appwidget.hh"
751 #include "assassin.hh"
754 #include "configuration.hh"
755 #include "display.hh"
756 #include "eventdispatcher.hh"
757 #include "eventhandler.hh"
758 #include "focuslabel.hh"
759 #include "focuswidget.hh"
761 #include "gccache.hh"
765 #include "property.hh"
767 #include "screeninfo.hh"
770 #include "texture.hh"
772 #include "timerqueue.hh"
773 #include "timerqueuemanager.hh"
778 #define SWIG_MemoryError 1
779 #define SWIG_IOError 2
780 #define SWIG_RuntimeError 3
781 #define SWIG_IndexError 4
782 #define SWIG_TypeError 5
783 #define SWIG_DivisionByZero 6
784 #define SWIG_OverflowError 7
785 #define SWIG_SyntaxError 8
786 #define SWIG_ValueError 9
787 #define SWIG_SystemError 10
788 #define SWIG_UnknownError 99
791 static void _SWIG_exception(int code, const char *msg) {
793 case SWIG_MemoryError:
794 PyErr_SetString(PyExc_MemoryError,msg);
797 PyErr_SetString(PyExc_IOError,msg);
799 case SWIG_RuntimeError:
800 PyErr_SetString(PyExc_RuntimeError,msg);
802 case SWIG_IndexError:
803 PyErr_SetString(PyExc_IndexError,msg);
806 PyErr_SetString(PyExc_TypeError,msg);
808 case SWIG_DivisionByZero:
809 PyErr_SetString(PyExc_ZeroDivisionError,msg);
811 case SWIG_OverflowError:
812 PyErr_SetString(PyExc_OverflowError,msg);
814 case SWIG_SyntaxError:
815 PyErr_SetString(PyExc_SyntaxError,msg);
817 case SWIG_ValueError:
818 PyErr_SetString(PyExc_ValueError,msg);
820 case SWIG_SystemError:
821 PyErr_SetString(PyExc_SystemError,msg);
824 PyErr_SetString(PyExc_RuntimeError,msg);
829 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
837 static PyObject* SwigInt_FromBool(bool b) {
838 return PyInt_FromLong(b ? 1L : 0L);
840 static double SwigNumber_Check(PyObject* o) {
841 return PyFloat_Check(o) || PyInt_Check(o);
843 static double SwigNumber_AsDouble(PyObject* o) {
844 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
846 static PyObject* SwigString_FromString(const std::string& s) {
847 return PyString_FromString(s.c_str());
849 static std::string SwigString_AsString(PyObject* o) {
850 return std::string(PyString_AsString(o));
861 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
863 otk::OtkEventDispatcher *result;
865 if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
866 result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
875 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
877 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
878 PyObject * obj0 = 0 ;
880 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884 Py_INCREF(Py_None); resultobj = Py_None;
891 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
893 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
894 PyObject * obj0 = 0 ;
896 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
898 (arg1)->clearAllHandlers();
900 Py_INCREF(Py_None); resultobj = Py_None;
907 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
909 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
911 otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
913 PyObject * obj0 = 0 ;
914 PyObject * obj1 = 0 ;
915 PyObject * obj2 = 0 ;
917 if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
919 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
921 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
922 (arg1)->registerHandler(arg2,arg3);
924 Py_INCREF(Py_None); resultobj = Py_None;
931 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
933 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
936 PyObject * obj0 = 0 ;
937 PyObject * obj1 = 0 ;
939 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
941 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
943 (arg1)->clearHandler(arg2);
945 Py_INCREF(Py_None); resultobj = Py_None;
952 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
954 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
955 PyObject * obj0 = 0 ;
957 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 (arg1)->dispatchEvents();
961 Py_INCREF(Py_None); resultobj = Py_None;
968 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
970 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
971 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
972 PyObject * obj0 = 0 ;
973 PyObject * obj1 = 0 ;
975 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 (arg1)->setFallbackHandler(arg2);
980 Py_INCREF(Py_None); resultobj = Py_None;
987 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
989 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
990 otk::OtkEventHandler *result;
991 PyObject * obj0 = 0 ;
993 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
995 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1004 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1005 PyObject *resultobj;
1006 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1008 otk::OtkEventHandler *result;
1010 PyObject * obj0 = 0 ;
1011 PyObject * obj1 = 0 ;
1013 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1015 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1017 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1026 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1029 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1031 return Py_BuildValue((char *)"");
1033 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1034 PyObject *resultobj;
1035 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1037 PyObject * obj0 = 0 ;
1038 PyObject * obj1 = 0 ;
1040 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1046 (arg1)->handle((XEvent const &)*arg2);
1048 Py_INCREF(Py_None); resultobj = Py_None;
1055 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1056 PyObject *resultobj;
1057 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1058 XKeyEvent *arg2 = 0 ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1062 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1068 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1070 Py_INCREF(Py_None); resultobj = Py_None;
1077 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1078 PyObject *resultobj;
1079 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1080 XKeyEvent *arg2 = 0 ;
1081 PyObject * obj0 = 0 ;
1082 PyObject * obj1 = 0 ;
1084 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1090 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1092 Py_INCREF(Py_None); resultobj = Py_None;
1099 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1100 PyObject *resultobj;
1101 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1102 XButtonEvent *arg2 = 0 ;
1103 PyObject * obj0 = 0 ;
1104 PyObject * obj1 = 0 ;
1106 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1112 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1114 Py_INCREF(Py_None); resultobj = Py_None;
1121 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1122 PyObject *resultobj;
1123 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1124 XButtonEvent *arg2 = 0 ;
1125 PyObject * obj0 = 0 ;
1126 PyObject * obj1 = 0 ;
1128 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1134 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1136 Py_INCREF(Py_None); resultobj = Py_None;
1143 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1144 PyObject *resultobj;
1145 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1146 XMotionEvent *arg2 = 0 ;
1147 PyObject * obj0 = 0 ;
1148 PyObject * obj1 = 0 ;
1150 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1156 (arg1)->motionHandler((XMotionEvent const &)*arg2);
1158 Py_INCREF(Py_None); resultobj = Py_None;
1165 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1166 PyObject *resultobj;
1167 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1168 XCrossingEvent *arg2 = 0 ;
1169 PyObject * obj0 = 0 ;
1170 PyObject * obj1 = 0 ;
1172 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1178 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1180 Py_INCREF(Py_None); resultobj = Py_None;
1187 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1188 PyObject *resultobj;
1189 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1190 XCrossingEvent *arg2 = 0 ;
1191 PyObject * obj0 = 0 ;
1192 PyObject * obj1 = 0 ;
1194 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1200 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1202 Py_INCREF(Py_None); resultobj = Py_None;
1209 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1210 PyObject *resultobj;
1211 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1212 XFocusChangeEvent *arg2 = 0 ;
1213 PyObject * obj0 = 0 ;
1214 PyObject * obj1 = 0 ;
1216 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1222 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1224 Py_INCREF(Py_None); resultobj = Py_None;
1231 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1232 PyObject *resultobj;
1233 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1234 XFocusChangeEvent *arg2 = 0 ;
1235 PyObject * obj0 = 0 ;
1236 PyObject * obj1 = 0 ;
1238 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1242 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1244 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1246 Py_INCREF(Py_None); resultobj = Py_None;
1253 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1254 PyObject *resultobj;
1255 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1256 XExposeEvent *arg2 = 0 ;
1257 PyObject * obj0 = 0 ;
1258 PyObject * obj1 = 0 ;
1260 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1266 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1268 Py_INCREF(Py_None); resultobj = Py_None;
1275 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1276 PyObject *resultobj;
1277 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1278 XGraphicsExposeEvent *arg2 = 0 ;
1279 PyObject * obj0 = 0 ;
1280 PyObject * obj1 = 0 ;
1282 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1288 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1290 Py_INCREF(Py_None); resultobj = Py_None;
1297 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1298 PyObject *resultobj;
1299 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1300 XNoExposeEvent *arg2 = 0 ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj1 = 0 ;
1304 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1310 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1312 Py_INCREF(Py_None); resultobj = Py_None;
1319 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1320 PyObject *resultobj;
1321 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1322 XCirculateRequestEvent *arg2 = 0 ;
1323 PyObject * obj0 = 0 ;
1324 PyObject * obj1 = 0 ;
1326 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1332 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1334 Py_INCREF(Py_None); resultobj = Py_None;
1341 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1342 PyObject *resultobj;
1343 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1344 XConfigureRequestEvent *arg2 = 0 ;
1345 PyObject * obj0 = 0 ;
1346 PyObject * obj1 = 0 ;
1348 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1354 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1356 Py_INCREF(Py_None); resultobj = Py_None;
1363 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1364 PyObject *resultobj;
1365 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1366 XMapRequestEvent *arg2 = 0 ;
1367 PyObject * obj0 = 0 ;
1368 PyObject * obj1 = 0 ;
1370 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1376 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1378 Py_INCREF(Py_None); resultobj = Py_None;
1385 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1386 PyObject *resultobj;
1387 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1388 XResizeRequestEvent *arg2 = 0 ;
1389 PyObject * obj0 = 0 ;
1390 PyObject * obj1 = 0 ;
1392 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1398 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1400 Py_INCREF(Py_None); resultobj = Py_None;
1407 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1408 PyObject *resultobj;
1409 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1410 XCirculateEvent *arg2 = 0 ;
1411 PyObject * obj0 = 0 ;
1412 PyObject * obj1 = 0 ;
1414 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1420 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1422 Py_INCREF(Py_None); resultobj = Py_None;
1429 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1430 PyObject *resultobj;
1431 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1432 XConfigureEvent *arg2 = 0 ;
1433 PyObject * obj0 = 0 ;
1434 PyObject * obj1 = 0 ;
1436 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1442 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1444 Py_INCREF(Py_None); resultobj = Py_None;
1451 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1452 PyObject *resultobj;
1453 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1454 XCreateWindowEvent *arg2 = 0 ;
1455 PyObject * obj0 = 0 ;
1456 PyObject * obj1 = 0 ;
1458 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1464 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1466 Py_INCREF(Py_None); resultobj = Py_None;
1473 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1474 PyObject *resultobj;
1475 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1476 XDestroyWindowEvent *arg2 = 0 ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1480 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1486 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1488 Py_INCREF(Py_None); resultobj = Py_None;
1495 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1496 PyObject *resultobj;
1497 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1498 XGravityEvent *arg2 = 0 ;
1499 PyObject * obj0 = 0 ;
1500 PyObject * obj1 = 0 ;
1502 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1508 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1510 Py_INCREF(Py_None); resultobj = Py_None;
1517 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1518 PyObject *resultobj;
1519 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1520 XMapEvent *arg2 = 0 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1524 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1530 (arg1)->mapHandler((XMapEvent const &)*arg2);
1532 Py_INCREF(Py_None); resultobj = Py_None;
1539 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1540 PyObject *resultobj;
1541 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1542 XMappingEvent *arg2 = 0 ;
1543 PyObject * obj0 = 0 ;
1544 PyObject * obj1 = 0 ;
1546 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1552 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1554 Py_INCREF(Py_None); resultobj = Py_None;
1561 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1562 PyObject *resultobj;
1563 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1564 XReparentEvent *arg2 = 0 ;
1565 PyObject * obj0 = 0 ;
1566 PyObject * obj1 = 0 ;
1568 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1574 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1576 Py_INCREF(Py_None); resultobj = Py_None;
1583 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1584 PyObject *resultobj;
1585 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1586 XUnmapEvent *arg2 = 0 ;
1587 PyObject * obj0 = 0 ;
1588 PyObject * obj1 = 0 ;
1590 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1596 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1598 Py_INCREF(Py_None); resultobj = Py_None;
1605 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1606 PyObject *resultobj;
1607 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1608 XVisibilityEvent *arg2 = 0 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1612 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1618 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1620 Py_INCREF(Py_None); resultobj = Py_None;
1627 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1628 PyObject *resultobj;
1629 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1630 XColormapEvent *arg2 = 0 ;
1631 PyObject * obj0 = 0 ;
1632 PyObject * obj1 = 0 ;
1634 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1640 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1642 Py_INCREF(Py_None); resultobj = Py_None;
1649 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1650 PyObject *resultobj;
1651 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1652 XPropertyEvent *arg2 = 0 ;
1653 PyObject * obj0 = 0 ;
1654 PyObject * obj1 = 0 ;
1656 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1662 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1664 Py_INCREF(Py_None); resultobj = Py_None;
1671 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1672 PyObject *resultobj;
1673 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1674 XSelectionClearEvent *arg2 = 0 ;
1675 PyObject * obj0 = 0 ;
1676 PyObject * obj1 = 0 ;
1678 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1684 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1686 Py_INCREF(Py_None); resultobj = Py_None;
1693 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1694 PyObject *resultobj;
1695 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1696 XSelectionEvent *arg2 = 0 ;
1697 PyObject * obj0 = 0 ;
1698 PyObject * obj1 = 0 ;
1700 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1706 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1708 Py_INCREF(Py_None); resultobj = Py_None;
1715 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1716 PyObject *resultobj;
1717 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1718 XSelectionRequestEvent *arg2 = 0 ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1722 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1728 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1730 Py_INCREF(Py_None); resultobj = Py_None;
1737 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1738 PyObject *resultobj;
1739 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1740 XClientMessageEvent *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1744 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1750 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1752 Py_INCREF(Py_None); resultobj = Py_None;
1759 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1760 PyObject *resultobj;
1761 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1762 PyObject * obj0 = 0 ;
1764 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1768 Py_INCREF(Py_None); resultobj = Py_None;
1775 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1778 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1780 return Py_BuildValue((char *)"");
1782 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1783 PyObject *resultobj;
1784 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1785 int arg2 = (int) otk::OtkWidget::Horizontal ;
1786 otk::OtkWidget *result;
1787 PyObject * obj0 = 0 ;
1789 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1791 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1800 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1801 PyObject *resultobj;
1802 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1803 otk::Style *arg2 = (otk::Style *) 0 ;
1804 int arg3 = (int) otk::OtkWidget::Horizontal ;
1805 Cursor arg4 = (Cursor) 0 ;
1806 int arg5 = (int) 1 ;
1807 otk::OtkWidget *result;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj3 = 0 ;
1813 if(!PyArg_ParseTuple(args,(char *)"OO|iOi:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
1814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1820 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5);
1822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1829 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1834 argc = PyObject_Length(args);
1835 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
1836 argv[ii] = PyTuple_GetItem(args,ii);
1838 if ((argc >= 1) && (argc <= 2)) {
1842 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1851 return _wrap_new_OtkWidget__SWIG_0(self,args);
1854 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1857 return _wrap_new_OtkWidget__SWIG_0(self,args);
1861 if ((argc >= 2) && (argc <= 5)) {
1865 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1875 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1884 return _wrap_new_OtkWidget__SWIG_1(self,args);
1887 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1891 return _wrap_new_OtkWidget__SWIG_1(self,args);
1895 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_Cursor, 0) == -1) {
1904 return _wrap_new_OtkWidget__SWIG_1(self,args);
1907 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1910 return _wrap_new_OtkWidget__SWIG_1(self,args);
1918 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1923 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1924 PyObject *resultobj;
1925 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1926 PyObject * obj0 = 0 ;
1928 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 Py_INCREF(Py_None); resultobj = Py_None;
1939 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
1940 PyObject *resultobj;
1941 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1942 PyObject * obj0 = 0 ;
1944 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
1945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1948 Py_INCREF(Py_None); resultobj = Py_None;
1955 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
1956 PyObject *resultobj;
1957 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1958 XExposeEvent *arg2 = 0 ;
1959 PyObject * obj0 = 0 ;
1960 PyObject * obj1 = 0 ;
1962 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
1963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1968 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1970 Py_INCREF(Py_None); resultobj = Py_None;
1977 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
1978 PyObject *resultobj;
1979 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1980 XConfigureEvent *arg2 = 0 ;
1981 PyObject * obj0 = 0 ;
1982 PyObject * obj1 = 0 ;
1984 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1990 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1992 Py_INCREF(Py_None); resultobj = Py_None;
1999 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2000 PyObject *resultobj;
2001 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2003 PyObject * obj0 = 0 ;
2005 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 result = ((otk::OtkWidget const *)arg1)->window();
2011 resultptr = new Window((Window &) result);
2012 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
2020 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2021 PyObject *resultobj;
2022 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2023 otk::OtkWidget *result;
2024 PyObject * obj0 = 0 ;
2026 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2028 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2037 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2038 PyObject *resultobj;
2039 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2040 otk::OtkWidget::OtkWidgetList *result;
2041 PyObject * obj0 = 0 ;
2043 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2047 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2057 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2058 PyObject *resultobj;
2059 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2060 unsigned int result;
2061 PyObject * obj0 = 0 ;
2063 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2067 resultobj = PyInt_FromLong((long)result);
2074 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2075 PyObject *resultobj;
2076 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2078 PyObject * obj0 = 0 ;
2080 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2083 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2084 result = (otk::Rect *) &_result_ref;
2087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2094 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2095 PyObject *resultobj;
2096 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2097 otk::Point *arg2 = 0 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2101 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2107 (arg1)->move((otk::Point const &)*arg2);
2109 Py_INCREF(Py_None); resultobj = Py_None;
2116 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2117 PyObject *resultobj;
2118 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2121 PyObject * obj0 = 0 ;
2123 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2125 (arg1)->move(arg2,arg3);
2127 Py_INCREF(Py_None); resultobj = Py_None;
2134 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2139 argc = PyObject_Length(args);
2140 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2141 argv[ii] = PyTuple_GetItem(args,ii);
2147 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2157 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2165 return _wrap_OtkWidget_move__SWIG_0(self,args);
2173 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2182 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2186 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2189 return _wrap_OtkWidget_move__SWIG_1(self,args);
2195 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2200 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2201 PyObject *resultobj;
2202 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2204 PyObject * obj0 = 0 ;
2206 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2208 (arg1)->setWidth(arg2);
2210 Py_INCREF(Py_None); resultobj = Py_None;
2217 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2218 PyObject *resultobj;
2219 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2221 PyObject * obj0 = 0 ;
2223 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 (arg1)->setHeight(arg2);
2227 Py_INCREF(Py_None); resultobj = Py_None;
2234 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2235 PyObject *resultobj;
2236 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2238 PyObject * obj0 = 0 ;
2240 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 result = (int)((otk::OtkWidget const *)arg1)->width();
2244 resultobj = PyInt_FromLong((long)result);
2251 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2252 PyObject *resultobj;
2253 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2255 PyObject * obj0 = 0 ;
2257 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2259 result = (int)((otk::OtkWidget const *)arg1)->height();
2261 resultobj = PyInt_FromLong((long)result);
2268 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2269 PyObject *resultobj;
2270 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2271 otk::Point *arg2 = 0 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2275 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2281 (arg1)->resize((otk::Point const &)*arg2);
2283 Py_INCREF(Py_None); resultobj = Py_None;
2290 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2291 PyObject *resultobj;
2292 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2295 PyObject * obj0 = 0 ;
2297 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2299 (arg1)->resize(arg2,arg3);
2301 Py_INCREF(Py_None); resultobj = Py_None;
2308 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2313 argc = PyObject_Length(args);
2314 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2315 argv[ii] = PyTuple_GetItem(args,ii);
2321 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2331 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2339 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2347 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2356 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2360 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2363 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2369 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2374 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2375 PyObject *resultobj;
2376 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2377 otk::Rect *arg2 = 0 ;
2378 PyObject * obj0 = 0 ;
2379 PyObject * obj1 = 0 ;
2381 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2387 (arg1)->setGeometry((otk::Rect const &)*arg2);
2389 Py_INCREF(Py_None); resultobj = Py_None;
2396 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2397 PyObject *resultobj;
2398 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2399 otk::Point *arg2 = 0 ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2405 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2411 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2413 Py_INCREF(Py_None); resultobj = Py_None;
2420 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2421 PyObject *resultobj;
2422 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2427 PyObject * obj0 = 0 ;
2429 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2433 Py_INCREF(Py_None); resultobj = Py_None;
2440 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2445 argc = PyObject_Length(args);
2446 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2447 argv[ii] = PyTuple_GetItem(args,ii);
2453 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2463 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2471 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2479 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2489 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2498 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2502 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2505 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2515 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2524 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2528 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2532 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2536 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2539 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2547 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2552 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2553 PyObject *resultobj;
2554 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2556 PyObject * obj0 = 0 ;
2558 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2560 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2562 resultobj = PyInt_FromLong((long)result);
2569 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2570 PyObject *resultobj;
2571 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2572 bool arg2 = (bool) false ;
2573 PyObject * obj0 = 0 ;
2574 PyObject * obj1 = 0 ;
2576 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2579 arg2 = (bool) PyInt_AsLong(obj1);
2580 if (PyErr_Occurred()) SWIG_fail;
2584 Py_INCREF(Py_None); resultobj = Py_None;
2591 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2592 PyObject *resultobj;
2593 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2594 bool arg2 = (bool) false ;
2595 PyObject * obj0 = 0 ;
2596 PyObject * obj1 = 0 ;
2598 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2601 arg2 = (bool) PyInt_AsLong(obj1);
2602 if (PyErr_Occurred()) SWIG_fail;
2606 Py_INCREF(Py_None); resultobj = Py_None;
2613 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2614 PyObject *resultobj;
2615 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2617 PyObject * obj0 = 0 ;
2619 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2621 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2623 resultobj = PyInt_FromLong((long)result);
2630 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2631 PyObject *resultobj;
2632 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2633 PyObject * obj0 = 0 ;
2635 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2639 Py_INCREF(Py_None); resultobj = Py_None;
2646 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2647 PyObject *resultobj;
2648 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2649 PyObject * obj0 = 0 ;
2651 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2655 Py_INCREF(Py_None); resultobj = Py_None;
2662 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2663 PyObject *resultobj;
2664 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2666 PyObject * obj0 = 0 ;
2668 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2670 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2672 resultobj = PyInt_FromLong((long)result);
2679 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2680 PyObject *resultobj;
2681 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2683 PyObject * obj0 = 0 ;
2685 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 result = (bool)(arg1)->grabMouse();
2689 resultobj = PyInt_FromLong((long)result);
2696 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2697 PyObject *resultobj;
2698 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2699 PyObject * obj0 = 0 ;
2701 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2703 (arg1)->ungrabMouse();
2705 Py_INCREF(Py_None); resultobj = Py_None;
2712 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2713 PyObject *resultobj;
2714 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2716 PyObject * obj0 = 0 ;
2718 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2722 resultobj = PyInt_FromLong((long)result);
2729 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2730 PyObject *resultobj;
2731 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2733 PyObject * obj0 = 0 ;
2735 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2737 result = (bool)(arg1)->grabKeyboard();
2739 resultobj = PyInt_FromLong((long)result);
2746 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2747 PyObject *resultobj;
2748 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2749 PyObject * obj0 = 0 ;
2751 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2753 (arg1)->ungrabKeyboard();
2755 Py_INCREF(Py_None); resultobj = Py_None;
2762 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2763 PyObject *resultobj;
2764 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2765 otk::BTexture *result;
2766 PyObject * obj0 = 0 ;
2768 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2779 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2780 PyObject *resultobj;
2781 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2782 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2783 PyObject * obj0 = 0 ;
2784 PyObject * obj1 = 0 ;
2786 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2789 (arg1)->setTexture(arg2);
2791 Py_INCREF(Py_None); resultobj = Py_None;
2798 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2799 PyObject *resultobj;
2800 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2801 otk::BColor *result;
2802 PyObject * obj0 = 0 ;
2804 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2815 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2816 PyObject *resultobj;
2817 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2818 otk::BColor *arg2 = (otk::BColor *) 0 ;
2819 PyObject * obj0 = 0 ;
2820 PyObject * obj1 = 0 ;
2822 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 (arg1)->setBorderColor((otk::BColor const *)arg2);
2827 Py_INCREF(Py_None); resultobj = Py_None;
2834 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2835 PyObject *resultobj;
2836 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2838 PyObject * obj0 = 0 ;
2840 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2844 resultobj = PyInt_FromLong((long)result);
2851 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2852 PyObject *resultobj;
2853 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2855 PyObject * obj0 = 0 ;
2857 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 (arg1)->setBorderWidth(arg2);
2861 Py_INCREF(Py_None); resultobj = Py_None;
2868 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2869 PyObject *resultobj;
2870 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2871 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2872 bool arg3 = (bool) false ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj1 = 0 ;
2875 PyObject * obj2 = 0 ;
2877 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2881 arg3 = (bool) PyInt_AsLong(obj2);
2882 if (PyErr_Occurred()) SWIG_fail;
2884 (arg1)->addChild(arg2,arg3);
2886 Py_INCREF(Py_None); resultobj = Py_None;
2893 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2894 PyObject *resultobj;
2895 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2896 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2900 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2903 (arg1)->removeChild(arg2);
2905 Py_INCREF(Py_None); resultobj = Py_None;
2912 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2913 PyObject *resultobj;
2914 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2916 PyObject * obj0 = 0 ;
2918 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2922 resultobj = PyInt_FromLong((long)result);
2929 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2930 PyObject *resultobj;
2931 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2932 bool arg2 = (bool) true ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2936 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 arg2 = (bool) PyInt_AsLong(obj1);
2940 if (PyErr_Occurred()) SWIG_fail;
2942 (arg1)->setStretchableHorz(arg2);
2944 Py_INCREF(Py_None); resultobj = Py_None;
2951 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
2952 PyObject *resultobj;
2953 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2955 PyObject * obj0 = 0 ;
2957 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
2961 resultobj = PyInt_FromLong((long)result);
2968 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
2969 PyObject *resultobj;
2970 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2971 bool arg2 = (bool) true ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2975 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2978 arg2 = (bool) PyInt_AsLong(obj1);
2979 if (PyErr_Occurred()) SWIG_fail;
2981 (arg1)->setStretchableVert(arg2);
2983 Py_INCREF(Py_None); resultobj = Py_None;
2990 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
2991 PyObject *resultobj;
2992 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2994 PyObject * obj0 = 0 ;
2996 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 result = ((otk::OtkWidget const *)arg1)->cursor();
3002 resultptr = new Cursor((Cursor &) result);
3003 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Cursor, 1);
3011 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3012 PyObject *resultobj;
3013 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3016 PyObject * obj0 = 0 ;
3017 PyObject * obj1 = 0 ;
3019 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3021 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3023 (arg1)->setCursor(arg2);
3025 Py_INCREF(Py_None); resultobj = Py_None;
3032 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3033 PyObject *resultobj;
3034 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3036 PyObject * obj0 = 0 ;
3038 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3042 resultobj = PyInt_FromLong((long)result);
3049 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3050 PyObject *resultobj;
3051 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3053 PyObject * obj0 = 0 ;
3055 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3057 (arg1)->setBevelWidth(arg2);
3059 Py_INCREF(Py_None); resultobj = Py_None;
3066 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3067 PyObject *resultobj;
3068 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3070 PyObject * obj0 = 0 ;
3072 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3074 result = (int)((otk::OtkWidget const *)arg1)->direction();
3076 resultobj = PyInt_FromLong((long)result);
3083 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3084 PyObject *resultobj;
3085 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3087 PyObject * obj0 = 0 ;
3089 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3093 Py_INCREF(Py_None); resultobj = Py_None;
3100 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3101 PyObject *resultobj;
3102 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3104 PyObject * obj0 = 0 ;
3106 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3117 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3118 PyObject *resultobj;
3119 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3120 otk::Style *arg2 = (otk::Style *) 0 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3124 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 (arg1)->setStyle(arg2);
3129 Py_INCREF(Py_None); resultobj = Py_None;
3136 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3137 PyObject *resultobj;
3138 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3139 otk::OtkEventDispatcher *result;
3140 PyObject * obj0 = 0 ;
3142 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3144 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3153 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3154 PyObject *resultobj;
3155 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3156 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3160 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 (arg1)->setEventDispatcher(arg2);
3165 Py_INCREF(Py_None); resultobj = Py_None;
3172 static PyObject *_wrap_OtkWidget_unmanaged(PyObject *self, PyObject *args) {
3173 PyObject *resultobj;
3174 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3175 PyObject * obj0 = 0 ;
3177 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unmanaged",&obj0)) goto fail;
3178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3179 (arg1)->unmanaged();
3181 Py_INCREF(Py_None); resultobj = Py_None;
3188 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3191 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3193 return Py_BuildValue((char *)"");
3195 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3196 PyObject *resultobj;
3197 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3198 int arg2 = (int) otk::OtkWidget::Horizontal ;
3199 otk::OtkFocusWidget *result;
3200 PyObject * obj0 = 0 ;
3202 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3204 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3213 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3214 PyObject *resultobj;
3215 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3216 PyObject * obj0 = 0 ;
3218 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222 Py_INCREF(Py_None); resultobj = Py_None;
3229 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3230 PyObject *resultobj;
3231 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3232 PyObject * obj0 = 0 ;
3234 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238 Py_INCREF(Py_None); resultobj = Py_None;
3245 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3246 PyObject *resultobj;
3247 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3248 PyObject * obj0 = 0 ;
3250 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 Py_INCREF(Py_None); resultobj = Py_None;
3261 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3262 PyObject *resultobj;
3263 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3264 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3268 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 (arg1)->setTexture(arg2);
3273 Py_INCREF(Py_None); resultobj = Py_None;
3280 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3281 PyObject *resultobj;
3282 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3283 otk::BColor *arg2 = (otk::BColor *) 0 ;
3284 PyObject * obj0 = 0 ;
3285 PyObject * obj1 = 0 ;
3287 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 (arg1)->setBorderColor((otk::BColor const *)arg2);
3292 Py_INCREF(Py_None); resultobj = Py_None;
3299 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3300 PyObject *resultobj;
3301 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3302 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3306 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 (arg1)->setUnfocusTexture(arg2);
3311 Py_INCREF(Py_None); resultobj = Py_None;
3318 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3319 PyObject *resultobj;
3320 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3321 otk::BTexture *result;
3322 PyObject * obj0 = 0 ;
3324 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3335 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3336 PyObject *resultobj;
3337 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3338 otk::BColor *arg2 = (otk::BColor *) 0 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3342 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3345 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3347 Py_INCREF(Py_None); resultobj = Py_None;
3354 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3355 PyObject *resultobj;
3356 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3357 otk::BColor *result;
3358 PyObject * obj0 = 0 ;
3360 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3371 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3372 PyObject *resultobj;
3373 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3375 PyObject * obj0 = 0 ;
3377 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3381 resultobj = PyInt_FromLong((long)result);
3388 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3389 PyObject *resultobj;
3390 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3392 PyObject * obj0 = 0 ;
3394 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3396 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3398 resultobj = PyInt_FromLong((long)result);
3405 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3408 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3410 return Py_BuildValue((char *)"");
3412 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3413 PyObject *resultobj;
3414 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3415 otk::OtkFocusLabel *result;
3416 PyObject * obj0 = 0 ;
3418 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3420 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3429 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3430 PyObject *resultobj;
3431 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3432 PyObject * obj0 = 0 ;
3434 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 Py_INCREF(Py_None); resultobj = Py_None;
3445 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3446 PyObject *resultobj;
3447 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3448 std::string *result;
3449 PyObject * obj0 = 0 ;
3451 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3455 result = (std::string *) &_result_ref;
3459 resultobj = PyString_FromString(result->c_str());
3467 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3468 PyObject *resultobj;
3469 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3470 std::string *arg2 = 0 ;
3472 PyObject * obj0 = 0 ;
3473 PyObject * obj1 = 0 ;
3475 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3478 if (PyString_Check(obj1)) {
3479 temp2 = std::string(PyString_AsString(obj1));
3482 SWIG_exception(SWIG_TypeError, "string expected");
3485 (arg1)->setText((std::string const &)*arg2);
3487 Py_INCREF(Py_None); resultobj = Py_None;
3494 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3495 PyObject *resultobj;
3496 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3497 PyObject * obj0 = 0 ;
3499 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3503 Py_INCREF(Py_None); resultobj = Py_None;
3510 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3511 PyObject *resultobj;
3512 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3513 otk::Style *arg2 = (otk::Style *) 0 ;
3514 PyObject * obj0 = 0 ;
3515 PyObject * obj1 = 0 ;
3517 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3520 (arg1)->setStyle(arg2);
3522 Py_INCREF(Py_None); resultobj = Py_None;
3529 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3532 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3534 return Py_BuildValue((char *)"");
3536 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3537 PyObject *resultobj;
3538 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3539 int arg2 = (int) otk::OtkWidget::Horizontal ;
3540 Cursor arg3 = (Cursor) 0 ;
3541 int arg4 = (int) 1 ;
3542 otk::OtkAppWidget *result;
3544 PyObject * obj0 = 0 ;
3545 PyObject * obj2 = 0 ;
3547 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3550 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
3553 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3562 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3563 PyObject *resultobj;
3564 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3565 PyObject * obj0 = 0 ;
3567 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3571 Py_INCREF(Py_None); resultobj = Py_None;
3578 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3579 PyObject *resultobj;
3580 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3581 PyObject * obj0 = 0 ;
3583 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3587 Py_INCREF(Py_None); resultobj = Py_None;
3594 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3595 PyObject *resultobj;
3596 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3597 PyObject * obj0 = 0 ;
3599 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3603 Py_INCREF(Py_None); resultobj = Py_None;
3610 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3611 PyObject *resultobj;
3612 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3613 XClientMessageEvent *arg2 = 0 ;
3614 PyObject * obj0 = 0 ;
3615 PyObject * obj1 = 0 ;
3617 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3623 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3625 Py_INCREF(Py_None); resultobj = Py_None;
3632 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3635 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3637 return Py_BuildValue((char *)"");
3639 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3640 PyObject *resultobj;
3642 char **arg2 = (char **) 0 ;
3643 otk::OtkApplication *result;
3644 PyObject * obj1 = 0 ;
3646 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3648 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3657 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3658 PyObject *resultobj;
3659 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3660 PyObject * obj0 = 0 ;
3662 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 Py_INCREF(Py_None); resultobj = Py_None;
3673 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3674 PyObject *resultobj;
3675 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3676 PyObject * obj0 = 0 ;
3678 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3682 Py_INCREF(Py_None); resultobj = Py_None;
3689 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3690 PyObject *resultobj;
3691 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj1 = 0 ;
3696 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 arg2 = (bool) PyInt_AsLong(obj1);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 (arg1)->setDockable(arg2);
3702 Py_INCREF(Py_None); resultobj = Py_None;
3709 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3710 PyObject *resultobj;
3711 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3713 PyObject * obj0 = 0 ;
3715 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3719 resultobj = PyInt_FromLong((long)result);
3726 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3727 PyObject *resultobj;
3728 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3730 PyObject * obj0 = 0 ;
3732 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3743 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3746 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3748 return Py_BuildValue((char *)"");
3750 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3751 PyObject *resultobj;
3752 otk::PointerAssassin *result;
3754 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3755 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3764 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3765 PyObject *resultobj;
3766 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3767 PyObject * obj0 = 0 ;
3769 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3773 Py_INCREF(Py_None); resultobj = Py_None;
3780 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3783 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3785 return Py_BuildValue((char *)"");
3787 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3788 PyObject *resultobj;
3789 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3790 otk::OtkButton *result;
3791 PyObject * obj0 = 0 ;
3793 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3795 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3804 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3805 PyObject *resultobj;
3806 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3807 PyObject * obj0 = 0 ;
3809 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3813 Py_INCREF(Py_None); resultobj = Py_None;
3820 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3821 PyObject *resultobj;
3822 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3823 otk::BTexture *result;
3824 PyObject * obj0 = 0 ;
3826 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3837 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3838 PyObject *resultobj;
3839 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3840 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3841 PyObject * obj0 = 0 ;
3842 PyObject * obj1 = 0 ;
3844 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3847 (arg1)->setPressedFocusTexture(arg2);
3849 Py_INCREF(Py_None); resultobj = Py_None;
3856 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3857 PyObject *resultobj;
3858 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3859 otk::BTexture *result;
3860 PyObject * obj0 = 0 ;
3862 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3864 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3873 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3874 PyObject *resultobj;
3875 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3876 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3877 PyObject * obj0 = 0 ;
3878 PyObject * obj1 = 0 ;
3880 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 (arg1)->setPressedUnfocusTexture(arg2);
3885 Py_INCREF(Py_None); resultobj = Py_None;
3892 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3893 PyObject *resultobj;
3894 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3895 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3896 PyObject * obj0 = 0 ;
3897 PyObject * obj1 = 0 ;
3899 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3902 (arg1)->setTexture(arg2);
3904 Py_INCREF(Py_None); resultobj = Py_None;
3911 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3912 PyObject *resultobj;
3913 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3914 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3918 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3921 (arg1)->setUnfocusTexture(arg2);
3923 Py_INCREF(Py_None); resultobj = Py_None;
3930 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3931 PyObject *resultobj;
3932 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3934 PyObject * obj0 = 0 ;
3936 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3940 resultobj = PyInt_FromLong((long)result);
3947 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3948 PyObject *resultobj;
3949 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3954 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3956 arg2 = (unsigned int) PyInt_AsLong(obj1);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 (arg1)->press(arg2);
3960 Py_INCREF(Py_None); resultobj = Py_None;
3967 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
3968 PyObject *resultobj;
3969 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3974 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
3975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3976 arg2 = (unsigned int) PyInt_AsLong(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 (arg1)->release(arg2);
3980 Py_INCREF(Py_None); resultobj = Py_None;
3987 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
3988 PyObject *resultobj;
3989 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3990 XButtonEvent *arg2 = 0 ;
3991 PyObject * obj0 = 0 ;
3992 PyObject * obj1 = 0 ;
3994 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4000 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4002 Py_INCREF(Py_None); resultobj = Py_None;
4009 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4010 PyObject *resultobj;
4011 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4012 XButtonEvent *arg2 = 0 ;
4013 PyObject * obj0 = 0 ;
4014 PyObject * obj1 = 0 ;
4016 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4022 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4024 Py_INCREF(Py_None); resultobj = Py_None;
4031 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4032 PyObject *resultobj;
4033 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4034 otk::Style *arg2 = (otk::Style *) 0 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4038 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4041 (arg1)->setStyle(arg2);
4043 Py_INCREF(Py_None); resultobj = Py_None;
4050 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4053 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4055 return Py_BuildValue((char *)"");
4057 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4058 PyObject *resultobj;
4059 unsigned int arg1 = (unsigned int) ~(0u) ;
4060 otk::BColor *result;
4061 PyObject * obj0 = 0 ;
4063 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4065 arg1 = (unsigned int) PyInt_AsLong(obj0);
4066 if (PyErr_Occurred()) SWIG_fail;
4068 result = (otk::BColor *)new otk::BColor(arg1);
4070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4077 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4078 PyObject *resultobj;
4082 unsigned int arg4 = (unsigned int) ~(0u) ;
4083 otk::BColor *result;
4084 PyObject * obj3 = 0 ;
4086 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4088 arg4 = (unsigned int) PyInt_AsLong(obj3);
4089 if (PyErr_Occurred()) SWIG_fail;
4091 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4100 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4101 PyObject *resultobj;
4102 std::string *arg1 = 0 ;
4103 unsigned int arg2 = (unsigned int) ~(0u) ;
4104 otk::BColor *result;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4109 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4111 if (PyString_Check(obj0)) {
4112 temp1 = std::string(PyString_AsString(obj0));
4115 SWIG_exception(SWIG_TypeError, "string expected");
4119 arg2 = (unsigned int) PyInt_AsLong(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4122 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4131 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4136 argc = PyObject_Length(args);
4137 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4138 argv[ii] = PyTuple_GetItem(args,ii);
4140 if ((argc >= 0) && (argc <= 1)) {
4143 return _wrap_new_BColor__SWIG_0(self,args);
4146 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4149 return _wrap_new_BColor__SWIG_0(self,args);
4152 if ((argc >= 1) && (argc <= 2)) {
4155 _v = PyString_Check(argv[0]) ? 1 : 0;
4159 return _wrap_new_BColor__SWIG_2(self,args);
4162 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4165 return _wrap_new_BColor__SWIG_2(self,args);
4169 if ((argc >= 3) && (argc <= 4)) {
4172 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4176 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4180 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4184 return _wrap_new_BColor__SWIG_1(self,args);
4187 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4190 return _wrap_new_BColor__SWIG_1(self,args);
4197 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4202 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4203 PyObject *resultobj;
4204 otk::BColor *arg1 = (otk::BColor *) 0 ;
4205 PyObject * obj0 = 0 ;
4207 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4211 Py_INCREF(Py_None); resultobj = Py_None;
4218 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4219 PyObject *resultobj;
4220 otk::BColor *arg1 = (otk::BColor *) 0 ;
4221 std::string *result;
4222 PyObject * obj0 = 0 ;
4224 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4227 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4228 result = (std::string *) &_result_ref;
4232 resultobj = PyString_FromString(result->c_str());
4240 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4241 PyObject *resultobj;
4242 otk::BColor *arg1 = (otk::BColor *) 0 ;
4244 PyObject * obj0 = 0 ;
4246 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 result = (int)((otk::BColor const *)arg1)->red();
4250 resultobj = PyInt_FromLong((long)result);
4257 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4258 PyObject *resultobj;
4259 otk::BColor *arg1 = (otk::BColor *) 0 ;
4261 PyObject * obj0 = 0 ;
4263 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 result = (int)((otk::BColor const *)arg1)->green();
4267 resultobj = PyInt_FromLong((long)result);
4274 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4275 PyObject *resultobj;
4276 otk::BColor *arg1 = (otk::BColor *) 0 ;
4278 PyObject * obj0 = 0 ;
4280 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4282 result = (int)((otk::BColor const *)arg1)->blue();
4284 resultobj = PyInt_FromLong((long)result);
4291 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4292 PyObject *resultobj;
4293 otk::BColor *arg1 = (otk::BColor *) 0 ;
4297 PyObject * obj0 = 0 ;
4299 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 (arg1)->setRGB(arg2,arg3,arg4);
4303 Py_INCREF(Py_None); resultobj = Py_None;
4310 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4311 PyObject *resultobj;
4312 otk::BColor *arg1 = (otk::BColor *) 0 ;
4313 unsigned int result;
4314 PyObject * obj0 = 0 ;
4316 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4320 resultobj = PyInt_FromLong((long)result);
4327 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4328 PyObject *resultobj;
4329 otk::BColor *arg1 = (otk::BColor *) 0 ;
4330 unsigned int arg2 = (unsigned int) ~(0u) ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4334 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 arg2 = (unsigned int) PyInt_AsLong(obj1);
4338 if (PyErr_Occurred()) SWIG_fail;
4340 (arg1)->setScreen(arg2);
4342 Py_INCREF(Py_None); resultobj = Py_None;
4349 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4350 PyObject *resultobj;
4351 otk::BColor *arg1 = (otk::BColor *) 0 ;
4353 PyObject * obj0 = 0 ;
4355 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4357 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4359 resultobj = PyInt_FromLong((long)result);
4366 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4367 PyObject *resultobj;
4368 otk::BColor *arg1 = (otk::BColor *) 0 ;
4370 PyObject * obj0 = 0 ;
4372 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4374 result = (bool)((otk::BColor const *)arg1)->isValid();
4376 resultobj = PyInt_FromLong((long)result);
4383 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4384 PyObject *resultobj;
4385 otk::BColor *arg1 = (otk::BColor *) 0 ;
4386 unsigned long result;
4387 PyObject * obj0 = 0 ;
4389 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4393 resultobj = PyInt_FromLong((long)result);
4400 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4401 PyObject *resultobj;
4402 otk::BColor *arg1 = (otk::BColor *) 0 ;
4403 otk::BColor *arg2 = 0 ;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4408 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4414 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4416 resultobj = PyInt_FromLong((long)result);
4423 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4424 PyObject *resultobj;
4426 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4427 otk::BColor::cleanupColorCache();
4429 Py_INCREF(Py_None); resultobj = Py_None;
4436 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4439 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4441 return Py_BuildValue((char *)"");
4443 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4444 PyObject *resultobj;
4445 std::string *arg1 = 0 ;
4446 bool arg2 = (bool) True ;
4447 otk::Configuration *result;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4452 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4454 if (PyString_Check(obj0)) {
4455 temp1 = std::string(PyString_AsString(obj0));
4458 SWIG_exception(SWIG_TypeError, "string expected");
4462 arg2 = (bool) PyInt_AsLong(obj1);
4463 if (PyErr_Occurred()) SWIG_fail;
4465 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4474 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4475 PyObject *resultobj;
4476 bool arg1 = (bool) True ;
4477 otk::Configuration *result;
4478 PyObject * obj0 = 0 ;
4480 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4482 arg1 = (bool) PyInt_AsLong(obj0);
4483 if (PyErr_Occurred()) SWIG_fail;
4485 result = (otk::Configuration *)new otk::Configuration(arg1);
4487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4494 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4499 argc = PyObject_Length(args);
4500 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4501 argv[ii] = PyTuple_GetItem(args,ii);
4503 if ((argc >= 0) && (argc <= 1)) {
4506 return _wrap_new_Configuration__SWIG_1(self,args);
4509 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4512 return _wrap_new_Configuration__SWIG_1(self,args);
4515 if ((argc >= 1) && (argc <= 2)) {
4518 _v = PyString_Check(argv[0]) ? 1 : 0;
4522 return _wrap_new_Configuration__SWIG_0(self,args);
4525 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4528 return _wrap_new_Configuration__SWIG_0(self,args);
4533 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4538 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4539 PyObject *resultobj;
4540 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4541 PyObject * obj0 = 0 ;
4543 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4547 Py_INCREF(Py_None); resultobj = Py_None;
4554 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4555 PyObject *resultobj;
4556 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4557 std::string *result;
4558 PyObject * obj0 = 0 ;
4560 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4564 result = (std::string *) &_result_ref;
4568 resultobj = PyString_FromString(result->c_str());
4576 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4577 PyObject *resultobj;
4578 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4579 std::string *arg2 = 0 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4584 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4587 if (PyString_Check(obj1)) {
4588 temp2 = std::string(PyString_AsString(obj1));
4591 SWIG_exception(SWIG_TypeError, "string expected");
4594 (arg1)->setFile((std::string const &)*arg2);
4596 Py_INCREF(Py_None); resultobj = Py_None;
4603 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4604 PyObject *resultobj;
4605 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4607 PyObject * obj0 = 0 ;
4609 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4611 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4613 resultobj = PyInt_FromLong((long)result);
4620 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4621 PyObject *resultobj;
4622 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4627 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4629 arg2 = (bool) PyInt_AsLong(obj1);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 (arg1)->setAutoSave(arg2);
4633 Py_INCREF(Py_None); resultobj = Py_None;
4640 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4641 PyObject *resultobj;
4642 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4644 PyObject * obj0 = 0 ;
4646 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4648 result = (bool)((otk::Configuration const *)arg1)->isModified();
4650 resultobj = PyInt_FromLong((long)result);
4657 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4658 PyObject *resultobj;
4659 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4660 PyObject * obj0 = 0 ;
4662 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4666 Py_INCREF(Py_None); resultobj = Py_None;
4673 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4674 PyObject *resultobj;
4675 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4677 PyObject * obj0 = 0 ;
4679 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4681 result = (bool)(arg1)->load();
4683 resultobj = PyInt_FromLong((long)result);
4690 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4691 PyObject *resultobj;
4692 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4693 std::string *arg2 = 0 ;
4694 bool arg3 = (bool) False ;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 PyObject * obj2 = 0 ;
4701 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 if (PyString_Check(obj1)) {
4705 temp2 = std::string(PyString_AsString(obj1));
4708 SWIG_exception(SWIG_TypeError, "string expected");
4712 arg3 = (bool) PyInt_AsLong(obj2);
4713 if (PyErr_Occurred()) SWIG_fail;
4715 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4717 resultobj = PyInt_FromLong((long)result);
4724 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4725 PyObject *resultobj;
4726 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4727 PyObject * obj0 = 0 ;
4729 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4733 Py_INCREF(Py_None); resultobj = Py_None;
4740 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4741 PyObject *resultobj;
4742 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4743 std::string *arg2 = 0 ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4750 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4753 if (PyString_Check(obj1)) {
4754 temp2 = std::string(PyString_AsString(obj1));
4757 SWIG_exception(SWIG_TypeError, "string expected");
4760 arg3 = (bool) PyInt_AsLong(obj2);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 (arg1)->setValue((std::string const &)*arg2,arg3);
4764 Py_INCREF(Py_None); resultobj = Py_None;
4771 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4772 PyObject *resultobj;
4773 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4774 std::string *arg2 = 0 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4780 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4783 if (PyString_Check(obj1)) {
4784 temp2 = std::string(PyString_AsString(obj1));
4787 SWIG_exception(SWIG_TypeError, "string expected");
4790 (arg1)->setValue((std::string const &)*arg2,arg3);
4792 Py_INCREF(Py_None); resultobj = Py_None;
4799 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4800 PyObject *resultobj;
4801 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4802 std::string *arg2 = 0 ;
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj2 = 0 ;
4809 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4812 if (PyString_Check(obj1)) {
4813 temp2 = std::string(PyString_AsString(obj1));
4816 SWIG_exception(SWIG_TypeError, "string expected");
4819 arg3 = (unsigned int) PyInt_AsLong(obj2);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 (arg1)->setValue((std::string const &)*arg2,arg3);
4823 Py_INCREF(Py_None); resultobj = Py_None;
4830 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4831 PyObject *resultobj;
4832 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4833 std::string *arg2 = 0 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4839 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4842 if (PyString_Check(obj1)) {
4843 temp2 = std::string(PyString_AsString(obj1));
4846 SWIG_exception(SWIG_TypeError, "string expected");
4849 (arg1)->setValue((std::string const &)*arg2,arg3);
4851 Py_INCREF(Py_None); resultobj = Py_None;
4858 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4859 PyObject *resultobj;
4860 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4861 std::string *arg2 = 0 ;
4862 unsigned long arg3 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4868 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 if (PyString_Check(obj1)) {
4872 temp2 = std::string(PyString_AsString(obj1));
4875 SWIG_exception(SWIG_TypeError, "string expected");
4878 arg3 = (unsigned long) PyInt_AsLong(obj2);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 (arg1)->setValue((std::string const &)*arg2,arg3);
4882 Py_INCREF(Py_None); resultobj = Py_None;
4889 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4890 PyObject *resultobj;
4891 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4892 std::string *arg2 = 0 ;
4893 std::string *arg3 = 0 ;
4896 PyObject * obj0 = 0 ;
4897 PyObject * obj1 = 0 ;
4898 PyObject * obj2 = 0 ;
4900 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4903 if (PyString_Check(obj1)) {
4904 temp2 = std::string(PyString_AsString(obj1));
4907 SWIG_exception(SWIG_TypeError, "string expected");
4911 if (PyString_Check(obj2)) {
4912 temp3 = std::string(PyString_AsString(obj2));
4915 SWIG_exception(SWIG_TypeError, "string expected");
4918 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4920 Py_INCREF(Py_None); resultobj = Py_None;
4927 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4928 PyObject *resultobj;
4929 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4930 std::string *arg2 = 0 ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4936 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4939 if (PyString_Check(obj1)) {
4940 temp2 = std::string(PyString_AsString(obj1));
4943 SWIG_exception(SWIG_TypeError, "string expected");
4946 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4948 Py_INCREF(Py_None); resultobj = Py_None;
4955 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4956 PyObject *resultobj;
4957 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4958 std::string *arg2 = 0 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 PyObject * obj2 = 0 ;
4966 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4969 if (PyString_Check(obj1)) {
4970 temp2 = std::string(PyString_AsString(obj1));
4973 SWIG_exception(SWIG_TypeError, "string expected");
4976 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4980 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
4982 resultobj = PyInt_FromLong((long)result);
4989 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
4990 PyObject *resultobj;
4991 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4992 std::string *arg2 = 0 ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
5000 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 if (PyString_Check(obj1)) {
5004 temp2 = std::string(PyString_AsString(obj1));
5007 SWIG_exception(SWIG_TypeError, "string expected");
5010 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5014 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5016 resultobj = PyInt_FromLong((long)result);
5023 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5024 PyObject *resultobj;
5025 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5026 std::string *arg2 = 0 ;
5027 unsigned int *arg3 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 PyObject * obj2 = 0 ;
5034 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 if (PyString_Check(obj1)) {
5038 temp2 = std::string(PyString_AsString(obj1));
5041 SWIG_exception(SWIG_TypeError, "string expected");
5044 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5048 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5050 resultobj = PyInt_FromLong((long)result);
5057 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5058 PyObject *resultobj;
5059 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5060 std::string *arg2 = 0 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 PyObject * obj2 = 0 ;
5068 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5071 if (PyString_Check(obj1)) {
5072 temp2 = std::string(PyString_AsString(obj1));
5075 SWIG_exception(SWIG_TypeError, "string expected");
5078 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5082 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5084 resultobj = PyInt_FromLong((long)result);
5091 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5092 PyObject *resultobj;
5093 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5094 std::string *arg2 = 0 ;
5095 unsigned long *arg3 = 0 ;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 PyObject * obj2 = 0 ;
5102 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5105 if (PyString_Check(obj1)) {
5106 temp2 = std::string(PyString_AsString(obj1));
5109 SWIG_exception(SWIG_TypeError, "string expected");
5112 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5116 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5118 resultobj = PyInt_FromLong((long)result);
5125 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5126 PyObject *resultobj;
5127 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5128 std::string *arg2 = 0 ;
5129 std::string *arg3 = 0 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 PyObject * obj2 = 0 ;
5136 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 if (PyString_Check(obj1)) {
5140 temp2 = std::string(PyString_AsString(obj1));
5143 SWIG_exception(SWIG_TypeError, "string expected");
5146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5150 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5152 resultobj = PyInt_FromLong((long)result);
5159 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5164 argc = PyObject_Length(args);
5165 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5166 argv[ii] = PyTuple_GetItem(args,ii);
5172 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5181 _v = PyString_Check(argv[1]) ? 1 : 0;
5186 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5194 return _wrap_Configuration_getValue__SWIG_0(self,args);
5203 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5212 _v = PyString_Check(argv[1]) ? 1 : 0;
5217 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5225 return _wrap_Configuration_getValue__SWIG_1(self,args);
5234 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5243 _v = PyString_Check(argv[1]) ? 1 : 0;
5248 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5256 return _wrap_Configuration_getValue__SWIG_2(self,args);
5265 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5274 _v = PyString_Check(argv[1]) ? 1 : 0;
5279 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5287 return _wrap_Configuration_getValue__SWIG_3(self,args);
5296 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5305 _v = PyString_Check(argv[1]) ? 1 : 0;
5310 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5318 return _wrap_Configuration_getValue__SWIG_4(self,args);
5327 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5336 _v = PyString_Check(argv[1]) ? 1 : 0;
5341 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5349 return _wrap_Configuration_getValue__SWIG_5(self,args);
5355 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5360 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5363 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5365 return Py_BuildValue((char *)"");
5367 static int _wrap_OBDisplay_display_set(PyObject *_val) {
5370 if ((SWIG_ConvertPtr(_val,(void **) &temp, SWIGTYPE_p_Display, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) {
5371 PyErr_SetString(PyExc_TypeError, "C variable 'otk::OBDisplay::display (Display *)'");
5374 otk::OBDisplay::display = (Display *) temp;
5380 static PyObject *_wrap_OBDisplay_display_get() {
5383 pyobj = SWIG_NewPointerObj((void *) otk::OBDisplay::display, SWIGTYPE_p_Display, 0);
5388 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5389 PyObject *resultobj;
5392 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5393 otk::OBDisplay::initialize(arg1);
5395 Py_INCREF(Py_None); resultobj = Py_None;
5402 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5403 PyObject *resultobj;
5405 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5406 otk::OBDisplay::destroy();
5408 Py_INCREF(Py_None); resultobj = Py_None;
5415 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5416 PyObject *resultobj;
5417 otk::BGCCache *result;
5419 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5420 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5429 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5430 PyObject *resultobj;
5432 otk::ScreenInfo *result;
5434 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5435 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5444 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5445 PyObject *resultobj;
5448 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5449 result = (bool)otk::OBDisplay::shape();
5451 resultobj = PyInt_FromLong((long)result);
5458 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5459 PyObject *resultobj;
5462 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5463 result = (int)otk::OBDisplay::shapeEventBase();
5465 resultobj = PyInt_FromLong((long)result);
5472 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5473 PyObject *resultobj;
5476 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5477 result = (bool)otk::OBDisplay::xinerama();
5479 resultobj = PyInt_FromLong((long)result);
5486 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5487 PyObject *resultobj;
5489 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5490 otk::OBDisplay::grab();
5492 Py_INCREF(Py_None); resultobj = Py_None;
5499 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5500 PyObject *resultobj;
5502 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5503 otk::OBDisplay::ungrab();
5505 Py_INCREF(Py_None); resultobj = Py_None;
5512 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5513 PyObject *resultobj;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 PyObject * obj2 = 0 ;
5530 PyObject * obj3 = 0 ;
5531 PyObject * obj4 = 0 ;
5532 PyObject * obj7 = 0 ;
5533 PyObject * obj8 = 0 ;
5534 PyObject * obj9 = 0 ;
5536 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5537 arg1 = (unsigned int) PyInt_AsLong(obj0);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 arg2 = (unsigned int) PyInt_AsLong(obj1);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5543 arg4 = (bool) PyInt_AsLong(obj3);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 arg5 = (unsigned int) PyInt_AsLong(obj4);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5549 if ((SWIG_ConvertPtr(obj8,(void **) &argp9, SWIGTYPE_p_Cursor,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5551 arg10 = (bool) PyInt_AsLong(obj9);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5555 Py_INCREF(Py_None); resultobj = Py_None;
5562 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5563 PyObject *resultobj;
5568 PyObject * obj0 = 0 ;
5569 PyObject * obj1 = 0 ;
5570 PyObject * obj2 = 0 ;
5572 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5573 arg1 = (unsigned int) PyInt_AsLong(obj0);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 arg2 = (unsigned int) PyInt_AsLong(obj1);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5579 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5581 Py_INCREF(Py_None); resultobj = Py_None;
5588 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5589 PyObject *resultobj;
5590 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5591 PyObject * obj0 = 0 ;
5593 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 Py_INCREF(Py_None); resultobj = Py_None;
5604 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5609 return Py_BuildValue((char *)"");
5611 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5612 PyObject *resultobj;
5615 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5616 result = otk::BFont::fallbackFont();
5619 resultobj = PyString_FromString((&result)->c_str());
5627 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5628 PyObject *resultobj;
5629 std::string *arg1 = 0 ;
5631 PyObject * obj0 = 0 ;
5633 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5635 if (PyString_Check(obj0)) {
5636 temp1 = std::string(PyString_AsString(obj0));
5639 SWIG_exception(SWIG_TypeError, "string expected");
5642 otk::BFont::setFallbackFont((std::string const &)*arg1);
5644 Py_INCREF(Py_None); resultobj = Py_None;
5651 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5652 PyObject *resultobj;
5654 std::string *arg2 = 0 ;
5656 unsigned char arg4 ;
5657 unsigned char arg5 ;
5660 PyObject * obj1 = 0 ;
5661 PyObject * obj2 = 0 ;
5662 PyObject * obj3 = 0 ;
5663 PyObject * obj4 = 0 ;
5665 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5667 if (PyString_Check(obj1)) {
5668 temp2 = std::string(PyString_AsString(obj1));
5671 SWIG_exception(SWIG_TypeError, "string expected");
5674 arg3 = (bool) PyInt_AsLong(obj2);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 arg4 = (unsigned char) PyInt_AsLong(obj3);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 arg5 = (unsigned char) PyInt_AsLong(obj4);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5689 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5690 PyObject *resultobj;
5691 otk::BFont *arg1 = (otk::BFont *) 0 ;
5692 PyObject * obj0 = 0 ;
5694 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 Py_INCREF(Py_None); resultobj = Py_None;
5705 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5706 PyObject *resultobj;
5707 otk::BFont *arg1 = (otk::BFont *) 0 ;
5708 std::string *result;
5709 PyObject * obj0 = 0 ;
5711 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5714 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5715 result = (std::string *) &_result_ref;
5719 resultobj = PyString_FromString(result->c_str());
5727 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5728 PyObject *resultobj;
5729 otk::BFont *arg1 = (otk::BFont *) 0 ;
5730 unsigned int result;
5731 PyObject * obj0 = 0 ;
5733 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 result = (unsigned int)((otk::BFont const *)arg1)->height();
5737 resultobj = PyInt_FromLong((long)result);
5744 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5745 PyObject *resultobj;
5746 otk::BFont *arg1 = (otk::BFont *) 0 ;
5747 unsigned int result;
5748 PyObject * obj0 = 0 ;
5750 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5754 resultobj = PyInt_FromLong((long)result);
5761 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5762 PyObject *resultobj;
5763 otk::BFont *arg1 = (otk::BFont *) 0 ;
5764 std::string *arg2 = 0 ;
5765 bool arg3 = (bool) false ;
5766 unsigned int result;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 PyObject * obj2 = 0 ;
5772 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5775 if (PyString_Check(obj1)) {
5776 temp2 = std::string(PyString_AsString(obj1));
5779 SWIG_exception(SWIG_TypeError, "string expected");
5783 arg3 = (bool) PyInt_AsLong(obj2);
5784 if (PyErr_Occurred()) SWIG_fail;
5786 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5788 resultobj = PyInt_FromLong((long)result);
5795 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5796 PyObject *resultobj;
5797 otk::BFont *arg1 = (otk::BFont *) 0 ;
5798 XftDraw *arg2 = (XftDraw *) 0 ;
5801 otk::BColor *arg5 = 0 ;
5802 std::string *arg6 = 0 ;
5803 bool arg7 = (bool) false ;
5805 PyObject * obj0 = 0 ;
5806 PyObject * obj1 = 0 ;
5807 PyObject * obj4 = 0 ;
5808 PyObject * obj5 = 0 ;
5809 PyObject * obj6 = 0 ;
5811 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5819 if (PyString_Check(obj5)) {
5820 temp6 = std::string(PyString_AsString(obj5));
5823 SWIG_exception(SWIG_TypeError, "string expected");
5827 arg7 = (bool) PyInt_AsLong(obj6);
5828 if (PyErr_Occurred()) SWIG_fail;
5830 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5832 Py_INCREF(Py_None); resultobj = Py_None;
5839 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5842 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5844 return Py_BuildValue((char *)"");
5846 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5847 PyObject *resultobj;
5848 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5849 otk::BColor *arg2 = 0 ;
5850 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 PyObject * obj2 = 0 ;
5858 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5862 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5864 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5867 Py_INCREF(Py_None); resultobj = Py_None;
5874 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5875 PyObject *resultobj;
5876 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5877 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5881 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 (arg1)->set((XFontStruct const *)arg2);
5886 Py_INCREF(Py_None); resultobj = Py_None;
5893 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
5898 argc = PyObject_Length(args);
5899 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
5900 argv[ii] = PyTuple_GetItem(args,ii);
5906 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5916 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5924 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
5932 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
5942 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
5952 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
5961 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5965 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
5969 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
5972 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
5981 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
5986 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
5987 PyObject *resultobj;
5988 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5989 PyObject * obj0 = 0 ;
5991 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 Py_INCREF(Py_None); resultobj = Py_None;
6002 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6005 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6007 return Py_BuildValue((char *)"");
6009 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6010 PyObject *resultobj;
6011 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6013 PyObject * obj0 = 0 ;
6015 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6018 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6019 result = (GC *) &_result_ref;
6022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6029 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6030 PyObject *resultobj;
6031 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6032 PyObject * obj0 = 0 ;
6034 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038 Py_INCREF(Py_None); resultobj = Py_None;
6045 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6048 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6050 return Py_BuildValue((char *)"");
6052 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6053 PyObject *resultobj;
6055 otk::BGCCache *result;
6056 PyObject * obj0 = 0 ;
6058 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6059 arg1 = (unsigned int) PyInt_AsLong(obj0);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6070 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6071 PyObject *resultobj;
6072 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6073 PyObject * obj0 = 0 ;
6075 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 Py_INCREF(Py_None); resultobj = Py_None;
6086 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6087 PyObject *resultobj;
6088 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6089 PyObject * obj0 = 0 ;
6091 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 Py_INCREF(Py_None); resultobj = Py_None;
6102 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6103 PyObject *resultobj;
6104 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6105 otk::BColor *arg2 = 0 ;
6106 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6107 int arg4 = (int) GXcopy ;
6108 int arg5 = (int) ClipByChildren ;
6109 int arg6 = (int) 0 ;
6110 otk::BGCCacheItem *result;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 PyObject * obj2 = 0 ;
6115 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6133 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6134 PyObject *resultobj;
6135 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6136 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6140 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6143 (arg1)->release(arg2);
6145 Py_INCREF(Py_None); resultobj = Py_None;
6152 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6155 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6157 return Py_BuildValue((char *)"");
6159 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6160 PyObject *resultobj;
6161 otk::BColor *arg1 = 0 ;
6162 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6163 int arg3 = (int) 0 ;
6164 int arg4 = (int) GXcopy ;
6165 int arg5 = (int) ClipByChildren ;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6170 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6178 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6187 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6188 PyObject *resultobj;
6189 otk::BPen *arg1 = (otk::BPen *) 0 ;
6190 PyObject * obj0 = 0 ;
6192 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 Py_INCREF(Py_None); resultobj = Py_None;
6203 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6204 PyObject *resultobj;
6205 otk::BPen *arg1 = (otk::BPen *) 0 ;
6207 PyObject * obj0 = 0 ;
6209 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6212 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6213 result = (GC *) &_result_ref;
6216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6223 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6226 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6228 return Py_BuildValue((char *)"");
6230 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6231 PyObject *resultobj;
6232 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6235 otk::BImage *result;
6236 PyObject * obj0 = 0 ;
6238 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6240 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6249 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6250 PyObject *resultobj;
6251 otk::BImage *arg1 = (otk::BImage *) 0 ;
6252 PyObject * obj0 = 0 ;
6254 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 Py_INCREF(Py_None); resultobj = Py_None;
6265 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6266 PyObject *resultobj;
6267 otk::BImage *arg1 = (otk::BImage *) 0 ;
6268 otk::BTexture *arg2 = 0 ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6273 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6279 result = (arg1)->render((otk::BTexture const &)*arg2);
6283 resultptr = new Pixmap((Pixmap &) result);
6284 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6292 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6295 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6297 return Py_BuildValue((char *)"");
6299 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6300 PyObject *resultobj;
6301 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6302 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6303 bool arg3 = (bool) False ;
6304 int arg4 = (int) 4 ;
6305 unsigned long arg5 = (unsigned long) 300000l ;
6306 unsigned long arg6 = (unsigned long) 200l ;
6307 otk::BImageControl *result;
6308 PyObject * obj0 = 0 ;
6309 PyObject * obj1 = 0 ;
6310 PyObject * obj2 = 0 ;
6311 PyObject * obj4 = 0 ;
6312 PyObject * obj5 = 0 ;
6314 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6318 arg3 = (bool) PyInt_AsLong(obj2);
6319 if (PyErr_Occurred()) SWIG_fail;
6322 arg5 = (unsigned long) PyInt_AsLong(obj4);
6323 if (PyErr_Occurred()) SWIG_fail;
6326 arg6 = (unsigned long) PyInt_AsLong(obj5);
6327 if (PyErr_Occurred()) SWIG_fail;
6329 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6338 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6339 PyObject *resultobj;
6340 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6341 PyObject * obj0 = 0 ;
6343 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6347 Py_INCREF(Py_None); resultobj = Py_None;
6354 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6355 PyObject *resultobj;
6356 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6358 PyObject * obj0 = 0 ;
6360 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 result = (bool)(arg1)->doDither();
6364 resultobj = PyInt_FromLong((long)result);
6371 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6372 PyObject *resultobj;
6373 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6374 otk::ScreenInfo *result;
6375 PyObject * obj0 = 0 ;
6377 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6379 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6388 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6389 PyObject *resultobj;
6390 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6392 PyObject * obj0 = 0 ;
6394 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 result = ((otk::BImageControl const *)arg1)->getDrawable();
6400 resultptr = new Window((Window &) result);
6401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
6409 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6410 PyObject *resultobj;
6411 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6413 PyObject * obj0 = 0 ;
6415 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6417 result = (Visual *)(arg1)->getVisual();
6419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6426 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6427 PyObject *resultobj;
6428 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6430 PyObject * obj0 = 0 ;
6432 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6434 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6436 resultobj = PyInt_FromLong((long)result);
6443 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6444 PyObject *resultobj;
6445 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6447 PyObject * obj0 = 0 ;
6449 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6453 resultobj = PyInt_FromLong((long)result);
6460 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6461 PyObject *resultobj;
6462 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6464 PyObject * obj0 = 0 ;
6466 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6468 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6470 resultobj = PyInt_FromLong((long)result);
6477 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6478 PyObject *resultobj;
6479 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6481 unsigned long result;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6485 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6487 arg2 = (unsigned int) PyInt_AsLong(obj1);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 result = (unsigned long)(arg1)->getSqrt(arg2);
6491 resultobj = PyInt_FromLong((long)result);
6498 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6499 PyObject *resultobj;
6500 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6503 otk::BTexture *arg4 = 0 ;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 PyObject * obj2 = 0 ;
6508 PyObject * obj3 = 0 ;
6510 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 arg2 = (unsigned int) PyInt_AsLong(obj1);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 arg3 = (unsigned int) PyInt_AsLong(obj2);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6520 result = (arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6524 resultptr = new Pixmap((Pixmap &) result);
6525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
6533 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6534 PyObject *resultobj;
6535 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6536 PyObject * obj0 = 0 ;
6538 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 (arg1)->installRootColormap();
6542 Py_INCREF(Py_None); resultobj = Py_None;
6549 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6550 PyObject *resultobj;
6551 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6554 PyObject * obj0 = 0 ;
6555 PyObject * obj1 = 0 ;
6557 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6559 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6561 (arg1)->removeImage(arg2);
6563 Py_INCREF(Py_None); resultobj = Py_None;
6570 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6571 PyObject *resultobj;
6572 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6573 unsigned char **arg2 = (unsigned char **) 0 ;
6574 unsigned char **arg3 = (unsigned char **) 0 ;
6575 unsigned char **arg4 = (unsigned char **) 0 ;
6576 int *arg5 = (int *) 0 ;
6577 int *arg6 = (int *) 0 ;
6578 int *arg7 = (int *) 0 ;
6579 int *arg8 = (int *) 0 ;
6580 int *arg9 = (int *) 0 ;
6581 int *arg10 = (int *) 0 ;
6582 PyObject * obj0 = 0 ;
6583 PyObject * obj1 = 0 ;
6584 PyObject * obj2 = 0 ;
6585 PyObject * obj3 = 0 ;
6586 PyObject * obj4 = 0 ;
6587 PyObject * obj5 = 0 ;
6588 PyObject * obj6 = 0 ;
6589 PyObject * obj7 = 0 ;
6590 PyObject * obj8 = 0 ;
6591 PyObject * obj9 = 0 ;
6593 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6596 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6598 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6599 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6600 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6601 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6603 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6604 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6606 Py_INCREF(Py_None); resultobj = Py_None;
6613 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6614 PyObject *resultobj;
6615 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6616 XColor **arg2 = (XColor **) 0 ;
6617 int *arg3 = (int *) 0 ;
6618 PyObject * obj0 = 0 ;
6619 PyObject * obj1 = 0 ;
6620 PyObject * obj2 = 0 ;
6622 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6625 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6626 (arg1)->getXColorTable(arg2,arg3);
6628 Py_INCREF(Py_None); resultobj = Py_None;
6635 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6636 PyObject *resultobj;
6637 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6640 unsigned int **arg4 = (unsigned int **) 0 ;
6641 unsigned int **arg5 = (unsigned int **) 0 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6648 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6650 arg2 = (unsigned int) PyInt_AsLong(obj1);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 arg3 = (unsigned int) PyInt_AsLong(obj2);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6655 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6656 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6658 Py_INCREF(Py_None); resultobj = Py_None;
6665 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6666 PyObject *resultobj;
6667 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6669 PyObject * obj0 = 0 ;
6670 PyObject * obj1 = 0 ;
6672 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6674 arg2 = (bool) PyInt_AsLong(obj1);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 (arg1)->setDither(arg2);
6678 Py_INCREF(Py_None); resultobj = Py_None;
6685 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6686 PyObject *resultobj;
6687 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6689 PyObject * obj0 = 0 ;
6691 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6693 (arg1)->setColorsPerChannel(arg2);
6695 Py_INCREF(Py_None); resultobj = Py_None;
6702 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6703 PyObject *resultobj;
6704 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6705 PyObject * obj0 = 0 ;
6707 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 otk::BImageControl::timeout(arg1);
6711 Py_INCREF(Py_None); resultobj = Py_None;
6718 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6721 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6723 return Py_BuildValue((char *)"");
6725 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6726 PyObject *resultobj;
6729 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6730 result = (otk::Point *)new otk::Point();
6732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6739 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6740 PyObject *resultobj;
6745 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6746 result = (otk::Point *)new otk::Point(arg1,arg2);
6748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6755 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6760 argc = PyObject_Length(args);
6761 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6762 argv[ii] = PyTuple_GetItem(args,ii);
6765 return _wrap_new_Point__SWIG_0(self,args);
6770 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6774 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6777 return _wrap_new_Point__SWIG_1(self,args);
6782 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6787 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6788 PyObject *resultobj;
6789 otk::Point *arg1 = (otk::Point *) 0 ;
6791 PyObject * obj0 = 0 ;
6793 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797 Py_INCREF(Py_None); resultobj = Py_None;
6804 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6805 PyObject *resultobj;
6806 otk::Point *arg1 = (otk::Point *) 0 ;
6808 PyObject * obj0 = 0 ;
6810 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6812 result = (int)((otk::Point const *)arg1)->x();
6814 resultobj = PyInt_FromLong((long)result);
6821 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6822 PyObject *resultobj;
6823 otk::Point *arg1 = (otk::Point *) 0 ;
6825 PyObject * obj0 = 0 ;
6827 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6831 Py_INCREF(Py_None); resultobj = Py_None;
6838 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6839 PyObject *resultobj;
6840 otk::Point *arg1 = (otk::Point *) 0 ;
6842 PyObject * obj0 = 0 ;
6844 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 result = (int)((otk::Point const *)arg1)->y();
6848 resultobj = PyInt_FromLong((long)result);
6855 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6856 PyObject *resultobj;
6857 otk::Point *arg1 = (otk::Point *) 0 ;
6860 PyObject * obj0 = 0 ;
6862 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 (arg1)->setPoint(arg2,arg3);
6866 Py_INCREF(Py_None); resultobj = Py_None;
6873 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6874 PyObject *resultobj;
6875 otk::Point *arg1 = (otk::Point *) 0 ;
6876 PyObject * obj0 = 0 ;
6878 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6882 Py_INCREF(Py_None); resultobj = Py_None;
6889 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
6891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6892 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
6894 return Py_BuildValue((char *)"");
6896 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
6897 PyObject *resultobj;
6898 otk::OBProperty *result;
6900 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
6901 result = (otk::OBProperty *)new otk::OBProperty();
6903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
6910 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
6911 PyObject *resultobj;
6912 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6913 PyObject * obj0 = 0 ;
6915 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
6916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6919 Py_INCREF(Py_None); resultobj = Py_None;
6926 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
6927 PyObject *resultobj;
6928 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6932 unsigned long arg5 ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 PyObject * obj4 = 0 ;
6938 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6940 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6942 arg5 = (unsigned long) PyInt_AsLong(obj4);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
6946 Py_INCREF(Py_None); resultobj = Py_None;
6953 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
6954 PyObject *resultobj;
6955 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6959 unsigned long *arg5 ;
6962 PyObject * obj0 = 0 ;
6963 PyObject * obj1 = 0 ;
6964 PyObject * obj4 = 0 ;
6966 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6970 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6971 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
6973 Py_INCREF(Py_None); resultobj = Py_None;
6980 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
6981 PyObject *resultobj;
6982 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
6986 std::string *arg5 = 0 ;
6989 PyObject * obj0 = 0 ;
6990 PyObject * obj1 = 0 ;
6991 PyObject * obj4 = 0 ;
6993 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
6994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6995 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6998 if (PyString_Check(obj4)) {
6999 temp5 = std::string(PyString_AsString(obj4));
7002 SWIG_exception(SWIG_TypeError, "string expected");
7005 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7007 Py_INCREF(Py_None); resultobj = Py_None;
7014 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7015 PyObject *resultobj;
7016 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7020 otk::OBProperty::StringVect *arg5 = 0 ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 PyObject * obj4 = 0 ;
7026 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7030 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7034 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7036 Py_INCREF(Py_None); resultobj = Py_None;
7043 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7048 argc = PyObject_Length(args);
7049 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7050 argv[ii] = PyTuple_GetItem(args,ii);
7056 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7066 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7075 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7079 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7084 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7092 return _wrap_OBProperty_set__SWIG_3(self,args);
7103 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7113 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7122 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7126 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7130 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7133 return _wrap_OBProperty_set__SWIG_0(self,args);
7144 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7154 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7163 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7167 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7171 _v = PyString_Check(argv[4]) ? 1 : 0;
7174 return _wrap_OBProperty_set__SWIG_2(self,args);
7185 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7195 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7204 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7208 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7213 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7222 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7225 return _wrap_OBProperty_set__SWIG_1(self,args);
7234 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7239 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7240 PyObject *resultobj;
7241 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7245 unsigned long *arg5 = (unsigned long *) 0 ;
7246 unsigned long **arg6 = (unsigned long **) 0 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 PyObject * obj4 = 0 ;
7252 PyObject * obj5 = 0 ;
7254 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7258 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7262 resultobj = PyInt_FromLong((long)result);
7269 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7270 PyObject *resultobj;
7271 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7275 unsigned long *arg5 = (unsigned long *) 0 ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 PyObject * obj4 = 0 ;
7282 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7284 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7286 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7289 resultobj = PyInt_FromLong((long)result);
7296 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7297 PyObject *resultobj;
7298 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7302 std::string *arg5 = (std::string *) 0 ;
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 PyObject * obj4 = 0 ;
7309 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7311 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7313 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7314 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7316 resultobj = PyInt_FromLong((long)result);
7323 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7324 PyObject *resultobj;
7325 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7329 unsigned long *arg5 = (unsigned long *) 0 ;
7330 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 PyObject * obj4 = 0 ;
7336 PyObject * obj5 = 0 ;
7338 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7340 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7342 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7346 resultobj = PyInt_FromLong((long)result);
7353 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7358 argc = PyObject_Length(args);
7359 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7360 argv[ii] = PyTuple_GetItem(args,ii);
7366 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7376 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7385 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7389 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7394 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7402 return _wrap_OBProperty_get__SWIG_1(self,args);
7413 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7423 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7432 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7436 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7441 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7449 return _wrap_OBProperty_get__SWIG_2(self,args);
7460 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7470 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7479 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7483 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7488 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7498 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7506 return _wrap_OBProperty_get__SWIG_0(self,args);
7518 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7528 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_Window, 0) == -1) {
7537 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7541 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7546 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7556 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7564 return _wrap_OBProperty_get__SWIG_3(self,args);
7573 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7578 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7579 PyObject *resultobj;
7580 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7587 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7589 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Window,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
7591 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7593 Py_INCREF(Py_None); resultobj = Py_None;
7600 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7601 PyObject *resultobj;
7602 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7605 PyObject * obj0 = 0 ;
7607 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 result = ((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7613 resultptr = new Atom((Atom &) result);
7614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Atom, 1);
7622 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7625 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7627 return Py_BuildValue((char *)"");
7629 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7630 PyObject *resultobj;
7633 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7634 result = (otk::Rect *)new otk::Rect();
7636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7643 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7644 PyObject *resultobj;
7651 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7652 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7661 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7662 PyObject *resultobj;
7663 otk::Point *arg1 = 0 ;
7664 otk::Point *arg2 = 0 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7669 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7678 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7687 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7688 PyObject *resultobj;
7689 otk::Rect *arg1 = 0 ;
7691 PyObject * obj0 = 0 ;
7693 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7698 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7707 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7708 PyObject *resultobj;
7709 XRectangle *arg1 = 0 ;
7711 PyObject * obj0 = 0 ;
7713 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7718 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7727 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7732 argc = PyObject_Length(args);
7733 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7734 argv[ii] = PyTuple_GetItem(args,ii);
7737 return _wrap_new_Rect__SWIG_0(self,args);
7743 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7751 return _wrap_new_Rect__SWIG_3(self,args);
7758 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7766 return _wrap_new_Rect__SWIG_4(self,args);
7773 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7783 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7791 return _wrap_new_Rect__SWIG_2(self,args);
7798 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7802 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7806 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7810 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7813 return _wrap_new_Rect__SWIG_1(self,args);
7820 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7825 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7826 PyObject *resultobj;
7827 otk::Rect *arg1 = (otk::Rect *) 0 ;
7829 PyObject * obj0 = 0 ;
7831 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7833 result = (int)((otk::Rect const *)arg1)->left();
7835 resultobj = PyInt_FromLong((long)result);
7842 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7843 PyObject *resultobj;
7844 otk::Rect *arg1 = (otk::Rect *) 0 ;
7846 PyObject * obj0 = 0 ;
7848 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 result = (int)((otk::Rect const *)arg1)->top();
7852 resultobj = PyInt_FromLong((long)result);
7859 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7860 PyObject *resultobj;
7861 otk::Rect *arg1 = (otk::Rect *) 0 ;
7863 PyObject * obj0 = 0 ;
7865 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7867 result = (int)((otk::Rect const *)arg1)->right();
7869 resultobj = PyInt_FromLong((long)result);
7876 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7877 PyObject *resultobj;
7878 otk::Rect *arg1 = (otk::Rect *) 0 ;
7880 PyObject * obj0 = 0 ;
7882 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 result = (int)((otk::Rect const *)arg1)->bottom();
7886 resultobj = PyInt_FromLong((long)result);
7893 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7894 PyObject *resultobj;
7895 otk::Rect *arg1 = (otk::Rect *) 0 ;
7897 PyObject * obj0 = 0 ;
7899 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7901 result = (int)((otk::Rect const *)arg1)->x();
7903 resultobj = PyInt_FromLong((long)result);
7910 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
7911 PyObject *resultobj;
7912 otk::Rect *arg1 = (otk::Rect *) 0 ;
7914 PyObject * obj0 = 0 ;
7916 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
7917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7918 result = (int)((otk::Rect const *)arg1)->y();
7920 resultobj = PyInt_FromLong((long)result);
7927 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
7928 PyObject *resultobj;
7929 otk::Rect *arg1 = (otk::Rect *) 0 ;
7931 PyObject * obj0 = 0 ;
7933 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 result = ((otk::Rect const *)arg1)->location();
7938 otk::Point * resultptr;
7939 resultptr = new otk::Point((otk::Point &) result);
7940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
7948 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
7949 PyObject *resultobj;
7950 otk::Rect *arg1 = (otk::Rect *) 0 ;
7952 PyObject * obj0 = 0 ;
7954 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7958 Py_INCREF(Py_None); resultobj = Py_None;
7965 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
7966 PyObject *resultobj;
7967 otk::Rect *arg1 = (otk::Rect *) 0 ;
7969 PyObject * obj0 = 0 ;
7971 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 Py_INCREF(Py_None); resultobj = Py_None;
7982 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
7983 PyObject *resultobj;
7984 otk::Rect *arg1 = (otk::Rect *) 0 ;
7987 PyObject * obj0 = 0 ;
7989 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 (arg1)->setPos(arg2,arg3);
7993 Py_INCREF(Py_None); resultobj = Py_None;
8000 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8001 PyObject *resultobj;
8002 otk::Rect *arg1 = (otk::Rect *) 0 ;
8003 otk::Point *arg2 = 0 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8007 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8013 (arg1)->setPos((otk::Point const &)*arg2);
8015 Py_INCREF(Py_None); resultobj = Py_None;
8022 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8027 argc = PyObject_Length(args);
8028 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8029 argv[ii] = PyTuple_GetItem(args,ii);
8035 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8045 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8053 return _wrap_Rect_setPos__SWIG_1(self,args);
8061 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8070 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8074 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8077 return _wrap_Rect_setPos__SWIG_0(self,args);
8083 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8088 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8089 PyObject *resultobj;
8090 otk::Rect *arg1 = (otk::Rect *) 0 ;
8092 PyObject * obj0 = 0 ;
8094 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 result = (int)((otk::Rect const *)arg1)->width();
8098 resultobj = PyInt_FromLong((long)result);
8105 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8106 PyObject *resultobj;
8107 otk::Rect *arg1 = (otk::Rect *) 0 ;
8109 PyObject * obj0 = 0 ;
8111 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 result = (int)((otk::Rect const *)arg1)->height();
8115 resultobj = PyInt_FromLong((long)result);
8122 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8123 PyObject *resultobj;
8124 otk::Rect *arg1 = (otk::Rect *) 0 ;
8126 PyObject * obj0 = 0 ;
8128 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8130 result = ((otk::Rect const *)arg1)->size();
8133 otk::Point * resultptr;
8134 resultptr = new otk::Point((otk::Point &) result);
8135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8143 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8144 PyObject *resultobj;
8145 otk::Rect *arg1 = (otk::Rect *) 0 ;
8147 PyObject * obj0 = 0 ;
8149 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8151 (arg1)->setWidth(arg2);
8153 Py_INCREF(Py_None); resultobj = Py_None;
8160 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8161 PyObject *resultobj;
8162 otk::Rect *arg1 = (otk::Rect *) 0 ;
8164 PyObject * obj0 = 0 ;
8166 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 (arg1)->setHeight(arg2);
8170 Py_INCREF(Py_None); resultobj = Py_None;
8177 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8178 PyObject *resultobj;
8179 otk::Rect *arg1 = (otk::Rect *) 0 ;
8182 PyObject * obj0 = 0 ;
8184 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8186 (arg1)->setSize(arg2,arg3);
8188 Py_INCREF(Py_None); resultobj = Py_None;
8195 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8196 PyObject *resultobj;
8197 otk::Rect *arg1 = (otk::Rect *) 0 ;
8198 otk::Point *arg2 = 0 ;
8199 PyObject * obj0 = 0 ;
8200 PyObject * obj1 = 0 ;
8202 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8208 (arg1)->setSize((otk::Point const &)*arg2);
8210 Py_INCREF(Py_None); resultobj = Py_None;
8217 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8222 argc = PyObject_Length(args);
8223 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8224 argv[ii] = PyTuple_GetItem(args,ii);
8230 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8240 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8248 return _wrap_Rect_setSize__SWIG_1(self,args);
8256 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8265 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8269 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8272 return _wrap_Rect_setSize__SWIG_0(self,args);
8278 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8283 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8284 PyObject *resultobj;
8285 otk::Rect *arg1 = (otk::Rect *) 0 ;
8290 PyObject * obj0 = 0 ;
8292 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8294 (arg1)->setRect(arg2,arg3,arg4,arg5);
8296 Py_INCREF(Py_None); resultobj = Py_None;
8303 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8304 PyObject *resultobj;
8305 otk::Rect *arg1 = (otk::Rect *) 0 ;
8306 otk::Point *arg2 = 0 ;
8307 otk::Point *arg3 = 0 ;
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 PyObject * obj2 = 0 ;
8312 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8318 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8322 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8324 Py_INCREF(Py_None); resultobj = Py_None;
8331 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8336 argc = PyObject_Length(args);
8337 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8338 argv[ii] = PyTuple_GetItem(args,ii);
8344 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8354 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8364 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8372 return _wrap_Rect_setRect__SWIG_1(self,args);
8381 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8390 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8394 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8398 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8402 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8405 return _wrap_Rect_setRect__SWIG_0(self,args);
8413 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8418 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8419 PyObject *resultobj;
8420 otk::Rect *arg1 = (otk::Rect *) 0 ;
8425 PyObject * obj0 = 0 ;
8427 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8429 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8431 Py_INCREF(Py_None); resultobj = Py_None;
8438 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8439 PyObject *resultobj;
8440 otk::Rect *arg1 = (otk::Rect *) 0 ;
8441 otk::Point *arg2 = 0 ;
8442 otk::Point *arg3 = 0 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 PyObject * obj2 = 0 ;
8447 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8453 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8457 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8459 Py_INCREF(Py_None); resultobj = Py_None;
8466 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8471 argc = PyObject_Length(args);
8472 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8473 argv[ii] = PyTuple_GetItem(args,ii);
8479 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8489 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8499 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8507 return _wrap_Rect_setCoords__SWIG_1(self,args);
8516 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8525 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8529 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8533 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8537 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8540 return _wrap_Rect_setCoords__SWIG_0(self,args);
8548 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8553 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8554 PyObject *resultobj;
8555 otk::Rect *arg1 = (otk::Rect *) 0 ;
8556 otk::Rect *arg2 = 0 ;
8558 PyObject * obj0 = 0 ;
8559 PyObject * obj1 = 0 ;
8561 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8567 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8569 resultobj = PyInt_FromLong((long)result);
8576 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8577 PyObject *resultobj;
8578 otk::Rect *arg1 = (otk::Rect *) 0 ;
8580 PyObject * obj0 = 0 ;
8582 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8584 result = (bool)((otk::Rect const *)arg1)->valid();
8586 resultobj = PyInt_FromLong((long)result);
8593 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8594 PyObject *resultobj;
8595 otk::Rect *arg1 = (otk::Rect *) 0 ;
8596 otk::Rect *arg2 = 0 ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8601 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8607 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8609 resultobj = PyInt_FromLong((long)result);
8616 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8617 PyObject *resultobj;
8618 otk::Rect *arg1 = (otk::Rect *) 0 ;
8622 PyObject * obj0 = 0 ;
8624 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8626 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8628 resultobj = PyInt_FromLong((long)result);
8635 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8636 PyObject *resultobj;
8637 otk::Rect *arg1 = (otk::Rect *) 0 ;
8638 otk::Point *arg2 = 0 ;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8643 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8649 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8651 resultobj = PyInt_FromLong((long)result);
8658 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8659 PyObject *resultobj;
8660 otk::Rect *arg1 = (otk::Rect *) 0 ;
8661 otk::Rect *arg2 = 0 ;
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
8666 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8672 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8674 resultobj = PyInt_FromLong((long)result);
8681 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8686 argc = PyObject_Length(args);
8687 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8688 argv[ii] = PyTuple_GetItem(args,ii);
8694 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8704 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8712 return _wrap_Rect_contains__SWIG_1(self,args);
8720 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8730 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8738 return _wrap_Rect_contains__SWIG_2(self,args);
8746 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8755 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8759 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8762 return _wrap_Rect_contains__SWIG_0(self,args);
8768 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8773 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8774 PyObject *resultobj;
8775 otk::Rect *arg1 = (otk::Rect *) 0 ;
8776 PyObject * obj0 = 0 ;
8778 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8782 Py_INCREF(Py_None); resultobj = Py_None;
8789 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8792 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8794 return Py_BuildValue((char *)"");
8796 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8797 PyObject *resultobj;
8799 otk::ScreenInfo *result;
8800 PyObject * obj0 = 0 ;
8802 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8803 arg1 = (unsigned int) PyInt_AsLong(obj0);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8814 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8815 PyObject *resultobj;
8816 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8818 PyObject * obj0 = 0 ;
8820 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8822 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8831 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8832 PyObject *resultobj;
8833 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8835 PyObject * obj0 = 0 ;
8837 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 result = ((otk::ScreenInfo const *)arg1)->rootWindow();
8843 resultptr = new Window((Window &) result);
8844 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Window, 1);
8852 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8853 PyObject *resultobj;
8854 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8856 PyObject * obj0 = 0 ;
8858 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 result = ((otk::ScreenInfo const *)arg1)->colormap();
8863 Colormap * resultptr;
8864 resultptr = new Colormap((Colormap &) result);
8865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Colormap, 1);
8873 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8874 PyObject *resultobj;
8875 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8877 PyObject * obj0 = 0 ;
8879 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8881 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8883 resultobj = PyInt_FromLong((long)result);
8890 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8891 PyObject *resultobj;
8892 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8893 unsigned int result;
8894 PyObject * obj0 = 0 ;
8896 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8898 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8900 resultobj = PyInt_FromLong((long)result);
8907 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8908 PyObject *resultobj;
8909 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8911 PyObject * obj0 = 0 ;
8913 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8916 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8917 result = (otk::Rect *) &_result_ref;
8920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8927 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
8928 PyObject *resultobj;
8929 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8930 unsigned int result;
8931 PyObject * obj0 = 0 ;
8933 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
8937 resultobj = PyInt_FromLong((long)result);
8944 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
8945 PyObject *resultobj;
8946 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8947 unsigned int result;
8948 PyObject * obj0 = 0 ;
8950 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
8954 resultobj = PyInt_FromLong((long)result);
8961 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
8962 PyObject *resultobj;
8963 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8964 std::string *result;
8965 PyObject * obj0 = 0 ;
8967 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8970 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
8971 result = (std::string *) &_result_ref;
8975 resultobj = PyString_FromString(result->c_str());
8983 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
8984 PyObject *resultobj;
8985 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8986 PyObject * obj0 = 0 ;
8988 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8992 Py_INCREF(Py_None); resultobj = Py_None;
8999 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9002 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9004 return Py_BuildValue((char *)"");
9006 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9007 PyObject *resultobj;
9008 otk::Strut *arg1 = (otk::Strut *) 0 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9013 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9015 arg2 = (unsigned int) PyInt_AsLong(obj1);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 if (arg1) (arg1)->top = arg2;
9019 Py_INCREF(Py_None); resultobj = Py_None;
9026 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9027 PyObject *resultobj;
9028 otk::Strut *arg1 = (otk::Strut *) 0 ;
9029 unsigned int result;
9030 PyObject * obj0 = 0 ;
9032 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 result = (unsigned int) ((arg1)->top);
9036 resultobj = PyInt_FromLong((long)result);
9043 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9044 PyObject *resultobj;
9045 otk::Strut *arg1 = (otk::Strut *) 0 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9050 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9052 arg2 = (unsigned int) PyInt_AsLong(obj1);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 if (arg1) (arg1)->bottom = arg2;
9056 Py_INCREF(Py_None); resultobj = Py_None;
9063 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9064 PyObject *resultobj;
9065 otk::Strut *arg1 = (otk::Strut *) 0 ;
9066 unsigned int result;
9067 PyObject * obj0 = 0 ;
9069 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 result = (unsigned int) ((arg1)->bottom);
9073 resultobj = PyInt_FromLong((long)result);
9080 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9081 PyObject *resultobj;
9082 otk::Strut *arg1 = (otk::Strut *) 0 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9087 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 arg2 = (unsigned int) PyInt_AsLong(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 if (arg1) (arg1)->left = arg2;
9093 Py_INCREF(Py_None); resultobj = Py_None;
9100 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9101 PyObject *resultobj;
9102 otk::Strut *arg1 = (otk::Strut *) 0 ;
9103 unsigned int result;
9104 PyObject * obj0 = 0 ;
9106 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9108 result = (unsigned int) ((arg1)->left);
9110 resultobj = PyInt_FromLong((long)result);
9117 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9118 PyObject *resultobj;
9119 otk::Strut *arg1 = (otk::Strut *) 0 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9124 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 arg2 = (unsigned int) PyInt_AsLong(obj1);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 if (arg1) (arg1)->right = arg2;
9130 Py_INCREF(Py_None); resultobj = Py_None;
9137 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9138 PyObject *resultobj;
9139 otk::Strut *arg1 = (otk::Strut *) 0 ;
9140 unsigned int result;
9141 PyObject * obj0 = 0 ;
9143 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9145 result = (unsigned int) ((arg1)->right);
9147 resultobj = PyInt_FromLong((long)result);
9154 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9155 PyObject *resultobj;
9158 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9159 result = (otk::Strut *)new otk::Strut();
9161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9168 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9169 PyObject *resultobj;
9176 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9177 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9186 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9191 argc = PyObject_Length(args);
9192 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9193 argv[ii] = PyTuple_GetItem(args,ii);
9196 return _wrap_new_Strut__SWIG_0(self,args);
9201 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9205 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9209 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9213 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9216 return _wrap_new_Strut__SWIG_1(self,args);
9223 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9228 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9229 PyObject *resultobj;
9230 otk::Strut *arg1 = (otk::Strut *) 0 ;
9231 PyObject * obj0 = 0 ;
9233 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 Py_INCREF(Py_None); resultobj = Py_None;
9244 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9247 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9249 return Py_BuildValue((char *)"");
9251 static PyObject *_wrap_PixmapMask_mask_set(PyObject *self, PyObject *args) {
9252 PyObject *resultobj;
9253 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9259 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_mask_set",&obj0,&obj1)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9263 if (arg1) (arg1)->mask = arg2;
9265 Py_INCREF(Py_None); resultobj = Py_None;
9272 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9273 PyObject *resultobj;
9274 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9276 PyObject * obj0 = 0 ;
9278 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9280 result = ((arg1)->mask);
9284 resultptr = new Pixmap((Pixmap &) result);
9285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
9293 static PyObject *_wrap_PixmapMask_w_set(PyObject *self, PyObject *args) {
9294 PyObject *resultobj;
9295 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9300 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_w_set",&obj0,&obj1)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9302 arg2 = (unsigned int) PyInt_AsLong(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 if (arg1) (arg1)->w = arg2;
9306 Py_INCREF(Py_None); resultobj = Py_None;
9313 static PyObject *_wrap_PixmapMask_w_get(PyObject *self, PyObject *args) {
9314 PyObject *resultobj;
9315 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9316 unsigned int result;
9317 PyObject * obj0 = 0 ;
9319 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_w_get",&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 result = (unsigned int) ((arg1)->w);
9323 resultobj = PyInt_FromLong((long)result);
9330 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9331 PyObject *resultobj;
9332 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9334 PyObject * obj0 = 0 ;
9335 PyObject * obj1 = 0 ;
9337 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9339 arg2 = (unsigned int) PyInt_AsLong(obj1);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 if (arg1) (arg1)->h = arg2;
9343 Py_INCREF(Py_None); resultobj = Py_None;
9350 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9351 PyObject *resultobj;
9352 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9353 unsigned int result;
9354 PyObject * obj0 = 0 ;
9356 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9358 result = (unsigned int) ((arg1)->h);
9360 resultobj = PyInt_FromLong((long)result);
9367 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9368 PyObject *resultobj;
9369 otk::PixmapMask *result;
9371 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9372 result = (otk::PixmapMask *)new otk::PixmapMask();
9374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9381 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9382 PyObject *resultobj;
9383 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9384 PyObject * obj0 = 0 ;
9386 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 Py_INCREF(Py_None); resultobj = Py_None;
9397 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9400 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9402 return Py_BuildValue((char *)"");
9404 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9405 PyObject *resultobj;
9406 otk::Style *arg1 = (otk::Style *) 0 ;
9407 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9411 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9414 if (arg1) (arg1)->image_control = arg2;
9416 Py_INCREF(Py_None); resultobj = Py_None;
9423 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9424 PyObject *resultobj;
9425 otk::Style *arg1 = (otk::Style *) 0 ;
9426 otk::BImageControl *result;
9427 PyObject * obj0 = 0 ;
9429 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9431 result = (otk::BImageControl *) ((arg1)->image_control);
9433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9440 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9441 PyObject *resultobj;
9442 otk::Style *arg1 = (otk::Style *) 0 ;
9443 otk::BColor *arg2 = (otk::BColor *) 0 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9447 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 if (arg1) (arg1)->l_text_focus = *arg2;
9452 Py_INCREF(Py_None); resultobj = Py_None;
9459 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9460 PyObject *resultobj;
9461 otk::Style *arg1 = (otk::Style *) 0 ;
9462 otk::BColor *result;
9463 PyObject * obj0 = 0 ;
9465 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 result = (otk::BColor *)& ((arg1)->l_text_focus);
9469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9476 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9477 PyObject *resultobj;
9478 otk::Style *arg1 = (otk::Style *) 0 ;
9479 otk::BColor *arg2 = (otk::BColor *) 0 ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9483 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 if (arg1) (arg1)->l_text_unfocus = *arg2;
9488 Py_INCREF(Py_None); resultobj = Py_None;
9495 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9496 PyObject *resultobj;
9497 otk::Style *arg1 = (otk::Style *) 0 ;
9498 otk::BColor *result;
9499 PyObject * obj0 = 0 ;
9501 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9512 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9513 PyObject *resultobj;
9514 otk::Style *arg1 = (otk::Style *) 0 ;
9515 otk::BColor *arg2 = (otk::BColor *) 0 ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9519 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 if (arg1) (arg1)->b_pic_focus = *arg2;
9524 Py_INCREF(Py_None); resultobj = Py_None;
9531 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9532 PyObject *resultobj;
9533 otk::Style *arg1 = (otk::Style *) 0 ;
9534 otk::BColor *result;
9535 PyObject * obj0 = 0 ;
9537 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9539 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9548 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9549 PyObject *resultobj;
9550 otk::Style *arg1 = (otk::Style *) 0 ;
9551 otk::BColor *arg2 = (otk::BColor *) 0 ;
9552 PyObject * obj0 = 0 ;
9553 PyObject * obj1 = 0 ;
9555 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9560 Py_INCREF(Py_None); resultobj = Py_None;
9567 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9568 PyObject *resultobj;
9569 otk::Style *arg1 = (otk::Style *) 0 ;
9570 otk::BColor *result;
9571 PyObject * obj0 = 0 ;
9573 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9575 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9584 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9585 PyObject *resultobj;
9586 otk::Style *arg1 = (otk::Style *) 0 ;
9587 otk::BColor *arg2 = (otk::BColor *) 0 ;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9591 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 if (arg1) (arg1)->border_color = *arg2;
9596 Py_INCREF(Py_None); resultobj = Py_None;
9603 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9604 PyObject *resultobj;
9605 otk::Style *arg1 = (otk::Style *) 0 ;
9606 otk::BColor *result;
9607 PyObject * obj0 = 0 ;
9609 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 result = (otk::BColor *)& ((arg1)->border_color);
9613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9620 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9621 PyObject *resultobj;
9622 otk::Style *arg1 = (otk::Style *) 0 ;
9623 otk::BFont *arg2 = (otk::BFont *) 0 ;
9624 PyObject * obj0 = 0 ;
9625 PyObject * obj1 = 0 ;
9627 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9630 if (arg1) (arg1)->font = arg2;
9632 Py_INCREF(Py_None); resultobj = Py_None;
9639 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9640 PyObject *resultobj;
9641 otk::Style *arg1 = (otk::Style *) 0 ;
9643 PyObject * obj0 = 0 ;
9645 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 result = (otk::BFont *) ((arg1)->font);
9649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9656 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9657 PyObject *resultobj;
9658 otk::Style *arg1 = (otk::Style *) 0 ;
9659 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9663 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9666 if (arg1) (arg1)->f_focus = *arg2;
9668 Py_INCREF(Py_None); resultobj = Py_None;
9675 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9676 PyObject *resultobj;
9677 otk::Style *arg1 = (otk::Style *) 0 ;
9678 otk::BTexture *result;
9679 PyObject * obj0 = 0 ;
9681 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9683 result = (otk::BTexture *)& ((arg1)->f_focus);
9685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9692 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9693 PyObject *resultobj;
9694 otk::Style *arg1 = (otk::Style *) 0 ;
9695 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9699 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 if (arg1) (arg1)->f_unfocus = *arg2;
9704 Py_INCREF(Py_None); resultobj = Py_None;
9711 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9712 PyObject *resultobj;
9713 otk::Style *arg1 = (otk::Style *) 0 ;
9714 otk::BTexture *result;
9715 PyObject * obj0 = 0 ;
9717 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9728 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9729 PyObject *resultobj;
9730 otk::Style *arg1 = (otk::Style *) 0 ;
9731 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9735 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9738 if (arg1) (arg1)->t_focus = *arg2;
9740 Py_INCREF(Py_None); resultobj = Py_None;
9747 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9748 PyObject *resultobj;
9749 otk::Style *arg1 = (otk::Style *) 0 ;
9750 otk::BTexture *result;
9751 PyObject * obj0 = 0 ;
9753 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9755 result = (otk::BTexture *)& ((arg1)->t_focus);
9757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9764 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9765 PyObject *resultobj;
9766 otk::Style *arg1 = (otk::Style *) 0 ;
9767 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9771 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 if (arg1) (arg1)->t_unfocus = *arg2;
9776 Py_INCREF(Py_None); resultobj = Py_None;
9783 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9784 PyObject *resultobj;
9785 otk::Style *arg1 = (otk::Style *) 0 ;
9786 otk::BTexture *result;
9787 PyObject * obj0 = 0 ;
9789 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9791 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9800 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9801 PyObject *resultobj;
9802 otk::Style *arg1 = (otk::Style *) 0 ;
9803 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9807 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 if (arg1) (arg1)->l_focus = *arg2;
9812 Py_INCREF(Py_None); resultobj = Py_None;
9819 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9820 PyObject *resultobj;
9821 otk::Style *arg1 = (otk::Style *) 0 ;
9822 otk::BTexture *result;
9823 PyObject * obj0 = 0 ;
9825 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9827 result = (otk::BTexture *)& ((arg1)->l_focus);
9829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9836 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9837 PyObject *resultobj;
9838 otk::Style *arg1 = (otk::Style *) 0 ;
9839 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9843 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9846 if (arg1) (arg1)->l_unfocus = *arg2;
9848 Py_INCREF(Py_None); resultobj = Py_None;
9855 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9856 PyObject *resultobj;
9857 otk::Style *arg1 = (otk::Style *) 0 ;
9858 otk::BTexture *result;
9859 PyObject * obj0 = 0 ;
9861 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9863 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9872 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9873 PyObject *resultobj;
9874 otk::Style *arg1 = (otk::Style *) 0 ;
9875 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9876 PyObject * obj0 = 0 ;
9877 PyObject * obj1 = 0 ;
9879 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9882 if (arg1) (arg1)->h_focus = *arg2;
9884 Py_INCREF(Py_None); resultobj = Py_None;
9891 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9892 PyObject *resultobj;
9893 otk::Style *arg1 = (otk::Style *) 0 ;
9894 otk::BTexture *result;
9895 PyObject * obj0 = 0 ;
9897 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9899 result = (otk::BTexture *)& ((arg1)->h_focus);
9901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9908 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9909 PyObject *resultobj;
9910 otk::Style *arg1 = (otk::Style *) 0 ;
9911 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9915 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 if (arg1) (arg1)->h_unfocus = *arg2;
9920 Py_INCREF(Py_None); resultobj = Py_None;
9927 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9928 PyObject *resultobj;
9929 otk::Style *arg1 = (otk::Style *) 0 ;
9930 otk::BTexture *result;
9931 PyObject * obj0 = 0 ;
9933 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9935 result = (otk::BTexture *)& ((arg1)->h_unfocus);
9937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9944 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9945 PyObject *resultobj;
9946 otk::Style *arg1 = (otk::Style *) 0 ;
9947 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9951 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 if (arg1) (arg1)->b_focus = *arg2;
9956 Py_INCREF(Py_None); resultobj = Py_None;
9963 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
9964 PyObject *resultobj;
9965 otk::Style *arg1 = (otk::Style *) 0 ;
9966 otk::BTexture *result;
9967 PyObject * obj0 = 0 ;
9969 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 result = (otk::BTexture *)& ((arg1)->b_focus);
9973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9980 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
9981 PyObject *resultobj;
9982 otk::Style *arg1 = (otk::Style *) 0 ;
9983 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9987 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 if (arg1) (arg1)->b_unfocus = *arg2;
9992 Py_INCREF(Py_None); resultobj = Py_None;
9999 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10000 PyObject *resultobj;
10001 otk::Style *arg1 = (otk::Style *) 0 ;
10002 otk::BTexture *result;
10003 PyObject * obj0 = 0 ;
10005 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10016 static PyObject *_wrap_Style_b_pressed_set(PyObject *self, PyObject *args) {
10017 PyObject *resultobj;
10018 otk::Style *arg1 = (otk::Style *) 0 ;
10019 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10020 PyObject * obj0 = 0 ;
10021 PyObject * obj1 = 0 ;
10023 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_set",&obj0,&obj1)) goto fail;
10024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 if (arg1) (arg1)->b_pressed = *arg2;
10028 Py_INCREF(Py_None); resultobj = Py_None;
10035 static PyObject *_wrap_Style_b_pressed_get(PyObject *self, PyObject *args) {
10036 PyObject *resultobj;
10037 otk::Style *arg1 = (otk::Style *) 0 ;
10038 otk::BTexture *result;
10039 PyObject * obj0 = 0 ;
10041 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_get",&obj0)) goto fail;
10042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10043 result = (otk::BTexture *)& ((arg1)->b_pressed);
10045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10052 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10053 PyObject *resultobj;
10054 otk::Style *arg1 = (otk::Style *) 0 ;
10055 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10059 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10062 if (arg1) (arg1)->b_pressed_focus = *arg2;
10064 Py_INCREF(Py_None); resultobj = Py_None;
10071 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10072 PyObject *resultobj;
10073 otk::Style *arg1 = (otk::Style *) 0 ;
10074 otk::BTexture *result;
10075 PyObject * obj0 = 0 ;
10077 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10088 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10089 PyObject *resultobj;
10090 otk::Style *arg1 = (otk::Style *) 0 ;
10091 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10095 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10098 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10100 Py_INCREF(Py_None); resultobj = Py_None;
10107 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10108 PyObject *resultobj;
10109 otk::Style *arg1 = (otk::Style *) 0 ;
10110 otk::BTexture *result;
10111 PyObject * obj0 = 0 ;
10113 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10115 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10124 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10125 PyObject *resultobj;
10126 otk::Style *arg1 = (otk::Style *) 0 ;
10127 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10131 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 if (arg1) (arg1)->g_focus = *arg2;
10136 Py_INCREF(Py_None); resultobj = Py_None;
10143 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10144 PyObject *resultobj;
10145 otk::Style *arg1 = (otk::Style *) 0 ;
10146 otk::BTexture *result;
10147 PyObject * obj0 = 0 ;
10149 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10151 result = (otk::BTexture *)& ((arg1)->g_focus);
10153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10160 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10161 PyObject *resultobj;
10162 otk::Style *arg1 = (otk::Style *) 0 ;
10163 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10167 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 if (arg1) (arg1)->g_unfocus = *arg2;
10172 Py_INCREF(Py_None); resultobj = Py_None;
10179 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10180 PyObject *resultobj;
10181 otk::Style *arg1 = (otk::Style *) 0 ;
10182 otk::BTexture *result;
10183 PyObject * obj0 = 0 ;
10185 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10187 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10196 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10197 PyObject *resultobj;
10198 otk::Style *arg1 = (otk::Style *) 0 ;
10199 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10200 PyObject * obj0 = 0 ;
10201 PyObject * obj1 = 0 ;
10203 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 if (arg1) (arg1)->close_button = *arg2;
10208 Py_INCREF(Py_None); resultobj = Py_None;
10215 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10216 PyObject *resultobj;
10217 otk::Style *arg1 = (otk::Style *) 0 ;
10218 otk::PixmapMask *result;
10219 PyObject * obj0 = 0 ;
10221 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10223 result = (otk::PixmapMask *)& ((arg1)->close_button);
10225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10232 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10233 PyObject *resultobj;
10234 otk::Style *arg1 = (otk::Style *) 0 ;
10235 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10239 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 if (arg1) (arg1)->max_button = *arg2;
10244 Py_INCREF(Py_None); resultobj = Py_None;
10251 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10252 PyObject *resultobj;
10253 otk::Style *arg1 = (otk::Style *) 0 ;
10254 otk::PixmapMask *result;
10255 PyObject * obj0 = 0 ;
10257 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 result = (otk::PixmapMask *)& ((arg1)->max_button);
10261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10268 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10269 PyObject *resultobj;
10270 otk::Style *arg1 = (otk::Style *) 0 ;
10271 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10275 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 if (arg1) (arg1)->icon_button = *arg2;
10280 Py_INCREF(Py_None); resultobj = Py_None;
10287 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10288 PyObject *resultobj;
10289 otk::Style *arg1 = (otk::Style *) 0 ;
10290 otk::PixmapMask *result;
10291 PyObject * obj0 = 0 ;
10293 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10295 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10304 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10305 PyObject *resultobj;
10306 otk::Style *arg1 = (otk::Style *) 0 ;
10307 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10311 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 if (arg1) (arg1)->stick_button = *arg2;
10316 Py_INCREF(Py_None); resultobj = Py_None;
10323 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10324 PyObject *resultobj;
10325 otk::Style *arg1 = (otk::Style *) 0 ;
10326 otk::PixmapMask *result;
10327 PyObject * obj0 = 0 ;
10329 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10340 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10341 PyObject *resultobj;
10342 otk::Style *arg1 = (otk::Style *) 0 ;
10344 PyObject * obj0 = 0 ;
10346 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10348 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10350 Py_INCREF(Py_None); resultobj = Py_None;
10357 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10358 PyObject *resultobj;
10359 otk::Style *arg1 = (otk::Style *) 0 ;
10361 PyObject * obj0 = 0 ;
10363 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 result = (int) ((arg1)->justify);
10367 resultobj = PyInt_FromLong((long)result);
10374 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10375 PyObject *resultobj;
10376 otk::Style *arg1 = (otk::Style *) 0 ;
10378 PyObject * obj0 = 0 ;
10380 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10384 Py_INCREF(Py_None); resultobj = Py_None;
10391 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10392 PyObject *resultobj;
10393 otk::Style *arg1 = (otk::Style *) 0 ;
10395 PyObject * obj0 = 0 ;
10397 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10399 result = (int) ((arg1)->bullet_type);
10401 resultobj = PyInt_FromLong((long)result);
10408 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10409 PyObject *resultobj;
10410 otk::Style *arg1 = (otk::Style *) 0 ;
10411 unsigned int arg2 ;
10412 PyObject * obj0 = 0 ;
10413 PyObject * obj1 = 0 ;
10415 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10417 arg2 = (unsigned int) PyInt_AsLong(obj1);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 if (arg1) (arg1)->handle_width = arg2;
10421 Py_INCREF(Py_None); resultobj = Py_None;
10428 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10429 PyObject *resultobj;
10430 otk::Style *arg1 = (otk::Style *) 0 ;
10431 unsigned int result;
10432 PyObject * obj0 = 0 ;
10434 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 result = (unsigned int) ((arg1)->handle_width);
10438 resultobj = PyInt_FromLong((long)result);
10445 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10446 PyObject *resultobj;
10447 otk::Style *arg1 = (otk::Style *) 0 ;
10448 unsigned int arg2 ;
10449 PyObject * obj0 = 0 ;
10450 PyObject * obj1 = 0 ;
10452 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10454 arg2 = (unsigned int) PyInt_AsLong(obj1);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 if (arg1) (arg1)->bevel_width = arg2;
10458 Py_INCREF(Py_None); resultobj = Py_None;
10465 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10466 PyObject *resultobj;
10467 otk::Style *arg1 = (otk::Style *) 0 ;
10468 unsigned int result;
10469 PyObject * obj0 = 0 ;
10471 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10473 result = (unsigned int) ((arg1)->bevel_width);
10475 resultobj = PyInt_FromLong((long)result);
10482 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10483 PyObject *resultobj;
10484 otk::Style *arg1 = (otk::Style *) 0 ;
10485 unsigned int arg2 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10489 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 arg2 = (unsigned int) PyInt_AsLong(obj1);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 if (arg1) (arg1)->frame_width = arg2;
10495 Py_INCREF(Py_None); resultobj = Py_None;
10502 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10503 PyObject *resultobj;
10504 otk::Style *arg1 = (otk::Style *) 0 ;
10505 unsigned int result;
10506 PyObject * obj0 = 0 ;
10508 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10510 result = (unsigned int) ((arg1)->frame_width);
10512 resultobj = PyInt_FromLong((long)result);
10519 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10520 PyObject *resultobj;
10521 otk::Style *arg1 = (otk::Style *) 0 ;
10522 unsigned int arg2 ;
10523 PyObject * obj0 = 0 ;
10524 PyObject * obj1 = 0 ;
10526 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10528 arg2 = (unsigned int) PyInt_AsLong(obj1);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 if (arg1) (arg1)->border_width = arg2;
10532 Py_INCREF(Py_None); resultobj = Py_None;
10539 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10540 PyObject *resultobj;
10541 otk::Style *arg1 = (otk::Style *) 0 ;
10542 unsigned int result;
10543 PyObject * obj0 = 0 ;
10545 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10547 result = (unsigned int) ((arg1)->border_width);
10549 resultobj = PyInt_FromLong((long)result);
10556 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10557 PyObject *resultobj;
10558 otk::Style *arg1 = (otk::Style *) 0 ;
10559 unsigned int arg2 ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10563 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10565 arg2 = (unsigned int) PyInt_AsLong(obj1);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 if (arg1) (arg1)->screen_number = arg2;
10569 Py_INCREF(Py_None); resultobj = Py_None;
10576 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10577 PyObject *resultobj;
10578 otk::Style *arg1 = (otk::Style *) 0 ;
10579 unsigned int result;
10580 PyObject * obj0 = 0 ;
10582 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10584 result = (unsigned int) ((arg1)->screen_number);
10586 resultobj = PyInt_FromLong((long)result);
10593 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10594 PyObject *resultobj;
10595 otk::Style *arg1 = (otk::Style *) 0 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10600 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 arg2 = (bool) PyInt_AsLong(obj1);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 if (arg1) (arg1)->shadow_fonts = arg2;
10606 Py_INCREF(Py_None); resultobj = Py_None;
10613 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10614 PyObject *resultobj;
10615 otk::Style *arg1 = (otk::Style *) 0 ;
10617 PyObject * obj0 = 0 ;
10619 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10621 result = (bool) ((arg1)->shadow_fonts);
10623 resultobj = PyInt_FromLong((long)result);
10630 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10631 PyObject *resultobj;
10632 otk::Style *arg1 = (otk::Style *) 0 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10637 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10639 arg2 = (bool) PyInt_AsLong(obj1);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 if (arg1) (arg1)->aa_fonts = arg2;
10643 Py_INCREF(Py_None); resultobj = Py_None;
10650 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10651 PyObject *resultobj;
10652 otk::Style *arg1 = (otk::Style *) 0 ;
10654 PyObject * obj0 = 0 ;
10656 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10658 result = (bool) ((arg1)->aa_fonts);
10660 resultobj = PyInt_FromLong((long)result);
10667 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10668 PyObject *resultobj;
10669 otk::Style *result;
10671 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10672 result = (otk::Style *)new otk::Style();
10674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10681 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10682 PyObject *resultobj;
10683 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10684 otk::Style *result;
10685 PyObject * obj0 = 0 ;
10687 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 result = (otk::Style *)new otk::Style(arg1);
10691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10698 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10703 argc = PyObject_Length(args);
10704 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10705 argv[ii] = PyTuple_GetItem(args,ii);
10708 return _wrap_new_Style__SWIG_0(self,args);
10714 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10722 return _wrap_new_Style__SWIG_1(self,args);
10726 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10731 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10732 PyObject *resultobj;
10733 otk::Style *arg1 = (otk::Style *) 0 ;
10734 PyObject * obj0 = 0 ;
10736 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10740 Py_INCREF(Py_None); resultobj = Py_None;
10747 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10748 PyObject *resultobj;
10749 otk::Style *arg1 = (otk::Style *) 0 ;
10750 std::string *arg2 = 0 ;
10751 otk::PixmapMask *arg3 = 0 ;
10752 otk::Configuration *arg4 = 0 ;
10753 std::string temp2 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 PyObject * obj2 = 0 ;
10757 PyObject * obj3 = 0 ;
10759 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10762 if (PyString_Check(obj1)) {
10763 temp2 = std::string(PyString_AsString(obj1));
10766 SWIG_exception(SWIG_TypeError, "string expected");
10769 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 if (arg3 == NULL) {
10771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10773 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10774 if (arg4 == NULL) {
10775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10777 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10779 Py_INCREF(Py_None); resultobj = Py_None;
10786 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10787 PyObject *resultobj;
10788 otk::Style *arg1 = (otk::Style *) 0 ;
10789 std::string *arg2 = 0 ;
10790 std::string *arg3 = 0 ;
10791 otk::Configuration *arg4 = 0 ;
10792 bool arg5 = (bool) false ;
10793 otk::BTexture result;
10794 std::string temp2 ;
10795 std::string temp3 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 PyObject * obj3 = 0 ;
10800 PyObject * obj4 = 0 ;
10802 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10805 if (PyString_Check(obj1)) {
10806 temp2 = std::string(PyString_AsString(obj1));
10809 SWIG_exception(SWIG_TypeError, "string expected");
10813 if (PyString_Check(obj2)) {
10814 temp3 = std::string(PyString_AsString(obj2));
10817 SWIG_exception(SWIG_TypeError, "string expected");
10820 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10821 if (arg4 == NULL) {
10822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10825 arg5 = (bool) PyInt_AsLong(obj4);
10826 if (PyErr_Occurred()) SWIG_fail;
10828 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10831 otk::BTexture * resultptr;
10832 resultptr = new otk::BTexture((otk::BTexture &) result);
10833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10841 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10842 PyObject *resultobj;
10843 otk::Style *arg1 = (otk::Style *) 0 ;
10844 std::string *arg2 = 0 ;
10845 std::string *arg3 = 0 ;
10846 otk::Configuration *arg4 = 0 ;
10847 otk::BColor result;
10848 std::string temp2 ;
10849 std::string temp3 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
10853 PyObject * obj3 = 0 ;
10855 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10858 if (PyString_Check(obj1)) {
10859 temp2 = std::string(PyString_AsString(obj1));
10862 SWIG_exception(SWIG_TypeError, "string expected");
10866 if (PyString_Check(obj2)) {
10867 temp3 = std::string(PyString_AsString(obj2));
10870 SWIG_exception(SWIG_TypeError, "string expected");
10873 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10874 if (arg4 == NULL) {
10875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10877 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10880 otk::BColor * resultptr;
10881 resultptr = new otk::BColor((otk::BColor &) result);
10882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10890 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10891 PyObject *resultobj;
10892 otk::Style *arg1 = (otk::Style *) 0 ;
10893 std::string *arg2 = 0 ;
10894 otk::Configuration *arg3 = 0 ;
10895 otk::BFont *result;
10896 std::string temp2 ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 PyObject * obj2 = 0 ;
10901 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10904 if (PyString_Check(obj1)) {
10905 temp2 = std::string(PyString_AsString(obj1));
10908 SWIG_exception(SWIG_TypeError, "string expected");
10911 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 if (arg3 == NULL) {
10913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10915 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10924 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10925 PyObject *resultobj;
10926 otk::Style *arg1 = (otk::Style *) 0 ;
10927 otk::Configuration *arg2 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10931 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10934 if (arg2 == NULL) {
10935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10937 (arg1)->load((otk::Configuration const &)*arg2);
10939 Py_INCREF(Py_None); resultobj = Py_None;
10946 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
10947 PyObject *resultobj;
10948 otk::Style *arg1 = (otk::Style *) 0 ;
10949 otk::BColor *result;
10950 PyObject * obj0 = 0 ;
10952 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
10953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10954 result = (otk::BColor *)(arg1)->getTextFocus();
10956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10963 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
10964 PyObject *resultobj;
10965 otk::Style *arg1 = (otk::Style *) 0 ;
10966 otk::BColor *result;
10967 PyObject * obj0 = 0 ;
10969 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 result = (otk::BColor *)(arg1)->getTextUnfocus();
10973 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10980 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
10981 PyObject *resultobj;
10982 otk::Style *arg1 = (otk::Style *) 0 ;
10983 otk::BColor *result;
10984 PyObject * obj0 = 0 ;
10986 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 result = (otk::BColor *)(arg1)->getButtonPicFocus();
10990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
10997 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
10998 PyObject *resultobj;
10999 otk::Style *arg1 = (otk::Style *) 0 ;
11000 otk::BColor *result;
11001 PyObject * obj0 = 0 ;
11003 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11014 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11015 PyObject *resultobj;
11016 otk::Style *arg1 = (otk::Style *) 0 ;
11017 otk::BTexture *result;
11018 PyObject * obj0 = 0 ;
11020 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 result = (otk::BTexture *)(arg1)->getTitleFocus();
11024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11031 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11032 PyObject *resultobj;
11033 otk::Style *arg1 = (otk::Style *) 0 ;
11034 otk::BTexture *result;
11035 PyObject * obj0 = 0 ;
11037 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11048 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11049 PyObject *resultobj;
11050 otk::Style *arg1 = (otk::Style *) 0 ;
11051 otk::BTexture *result;
11052 PyObject * obj0 = 0 ;
11054 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11056 result = (otk::BTexture *)(arg1)->getLabelFocus();
11058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11065 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11066 PyObject *resultobj;
11067 otk::Style *arg1 = (otk::Style *) 0 ;
11068 otk::BTexture *result;
11069 PyObject * obj0 = 0 ;
11071 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11073 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11082 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11083 PyObject *resultobj;
11084 otk::Style *arg1 = (otk::Style *) 0 ;
11085 otk::BTexture *result;
11086 PyObject * obj0 = 0 ;
11088 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11090 result = (otk::BTexture *)(arg1)->getHandleFocus();
11092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11099 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11100 PyObject *resultobj;
11101 otk::Style *arg1 = (otk::Style *) 0 ;
11102 otk::BTexture *result;
11103 PyObject * obj0 = 0 ;
11105 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11116 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11117 PyObject *resultobj;
11118 otk::Style *arg1 = (otk::Style *) 0 ;
11119 otk::BTexture *result;
11120 PyObject * obj0 = 0 ;
11122 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11124 result = (otk::BTexture *)(arg1)->getButtonFocus();
11126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11133 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11134 PyObject *resultobj;
11135 otk::Style *arg1 = (otk::Style *) 0 ;
11136 otk::BTexture *result;
11137 PyObject * obj0 = 0 ;
11139 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11150 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11151 PyObject *resultobj;
11152 otk::Style *arg1 = (otk::Style *) 0 ;
11153 otk::BTexture *result;
11154 PyObject * obj0 = 0 ;
11156 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11167 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11168 PyObject *resultobj;
11169 otk::Style *arg1 = (otk::Style *) 0 ;
11170 otk::BTexture *result;
11171 PyObject * obj0 = 0 ;
11173 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11175 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11184 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11185 PyObject *resultobj;
11186 otk::Style *arg1 = (otk::Style *) 0 ;
11187 otk::BTexture *result;
11188 PyObject * obj0 = 0 ;
11190 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 result = (otk::BTexture *)(arg1)->getGripFocus();
11194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11201 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11202 PyObject *resultobj;
11203 otk::Style *arg1 = (otk::Style *) 0 ;
11204 otk::BTexture *result;
11205 PyObject * obj0 = 0 ;
11207 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11209 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11218 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11219 PyObject *resultobj;
11220 otk::Style *arg1 = (otk::Style *) 0 ;
11221 unsigned int result;
11222 PyObject * obj0 = 0 ;
11224 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11226 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11228 resultobj = PyInt_FromLong((long)result);
11235 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11236 PyObject *resultobj;
11237 otk::Style *arg1 = (otk::Style *) 0 ;
11238 unsigned int result;
11239 PyObject * obj0 = 0 ;
11241 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11243 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11245 resultobj = PyInt_FromLong((long)result);
11252 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11253 PyObject *resultobj;
11254 otk::Style *arg1 = (otk::Style *) 0 ;
11255 unsigned int result;
11256 PyObject * obj0 = 0 ;
11258 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11262 resultobj = PyInt_FromLong((long)result);
11269 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11270 PyObject *resultobj;
11271 otk::Style *arg1 = (otk::Style *) 0 ;
11272 unsigned int result;
11273 PyObject * obj0 = 0 ;
11275 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11277 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11279 resultobj = PyInt_FromLong((long)result);
11286 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11287 PyObject *resultobj;
11288 otk::Style *arg1 = (otk::Style *) 0 ;
11289 otk::BFont *result;
11290 PyObject * obj0 = 0 ;
11292 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11303 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11304 PyObject *resultobj;
11305 otk::Style *arg1 = (otk::Style *) 0 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11310 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 arg2 = (bool) PyInt_AsLong(obj1);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 (arg1)->setShadowFonts(arg2);
11316 Py_INCREF(Py_None); resultobj = Py_None;
11323 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11324 PyObject *resultobj;
11325 otk::Style *arg1 = (otk::Style *) 0 ;
11327 PyObject * obj0 = 0 ;
11329 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11333 resultobj = PyInt_FromLong((long)result);
11340 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11341 PyObject *resultobj;
11342 otk::Style *arg1 = (otk::Style *) 0 ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11347 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11349 arg2 = (bool) PyInt_AsLong(obj1);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 (arg1)->setAAFonts(arg2);
11353 Py_INCREF(Py_None); resultobj = Py_None;
11360 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11361 PyObject *resultobj;
11362 otk::Style *arg1 = (otk::Style *) 0 ;
11364 PyObject * obj0 = 0 ;
11366 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11370 resultobj = PyInt_FromLong((long)result);
11377 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11378 PyObject *resultobj;
11379 otk::Style *arg1 = (otk::Style *) 0 ;
11381 PyObject * obj0 = 0 ;
11383 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 result = (int)(arg1)->textJustify();
11387 resultobj = PyInt_FromLong((long)result);
11394 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11395 PyObject *resultobj;
11396 otk::Style *arg1 = (otk::Style *) 0 ;
11398 PyObject * obj0 = 0 ;
11400 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11402 result = (int)(arg1)->bulletType();
11404 resultobj = PyInt_FromLong((long)result);
11411 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11412 PyObject *resultobj;
11413 otk::Style *arg1 = (otk::Style *) 0 ;
11414 otk::BColor *result;
11415 PyObject * obj0 = 0 ;
11417 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11419 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11428 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11429 PyObject *resultobj;
11430 otk::Style *arg1 = (otk::Style *) 0 ;
11431 otk::BTexture *result;
11432 PyObject * obj0 = 0 ;
11434 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11436 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11445 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11446 PyObject *resultobj;
11447 otk::Style *arg1 = (otk::Style *) 0 ;
11448 otk::BTexture *result;
11449 PyObject * obj0 = 0 ;
11451 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11453 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11462 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11463 PyObject *resultobj;
11464 otk::Style *arg1 = (otk::Style *) 0 ;
11465 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11469 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11472 (arg1)->setImageControl(arg2);
11474 Py_INCREF(Py_None); resultobj = Py_None;
11481 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11482 PyObject *resultobj;
11483 otk::Style *arg1 = (otk::Style *) 0 ;
11484 unsigned int result;
11485 PyObject * obj0 = 0 ;
11487 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 result = (unsigned int)(arg1)->getScreen();
11491 resultobj = PyInt_FromLong((long)result);
11498 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11501 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11503 return Py_BuildValue((char *)"");
11505 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11506 PyObject *resultobj;
11507 unsigned int arg1 = (unsigned int) ~(0u) ;
11508 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11509 otk::BTexture *result;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11513 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11515 arg1 = (unsigned int) PyInt_AsLong(obj0);
11516 if (PyErr_Occurred()) SWIG_fail;
11519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11521 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11530 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11531 PyObject *resultobj;
11532 std::string *arg1 = 0 ;
11533 unsigned int arg2 = (unsigned int) ~(0u) ;
11534 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11535 otk::BTexture *result;
11536 std::string temp1 ;
11537 PyObject * obj0 = 0 ;
11538 PyObject * obj1 = 0 ;
11539 PyObject * obj2 = 0 ;
11541 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11543 if (PyString_Check(obj0)) {
11544 temp1 = std::string(PyString_AsString(obj0));
11547 SWIG_exception(SWIG_TypeError, "string expected");
11551 arg2 = (unsigned int) PyInt_AsLong(obj1);
11552 if (PyErr_Occurred()) SWIG_fail;
11555 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11566 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11571 argc = PyObject_Length(args);
11572 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11573 argv[ii] = PyTuple_GetItem(args,ii);
11575 if ((argc >= 0) && (argc <= 2)) {
11578 return _wrap_new_BTexture__SWIG_0(self,args);
11581 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11585 return _wrap_new_BTexture__SWIG_0(self,args);
11589 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11597 return _wrap_new_BTexture__SWIG_0(self,args);
11601 if ((argc >= 1) && (argc <= 3)) {
11604 _v = PyString_Check(argv[0]) ? 1 : 0;
11608 return _wrap_new_BTexture__SWIG_1(self,args);
11611 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11615 return _wrap_new_BTexture__SWIG_1(self,args);
11619 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11627 return _wrap_new_BTexture__SWIG_1(self,args);
11633 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11638 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11639 PyObject *resultobj;
11640 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11641 otk::BColor *arg2 = 0 ;
11642 PyObject * obj0 = 0 ;
11643 PyObject * obj1 = 0 ;
11645 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 if (arg2 == NULL) {
11649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11651 (arg1)->setColor((otk::BColor const &)*arg2);
11653 Py_INCREF(Py_None); resultobj = Py_None;
11660 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11661 PyObject *resultobj;
11662 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11663 otk::BColor *arg2 = 0 ;
11664 PyObject * obj0 = 0 ;
11665 PyObject * obj1 = 0 ;
11667 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 if (arg2 == NULL) {
11671 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11673 (arg1)->setColorTo((otk::BColor const &)*arg2);
11675 Py_INCREF(Py_None); resultobj = Py_None;
11682 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11683 PyObject *resultobj;
11684 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11685 otk::BColor *arg2 = 0 ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj1 = 0 ;
11689 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 if (arg2 == NULL) {
11693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11695 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11697 Py_INCREF(Py_None); resultobj = Py_None;
11704 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11705 PyObject *resultobj;
11706 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11707 otk::BColor *result;
11708 PyObject * obj0 = 0 ;
11710 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11713 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11714 result = (otk::BColor *) &_result_ref;
11717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11724 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11725 PyObject *resultobj;
11726 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11727 otk::BColor *result;
11728 PyObject * obj0 = 0 ;
11730 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11733 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11734 result = (otk::BColor *) &_result_ref;
11737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11744 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11745 PyObject *resultobj;
11746 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11747 otk::BColor *result;
11748 PyObject * obj0 = 0 ;
11750 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11753 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11754 result = (otk::BColor *) &_result_ref;
11757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11764 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11765 PyObject *resultobj;
11766 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11767 otk::BColor *result;
11768 PyObject * obj0 = 0 ;
11770 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11774 result = (otk::BColor *) &_result_ref;
11777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11784 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11785 PyObject *resultobj;
11786 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11787 otk::BColor *result;
11788 PyObject * obj0 = 0 ;
11790 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11793 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11794 result = (otk::BColor *) &_result_ref;
11797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11804 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11805 PyObject *resultobj;
11806 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11807 unsigned long result;
11808 PyObject * obj0 = 0 ;
11810 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11814 resultobj = PyInt_FromLong((long)result);
11821 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11822 PyObject *resultobj;
11823 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11824 unsigned long arg2 ;
11825 PyObject * obj0 = 0 ;
11826 PyObject * obj1 = 0 ;
11828 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 arg2 = (unsigned long) PyInt_AsLong(obj1);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 (arg1)->setTexture(arg2);
11834 Py_INCREF(Py_None); resultobj = Py_None;
11841 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11842 PyObject *resultobj;
11843 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11844 unsigned long arg2 ;
11845 PyObject * obj0 = 0 ;
11846 PyObject * obj1 = 0 ;
11848 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 arg2 = (unsigned long) PyInt_AsLong(obj1);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 (arg1)->addTexture(arg2);
11854 Py_INCREF(Py_None); resultobj = Py_None;
11861 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11862 PyObject *resultobj;
11863 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11864 otk::BTexture *arg2 = 0 ;
11866 PyObject * obj0 = 0 ;
11867 PyObject * obj1 = 0 ;
11869 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11872 if (arg2 == NULL) {
11873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11875 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11877 resultobj = PyInt_FromLong((long)result);
11884 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11885 PyObject *resultobj;
11886 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11887 unsigned int result;
11888 PyObject * obj0 = 0 ;
11890 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11892 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11894 resultobj = PyInt_FromLong((long)result);
11901 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11902 PyObject *resultobj;
11903 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11904 unsigned int arg2 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11908 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11910 arg2 = (unsigned int) PyInt_AsLong(obj1);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 (arg1)->setScreen(arg2);
11914 Py_INCREF(Py_None); resultobj = Py_None;
11921 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11922 PyObject *resultobj;
11923 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11924 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11925 PyObject * obj0 = 0 ;
11926 PyObject * obj1 = 0 ;
11928 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11931 (arg1)->setImageControl(arg2);
11933 Py_INCREF(Py_None); resultobj = Py_None;
11940 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
11941 PyObject *resultobj;
11942 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11943 std::string *result;
11944 PyObject * obj0 = 0 ;
11946 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11949 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
11950 result = (std::string *) &_result_ref;
11954 resultobj = PyString_FromString(result->c_str());
11962 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
11963 PyObject *resultobj;
11964 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11965 std::string *arg2 = 0 ;
11966 std::string temp2 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11970 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
11971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11973 if (PyString_Check(obj1)) {
11974 temp2 = std::string(PyString_AsString(obj1));
11977 SWIG_exception(SWIG_TypeError, "string expected");
11980 (arg1)->setDescription((std::string const &)*arg2);
11982 Py_INCREF(Py_None); resultobj = Py_None;
11989 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
11990 PyObject *resultobj;
11991 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11992 unsigned int arg2 ;
11993 unsigned int arg3 ;
11994 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
11997 PyObject * obj0 = 0 ;
11998 PyObject * obj1 = 0 ;
11999 PyObject * obj2 = 0 ;
12000 PyObject * obj3 = 0 ;
12002 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12004 arg2 = (unsigned int) PyInt_AsLong(obj1);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 arg3 = (unsigned int) PyInt_AsLong(obj2);
12007 if (PyErr_Occurred()) SWIG_fail;
12009 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_Pixmap,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
12012 result = (arg1)->render(arg2,arg3,arg4);
12015 Pixmap * resultptr;
12016 resultptr = new Pixmap((Pixmap &) result);
12017 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_Pixmap, 1);
12025 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12026 PyObject *resultobj;
12027 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12028 PyObject * obj0 = 0 ;
12030 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 Py_INCREF(Py_None); resultobj = Py_None;
12041 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12044 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12046 return Py_BuildValue((char *)"");
12048 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12049 PyObject *resultobj;
12050 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12051 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12052 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12053 otk::OBTimer *result;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 PyObject * obj2 = 0 ;
12058 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12061 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12062 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12071 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12072 PyObject *resultobj;
12073 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12074 PyObject * obj0 = 0 ;
12076 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12080 Py_INCREF(Py_None); resultobj = Py_None;
12087 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12088 PyObject *resultobj;
12089 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12090 PyObject * obj0 = 0 ;
12092 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 Py_INCREF(Py_None); resultobj = Py_None;
12103 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12104 PyObject *resultobj;
12105 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12107 PyObject * obj0 = 0 ;
12109 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12111 result = (bool)((otk::OBTimer const *)arg1)->timing();
12113 resultobj = PyInt_FromLong((long)result);
12120 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12121 PyObject *resultobj;
12122 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12124 PyObject * obj0 = 0 ;
12126 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12128 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12130 resultobj = PyInt_FromLong((long)result);
12137 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12138 PyObject *resultobj;
12139 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12141 PyObject * obj0 = 0 ;
12143 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12146 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12147 result = (timeval *) &_result_ref;
12150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12157 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12158 PyObject *resultobj;
12159 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12161 PyObject * obj0 = 0 ;
12163 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12166 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12167 result = (timeval *) &_result_ref;
12170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12177 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12178 PyObject *resultobj;
12179 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12180 timeval *arg2 = 0 ;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12185 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12188 if (arg2 == NULL) {
12189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12191 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12194 timeval * resultptr;
12195 resultptr = new timeval((timeval &) result);
12196 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12204 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12205 PyObject *resultobj;
12206 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12207 timeval *arg2 = 0 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12212 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 if (arg2 == NULL) {
12216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12218 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12220 resultobj = PyInt_FromLong((long)result);
12227 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12228 PyObject *resultobj;
12229 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12231 PyObject * obj0 = 0 ;
12233 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12235 result = ((otk::OBTimer const *)arg1)->endTime();
12238 timeval * resultptr;
12239 resultptr = new timeval((timeval &) result);
12240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12248 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12249 PyObject *resultobj;
12250 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12252 PyObject * obj0 = 0 ;
12253 PyObject * obj1 = 0 ;
12255 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12257 arg2 = (bool) PyInt_AsLong(obj1);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 (arg1)->setRecurring(arg2);
12261 Py_INCREF(Py_None); resultobj = Py_None;
12268 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12269 PyObject *resultobj;
12270 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12272 PyObject * obj0 = 0 ;
12274 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12276 (arg1)->setTimeout(arg2);
12278 Py_INCREF(Py_None); resultobj = Py_None;
12285 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12286 PyObject *resultobj;
12287 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12288 timeval *arg2 = 0 ;
12289 PyObject * obj0 = 0 ;
12290 PyObject * obj1 = 0 ;
12292 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 if (arg2 == NULL) {
12296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12298 (arg1)->setTimeout((timeval const &)*arg2);
12300 Py_INCREF(Py_None); resultobj = Py_None;
12307 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12312 argc = PyObject_Length(args);
12313 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12314 argv[ii] = PyTuple_GetItem(args,ii);
12320 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12330 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12338 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12346 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12355 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12358 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12363 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12368 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12369 PyObject *resultobj;
12370 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12371 PyObject * obj0 = 0 ;
12373 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12377 Py_INCREF(Py_None); resultobj = Py_None;
12384 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12385 PyObject *resultobj;
12386 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12387 PyObject * obj0 = 0 ;
12389 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 Py_INCREF(Py_None); resultobj = Py_None;
12400 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12403 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12405 return Py_BuildValue((char *)"");
12407 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12408 PyObject *resultobj;
12409 otk::OBTimerQueueManager *result;
12411 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12412 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12421 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12422 PyObject *resultobj;
12423 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12424 PyObject * obj0 = 0 ;
12426 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12430 Py_INCREF(Py_None); resultobj = Py_None;
12437 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12438 PyObject *resultobj;
12439 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12440 PyObject * obj0 = 0 ;
12442 if(!PyArg_ParseTuple(args,(char *)"O:OBTimerQueueManager_fire",&obj0)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12446 Py_INCREF(Py_None); resultobj = Py_None;
12453 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12454 PyObject *resultobj;
12455 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12456 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12460 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12463 (arg1)->addTimer(arg2);
12465 Py_INCREF(Py_None); resultobj = Py_None;
12472 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12473 PyObject *resultobj;
12474 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12475 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12476 PyObject * obj0 = 0 ;
12477 PyObject * obj1 = 0 ;
12479 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 (arg1)->removeTimer(arg2);
12484 Py_INCREF(Py_None); resultobj = Py_None;
12491 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12494 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12496 return Py_BuildValue((char *)"");
12498 static int _wrap_BSENTINEL_set(PyObject *_val) {
12499 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12504 static PyObject *_wrap_BSENTINEL_get() {
12507 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12512 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12513 PyObject *resultobj;
12514 std::string *arg1 = 0 ;
12515 std::string result;
12516 std::string temp1 ;
12517 PyObject * obj0 = 0 ;
12519 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12521 if (PyString_Check(obj0)) {
12522 temp1 = std::string(PyString_AsString(obj0));
12525 SWIG_exception(SWIG_TypeError, "string expected");
12528 result = otk::expandTilde((std::string const &)*arg1);
12531 resultobj = PyString_FromString((&result)->c_str());
12539 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12540 PyObject *resultobj;
12541 std::string *arg1 = 0 ;
12542 std::string *arg2 = 0 ;
12543 std::string temp1 ;
12544 std::string temp2 ;
12545 PyObject * obj0 = 0 ;
12546 PyObject * obj1 = 0 ;
12548 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12550 if (PyString_Check(obj0)) {
12551 temp1 = std::string(PyString_AsString(obj0));
12554 SWIG_exception(SWIG_TypeError, "string expected");
12558 if (PyString_Check(obj1)) {
12559 temp2 = std::string(PyString_AsString(obj1));
12562 SWIG_exception(SWIG_TypeError, "string expected");
12565 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12567 Py_INCREF(Py_None); resultobj = Py_None;
12574 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12575 PyObject *resultobj;
12576 Display *arg1 = (Display *) 0 ;
12577 XTextProperty *arg2 = 0 ;
12578 std::string result;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12582 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12585 if (arg2 == NULL) {
12586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12588 result = otk::textPropertyToString(arg1,*arg2);
12591 resultobj = PyString_FromString((&result)->c_str());
12599 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12600 PyObject *resultobj;
12601 unsigned long arg1 ;
12602 std::string result;
12603 PyObject * obj0 = 0 ;
12605 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12606 arg1 = (unsigned long) PyInt_AsLong(obj0);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 result = otk::itostring(arg1);
12611 resultobj = PyString_FromString((&result)->c_str());
12619 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12620 PyObject *resultobj;
12622 std::string result;
12624 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12625 result = otk::itostring(arg1);
12628 resultobj = PyString_FromString((&result)->c_str());
12636 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12637 PyObject *resultobj;
12638 unsigned int arg1 ;
12639 std::string result;
12640 PyObject * obj0 = 0 ;
12642 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12643 arg1 = (unsigned int) PyInt_AsLong(obj0);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 result = otk::itostring(arg1);
12648 resultobj = PyString_FromString((&result)->c_str());
12656 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12657 PyObject *resultobj;
12659 std::string result;
12661 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12662 result = otk::itostring(arg1);
12665 resultobj = PyString_FromString((&result)->c_str());
12673 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12674 PyObject *resultobj;
12675 std::string *arg1 = 0 ;
12676 std::string result;
12677 std::string temp1 ;
12678 PyObject * obj0 = 0 ;
12680 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12682 if (PyString_Check(obj0)) {
12683 temp1 = std::string(PyString_AsString(obj0));
12686 SWIG_exception(SWIG_TypeError, "string expected");
12689 result = basename((std::string const &)*arg1);
12692 resultobj = PyString_FromString((&result)->c_str());
12700 static PyMethodDef SwigMethods[] = {
12701 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12702 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12703 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12704 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12705 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12706 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12707 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12708 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12709 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12710 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12711 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12712 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12713 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12714 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12715 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12716 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12717 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12718 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12719 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12720 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12721 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12722 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12723 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12724 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12725 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12726 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12727 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12728 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12729 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12730 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12731 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12732 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12733 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12734 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12735 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12736 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12737 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12738 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12739 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12740 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12741 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12742 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12743 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12744 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12745 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12746 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12747 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12748 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12749 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12750 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12751 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12752 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12753 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12754 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12755 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12756 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12757 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12758 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12759 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12760 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12761 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12762 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12763 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12764 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12765 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12766 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12767 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12768 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12769 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12770 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12771 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12772 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12773 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12774 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12775 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12776 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12777 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12778 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12779 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12780 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12781 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12782 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12783 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12784 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12785 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12786 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12787 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12788 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12789 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12790 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12791 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12792 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12793 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12794 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12795 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12796 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12797 { (char *)"OtkWidget_unmanaged", _wrap_OtkWidget_unmanaged, METH_VARARGS },
12798 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12799 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12800 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12801 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12802 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12803 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12804 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12805 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12806 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12807 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12808 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12809 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12810 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12811 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12812 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12813 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12814 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12815 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12816 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12817 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12818 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12819 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12820 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12821 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12822 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12823 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12824 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12825 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12826 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12827 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12828 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12829 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12830 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12831 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12832 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12833 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12834 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12835 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12836 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12837 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12838 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12839 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12840 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12841 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12842 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12843 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12844 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12845 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12846 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12847 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12848 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12849 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12850 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12851 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12852 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12853 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12854 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12855 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12856 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12857 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12858 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12859 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12860 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12861 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12862 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12863 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12864 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12865 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12866 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12867 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12868 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12869 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12870 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12871 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12872 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12873 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12874 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12875 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12876 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12877 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12878 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12879 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12880 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12881 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12882 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12883 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12884 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
12885 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
12886 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
12887 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
12888 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
12889 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
12890 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
12891 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
12892 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
12893 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
12894 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
12895 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
12896 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
12897 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
12898 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
12899 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
12900 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
12901 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
12902 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
12903 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
12904 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
12905 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
12906 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
12907 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
12908 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
12909 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
12910 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
12911 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
12912 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
12913 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
12914 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
12915 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
12916 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
12917 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
12918 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
12919 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
12920 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
12921 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
12922 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
12923 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
12924 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
12925 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
12926 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
12927 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
12928 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
12929 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
12930 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
12931 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
12932 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
12933 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
12934 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
12935 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
12936 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
12937 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
12938 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
12939 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
12940 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
12941 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
12942 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
12943 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
12944 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
12945 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
12946 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
12947 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
12948 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
12949 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
12950 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
12951 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
12952 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
12953 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
12954 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
12955 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
12956 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
12957 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
12958 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
12959 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
12960 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
12961 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
12962 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
12963 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
12964 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
12965 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
12966 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
12967 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
12968 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
12969 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
12970 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
12971 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
12972 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
12973 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
12974 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
12975 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
12976 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
12977 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
12978 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
12979 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
12980 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
12981 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
12982 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
12983 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
12984 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
12985 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
12986 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
12987 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
12988 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
12989 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
12990 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
12991 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
12992 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
12993 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
12994 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
12995 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
12996 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
12997 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
12998 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
12999 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13000 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13001 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13002 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13003 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13004 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13005 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13006 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13007 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13008 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13009 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13010 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13011 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13012 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13013 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13014 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13015 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13016 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13017 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13018 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13019 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13020 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13021 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13022 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13023 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13024 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13025 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13026 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13027 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13028 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13029 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13030 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13031 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13032 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13033 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13034 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13035 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13036 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13037 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13038 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13039 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13040 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13041 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13042 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13043 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13044 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13045 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13046 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13047 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13048 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13049 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13050 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13051 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13052 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13053 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13054 { (char *)"Style_b_pressed_set", _wrap_Style_b_pressed_set, METH_VARARGS },
13055 { (char *)"Style_b_pressed_get", _wrap_Style_b_pressed_get, METH_VARARGS },
13056 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13057 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13058 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13059 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13060 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13061 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13062 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13063 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13064 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13065 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13066 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13067 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13068 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13069 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13070 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13071 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13072 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13073 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13074 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13075 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13076 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13077 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13078 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13079 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13080 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13081 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13082 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13083 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13084 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13085 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13086 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13087 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13088 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13089 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13090 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13091 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13092 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13093 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13094 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13095 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13096 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13097 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13098 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13099 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13100 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13101 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13102 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13103 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13104 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13105 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13106 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13107 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13108 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13109 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13110 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13111 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13112 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13113 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13114 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13115 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13116 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13117 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13118 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13119 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13120 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13121 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13122 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13123 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13124 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13125 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13126 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13127 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13128 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13129 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13130 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13131 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13132 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13133 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13134 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13135 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13136 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13137 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13138 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13139 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13140 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13141 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13142 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13143 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13144 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13145 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13146 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13147 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13148 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13149 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13150 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13151 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13152 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13153 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13154 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13155 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13156 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13157 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13158 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13159 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13160 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13161 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13162 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13163 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13164 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13165 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13166 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13167 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13168 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13169 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13170 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13171 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13172 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13173 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13174 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13175 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13176 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13177 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13178 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13179 { (char *)"basename", _wrap_basename, METH_VARARGS },
13184 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13186 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13187 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13189 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13190 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13192 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13193 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13195 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13196 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13198 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13199 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13201 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13202 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13204 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13205 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13207 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13208 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13210 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13211 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13213 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13214 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13216 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13217 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13219 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13220 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13222 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13223 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13225 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13226 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13227 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13228 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13229 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13230 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13231 static swig_type_info _swigt__p_Atom[] = {{"_p_Atom", 0, "Atom *", 0},{"_p_Atom"},{0}};
13232 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13233 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13234 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13235 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13236 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13237 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13238 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13239 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13240 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13241 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13242 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13243 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13244 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13245 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13246 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13247 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13248 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13249 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13250 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13251 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13252 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13253 static swig_type_info _swigt__p_otk__OtkFocusWidget[] = {{"_p_otk__OtkFocusWidget", 0, "otk::OtkFocusWidget *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkFocusWidget},{"_p_otk__OtkFocusWidget"},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget},{0}};
13254 static swig_type_info _swigt__p_otk__OtkWidget[] = {{"_p_otk__OtkWidget", 0, "otk::OtkWidget *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkWidget},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkWidget},{"_p_otk__OtkWidget"},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkWidget},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkWidget},{0}};
13255 static swig_type_info _swigt__p_Cursor[] = {{"_p_Cursor", 0, "Cursor *", 0},{"_p_Cursor"},{0}};
13256 static swig_type_info _swigt__p_Colormap[] = {{"_p_Colormap", 0, "Colormap *", 0},{"_p_Colormap"},{0}};
13257 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13258 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13259 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13260 static swig_type_info _swigt__p_Window[] = {{"_p_Window", 0, "Window *", 0},{"_p_Window"},{0}};
13261 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13262 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13263 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13264 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13265 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13266 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13267 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13268 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13269 static swig_type_info _swigt__p_otk__OtkEventHandler[] = {{"_p_otk__OtkEventHandler", 0, "otk::OtkEventHandler *", 0},{"_p_otk__OtkEventHandler"},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkEventHandler},{"_p_otk__OtkAppWidget", _p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkWidget", _p_otk__OtkWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusWidget", _p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler},{"_p_otk__OtkFocusLabel", _p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler},{0}};
13270 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13271 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13272 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13273 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13274 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13275 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13276 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13277 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13278 static swig_type_info _swigt__p_otk__OtkFocusLabel[] = {{"_p_otk__OtkFocusLabel", 0, "otk::OtkFocusLabel *", 0},{"_p_otk__OtkButton", _p_otk__OtkButtonTo_p_otk__OtkFocusLabel},{"_p_otk__OtkFocusLabel"},{0}};
13279 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13280 static swig_type_info _swigt__p_otk__OtkEventDispatcher[] = {{"_p_otk__OtkEventDispatcher", 0, "otk::OtkEventDispatcher *", 0},{"_p_otk__OtkApplication", _p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher},{"_p_otk__OtkEventDispatcher"},{0}};
13281 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13282 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13283 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13284 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13285 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13286 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13287 static swig_type_info _swigt__p_Pixmap[] = {{"_p_Pixmap", 0, "Pixmap *", 0},{"_p_Pixmap"},{0}};
13288 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13289 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13290 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13291 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13292 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13293 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13294 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13295 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13296 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13297 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13298 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13299 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13300 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13301 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13302 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13303 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13304 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13305 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13306 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13307 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13308 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13309 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13311 static swig_type_info *swig_types_initial[] = {
13312 _swigt__p_otk__BGCCache,
13313 _swigt__p_otk__BColor,
13314 _swigt__p_otk__OBProperty__StringVect,
13315 _swigt__p_XFontStruct,
13316 _swigt__p_otk__Configuration,
13317 _swigt__p_otk__PixmapMask,
13319 _swigt__p_otk__PointerAssassin,
13320 _swigt__p_otk__BImage,
13321 _swigt__p_otk__OBTimer,
13322 _swigt__p_otk__OtkWidget__OtkWidgetList,
13324 _swigt__p_otk__OBDisplay,
13326 _swigt__p_p_XColor,
13327 _swigt__p_XReparentEvent,
13328 _swigt__p_otk__BPen,
13329 _swigt__p_otk__BImageControl,
13330 _swigt__p_otk__OtkButton,
13331 _swigt__p_otk__Rect,
13332 _swigt__p_otk__Style,
13333 _swigt__p_XSelectionClearEvent,
13337 _swigt__p_otk__Strut,
13338 _swigt__p_otk__OtkApplication,
13339 _swigt__p_XRectangle,
13340 _swigt__p_otk__OtkFocusWidget,
13341 _swigt__p_otk__OtkWidget,
13343 _swigt__p_Colormap,
13344 _swigt__p_XGravityEvent,
13345 _swigt__p_XVisibilityEvent,
13346 _swigt__p_XPropertyEvent,
13348 _swigt__p_otk__BGCCacheContext,
13349 _swigt__p_XCreateWindowEvent,
13350 _swigt__p_XDestroyWindowEvent,
13351 _swigt__p_XCirculateEvent,
13352 _swigt__p_XConfigureEvent,
13353 _swigt__p_otk__OBProperty,
13355 _swigt__p_XTextProperty,
13356 _swigt__p_otk__OtkEventHandler,
13357 _swigt__p_XCirculateRequestEvent,
13358 _swigt__p_XConfigureRequestEvent,
13359 _swigt__p_XMapRequestEvent,
13360 _swigt__p_XResizeRequestEvent,
13361 _swigt__p_XSelectionRequestEvent,
13362 _swigt__otk__OBTimeoutHandler,
13364 _swigt__p_otk__ScreenInfo,
13365 _swigt__p_otk__OtkFocusLabel,
13366 _swigt__p_otk__BTexture,
13367 _swigt__p_otk__OtkEventDispatcher,
13368 _swigt__p_otk__BFont,
13369 _swigt__p_otk__Point,
13371 _swigt__p_XMotionEvent,
13372 _swigt__p_XButtonEvent,
13373 _swigt__p_XSelectionEvent,
13376 _swigt__p_otk__OBTimerQueueManager,
13377 _swigt__p_otk__OtkAppWidget,
13378 _swigt__p_XKeyEvent,
13379 _swigt__p_unsigned_long,
13381 _swigt__p_p_unsigned_long,
13382 _swigt__p_std__string,
13383 _swigt__p_XCrossingEvent,
13384 _swigt__p_XMappingEvent,
13385 _swigt__p_otk__BGCCacheItem,
13386 _swigt__p_p_unsigned_int,
13387 _swigt__p_unsigned_int,
13388 _swigt__p_p_unsigned_char,
13389 _swigt__p_XClientMessageEvent,
13390 _swigt__p_XGraphicsExposeEvent,
13391 _swigt__p_XExposeEvent,
13392 _swigt__p_XFocusChangeEvent,
13393 _swigt__p_XNoExposeEvent,
13394 _swigt__p_XMapEvent,
13395 _swigt__p_XUnmapEvent,
13396 _swigt__p_XColormapEvent,
13401 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13403 static swig_const_info swig_const_table[] = {
13404 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13405 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13406 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13407 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13408 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13409 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13410 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13411 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13412 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13413 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13414 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13415 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13416 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13417 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13418 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13419 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13420 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13421 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13422 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13423 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13424 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13425 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13426 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13427 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13428 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13429 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13430 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13431 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13432 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13433 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13434 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13435 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13436 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13437 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13438 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13439 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13440 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13441 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13442 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13443 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13444 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13445 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13446 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13447 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13448 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13449 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13450 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13451 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13452 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13453 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13454 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13455 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13456 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13457 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13458 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13459 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13460 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13461 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13462 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13463 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13464 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13465 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13466 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13467 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13468 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13469 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13470 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13471 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13472 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13473 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13474 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13475 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13476 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13477 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13478 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13479 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13480 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13481 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13482 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13483 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13484 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13485 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13486 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13487 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13488 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13489 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13490 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_floating", (long) otk::OBProperty::net_wm_state_floating, 0, 0, 0},
13491 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13492 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_system_tray_window_for", (long) otk::OBProperty::kde_net_wm_system_tray_window_for, 0, 0, 0},
13493 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13494 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13495 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13496 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13497 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13498 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13499 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13500 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13501 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13502 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13503 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13504 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13505 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13506 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13507 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13508 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13509 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13510 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13511 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13512 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13513 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13514 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13515 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13516 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13517 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13518 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13519 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13520 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13521 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13522 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13523 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13524 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13525 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13526 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13527 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13528 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13529 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13530 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13531 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13532 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13533 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13534 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13544 SWIGEXPORT(void) SWIG_init(void) {
13545 static PyObject *SWIG_globals = 0;
13546 static int typeinit = 0;
13549 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13550 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13551 d = PyModule_GetDict(m);
13554 for (i = 0; swig_types_initial[i]; i++) {
13555 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13559 SWIG_InstallConstants(d,swig_const_table);
13561 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13562 SWIG_addvarlink(SWIG_globals,(char*)"OBDisplay_display",_wrap_OBDisplay_display_get, _wrap_OBDisplay_display_set);
13563 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);