1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.17u-20021226-0459
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__OBProperty__StringVect swig_types[0]
649 #define SWIGTYPE_p_otk__BGCCache swig_types[1]
650 #define SWIGTYPE_p_otk__BColor 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_otk__PointerAssassin swig_types[6]
655 #define SWIGTYPE_p_otk__BImage swig_types[7]
656 #define SWIGTYPE_p_otk__OBTimer swig_types[8]
657 #define SWIGTYPE_p_otk__OtkWidget__OtkWidgetList swig_types[9]
658 #define SWIGTYPE_p_bool swig_types[10]
659 #define SWIGTYPE_p_otk__OBDisplay swig_types[11]
660 #define SWIGTYPE_p_Display swig_types[12]
661 #define SWIGTYPE_p_p_XColor swig_types[13]
662 #define SWIGTYPE_p_XReparentEvent swig_types[14]
663 #define SWIGTYPE_p_otk__BPen swig_types[15]
664 #define SWIGTYPE_p_otk__BImageControl swig_types[16]
665 #define SWIGTYPE_p_otk__OtkButton swig_types[17]
666 #define SWIGTYPE_p_otk__Rect swig_types[18]
667 #define SWIGTYPE_p_otk__Style swig_types[19]
668 #define SWIGTYPE_p_XSelectionClearEvent swig_types[20]
669 #define SWIGTYPE_p_Visual swig_types[21]
670 #define SWIGTYPE_p_timeval swig_types[22]
671 #define SWIGTYPE_p_int swig_types[23]
672 #define SWIGTYPE_p_otk__Strut swig_types[24]
673 #define SWIGTYPE_p_otk__OtkApplication swig_types[25]
674 #define SWIGTYPE_p_XRectangle swig_types[26]
675 #define SWIGTYPE_p_otk__OtkFocusWidget swig_types[27]
676 #define SWIGTYPE_p_otk__OtkWidget swig_types[28]
677 #define SWIGTYPE_p_XGravityEvent swig_types[29]
678 #define SWIGTYPE_p_XVisibilityEvent swig_types[30]
679 #define SWIGTYPE_p_XPropertyEvent swig_types[31]
680 #define SWIGTYPE_p_otk__BGCCacheContext swig_types[32]
681 #define SWIGTYPE_p_XCreateWindowEvent swig_types[33]
682 #define SWIGTYPE_p_XDestroyWindowEvent swig_types[34]
683 #define SWIGTYPE_p_XCirculateEvent swig_types[35]
684 #define SWIGTYPE_p_XConfigureEvent swig_types[36]
685 #define SWIGTYPE_p_otk__OBProperty swig_types[37]
686 #define SWIGTYPE_p_long swig_types[38]
687 #define SWIGTYPE_p_XTextProperty swig_types[39]
688 #define SWIGTYPE_p_otk__OtkEventHandler swig_types[40]
689 #define SWIGTYPE_p_XCirculateRequestEvent swig_types[41]
690 #define SWIGTYPE_p_XConfigureRequestEvent swig_types[42]
691 #define SWIGTYPE_p_XMapRequestEvent swig_types[43]
692 #define SWIGTYPE_p_XResizeRequestEvent swig_types[44]
693 #define SWIGTYPE_p_XSelectionRequestEvent swig_types[45]
694 #define SWIGTYPE_otk__OBTimeoutHandler swig_types[46]
695 #define SWIGTYPE_p_XftDraw swig_types[47]
696 #define SWIGTYPE_p_otk__ScreenInfo swig_types[48]
697 #define SWIGTYPE_p_otk__OtkFocusLabel swig_types[49]
698 #define SWIGTYPE_p_otk__BTexture swig_types[50]
699 #define SWIGTYPE_p_otk__OtkEventDispatcher swig_types[51]
700 #define SWIGTYPE_p_otk__BFont swig_types[52]
701 #define SWIGTYPE_p_otk__Point swig_types[53]
702 #define SWIGTYPE_p_p_char swig_types[54]
703 #define SWIGTYPE_p_XMotionEvent swig_types[55]
704 #define SWIGTYPE_p_XButtonEvent swig_types[56]
705 #define SWIGTYPE_p_XSelectionEvent swig_types[57]
706 #define SWIGTYPE_p_GC swig_types[58]
707 #define SWIGTYPE_p_otk__OBTimerQueueManager swig_types[59]
708 #define SWIGTYPE_p_otk__OtkAppWidget swig_types[60]
709 #define SWIGTYPE_p_XKeyEvent swig_types[61]
710 #define SWIGTYPE_p_p_unsigned_long swig_types[62]
711 #define SWIGTYPE_p_unsigned_long swig_types[63]
712 #define SWIGTYPE_p_XEvent swig_types[64]
713 #define SWIGTYPE_p_std__string swig_types[65]
714 #define SWIGTYPE_p_XCrossingEvent swig_types[66]
715 #define SWIGTYPE_p_XMappingEvent swig_types[67]
716 #define SWIGTYPE_p_otk__BGCCacheItem swig_types[68]
717 #define SWIGTYPE_p_p_unsigned_int swig_types[69]
718 #define SWIGTYPE_p_unsigned_int swig_types[70]
719 #define SWIGTYPE_p_p_unsigned_char swig_types[71]
720 #define SWIGTYPE_p_XClientMessageEvent swig_types[72]
721 #define SWIGTYPE_p_XGraphicsExposeEvent swig_types[73]
722 #define SWIGTYPE_p_XExposeEvent swig_types[74]
723 #define SWIGTYPE_p_XFocusChangeEvent swig_types[75]
724 #define SWIGTYPE_p_XNoExposeEvent swig_types[76]
725 #define SWIGTYPE_p_XMapEvent swig_types[77]
726 #define SWIGTYPE_p_XUnmapEvent swig_types[78]
727 #define SWIGTYPE_p_XColormapEvent swig_types[79]
728 static swig_type_info *swig_types[81];
730 /* -------- TYPES TABLE (END) -------- */
733 /*-----------------------------------------------
735 ------------------------------------------------*/
736 #define SWIG_init init_otk
738 #define SWIG_name "_otk"
741 # include "../config.h"
744 #include "application.hh"
745 #include "appwidget.hh"
746 #include "assassin.hh"
749 #include "configuration.hh"
750 #include "display.hh"
751 #include "eventdispatcher.hh"
752 #include "eventhandler.hh"
753 #include "focuslabel.hh"
754 #include "focuswidget.hh"
756 #include "gccache.hh"
760 #include "property.hh"
762 #include "screeninfo.hh"
765 #include "texture.hh"
767 #include "timerqueue.hh"
768 #include "timerqueuemanager.hh"
773 #define SWIG_MemoryError 1
774 #define SWIG_IOError 2
775 #define SWIG_RuntimeError 3
776 #define SWIG_IndexError 4
777 #define SWIG_TypeError 5
778 #define SWIG_DivisionByZero 6
779 #define SWIG_OverflowError 7
780 #define SWIG_SyntaxError 8
781 #define SWIG_ValueError 9
782 #define SWIG_SystemError 10
783 #define SWIG_UnknownError 99
786 static void _SWIG_exception(int code, const char *msg) {
788 case SWIG_MemoryError:
789 PyErr_SetString(PyExc_MemoryError,msg);
792 PyErr_SetString(PyExc_IOError,msg);
794 case SWIG_RuntimeError:
795 PyErr_SetString(PyExc_RuntimeError,msg);
797 case SWIG_IndexError:
798 PyErr_SetString(PyExc_IndexError,msg);
801 PyErr_SetString(PyExc_TypeError,msg);
803 case SWIG_DivisionByZero:
804 PyErr_SetString(PyExc_ZeroDivisionError,msg);
806 case SWIG_OverflowError:
807 PyErr_SetString(PyExc_OverflowError,msg);
809 case SWIG_SyntaxError:
810 PyErr_SetString(PyExc_SyntaxError,msg);
812 case SWIG_ValueError:
813 PyErr_SetString(PyExc_ValueError,msg);
815 case SWIG_SystemError:
816 PyErr_SetString(PyExc_SystemError,msg);
819 PyErr_SetString(PyExc_RuntimeError,msg);
824 #define SWIG_exception(a,b) { _SWIG_exception(a,b); SWIG_fail; }
832 static PyObject* SwigInt_FromBool(bool b) {
833 return PyInt_FromLong(b ? 1L : 0L);
835 static double SwigNumber_Check(PyObject* o) {
836 return PyFloat_Check(o) || PyInt_Check(o);
838 static double SwigNumber_AsDouble(PyObject* o) {
839 return (PyFloat_Check(o) ? PyFloat_AsDouble(o) : double(PyInt_AsLong(o)));
841 static PyObject* SwigString_FromString(const std::string& s) {
842 return PyString_FromString(s.c_str());
844 static std::string SwigString_AsString(PyObject* o) {
845 return std::string(PyString_AsString(o));
854 Display *OBDisplay_display() { return otk::OBDisplay::display; }
859 static PyObject *_wrap_OBDisplay_display(PyObject *self, PyObject *args) {
863 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_display")) goto fail;
864 result = (Display *)OBDisplay_display();
866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Display, 0);
873 static PyObject *_wrap_new_OtkEventDispatcher(PyObject *self, PyObject *args) {
875 otk::OtkEventDispatcher *result;
877 if(!PyArg_ParseTuple(args,(char *)":new_OtkEventDispatcher")) goto fail;
878 result = (otk::OtkEventDispatcher *)new otk::OtkEventDispatcher();
880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 1);
887 static PyObject *_wrap_delete_OtkEventDispatcher(PyObject *self, PyObject *args) {
889 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
890 PyObject * obj0 = 0 ;
892 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventDispatcher",&obj0)) goto fail;
893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
896 Py_INCREF(Py_None); resultobj = Py_None;
903 static PyObject *_wrap_OtkEventDispatcher_clearAllHandlers(PyObject *self, PyObject *args) {
905 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
906 PyObject * obj0 = 0 ;
908 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_clearAllHandlers",&obj0)) goto fail;
909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
910 (arg1)->clearAllHandlers();
912 Py_INCREF(Py_None); resultobj = Py_None;
919 static PyObject *_wrap_OtkEventDispatcher_registerHandler(PyObject *self, PyObject *args) {
921 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
923 otk::OtkEventHandler *arg3 = (otk::OtkEventHandler *) 0 ;
924 PyObject * obj0 = 0 ;
925 PyObject * obj1 = 0 ;
926 PyObject * obj2 = 0 ;
928 if(!PyArg_ParseTuple(args,(char *)"OOO:OtkEventDispatcher_registerHandler",&obj0,&obj1,&obj2)) goto fail;
929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
930 arg2 = (Window) PyInt_AsLong(obj1);
931 if (PyErr_Occurred()) SWIG_fail;
932 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
933 (arg1)->registerHandler(arg2,arg3);
935 Py_INCREF(Py_None); resultobj = Py_None;
942 static PyObject *_wrap_OtkEventDispatcher_clearHandler(PyObject *self, PyObject *args) {
944 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
946 PyObject * obj0 = 0 ;
947 PyObject * obj1 = 0 ;
949 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_clearHandler",&obj0,&obj1)) goto fail;
950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
951 arg2 = (Window) PyInt_AsLong(obj1);
952 if (PyErr_Occurred()) SWIG_fail;
953 (arg1)->clearHandler(arg2);
955 Py_INCREF(Py_None); resultobj = Py_None;
962 static PyObject *_wrap_OtkEventDispatcher_dispatchEvents(PyObject *self, PyObject *args) {
964 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
965 PyObject * obj0 = 0 ;
967 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_dispatchEvents",&obj0)) goto fail;
968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
969 (arg1)->dispatchEvents();
971 Py_INCREF(Py_None); resultobj = Py_None;
978 static PyObject *_wrap_OtkEventDispatcher_setFallbackHandler(PyObject *self, PyObject *args) {
980 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
981 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
982 PyObject * obj0 = 0 ;
983 PyObject * obj1 = 0 ;
985 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setFallbackHandler",&obj0,&obj1)) goto fail;
986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
988 (arg1)->setFallbackHandler(arg2);
990 Py_INCREF(Py_None); resultobj = Py_None;
997 static PyObject *_wrap_OtkEventDispatcher_getFallbackHandler(PyObject *self, PyObject *args) {
999 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1000 otk::OtkEventHandler *result;
1001 PyObject * obj0 = 0 ;
1003 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getFallbackHandler",&obj0)) goto fail;
1004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1005 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getFallbackHandler();
1007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1014 static PyObject *_wrap_OtkEventDispatcher_setMasterHandler(PyObject *self, PyObject *args) {
1015 PyObject *resultobj;
1016 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1017 otk::OtkEventHandler *arg2 = (otk::OtkEventHandler *) 0 ;
1018 PyObject * obj0 = 0 ;
1019 PyObject * obj1 = 0 ;
1021 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_setMasterHandler",&obj0,&obj1)) goto fail;
1022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1024 (arg1)->setMasterHandler(arg2);
1026 Py_INCREF(Py_None); resultobj = Py_None;
1033 static PyObject *_wrap_OtkEventDispatcher_getMasterHandler(PyObject *self, PyObject *args) {
1034 PyObject *resultobj;
1035 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1036 otk::OtkEventHandler *result;
1037 PyObject * obj0 = 0 ;
1039 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_getMasterHandler",&obj0)) goto fail;
1040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1041 result = (otk::OtkEventHandler *)((otk::OtkEventDispatcher const *)arg1)->getMasterHandler();
1043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1050 static PyObject *_wrap_OtkEventDispatcher_findHandler(PyObject *self, PyObject *args) {
1051 PyObject *resultobj;
1052 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1054 otk::OtkEventHandler *result;
1055 PyObject * obj0 = 0 ;
1056 PyObject * obj1 = 0 ;
1058 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventDispatcher_findHandler",&obj0,&obj1)) goto fail;
1059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1060 arg2 = (Window) PyInt_AsLong(obj1);
1061 if (PyErr_Occurred()) SWIG_fail;
1062 result = (otk::OtkEventHandler *)(arg1)->findHandler(arg2);
1064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventHandler, 0);
1071 static PyObject *_wrap_OtkEventDispatcher_lastTime(PyObject *self, PyObject *args) {
1072 PyObject *resultobj;
1073 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1075 PyObject * obj0 = 0 ;
1077 if(!PyArg_ParseTuple(args,(char *)"O:OtkEventDispatcher_lastTime",&obj0)) goto fail;
1078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1079 result = (Time)((otk::OtkEventDispatcher const *)arg1)->lastTime();
1081 resultobj = PyInt_FromLong((long)result);
1088 static PyObject * OtkEventDispatcher_swigregister(PyObject *self, PyObject *args) {
1090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1091 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventDispatcher, obj);
1093 return Py_BuildValue((char *)"");
1095 static PyObject *_wrap_OtkEventHandler_handle(PyObject *self, PyObject *args) {
1096 PyObject *resultobj;
1097 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1099 PyObject * obj0 = 0 ;
1100 PyObject * obj1 = 0 ;
1102 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_handle",&obj0,&obj1)) goto fail;
1103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1108 (arg1)->handle((XEvent const &)*arg2);
1110 Py_INCREF(Py_None); resultobj = Py_None;
1117 static PyObject *_wrap_OtkEventHandler_keyPressHandler(PyObject *self, PyObject *args) {
1118 PyObject *resultobj;
1119 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1120 XKeyEvent *arg2 = 0 ;
1121 PyObject * obj0 = 0 ;
1122 PyObject * obj1 = 0 ;
1124 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyPressHandler",&obj0,&obj1)) goto fail;
1125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1130 (arg1)->keyPressHandler((XKeyEvent const &)*arg2);
1132 Py_INCREF(Py_None); resultobj = Py_None;
1139 static PyObject *_wrap_OtkEventHandler_keyReleaseHandler(PyObject *self, PyObject *args) {
1140 PyObject *resultobj;
1141 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1142 XKeyEvent *arg2 = 0 ;
1143 PyObject * obj0 = 0 ;
1144 PyObject * obj1 = 0 ;
1146 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_keyReleaseHandler",&obj0,&obj1)) goto fail;
1147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1152 (arg1)->keyReleaseHandler((XKeyEvent const &)*arg2);
1154 Py_INCREF(Py_None); resultobj = Py_None;
1161 static PyObject *_wrap_OtkEventHandler_buttonPressHandler(PyObject *self, PyObject *args) {
1162 PyObject *resultobj;
1163 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1164 XButtonEvent *arg2 = 0 ;
1165 PyObject * obj0 = 0 ;
1166 PyObject * obj1 = 0 ;
1168 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonPressHandler",&obj0,&obj1)) goto fail;
1169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1174 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
1176 Py_INCREF(Py_None); resultobj = Py_None;
1183 static PyObject *_wrap_OtkEventHandler_buttonReleaseHandler(PyObject *self, PyObject *args) {
1184 PyObject *resultobj;
1185 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1186 XButtonEvent *arg2 = 0 ;
1187 PyObject * obj0 = 0 ;
1188 PyObject * obj1 = 0 ;
1190 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_buttonReleaseHandler",&obj0,&obj1)) goto fail;
1191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1196 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
1198 Py_INCREF(Py_None); resultobj = Py_None;
1205 static PyObject *_wrap_OtkEventHandler_motionHandler(PyObject *self, PyObject *args) {
1206 PyObject *resultobj;
1207 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1208 XMotionEvent *arg2 = 0 ;
1209 PyObject * obj0 = 0 ;
1210 PyObject * obj1 = 0 ;
1212 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_motionHandler",&obj0,&obj1)) goto fail;
1213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMotionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1218 (arg1)->motionHandler((XMotionEvent const &)*arg2);
1220 Py_INCREF(Py_None); resultobj = Py_None;
1227 static PyObject *_wrap_OtkEventHandler_enterHandler(PyObject *self, PyObject *args) {
1228 PyObject *resultobj;
1229 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1230 XCrossingEvent *arg2 = 0 ;
1231 PyObject * obj0 = 0 ;
1232 PyObject * obj1 = 0 ;
1234 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_enterHandler",&obj0,&obj1)) goto fail;
1235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1240 (arg1)->enterHandler((XCrossingEvent const &)*arg2);
1242 Py_INCREF(Py_None); resultobj = Py_None;
1249 static PyObject *_wrap_OtkEventHandler_leaveHandler(PyObject *self, PyObject *args) {
1250 PyObject *resultobj;
1251 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1252 XCrossingEvent *arg2 = 0 ;
1253 PyObject * obj0 = 0 ;
1254 PyObject * obj1 = 0 ;
1256 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_leaveHandler",&obj0,&obj1)) goto fail;
1257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCrossingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1262 (arg1)->leaveHandler((XCrossingEvent const &)*arg2);
1264 Py_INCREF(Py_None); resultobj = Py_None;
1271 static PyObject *_wrap_OtkEventHandler_focusHandler(PyObject *self, PyObject *args) {
1272 PyObject *resultobj;
1273 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1274 XFocusChangeEvent *arg2 = 0 ;
1275 PyObject * obj0 = 0 ;
1276 PyObject * obj1 = 0 ;
1278 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_focusHandler",&obj0,&obj1)) goto fail;
1279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1284 (arg1)->focusHandler((XFocusChangeEvent const &)*arg2);
1286 Py_INCREF(Py_None); resultobj = Py_None;
1293 static PyObject *_wrap_OtkEventHandler_unfocusHandler(PyObject *self, PyObject *args) {
1294 PyObject *resultobj;
1295 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1296 XFocusChangeEvent *arg2 = 0 ;
1297 PyObject * obj0 = 0 ;
1298 PyObject * obj1 = 0 ;
1300 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unfocusHandler",&obj0,&obj1)) goto fail;
1301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFocusChangeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1306 (arg1)->unfocusHandler((XFocusChangeEvent const &)*arg2);
1308 Py_INCREF(Py_None); resultobj = Py_None;
1315 static PyObject *_wrap_OtkEventHandler_exposeHandler(PyObject *self, PyObject *args) {
1316 PyObject *resultobj;
1317 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1318 XExposeEvent *arg2 = 0 ;
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1322 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_exposeHandler",&obj0,&obj1)) goto fail;
1323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1328 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
1330 Py_INCREF(Py_None); resultobj = Py_None;
1337 static PyObject *_wrap_OtkEventHandler_graphicsExposeHandler(PyObject *self, PyObject *args) {
1338 PyObject *resultobj;
1339 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1340 XGraphicsExposeEvent *arg2 = 0 ;
1341 PyObject * obj0 = 0 ;
1342 PyObject * obj1 = 0 ;
1344 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_graphicsExposeHandler",&obj0,&obj1)) goto fail;
1345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGraphicsExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1350 (arg1)->graphicsExposeHandler((XGraphicsExposeEvent const &)*arg2);
1352 Py_INCREF(Py_None); resultobj = Py_None;
1359 static PyObject *_wrap_OtkEventHandler_noExposeEventHandler(PyObject *self, PyObject *args) {
1360 PyObject *resultobj;
1361 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1362 XNoExposeEvent *arg2 = 0 ;
1363 PyObject * obj0 = 0 ;
1364 PyObject * obj1 = 0 ;
1366 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_noExposeEventHandler",&obj0,&obj1)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XNoExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1372 (arg1)->noExposeEventHandler((XNoExposeEvent const &)*arg2);
1374 Py_INCREF(Py_None); resultobj = Py_None;
1381 static PyObject *_wrap_OtkEventHandler_circulateRequestHandler(PyObject *self, PyObject *args) {
1382 PyObject *resultobj;
1383 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1384 XCirculateRequestEvent *arg2 = 0 ;
1385 PyObject * obj0 = 0 ;
1386 PyObject * obj1 = 0 ;
1388 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateRequestHandler",&obj0,&obj1)) goto fail;
1389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1394 (arg1)->circulateRequestHandler((XCirculateRequestEvent const &)*arg2);
1396 Py_INCREF(Py_None); resultobj = Py_None;
1403 static PyObject *_wrap_OtkEventHandler_configureRequestHandler(PyObject *self, PyObject *args) {
1404 PyObject *resultobj;
1405 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1406 XConfigureRequestEvent *arg2 = 0 ;
1407 PyObject * obj0 = 0 ;
1408 PyObject * obj1 = 0 ;
1410 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureRequestHandler",&obj0,&obj1)) goto fail;
1411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1416 (arg1)->configureRequestHandler((XConfigureRequestEvent const &)*arg2);
1418 Py_INCREF(Py_None); resultobj = Py_None;
1425 static PyObject *_wrap_OtkEventHandler_mapRequestHandler(PyObject *self, PyObject *args) {
1426 PyObject *resultobj;
1427 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1428 XMapRequestEvent *arg2 = 0 ;
1429 PyObject * obj0 = 0 ;
1430 PyObject * obj1 = 0 ;
1432 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapRequestHandler",&obj0,&obj1)) goto fail;
1433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1438 (arg1)->mapRequestHandler((XMapRequestEvent const &)*arg2);
1440 Py_INCREF(Py_None); resultobj = Py_None;
1447 static PyObject *_wrap_OtkEventHandler_resizeRequestHandler(PyObject *self, PyObject *args) {
1448 PyObject *resultobj;
1449 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1450 XResizeRequestEvent *arg2 = 0 ;
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1454 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_resizeRequestHandler",&obj0,&obj1)) goto fail;
1455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XResizeRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1460 (arg1)->resizeRequestHandler((XResizeRequestEvent const &)*arg2);
1462 Py_INCREF(Py_None); resultobj = Py_None;
1469 static PyObject *_wrap_OtkEventHandler_circulateHandler(PyObject *self, PyObject *args) {
1470 PyObject *resultobj;
1471 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1472 XCirculateEvent *arg2 = 0 ;
1473 PyObject * obj0 = 0 ;
1474 PyObject * obj1 = 0 ;
1476 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_circulateHandler",&obj0,&obj1)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCirculateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1482 (arg1)->circulateHandler((XCirculateEvent const &)*arg2);
1484 Py_INCREF(Py_None); resultobj = Py_None;
1491 static PyObject *_wrap_OtkEventHandler_configureHandler(PyObject *self, PyObject *args) {
1492 PyObject *resultobj;
1493 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1494 XConfigureEvent *arg2 = 0 ;
1495 PyObject * obj0 = 0 ;
1496 PyObject * obj1 = 0 ;
1498 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_configureHandler",&obj0,&obj1)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1504 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
1506 Py_INCREF(Py_None); resultobj = Py_None;
1513 static PyObject *_wrap_OtkEventHandler_createHandler(PyObject *self, PyObject *args) {
1514 PyObject *resultobj;
1515 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1516 XCreateWindowEvent *arg2 = 0 ;
1517 PyObject * obj0 = 0 ;
1518 PyObject * obj1 = 0 ;
1520 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_createHandler",&obj0,&obj1)) goto fail;
1521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XCreateWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1526 (arg1)->createHandler((XCreateWindowEvent const &)*arg2);
1528 Py_INCREF(Py_None); resultobj = Py_None;
1535 static PyObject *_wrap_OtkEventHandler_destroyHandler(PyObject *self, PyObject *args) {
1536 PyObject *resultobj;
1537 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1538 XDestroyWindowEvent *arg2 = 0 ;
1539 PyObject * obj0 = 0 ;
1540 PyObject * obj1 = 0 ;
1542 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_destroyHandler",&obj0,&obj1)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XDestroyWindowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1548 (arg1)->destroyHandler((XDestroyWindowEvent const &)*arg2);
1550 Py_INCREF(Py_None); resultobj = Py_None;
1557 static PyObject *_wrap_OtkEventHandler_gravityHandler(PyObject *self, PyObject *args) {
1558 PyObject *resultobj;
1559 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1560 XGravityEvent *arg2 = 0 ;
1561 PyObject * obj0 = 0 ;
1562 PyObject * obj1 = 0 ;
1564 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_gravityHandler",&obj0,&obj1)) goto fail;
1565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XGravityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1570 (arg1)->gravityHandler((XGravityEvent const &)*arg2);
1572 Py_INCREF(Py_None); resultobj = Py_None;
1579 static PyObject *_wrap_OtkEventHandler_mapHandler(PyObject *self, PyObject *args) {
1580 PyObject *resultobj;
1581 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1582 XMapEvent *arg2 = 0 ;
1583 PyObject * obj0 = 0 ;
1584 PyObject * obj1 = 0 ;
1586 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mapHandler",&obj0,&obj1)) goto fail;
1587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1592 (arg1)->mapHandler((XMapEvent const &)*arg2);
1594 Py_INCREF(Py_None); resultobj = Py_None;
1601 static PyObject *_wrap_OtkEventHandler_mappingHandler(PyObject *self, PyObject *args) {
1602 PyObject *resultobj;
1603 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1604 XMappingEvent *arg2 = 0 ;
1605 PyObject * obj0 = 0 ;
1606 PyObject * obj1 = 0 ;
1608 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_mappingHandler",&obj0,&obj1)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XMappingEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1614 (arg1)->mappingHandler((XMappingEvent const &)*arg2);
1616 Py_INCREF(Py_None); resultobj = Py_None;
1623 static PyObject *_wrap_OtkEventHandler_reparentHandler(PyObject *self, PyObject *args) {
1624 PyObject *resultobj;
1625 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1626 XReparentEvent *arg2 = 0 ;
1627 PyObject * obj0 = 0 ;
1628 PyObject * obj1 = 0 ;
1630 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_reparentHandler",&obj0,&obj1)) goto fail;
1631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XReparentEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1636 (arg1)->reparentHandler((XReparentEvent const &)*arg2);
1638 Py_INCREF(Py_None); resultobj = Py_None;
1645 static PyObject *_wrap_OtkEventHandler_unmapHandler(PyObject *self, PyObject *args) {
1646 PyObject *resultobj;
1647 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1648 XUnmapEvent *arg2 = 0 ;
1649 PyObject * obj0 = 0 ;
1650 PyObject * obj1 = 0 ;
1652 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_unmapHandler",&obj0,&obj1)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XUnmapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1658 (arg1)->unmapHandler((XUnmapEvent const &)*arg2);
1660 Py_INCREF(Py_None); resultobj = Py_None;
1667 static PyObject *_wrap_OtkEventHandler_visibilityHandler(PyObject *self, PyObject *args) {
1668 PyObject *resultobj;
1669 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1670 XVisibilityEvent *arg2 = 0 ;
1671 PyObject * obj0 = 0 ;
1672 PyObject * obj1 = 0 ;
1674 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_visibilityHandler",&obj0,&obj1)) goto fail;
1675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XVisibilityEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1680 (arg1)->visibilityHandler((XVisibilityEvent const &)*arg2);
1682 Py_INCREF(Py_None); resultobj = Py_None;
1689 static PyObject *_wrap_OtkEventHandler_colorMapHandler(PyObject *self, PyObject *args) {
1690 PyObject *resultobj;
1691 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1692 XColormapEvent *arg2 = 0 ;
1693 PyObject * obj0 = 0 ;
1694 PyObject * obj1 = 0 ;
1696 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_colorMapHandler",&obj0,&obj1)) goto fail;
1697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XColormapEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1702 (arg1)->colorMapHandler((XColormapEvent const &)*arg2);
1704 Py_INCREF(Py_None); resultobj = Py_None;
1711 static PyObject *_wrap_OtkEventHandler_propertyHandler(PyObject *self, PyObject *args) {
1712 PyObject *resultobj;
1713 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1714 XPropertyEvent *arg2 = 0 ;
1715 PyObject * obj0 = 0 ;
1716 PyObject * obj1 = 0 ;
1718 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_propertyHandler",&obj0,&obj1)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XPropertyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1724 (arg1)->propertyHandler((XPropertyEvent const &)*arg2);
1726 Py_INCREF(Py_None); resultobj = Py_None;
1733 static PyObject *_wrap_OtkEventHandler_selectionClearHandler(PyObject *self, PyObject *args) {
1734 PyObject *resultobj;
1735 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1736 XSelectionClearEvent *arg2 = 0 ;
1737 PyObject * obj0 = 0 ;
1738 PyObject * obj1 = 0 ;
1740 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionClearHandler",&obj0,&obj1)) goto fail;
1741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionClearEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1746 (arg1)->selectionClearHandler((XSelectionClearEvent const &)*arg2);
1748 Py_INCREF(Py_None); resultobj = Py_None;
1755 static PyObject *_wrap_OtkEventHandler_selectionHandler(PyObject *self, PyObject *args) {
1756 PyObject *resultobj;
1757 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1758 XSelectionEvent *arg2 = 0 ;
1759 PyObject * obj0 = 0 ;
1760 PyObject * obj1 = 0 ;
1762 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionHandler",&obj0,&obj1)) goto fail;
1763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1768 (arg1)->selectionHandler((XSelectionEvent const &)*arg2);
1770 Py_INCREF(Py_None); resultobj = Py_None;
1777 static PyObject *_wrap_OtkEventHandler_selectionRequestHandler(PyObject *self, PyObject *args) {
1778 PyObject *resultobj;
1779 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1780 XSelectionRequestEvent *arg2 = 0 ;
1781 PyObject * obj0 = 0 ;
1782 PyObject * obj1 = 0 ;
1784 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_selectionRequestHandler",&obj0,&obj1)) goto fail;
1785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XSelectionRequestEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1790 (arg1)->selectionRequestHandler((XSelectionRequestEvent const &)*arg2);
1792 Py_INCREF(Py_None); resultobj = Py_None;
1799 static PyObject *_wrap_OtkEventHandler_clientMessageHandler(PyObject *self, PyObject *args) {
1800 PyObject *resultobj;
1801 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1802 XClientMessageEvent *arg2 = 0 ;
1803 PyObject * obj0 = 0 ;
1804 PyObject * obj1 = 0 ;
1806 if(!PyArg_ParseTuple(args,(char *)"OO:OtkEventHandler_clientMessageHandler",&obj0,&obj1)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1812 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
1814 Py_INCREF(Py_None); resultobj = Py_None;
1821 static PyObject *_wrap_delete_OtkEventHandler(PyObject *self, PyObject *args) {
1822 PyObject *resultobj;
1823 otk::OtkEventHandler *arg1 = (otk::OtkEventHandler *) 0 ;
1824 PyObject * obj0 = 0 ;
1826 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkEventHandler",&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1830 Py_INCREF(Py_None); resultobj = Py_None;
1837 static PyObject * OtkEventHandler_swigregister(PyObject *self, PyObject *args) {
1839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1840 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkEventHandler, obj);
1842 return Py_BuildValue((char *)"");
1844 static PyObject *_wrap_new_OtkWidget__SWIG_0(PyObject *self, PyObject *args) {
1845 PyObject *resultobj;
1846 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1847 int arg2 = (int) otk::OtkWidget::Horizontal ;
1848 otk::OtkWidget *result;
1849 PyObject * obj0 = 0 ;
1851 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkWidget",&obj0,&arg2)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1853 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,(otk::OtkWidget::Direction )arg2);
1855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1862 static PyObject *_wrap_new_OtkWidget__SWIG_1(PyObject *self, PyObject *args) {
1863 PyObject *resultobj;
1864 otk::OtkEventDispatcher *arg1 = (otk::OtkEventDispatcher *) 0 ;
1865 otk::Style *arg2 = (otk::Style *) 0 ;
1866 int arg3 = (int) otk::OtkWidget::Horizontal ;
1867 Cursor arg4 = (Cursor) 0 ;
1868 int arg5 = (int) 1 ;
1869 bool arg6 = (bool) false ;
1870 otk::OtkWidget *result;
1871 PyObject * obj0 = 0 ;
1872 PyObject * obj1 = 0 ;
1873 PyObject * obj3 = 0 ;
1874 PyObject * obj5 = 0 ;
1876 if(!PyArg_ParseTuple(args,(char *)"OO|iOiO:new_OtkWidget",&obj0,&obj1,&arg3,&obj3,&arg5,&obj5)) goto fail;
1877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1880 arg4 = (Cursor) PyInt_AsLong(obj3);
1881 if (PyErr_Occurred()) SWIG_fail;
1884 arg6 = (bool) PyInt_AsLong(obj5);
1885 if (PyErr_Occurred()) SWIG_fail;
1887 result = (otk::OtkWidget *)new otk::OtkWidget(arg1,arg2,(otk::OtkWidget::Direction )arg3,arg4,arg5,arg6);
1889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 1);
1896 static PyObject *_wrap_new_OtkWidget(PyObject *self, PyObject *args) {
1901 argc = PyObject_Length(args);
1902 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
1903 argv[ii] = PyTuple_GetItem(args,ii);
1905 if ((argc >= 1) && (argc <= 2)) {
1909 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
1918 return _wrap_new_OtkWidget__SWIG_0(self,args);
1921 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1924 return _wrap_new_OtkWidget__SWIG_0(self,args);
1928 if ((argc >= 2) && (argc <= 6)) {
1932 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkEventDispatcher, 0) == -1) {
1942 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Style, 0) == -1) {
1951 return _wrap_new_OtkWidget__SWIG_1(self,args);
1954 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1958 return _wrap_new_OtkWidget__SWIG_1(self,args);
1961 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
1965 return _wrap_new_OtkWidget__SWIG_1(self,args);
1968 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
1972 return _wrap_new_OtkWidget__SWIG_1(self,args);
1975 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
1978 return _wrap_new_OtkWidget__SWIG_1(self,args);
1987 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_OtkWidget'");
1992 static PyObject *_wrap_delete_OtkWidget(PyObject *self, PyObject *args) {
1993 PyObject *resultobj;
1994 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
1995 PyObject * obj0 = 0 ;
1997 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkWidget",&obj0)) goto fail;
1998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2001 Py_INCREF(Py_None); resultobj = Py_None;
2008 static PyObject *_wrap_OtkWidget_update(PyObject *self, PyObject *args) {
2009 PyObject *resultobj;
2010 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2011 PyObject * obj0 = 0 ;
2013 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_update",&obj0)) goto fail;
2014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2017 Py_INCREF(Py_None); resultobj = Py_None;
2024 static PyObject *_wrap_OtkWidget_exposeHandler(PyObject *self, PyObject *args) {
2025 PyObject *resultobj;
2026 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2027 XExposeEvent *arg2 = 0 ;
2028 PyObject * obj0 = 0 ;
2029 PyObject * obj1 = 0 ;
2031 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_exposeHandler",&obj0,&obj1)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XExposeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2037 (arg1)->exposeHandler((XExposeEvent const &)*arg2);
2039 Py_INCREF(Py_None); resultobj = Py_None;
2046 static PyObject *_wrap_OtkWidget_configureHandler(PyObject *self, PyObject *args) {
2047 PyObject *resultobj;
2048 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2049 XConfigureEvent *arg2 = 0 ;
2050 PyObject * obj0 = 0 ;
2051 PyObject * obj1 = 0 ;
2053 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_configureHandler",&obj0,&obj1)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XConfigureEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2059 (arg1)->configureHandler((XConfigureEvent const &)*arg2);
2061 Py_INCREF(Py_None); resultobj = Py_None;
2068 static PyObject *_wrap_OtkWidget_window(PyObject *self, PyObject *args) {
2069 PyObject *resultobj;
2070 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2072 PyObject * obj0 = 0 ;
2074 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_window",&obj0)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 result = (Window)((otk::OtkWidget const *)arg1)->window();
2078 resultobj = PyInt_FromLong((long)result);
2085 static PyObject *_wrap_OtkWidget_parent(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2088 otk::OtkWidget *result;
2089 PyObject * obj0 = 0 ;
2091 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_parent",&obj0)) goto fail;
2092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2093 result = (otk::OtkWidget *)((otk::OtkWidget const *)arg1)->parent();
2095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget, 0);
2102 static PyObject *_wrap_OtkWidget_children(PyObject *self, PyObject *args) {
2103 PyObject *resultobj;
2104 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2105 otk::OtkWidget::OtkWidgetList *result;
2106 PyObject * obj0 = 0 ;
2108 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_children",&obj0)) goto fail;
2109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 otk::OtkWidget::OtkWidgetList const &_result_ref = ((otk::OtkWidget const *)arg1)->children();
2112 result = (otk::OtkWidget::OtkWidgetList *) &_result_ref;
2115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkWidget__OtkWidgetList, 0);
2122 static PyObject *_wrap_OtkWidget_screen(PyObject *self, PyObject *args) {
2123 PyObject *resultobj;
2124 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2125 unsigned int result;
2126 PyObject * obj0 = 0 ;
2128 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_screen",&obj0)) goto fail;
2129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2130 result = (unsigned int)((otk::OtkWidget const *)arg1)->screen();
2132 resultobj = PyInt_FromLong((long)result);
2139 static PyObject *_wrap_OtkWidget_rect(PyObject *self, PyObject *args) {
2140 PyObject *resultobj;
2141 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2143 PyObject * obj0 = 0 ;
2145 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_rect",&obj0)) goto fail;
2146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 otk::Rect const &_result_ref = ((otk::OtkWidget const *)arg1)->rect();
2149 result = (otk::Rect *) &_result_ref;
2152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
2159 static PyObject *_wrap_OtkWidget_move__SWIG_0(PyObject *self, PyObject *args) {
2160 PyObject *resultobj;
2161 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2162 otk::Point *arg2 = 0 ;
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
2166 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_move",&obj0,&obj1)) goto fail;
2167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2172 (arg1)->move((otk::Point const &)*arg2);
2174 Py_INCREF(Py_None); resultobj = Py_None;
2181 static PyObject *_wrap_OtkWidget_move__SWIG_1(PyObject *self, PyObject *args) {
2182 PyObject *resultobj;
2183 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2186 PyObject * obj0 = 0 ;
2188 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_move",&obj0,&arg2,&arg3)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 (arg1)->move(arg2,arg3);
2192 Py_INCREF(Py_None); resultobj = Py_None;
2199 static PyObject *_wrap_OtkWidget_move(PyObject *self, PyObject *args) {
2204 argc = PyObject_Length(args);
2205 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2206 argv[ii] = PyTuple_GetItem(args,ii);
2212 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2222 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2230 return _wrap_OtkWidget_move__SWIG_0(self,args);
2238 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2247 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2251 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2254 return _wrap_OtkWidget_move__SWIG_1(self,args);
2260 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_move'");
2265 static PyObject *_wrap_OtkWidget_setWidth(PyObject *self, PyObject *args) {
2266 PyObject *resultobj;
2267 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2269 PyObject * obj0 = 0 ;
2271 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setWidth",&obj0,&arg2)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2273 (arg1)->setWidth(arg2);
2275 Py_INCREF(Py_None); resultobj = Py_None;
2282 static PyObject *_wrap_OtkWidget_setHeight(PyObject *self, PyObject *args) {
2283 PyObject *resultobj;
2284 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2286 PyObject * obj0 = 0 ;
2288 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setHeight",&obj0,&arg2)) goto fail;
2289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2290 (arg1)->setHeight(arg2);
2292 Py_INCREF(Py_None); resultobj = Py_None;
2299 static PyObject *_wrap_OtkWidget_width(PyObject *self, PyObject *args) {
2300 PyObject *resultobj;
2301 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2303 PyObject * obj0 = 0 ;
2305 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_width",&obj0)) goto fail;
2306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2307 result = (int)((otk::OtkWidget const *)arg1)->width();
2309 resultobj = PyInt_FromLong((long)result);
2316 static PyObject *_wrap_OtkWidget_height(PyObject *self, PyObject *args) {
2317 PyObject *resultobj;
2318 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2320 PyObject * obj0 = 0 ;
2322 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_height",&obj0)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2324 result = (int)((otk::OtkWidget const *)arg1)->height();
2326 resultobj = PyInt_FromLong((long)result);
2333 static PyObject *_wrap_OtkWidget_resize__SWIG_0(PyObject *self, PyObject *args) {
2334 PyObject *resultobj;
2335 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2336 otk::Point *arg2 = 0 ;
2337 PyObject * obj0 = 0 ;
2338 PyObject * obj1 = 0 ;
2340 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_resize",&obj0,&obj1)) goto fail;
2341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2346 (arg1)->resize((otk::Point const &)*arg2);
2348 Py_INCREF(Py_None); resultobj = Py_None;
2355 static PyObject *_wrap_OtkWidget_resize__SWIG_1(PyObject *self, PyObject *args) {
2356 PyObject *resultobj;
2357 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2360 PyObject * obj0 = 0 ;
2362 if(!PyArg_ParseTuple(args,(char *)"Oii:OtkWidget_resize",&obj0,&arg2,&arg3)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 (arg1)->resize(arg2,arg3);
2366 Py_INCREF(Py_None); resultobj = Py_None;
2373 static PyObject *_wrap_OtkWidget_resize(PyObject *self, PyObject *args) {
2378 argc = PyObject_Length(args);
2379 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2380 argv[ii] = PyTuple_GetItem(args,ii);
2386 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2396 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2404 return _wrap_OtkWidget_resize__SWIG_0(self,args);
2412 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2421 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2425 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2428 return _wrap_OtkWidget_resize__SWIG_1(self,args);
2434 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_resize'");
2439 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_0(PyObject *self, PyObject *args) {
2440 PyObject *resultobj;
2441 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2442 otk::Rect *arg2 = 0 ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2446 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setGeometry",&obj0,&obj1)) goto fail;
2447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2452 (arg1)->setGeometry((otk::Rect const &)*arg2);
2454 Py_INCREF(Py_None); resultobj = Py_None;
2461 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_1(PyObject *self, PyObject *args) {
2462 PyObject *resultobj;
2463 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2464 otk::Point *arg2 = 0 ;
2467 PyObject * obj0 = 0 ;
2468 PyObject * obj1 = 0 ;
2470 if(!PyArg_ParseTuple(args,(char *)"OOii:OtkWidget_setGeometry",&obj0,&obj1,&arg3,&arg4)) goto fail;
2471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2476 (arg1)->setGeometry((otk::Point const &)*arg2,arg3,arg4);
2478 Py_INCREF(Py_None); resultobj = Py_None;
2485 static PyObject *_wrap_OtkWidget_setGeometry__SWIG_2(PyObject *self, PyObject *args) {
2486 PyObject *resultobj;
2487 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2492 PyObject * obj0 = 0 ;
2494 if(!PyArg_ParseTuple(args,(char *)"Oiiii:OtkWidget_setGeometry",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
2495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2496 (arg1)->setGeometry(arg2,arg3,arg4,arg5);
2498 Py_INCREF(Py_None); resultobj = Py_None;
2505 static PyObject *_wrap_OtkWidget_setGeometry(PyObject *self, PyObject *args) {
2510 argc = PyObject_Length(args);
2511 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
2512 argv[ii] = PyTuple_GetItem(args,ii);
2518 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2528 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
2536 return _wrap_OtkWidget_setGeometry__SWIG_0(self,args);
2544 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2554 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
2563 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2567 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2570 return _wrap_OtkWidget_setGeometry__SWIG_1(self,args);
2580 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OtkWidget, 0) == -1) {
2589 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
2593 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
2597 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
2601 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
2604 return _wrap_OtkWidget_setGeometry__SWIG_2(self,args);
2612 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OtkWidget_setGeometry'");
2617 static PyObject *_wrap_OtkWidget_isVisible(PyObject *self, PyObject *args) {
2618 PyObject *resultobj;
2619 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2621 PyObject * obj0 = 0 ;
2623 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isVisible",&obj0)) goto fail;
2624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 result = (bool)((otk::OtkWidget const *)arg1)->isVisible();
2627 resultobj = PyInt_FromLong((long)result);
2634 static PyObject *_wrap_OtkWidget_show(PyObject *self, PyObject *args) {
2635 PyObject *resultobj;
2636 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2637 bool arg2 = (bool) false ;
2638 PyObject * obj0 = 0 ;
2639 PyObject * obj1 = 0 ;
2641 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_show",&obj0,&obj1)) goto fail;
2642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2644 arg2 = (bool) PyInt_AsLong(obj1);
2645 if (PyErr_Occurred()) SWIG_fail;
2649 Py_INCREF(Py_None); resultobj = Py_None;
2656 static PyObject *_wrap_OtkWidget_hide(PyObject *self, PyObject *args) {
2657 PyObject *resultobj;
2658 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2659 bool arg2 = (bool) false ;
2660 PyObject * obj0 = 0 ;
2661 PyObject * obj1 = 0 ;
2663 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_hide",&obj0,&obj1)) goto fail;
2664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2666 arg2 = (bool) PyInt_AsLong(obj1);
2667 if (PyErr_Occurred()) SWIG_fail;
2671 Py_INCREF(Py_None); resultobj = Py_None;
2678 static PyObject *_wrap_OtkWidget_isFocused(PyObject *self, PyObject *args) {
2679 PyObject *resultobj;
2680 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2682 PyObject * obj0 = 0 ;
2684 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isFocused",&obj0)) goto fail;
2685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 result = (bool)((otk::OtkWidget const *)arg1)->isFocused();
2688 resultobj = PyInt_FromLong((long)result);
2695 static PyObject *_wrap_OtkWidget_focus(PyObject *self, PyObject *args) {
2696 PyObject *resultobj;
2697 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2698 PyObject * obj0 = 0 ;
2700 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_focus",&obj0)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2704 Py_INCREF(Py_None); resultobj = Py_None;
2711 static PyObject *_wrap_OtkWidget_unfocus(PyObject *self, PyObject *args) {
2712 PyObject *resultobj;
2713 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2714 PyObject * obj0 = 0 ;
2716 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_unfocus",&obj0)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 Py_INCREF(Py_None); resultobj = Py_None;
2727 static PyObject *_wrap_OtkWidget_hasGrabbedMouse(PyObject *self, PyObject *args) {
2728 PyObject *resultobj;
2729 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2731 PyObject * obj0 = 0 ;
2733 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedMouse",&obj0)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2735 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedMouse();
2737 resultobj = PyInt_FromLong((long)result);
2744 static PyObject *_wrap_OtkWidget_grabMouse(PyObject *self, PyObject *args) {
2745 PyObject *resultobj;
2746 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2748 PyObject * obj0 = 0 ;
2750 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabMouse",&obj0)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2752 result = (bool)(arg1)->grabMouse();
2754 resultobj = PyInt_FromLong((long)result);
2761 static PyObject *_wrap_OtkWidget_ungrabMouse(PyObject *self, PyObject *args) {
2762 PyObject *resultobj;
2763 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2764 PyObject * obj0 = 0 ;
2766 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabMouse",&obj0)) goto fail;
2767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2768 (arg1)->ungrabMouse();
2770 Py_INCREF(Py_None); resultobj = Py_None;
2777 static PyObject *_wrap_OtkWidget_hasGrabbedKeyboard(PyObject *self, PyObject *args) {
2778 PyObject *resultobj;
2779 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2781 PyObject * obj0 = 0 ;
2783 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_hasGrabbedKeyboard",&obj0)) goto fail;
2784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2785 result = (bool)((otk::OtkWidget const *)arg1)->hasGrabbedKeyboard();
2787 resultobj = PyInt_FromLong((long)result);
2794 static PyObject *_wrap_OtkWidget_grabKeyboard(PyObject *self, PyObject *args) {
2795 PyObject *resultobj;
2796 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2798 PyObject * obj0 = 0 ;
2800 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_grabKeyboard",&obj0)) goto fail;
2801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2802 result = (bool)(arg1)->grabKeyboard();
2804 resultobj = PyInt_FromLong((long)result);
2811 static PyObject *_wrap_OtkWidget_ungrabKeyboard(PyObject *self, PyObject *args) {
2812 PyObject *resultobj;
2813 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2814 PyObject * obj0 = 0 ;
2816 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_ungrabKeyboard",&obj0)) goto fail;
2817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 (arg1)->ungrabKeyboard();
2820 Py_INCREF(Py_None); resultobj = Py_None;
2827 static PyObject *_wrap_OtkWidget_texture(PyObject *self, PyObject *args) {
2828 PyObject *resultobj;
2829 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2830 otk::BTexture *result;
2831 PyObject * obj0 = 0 ;
2833 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_texture",&obj0)) goto fail;
2834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2835 result = (otk::BTexture *)((otk::OtkWidget const *)arg1)->texture();
2837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
2844 static PyObject *_wrap_OtkWidget_setTexture(PyObject *self, PyObject *args) {
2845 PyObject *resultobj;
2846 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2847 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
2848 PyObject * obj0 = 0 ;
2849 PyObject * obj1 = 0 ;
2851 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setTexture",&obj0,&obj1)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 (arg1)->setTexture(arg2);
2856 Py_INCREF(Py_None); resultobj = Py_None;
2863 static PyObject *_wrap_OtkWidget_borderColor(PyObject *self, PyObject *args) {
2864 PyObject *resultobj;
2865 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2866 otk::BColor *result;
2867 PyObject * obj0 = 0 ;
2869 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderColor",&obj0)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 result = (otk::BColor *)((otk::OtkWidget const *)arg1)->borderColor();
2873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
2880 static PyObject *_wrap_OtkWidget_setBorderColor(PyObject *self, PyObject *args) {
2881 PyObject *resultobj;
2882 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2883 otk::BColor *arg2 = (otk::BColor *) 0 ;
2884 PyObject * obj0 = 0 ;
2885 PyObject * obj1 = 0 ;
2887 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setBorderColor",&obj0,&obj1)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 (arg1)->setBorderColor((otk::BColor const *)arg2);
2892 Py_INCREF(Py_None); resultobj = Py_None;
2899 static PyObject *_wrap_OtkWidget_borderWidth(PyObject *self, PyObject *args) {
2900 PyObject *resultobj;
2901 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2903 PyObject * obj0 = 0 ;
2905 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_borderWidth",&obj0)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 result = (int)((otk::OtkWidget const *)arg1)->borderWidth();
2909 resultobj = PyInt_FromLong((long)result);
2916 static PyObject *_wrap_OtkWidget_setBorderWidth(PyObject *self, PyObject *args) {
2917 PyObject *resultobj;
2918 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2920 PyObject * obj0 = 0 ;
2922 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBorderWidth",&obj0,&arg2)) goto fail;
2923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2924 (arg1)->setBorderWidth(arg2);
2926 Py_INCREF(Py_None); resultobj = Py_None;
2933 static PyObject *_wrap_OtkWidget_addChild(PyObject *self, PyObject *args) {
2934 PyObject *resultobj;
2935 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2936 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2937 bool arg3 = (bool) false ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 PyObject * obj2 = 0 ;
2942 if(!PyArg_ParseTuple(args,(char *)"OO|O:OtkWidget_addChild",&obj0,&obj1,&obj2)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 arg3 = (bool) PyInt_AsLong(obj2);
2947 if (PyErr_Occurred()) SWIG_fail;
2949 (arg1)->addChild(arg2,arg3);
2951 Py_INCREF(Py_None); resultobj = Py_None;
2958 static PyObject *_wrap_OtkWidget_removeChild(PyObject *self, PyObject *args) {
2959 PyObject *resultobj;
2960 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2961 otk::OtkWidget *arg2 = (otk::OtkWidget *) 0 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2965 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_removeChild",&obj0,&obj1)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 (arg1)->removeChild(arg2);
2970 Py_INCREF(Py_None); resultobj = Py_None;
2977 static PyObject *_wrap_OtkWidget_isStretchableHorz(PyObject *self, PyObject *args) {
2978 PyObject *resultobj;
2979 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2981 PyObject * obj0 = 0 ;
2983 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableHorz",&obj0)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableHorz();
2987 resultobj = PyInt_FromLong((long)result);
2994 static PyObject *_wrap_OtkWidget_setStretchableHorz(PyObject *self, PyObject *args) {
2995 PyObject *resultobj;
2996 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
2997 bool arg2 = (bool) true ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3001 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableHorz",&obj0,&obj1)) goto fail;
3002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 arg2 = (bool) PyInt_AsLong(obj1);
3005 if (PyErr_Occurred()) SWIG_fail;
3007 (arg1)->setStretchableHorz(arg2);
3009 Py_INCREF(Py_None); resultobj = Py_None;
3016 static PyObject *_wrap_OtkWidget_isStretchableVert(PyObject *self, PyObject *args) {
3017 PyObject *resultobj;
3018 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3020 PyObject * obj0 = 0 ;
3022 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_isStretchableVert",&obj0)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3024 result = (bool)((otk::OtkWidget const *)arg1)->isStretchableVert();
3026 resultobj = PyInt_FromLong((long)result);
3033 static PyObject *_wrap_OtkWidget_setStretchableVert(PyObject *self, PyObject *args) {
3034 PyObject *resultobj;
3035 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3036 bool arg2 = (bool) true ;
3037 PyObject * obj0 = 0 ;
3038 PyObject * obj1 = 0 ;
3040 if(!PyArg_ParseTuple(args,(char *)"O|O:OtkWidget_setStretchableVert",&obj0,&obj1)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3043 arg2 = (bool) PyInt_AsLong(obj1);
3044 if (PyErr_Occurred()) SWIG_fail;
3046 (arg1)->setStretchableVert(arg2);
3048 Py_INCREF(Py_None); resultobj = Py_None;
3055 static PyObject *_wrap_OtkWidget_cursor(PyObject *self, PyObject *args) {
3056 PyObject *resultobj;
3057 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3059 PyObject * obj0 = 0 ;
3061 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_cursor",&obj0)) goto fail;
3062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3063 result = (Cursor)((otk::OtkWidget const *)arg1)->cursor();
3065 resultobj = PyInt_FromLong((long)result);
3072 static PyObject *_wrap_OtkWidget_setCursor(PyObject *self, PyObject *args) {
3073 PyObject *resultobj;
3074 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3076 PyObject * obj0 = 0 ;
3077 PyObject * obj1 = 0 ;
3079 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setCursor",&obj0,&obj1)) goto fail;
3080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 arg2 = (Cursor) PyInt_AsLong(obj1);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 (arg1)->setCursor(arg2);
3085 Py_INCREF(Py_None); resultobj = Py_None;
3092 static PyObject *_wrap_OtkWidget_bevelWidth(PyObject *self, PyObject *args) {
3093 PyObject *resultobj;
3094 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3096 PyObject * obj0 = 0 ;
3098 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_bevelWidth",&obj0)) goto fail;
3099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3100 result = (int)((otk::OtkWidget const *)arg1)->bevelWidth();
3102 resultobj = PyInt_FromLong((long)result);
3109 static PyObject *_wrap_OtkWidget_setBevelWidth(PyObject *self, PyObject *args) {
3110 PyObject *resultobj;
3111 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3113 PyObject * obj0 = 0 ;
3115 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setBevelWidth",&obj0,&arg2)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 (arg1)->setBevelWidth(arg2);
3119 Py_INCREF(Py_None); resultobj = Py_None;
3126 static PyObject *_wrap_OtkWidget_direction(PyObject *self, PyObject *args) {
3127 PyObject *resultobj;
3128 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3130 PyObject * obj0 = 0 ;
3132 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_direction",&obj0)) goto fail;
3133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3134 result = (int)((otk::OtkWidget const *)arg1)->direction();
3136 resultobj = PyInt_FromLong((long)result);
3143 static PyObject *_wrap_OtkWidget_setDirection(PyObject *self, PyObject *args) {
3144 PyObject *resultobj;
3145 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3147 PyObject * obj0 = 0 ;
3149 if(!PyArg_ParseTuple(args,(char *)"Oi:OtkWidget_setDirection",&obj0,&arg2)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3151 (arg1)->setDirection((otk::OtkWidget::Direction )arg2);
3153 Py_INCREF(Py_None); resultobj = Py_None;
3160 static PyObject *_wrap_OtkWidget_style(PyObject *self, PyObject *args) {
3161 PyObject *resultobj;
3162 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3164 PyObject * obj0 = 0 ;
3166 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_style",&obj0)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 result = (otk::Style *)((otk::OtkWidget const *)arg1)->style();
3170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3177 static PyObject *_wrap_OtkWidget_setStyle(PyObject *self, PyObject *args) {
3178 PyObject *resultobj;
3179 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3180 otk::Style *arg2 = (otk::Style *) 0 ;
3181 PyObject * obj0 = 0 ;
3182 PyObject * obj1 = 0 ;
3184 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setStyle",&obj0,&obj1)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3187 (arg1)->setStyle(arg2);
3189 Py_INCREF(Py_None); resultobj = Py_None;
3196 static PyObject *_wrap_OtkWidget_eventDispatcher(PyObject *self, PyObject *args) {
3197 PyObject *resultobj;
3198 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3199 otk::OtkEventDispatcher *result;
3200 PyObject * obj0 = 0 ;
3202 if(!PyArg_ParseTuple(args,(char *)"O:OtkWidget_eventDispatcher",&obj0)) goto fail;
3203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3204 result = (otk::OtkEventDispatcher *)(arg1)->eventDispatcher();
3206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkEventDispatcher, 0);
3213 static PyObject *_wrap_OtkWidget_setEventDispatcher(PyObject *self, PyObject *args) {
3214 PyObject *resultobj;
3215 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3216 otk::OtkEventDispatcher *arg2 = (otk::OtkEventDispatcher *) 0 ;
3217 PyObject * obj0 = 0 ;
3218 PyObject * obj1 = 0 ;
3220 if(!PyArg_ParseTuple(args,(char *)"OO:OtkWidget_setEventDispatcher",&obj0,&obj1)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OtkEventDispatcher,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3223 (arg1)->setEventDispatcher(arg2);
3225 Py_INCREF(Py_None); resultobj = Py_None;
3232 static PyObject * OtkWidget_swigregister(PyObject *self, PyObject *args) {
3234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3235 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkWidget, obj);
3237 return Py_BuildValue((char *)"");
3239 static PyObject *_wrap_new_OtkFocusWidget(PyObject *self, PyObject *args) {
3240 PyObject *resultobj;
3241 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3242 int arg2 = (int) otk::OtkWidget::Horizontal ;
3243 otk::OtkFocusWidget *result;
3244 PyObject * obj0 = 0 ;
3246 if(!PyArg_ParseTuple(args,(char *)"O|i:new_OtkFocusWidget",&obj0,&arg2)) goto fail;
3247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3248 result = (otk::OtkFocusWidget *)new otk::OtkFocusWidget(arg1,(otk::OtkWidget::Direction )arg2);
3250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusWidget, 1);
3257 static PyObject *_wrap_delete_OtkFocusWidget(PyObject *self, PyObject *args) {
3258 PyObject *resultobj;
3259 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3260 PyObject * obj0 = 0 ;
3262 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusWidget",&obj0)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3266 Py_INCREF(Py_None); resultobj = Py_None;
3273 static PyObject *_wrap_OtkFocusWidget_focus(PyObject *self, PyObject *args) {
3274 PyObject *resultobj;
3275 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3276 PyObject * obj0 = 0 ;
3278 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_focus",&obj0)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 Py_INCREF(Py_None); resultobj = Py_None;
3289 static PyObject *_wrap_OtkFocusWidget_unfocus(PyObject *self, PyObject *args) {
3290 PyObject *resultobj;
3291 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3292 PyObject * obj0 = 0 ;
3294 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_unfocus",&obj0)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3298 Py_INCREF(Py_None); resultobj = Py_None;
3305 static PyObject *_wrap_OtkFocusWidget_setTexture(PyObject *self, PyObject *args) {
3306 PyObject *resultobj;
3307 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3308 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3309 PyObject * obj0 = 0 ;
3310 PyObject * obj1 = 0 ;
3312 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setTexture",&obj0,&obj1)) goto fail;
3313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 (arg1)->setTexture(arg2);
3317 Py_INCREF(Py_None); resultobj = Py_None;
3324 static PyObject *_wrap_OtkFocusWidget_setBorderColor(PyObject *self, PyObject *args) {
3325 PyObject *resultobj;
3326 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3327 otk::BColor *arg2 = (otk::BColor *) 0 ;
3328 PyObject * obj0 = 0 ;
3329 PyObject * obj1 = 0 ;
3331 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setBorderColor",&obj0,&obj1)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3334 (arg1)->setBorderColor((otk::BColor const *)arg2);
3336 Py_INCREF(Py_None); resultobj = Py_None;
3343 static PyObject *_wrap_OtkFocusWidget_setUnfocusTexture(PyObject *self, PyObject *args) {
3344 PyObject *resultobj;
3345 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3346 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3347 PyObject * obj0 = 0 ;
3348 PyObject * obj1 = 0 ;
3350 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusTexture",&obj0,&obj1)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353 (arg1)->setUnfocusTexture(arg2);
3355 Py_INCREF(Py_None); resultobj = Py_None;
3362 static PyObject *_wrap_OtkFocusWidget_getUnfocusTexture(PyObject *self, PyObject *args) {
3363 PyObject *resultobj;
3364 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3365 otk::BTexture *result;
3366 PyObject * obj0 = 0 ;
3368 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusTexture",&obj0)) goto fail;
3369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3370 result = (otk::BTexture *)((otk::OtkFocusWidget const *)arg1)->getUnfocusTexture();
3372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3379 static PyObject *_wrap_OtkFocusWidget_setUnfocusBorderColor(PyObject *self, PyObject *args) {
3380 PyObject *resultobj;
3381 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3382 otk::BColor *arg2 = (otk::BColor *) 0 ;
3383 PyObject * obj0 = 0 ;
3384 PyObject * obj1 = 0 ;
3386 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusWidget_setUnfocusBorderColor",&obj0,&obj1)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3389 (arg1)->setUnfocusBorderColor((otk::BColor const *)arg2);
3391 Py_INCREF(Py_None); resultobj = Py_None;
3398 static PyObject *_wrap_OtkFocusWidget_getUnfocusBorderColor(PyObject *self, PyObject *args) {
3399 PyObject *resultobj;
3400 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3401 otk::BColor *result;
3402 PyObject * obj0 = 0 ;
3404 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_getUnfocusBorderColor",&obj0)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3406 result = (otk::BColor *)((otk::OtkFocusWidget const *)arg1)->getUnfocusBorderColor();
3408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
3415 static PyObject *_wrap_OtkFocusWidget_isFocused(PyObject *self, PyObject *args) {
3416 PyObject *resultobj;
3417 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3419 PyObject * obj0 = 0 ;
3421 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isFocused",&obj0)) goto fail;
3422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3423 result = (bool)((otk::OtkFocusWidget const *)arg1)->isFocused();
3425 resultobj = PyInt_FromLong((long)result);
3432 static PyObject *_wrap_OtkFocusWidget_isUnfocused(PyObject *self, PyObject *args) {
3433 PyObject *resultobj;
3434 otk::OtkFocusWidget *arg1 = (otk::OtkFocusWidget *) 0 ;
3436 PyObject * obj0 = 0 ;
3438 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusWidget_isUnfocused",&obj0)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3440 result = (bool)((otk::OtkFocusWidget const *)arg1)->isUnfocused();
3442 resultobj = PyInt_FromLong((long)result);
3449 static PyObject * OtkFocusWidget_swigregister(PyObject *self, PyObject *args) {
3451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3452 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusWidget, obj);
3454 return Py_BuildValue((char *)"");
3456 static PyObject *_wrap_new_OtkFocusLabel(PyObject *self, PyObject *args) {
3457 PyObject *resultobj;
3458 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3459 otk::OtkFocusLabel *result;
3460 PyObject * obj0 = 0 ;
3462 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkFocusLabel",&obj0)) goto fail;
3463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3464 result = (otk::OtkFocusLabel *)new otk::OtkFocusLabel(arg1);
3466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkFocusLabel, 1);
3473 static PyObject *_wrap_delete_OtkFocusLabel(PyObject *self, PyObject *args) {
3474 PyObject *resultobj;
3475 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3476 PyObject * obj0 = 0 ;
3478 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkFocusLabel",&obj0)) goto fail;
3479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 Py_INCREF(Py_None); resultobj = Py_None;
3489 static PyObject *_wrap_OtkFocusLabel_getText(PyObject *self, PyObject *args) {
3490 PyObject *resultobj;
3491 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3492 std::string *result;
3493 PyObject * obj0 = 0 ;
3495 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_getText",&obj0)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3498 std::string const &_result_ref = ((otk::OtkFocusLabel const *)arg1)->getText();
3499 result = (std::string *) &_result_ref;
3503 resultobj = PyString_FromString(result->c_str());
3511 static PyObject *_wrap_OtkFocusLabel_setText(PyObject *self, PyObject *args) {
3512 PyObject *resultobj;
3513 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3514 std::string *arg2 = 0 ;
3516 PyObject * obj0 = 0 ;
3517 PyObject * obj1 = 0 ;
3519 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setText",&obj0,&obj1)) goto fail;
3520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3522 if (PyString_Check(obj1)) {
3523 temp2 = std::string(PyString_AsString(obj1));
3526 SWIG_exception(SWIG_TypeError, "string expected");
3529 (arg1)->setText((std::string const &)*arg2);
3531 Py_INCREF(Py_None); resultobj = Py_None;
3538 static PyObject *_wrap_OtkFocusLabel_update(PyObject *self, PyObject *args) {
3539 PyObject *resultobj;
3540 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3541 PyObject * obj0 = 0 ;
3543 if(!PyArg_ParseTuple(args,(char *)"O:OtkFocusLabel_update",&obj0)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3547 Py_INCREF(Py_None); resultobj = Py_None;
3554 static PyObject *_wrap_OtkFocusLabel_setStyle(PyObject *self, PyObject *args) {
3555 PyObject *resultobj;
3556 otk::OtkFocusLabel *arg1 = (otk::OtkFocusLabel *) 0 ;
3557 otk::Style *arg2 = (otk::Style *) 0 ;
3558 PyObject * obj0 = 0 ;
3559 PyObject * obj1 = 0 ;
3561 if(!PyArg_ParseTuple(args,(char *)"OO:OtkFocusLabel_setStyle",&obj0,&obj1)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkFocusLabel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 (arg1)->setStyle(arg2);
3566 Py_INCREF(Py_None); resultobj = Py_None;
3573 static PyObject * OtkFocusLabel_swigregister(PyObject *self, PyObject *args) {
3575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3576 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkFocusLabel, obj);
3578 return Py_BuildValue((char *)"");
3580 static PyObject *_wrap_new_OtkAppWidget(PyObject *self, PyObject *args) {
3581 PyObject *resultobj;
3582 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3583 int arg2 = (int) otk::OtkWidget::Horizontal ;
3584 Cursor arg3 = (Cursor) 0 ;
3585 int arg4 = (int) 1 ;
3586 otk::OtkAppWidget *result;
3587 PyObject * obj0 = 0 ;
3588 PyObject * obj2 = 0 ;
3590 if(!PyArg_ParseTuple(args,(char *)"O|iOi:new_OtkAppWidget",&obj0,&arg2,&obj2,&arg4)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 arg3 = (Cursor) PyInt_AsLong(obj2);
3594 if (PyErr_Occurred()) SWIG_fail;
3596 result = (otk::OtkAppWidget *)new otk::OtkAppWidget(arg1,(otk::OtkWidget::Direction )arg2,arg3,arg4);
3598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkAppWidget, 1);
3605 static PyObject *_wrap_delete_OtkAppWidget(PyObject *self, PyObject *args) {
3606 PyObject *resultobj;
3607 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3608 PyObject * obj0 = 0 ;
3610 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkAppWidget",&obj0)) goto fail;
3611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3614 Py_INCREF(Py_None); resultobj = Py_None;
3621 static PyObject *_wrap_OtkAppWidget_show(PyObject *self, PyObject *args) {
3622 PyObject *resultobj;
3623 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3624 PyObject * obj0 = 0 ;
3626 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_show",&obj0)) goto fail;
3627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630 Py_INCREF(Py_None); resultobj = Py_None;
3637 static PyObject *_wrap_OtkAppWidget_hide(PyObject *self, PyObject *args) {
3638 PyObject *resultobj;
3639 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3640 PyObject * obj0 = 0 ;
3642 if(!PyArg_ParseTuple(args,(char *)"O:OtkAppWidget_hide",&obj0)) goto fail;
3643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 Py_INCREF(Py_None); resultobj = Py_None;
3653 static PyObject *_wrap_OtkAppWidget_clientMessageHandler(PyObject *self, PyObject *args) {
3654 PyObject *resultobj;
3655 otk::OtkAppWidget *arg1 = (otk::OtkAppWidget *) 0 ;
3656 XClientMessageEvent *arg2 = 0 ;
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
3660 if(!PyArg_ParseTuple(args,(char *)"OO:OtkAppWidget_clientMessageHandler",&obj0,&obj1)) goto fail;
3661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkAppWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XClientMessageEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3666 (arg1)->clientMessageHandler((XClientMessageEvent const &)*arg2);
3668 Py_INCREF(Py_None); resultobj = Py_None;
3675 static PyObject * OtkAppWidget_swigregister(PyObject *self, PyObject *args) {
3677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3678 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkAppWidget, obj);
3680 return Py_BuildValue((char *)"");
3682 static PyObject *_wrap_new_OtkApplication(PyObject *self, PyObject *args) {
3683 PyObject *resultobj;
3685 char **arg2 = (char **) 0 ;
3686 otk::OtkApplication *result;
3687 PyObject * obj1 = 0 ;
3689 if(!PyArg_ParseTuple(args,(char *)"iO:new_OtkApplication",&arg1,&obj1)) goto fail;
3690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3691 result = (otk::OtkApplication *)new otk::OtkApplication(arg1,arg2);
3693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkApplication, 1);
3700 static PyObject *_wrap_delete_OtkApplication(PyObject *self, PyObject *args) {
3701 PyObject *resultobj;
3702 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3703 PyObject * obj0 = 0 ;
3705 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkApplication",&obj0)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3709 Py_INCREF(Py_None); resultobj = Py_None;
3716 static PyObject *_wrap_OtkApplication_run(PyObject *self, PyObject *args) {
3717 PyObject *resultobj;
3718 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3719 PyObject * obj0 = 0 ;
3721 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_run",&obj0)) goto fail;
3722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3725 Py_INCREF(Py_None); resultobj = Py_None;
3732 static PyObject *_wrap_OtkApplication_setDockable(PyObject *self, PyObject *args) {
3733 PyObject *resultobj;
3734 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3736 PyObject * obj0 = 0 ;
3737 PyObject * obj1 = 0 ;
3739 if(!PyArg_ParseTuple(args,(char *)"OO:OtkApplication_setDockable",&obj0,&obj1)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3741 arg2 = (bool) PyInt_AsLong(obj1);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 (arg1)->setDockable(arg2);
3745 Py_INCREF(Py_None); resultobj = Py_None;
3752 static PyObject *_wrap_OtkApplication_isDockable(PyObject *self, PyObject *args) {
3753 PyObject *resultobj;
3754 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3756 PyObject * obj0 = 0 ;
3758 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_isDockable",&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 result = (bool)((otk::OtkApplication const *)arg1)->isDockable();
3762 resultobj = PyInt_FromLong((long)result);
3769 static PyObject *_wrap_OtkApplication_getStyle(PyObject *self, PyObject *args) {
3770 PyObject *resultobj;
3771 otk::OtkApplication *arg1 = (otk::OtkApplication *) 0 ;
3773 PyObject * obj0 = 0 ;
3775 if(!PyArg_ParseTuple(args,(char *)"O:OtkApplication_getStyle",&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkApplication,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 result = (otk::Style *)((otk::OtkApplication const *)arg1)->getStyle();
3779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 0);
3786 static PyObject * OtkApplication_swigregister(PyObject *self, PyObject *args) {
3788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3789 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkApplication, obj);
3791 return Py_BuildValue((char *)"");
3793 static PyObject *_wrap_new_PointerAssassin(PyObject *self, PyObject *args) {
3794 PyObject *resultobj;
3795 otk::PointerAssassin *result;
3797 if(!PyArg_ParseTuple(args,(char *)":new_PointerAssassin")) goto fail;
3798 result = (otk::PointerAssassin *)new otk::PointerAssassin();
3800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PointerAssassin, 1);
3807 static PyObject *_wrap_delete_PointerAssassin(PyObject *self, PyObject *args) {
3808 PyObject *resultobj;
3809 otk::PointerAssassin *arg1 = (otk::PointerAssassin *) 0 ;
3810 PyObject * obj0 = 0 ;
3812 if(!PyArg_ParseTuple(args,(char *)"O:delete_PointerAssassin",&obj0)) goto fail;
3813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PointerAssassin,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 Py_INCREF(Py_None); resultobj = Py_None;
3823 static PyObject * PointerAssassin_swigregister(PyObject *self, PyObject *args) {
3825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3826 SWIG_TypeClientData(SWIGTYPE_p_otk__PointerAssassin, obj);
3828 return Py_BuildValue((char *)"");
3830 static PyObject *_wrap_new_OtkButton(PyObject *self, PyObject *args) {
3831 PyObject *resultobj;
3832 otk::OtkWidget *arg1 = (otk::OtkWidget *) 0 ;
3833 otk::OtkButton *result;
3834 PyObject * obj0 = 0 ;
3836 if(!PyArg_ParseTuple(args,(char *)"O:new_OtkButton",&obj0)) goto fail;
3837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkWidget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 result = (otk::OtkButton *)new otk::OtkButton(arg1);
3840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OtkButton, 1);
3847 static PyObject *_wrap_delete_OtkButton(PyObject *self, PyObject *args) {
3848 PyObject *resultobj;
3849 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3850 PyObject * obj0 = 0 ;
3852 if(!PyArg_ParseTuple(args,(char *)"O:delete_OtkButton",&obj0)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3856 Py_INCREF(Py_None); resultobj = Py_None;
3863 static PyObject *_wrap_OtkButton_getPressedFocusTexture(PyObject *self, PyObject *args) {
3864 PyObject *resultobj;
3865 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3866 otk::BTexture *result;
3867 PyObject * obj0 = 0 ;
3869 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedFocusTexture",&obj0)) goto fail;
3870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedFocusTexture();
3873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3880 static PyObject *_wrap_OtkButton_setPressedFocusTexture(PyObject *self, PyObject *args) {
3881 PyObject *resultobj;
3882 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3883 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3887 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedFocusTexture",&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 (arg1)->setPressedFocusTexture(arg2);
3892 Py_INCREF(Py_None); resultobj = Py_None;
3899 static PyObject *_wrap_OtkButton_getPressedUnfocusTexture(PyObject *self, PyObject *args) {
3900 PyObject *resultobj;
3901 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3902 otk::BTexture *result;
3903 PyObject * obj0 = 0 ;
3905 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_getPressedUnfocusTexture",&obj0)) goto fail;
3906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3907 result = (otk::BTexture *)((otk::OtkButton const *)arg1)->getPressedUnfocusTexture();
3909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
3916 static PyObject *_wrap_OtkButton_setPressedUnfocusTexture(PyObject *self, PyObject *args) {
3917 PyObject *resultobj;
3918 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3919 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
3923 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setPressedUnfocusTexture",&obj0,&obj1)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3926 (arg1)->setPressedUnfocusTexture(arg2);
3928 Py_INCREF(Py_None); resultobj = Py_None;
3935 static PyObject *_wrap_OtkButton_setTexture(PyObject *self, PyObject *args) {
3936 PyObject *resultobj;
3937 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3938 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3939 PyObject * obj0 = 0 ;
3940 PyObject * obj1 = 0 ;
3942 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setTexture",&obj0,&obj1)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3945 (arg1)->setTexture(arg2);
3947 Py_INCREF(Py_None); resultobj = Py_None;
3954 static PyObject *_wrap_OtkButton_setUnfocusTexture(PyObject *self, PyObject *args) {
3955 PyObject *resultobj;
3956 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3957 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
3958 PyObject * obj0 = 0 ;
3959 PyObject * obj1 = 0 ;
3961 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setUnfocusTexture",&obj0,&obj1)) goto fail;
3962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3964 (arg1)->setUnfocusTexture(arg2);
3966 Py_INCREF(Py_None); resultobj = Py_None;
3973 static PyObject *_wrap_OtkButton_isPressed(PyObject *self, PyObject *args) {
3974 PyObject *resultobj;
3975 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3977 PyObject * obj0 = 0 ;
3979 if(!PyArg_ParseTuple(args,(char *)"O:OtkButton_isPressed",&obj0)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3981 result = (bool)((otk::OtkButton const *)arg1)->isPressed();
3983 resultobj = PyInt_FromLong((long)result);
3990 static PyObject *_wrap_OtkButton_press(PyObject *self, PyObject *args) {
3991 PyObject *resultobj;
3992 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
3994 PyObject * obj0 = 0 ;
3995 PyObject * obj1 = 0 ;
3997 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_press",&obj0,&obj1)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 arg2 = (unsigned int) PyInt_AsLong(obj1);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 (arg1)->press(arg2);
4003 Py_INCREF(Py_None); resultobj = Py_None;
4010 static PyObject *_wrap_OtkButton_release(PyObject *self, PyObject *args) {
4011 PyObject *resultobj;
4012 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4017 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_release",&obj0,&obj1)) goto fail;
4018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 arg2 = (unsigned int) PyInt_AsLong(obj1);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 (arg1)->release(arg2);
4023 Py_INCREF(Py_None); resultobj = Py_None;
4030 static PyObject *_wrap_OtkButton_buttonPressHandler(PyObject *self, PyObject *args) {
4031 PyObject *resultobj;
4032 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4033 XButtonEvent *arg2 = 0 ;
4034 PyObject * obj0 = 0 ;
4035 PyObject * obj1 = 0 ;
4037 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonPressHandler",&obj0,&obj1)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4043 (arg1)->buttonPressHandler((XButtonEvent const &)*arg2);
4045 Py_INCREF(Py_None); resultobj = Py_None;
4052 static PyObject *_wrap_OtkButton_buttonReleaseHandler(PyObject *self, PyObject *args) {
4053 PyObject *resultobj;
4054 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4055 XButtonEvent *arg2 = 0 ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4059 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_buttonReleaseHandler",&obj0,&obj1)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XButtonEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4065 (arg1)->buttonReleaseHandler((XButtonEvent const &)*arg2);
4067 Py_INCREF(Py_None); resultobj = Py_None;
4074 static PyObject *_wrap_OtkButton_setStyle(PyObject *self, PyObject *args) {
4075 PyObject *resultobj;
4076 otk::OtkButton *arg1 = (otk::OtkButton *) 0 ;
4077 otk::Style *arg2 = (otk::Style *) 0 ;
4078 PyObject * obj0 = 0 ;
4079 PyObject * obj1 = 0 ;
4081 if(!PyArg_ParseTuple(args,(char *)"OO:OtkButton_setStyle",&obj0,&obj1)) goto fail;
4082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OtkButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4084 (arg1)->setStyle(arg2);
4086 Py_INCREF(Py_None); resultobj = Py_None;
4093 static PyObject * OtkButton_swigregister(PyObject *self, PyObject *args) {
4095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4096 SWIG_TypeClientData(SWIGTYPE_p_otk__OtkButton, obj);
4098 return Py_BuildValue((char *)"");
4100 static PyObject *_wrap_new_BColor__SWIG_0(PyObject *self, PyObject *args) {
4101 PyObject *resultobj;
4102 unsigned int arg1 = (unsigned int) ~(0u) ;
4103 otk::BColor *result;
4104 PyObject * obj0 = 0 ;
4106 if(!PyArg_ParseTuple(args,(char *)"|O:new_BColor",&obj0)) goto fail;
4108 arg1 = (unsigned int) PyInt_AsLong(obj0);
4109 if (PyErr_Occurred()) SWIG_fail;
4111 result = (otk::BColor *)new otk::BColor(arg1);
4113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4120 static PyObject *_wrap_new_BColor__SWIG_1(PyObject *self, PyObject *args) {
4121 PyObject *resultobj;
4125 unsigned int arg4 = (unsigned int) ~(0u) ;
4126 otk::BColor *result;
4127 PyObject * obj3 = 0 ;
4129 if(!PyArg_ParseTuple(args,(char *)"iii|O:new_BColor",&arg1,&arg2,&arg3,&obj3)) goto fail;
4131 arg4 = (unsigned int) PyInt_AsLong(obj3);
4132 if (PyErr_Occurred()) SWIG_fail;
4134 result = (otk::BColor *)new otk::BColor(arg1,arg2,arg3,arg4);
4136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4143 static PyObject *_wrap_new_BColor__SWIG_2(PyObject *self, PyObject *args) {
4144 PyObject *resultobj;
4145 std::string *arg1 = 0 ;
4146 unsigned int arg2 = (unsigned int) ~(0u) ;
4147 otk::BColor *result;
4149 PyObject * obj0 = 0 ;
4150 PyObject * obj1 = 0 ;
4152 if(!PyArg_ParseTuple(args,(char *)"O|O:new_BColor",&obj0,&obj1)) goto fail;
4154 if (PyString_Check(obj0)) {
4155 temp1 = std::string(PyString_AsString(obj0));
4158 SWIG_exception(SWIG_TypeError, "string expected");
4162 arg2 = (unsigned int) PyInt_AsLong(obj1);
4163 if (PyErr_Occurred()) SWIG_fail;
4165 result = (otk::BColor *)new otk::BColor((std::string const &)*arg1,arg2);
4167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 1);
4174 static PyObject *_wrap_new_BColor(PyObject *self, PyObject *args) {
4179 argc = PyObject_Length(args);
4180 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
4181 argv[ii] = PyTuple_GetItem(args,ii);
4183 if ((argc >= 0) && (argc <= 1)) {
4186 return _wrap_new_BColor__SWIG_0(self,args);
4189 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4192 return _wrap_new_BColor__SWIG_0(self,args);
4195 if ((argc >= 1) && (argc <= 2)) {
4198 _v = PyString_Check(argv[0]) ? 1 : 0;
4202 return _wrap_new_BColor__SWIG_2(self,args);
4205 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4208 return _wrap_new_BColor__SWIG_2(self,args);
4212 if ((argc >= 3) && (argc <= 4)) {
4215 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4219 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4223 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
4227 return _wrap_new_BColor__SWIG_1(self,args);
4230 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
4233 return _wrap_new_BColor__SWIG_1(self,args);
4240 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BColor'");
4245 static PyObject *_wrap_delete_BColor(PyObject *self, PyObject *args) {
4246 PyObject *resultobj;
4247 otk::BColor *arg1 = (otk::BColor *) 0 ;
4248 PyObject * obj0 = 0 ;
4250 if(!PyArg_ParseTuple(args,(char *)"O:delete_BColor",&obj0)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4254 Py_INCREF(Py_None); resultobj = Py_None;
4261 static PyObject *_wrap_BColor_name(PyObject *self, PyObject *args) {
4262 PyObject *resultobj;
4263 otk::BColor *arg1 = (otk::BColor *) 0 ;
4264 std::string *result;
4265 PyObject * obj0 = 0 ;
4267 if(!PyArg_ParseTuple(args,(char *)"O:BColor_name",&obj0)) goto fail;
4268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4270 std::string const &_result_ref = ((otk::BColor const *)arg1)->name();
4271 result = (std::string *) &_result_ref;
4275 resultobj = PyString_FromString(result->c_str());
4283 static PyObject *_wrap_BColor_red(PyObject *self, PyObject *args) {
4284 PyObject *resultobj;
4285 otk::BColor *arg1 = (otk::BColor *) 0 ;
4287 PyObject * obj0 = 0 ;
4289 if(!PyArg_ParseTuple(args,(char *)"O:BColor_red",&obj0)) goto fail;
4290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4291 result = (int)((otk::BColor const *)arg1)->red();
4293 resultobj = PyInt_FromLong((long)result);
4300 static PyObject *_wrap_BColor_green(PyObject *self, PyObject *args) {
4301 PyObject *resultobj;
4302 otk::BColor *arg1 = (otk::BColor *) 0 ;
4304 PyObject * obj0 = 0 ;
4306 if(!PyArg_ParseTuple(args,(char *)"O:BColor_green",&obj0)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 result = (int)((otk::BColor const *)arg1)->green();
4310 resultobj = PyInt_FromLong((long)result);
4317 static PyObject *_wrap_BColor_blue(PyObject *self, PyObject *args) {
4318 PyObject *resultobj;
4319 otk::BColor *arg1 = (otk::BColor *) 0 ;
4321 PyObject * obj0 = 0 ;
4323 if(!PyArg_ParseTuple(args,(char *)"O:BColor_blue",&obj0)) goto fail;
4324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4325 result = (int)((otk::BColor const *)arg1)->blue();
4327 resultobj = PyInt_FromLong((long)result);
4334 static PyObject *_wrap_BColor_setRGB(PyObject *self, PyObject *args) {
4335 PyObject *resultobj;
4336 otk::BColor *arg1 = (otk::BColor *) 0 ;
4340 PyObject * obj0 = 0 ;
4342 if(!PyArg_ParseTuple(args,(char *)"Oiii:BColor_setRGB",&obj0,&arg2,&arg3,&arg4)) goto fail;
4343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4344 (arg1)->setRGB(arg2,arg3,arg4);
4346 Py_INCREF(Py_None); resultobj = Py_None;
4353 static PyObject *_wrap_BColor_screen(PyObject *self, PyObject *args) {
4354 PyObject *resultobj;
4355 otk::BColor *arg1 = (otk::BColor *) 0 ;
4356 unsigned int result;
4357 PyObject * obj0 = 0 ;
4359 if(!PyArg_ParseTuple(args,(char *)"O:BColor_screen",&obj0)) goto fail;
4360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4361 result = (unsigned int)((otk::BColor const *)arg1)->screen();
4363 resultobj = PyInt_FromLong((long)result);
4370 static PyObject *_wrap_BColor_setScreen(PyObject *self, PyObject *args) {
4371 PyObject *resultobj;
4372 otk::BColor *arg1 = (otk::BColor *) 0 ;
4373 unsigned int arg2 = (unsigned int) ~(0u) ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4377 if(!PyArg_ParseTuple(args,(char *)"O|O:BColor_setScreen",&obj0,&obj1)) goto fail;
4378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4380 arg2 = (unsigned int) PyInt_AsLong(obj1);
4381 if (PyErr_Occurred()) SWIG_fail;
4383 (arg1)->setScreen(arg2);
4385 Py_INCREF(Py_None); resultobj = Py_None;
4392 static PyObject *_wrap_BColor_isAllocated(PyObject *self, PyObject *args) {
4393 PyObject *resultobj;
4394 otk::BColor *arg1 = (otk::BColor *) 0 ;
4396 PyObject * obj0 = 0 ;
4398 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isAllocated",&obj0)) goto fail;
4399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4400 result = (bool)((otk::BColor const *)arg1)->isAllocated();
4402 resultobj = PyInt_FromLong((long)result);
4409 static PyObject *_wrap_BColor_isValid(PyObject *self, PyObject *args) {
4410 PyObject *resultobj;
4411 otk::BColor *arg1 = (otk::BColor *) 0 ;
4413 PyObject * obj0 = 0 ;
4415 if(!PyArg_ParseTuple(args,(char *)"O:BColor_isValid",&obj0)) goto fail;
4416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4417 result = (bool)((otk::BColor const *)arg1)->isValid();
4419 resultobj = PyInt_FromLong((long)result);
4426 static PyObject *_wrap_BColor_pixel(PyObject *self, PyObject *args) {
4427 PyObject *resultobj;
4428 otk::BColor *arg1 = (otk::BColor *) 0 ;
4429 unsigned long result;
4430 PyObject * obj0 = 0 ;
4432 if(!PyArg_ParseTuple(args,(char *)"O:BColor_pixel",&obj0)) goto fail;
4433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4434 result = (unsigned long)((otk::BColor const *)arg1)->pixel();
4436 resultobj = PyInt_FromLong((long)result);
4443 static PyObject *_wrap_BColor_equals(PyObject *self, PyObject *args) {
4444 PyObject *resultobj;
4445 otk::BColor *arg1 = (otk::BColor *) 0 ;
4446 otk::BColor *arg2 = 0 ;
4448 PyObject * obj0 = 0 ;
4449 PyObject * obj1 = 0 ;
4451 if(!PyArg_ParseTuple(args,(char *)"OO:BColor_equals",&obj0,&obj1)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4457 result = (bool)((otk::BColor const *)arg1)->operator ==((otk::BColor const &)*arg2);
4459 resultobj = PyInt_FromLong((long)result);
4466 static PyObject *_wrap_BColor_cleanupColorCache(PyObject *self, PyObject *args) {
4467 PyObject *resultobj;
4469 if(!PyArg_ParseTuple(args,(char *)":BColor_cleanupColorCache")) goto fail;
4470 otk::BColor::cleanupColorCache();
4472 Py_INCREF(Py_None); resultobj = Py_None;
4479 static PyObject * BColor_swigregister(PyObject *self, PyObject *args) {
4481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4482 SWIG_TypeClientData(SWIGTYPE_p_otk__BColor, obj);
4484 return Py_BuildValue((char *)"");
4486 static PyObject *_wrap_new_Configuration__SWIG_0(PyObject *self, PyObject *args) {
4487 PyObject *resultobj;
4488 std::string *arg1 = 0 ;
4489 bool arg2 = (bool) True ;
4490 otk::Configuration *result;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4495 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Configuration",&obj0,&obj1)) goto fail;
4497 if (PyString_Check(obj0)) {
4498 temp1 = std::string(PyString_AsString(obj0));
4501 SWIG_exception(SWIG_TypeError, "string expected");
4505 arg2 = (bool) PyInt_AsLong(obj1);
4506 if (PyErr_Occurred()) SWIG_fail;
4508 result = (otk::Configuration *)new otk::Configuration((std::string const &)*arg1,arg2);
4510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4517 static PyObject *_wrap_new_Configuration__SWIG_1(PyObject *self, PyObject *args) {
4518 PyObject *resultobj;
4519 bool arg1 = (bool) True ;
4520 otk::Configuration *result;
4521 PyObject * obj0 = 0 ;
4523 if(!PyArg_ParseTuple(args,(char *)"|O:new_Configuration",&obj0)) goto fail;
4525 arg1 = (bool) PyInt_AsLong(obj0);
4526 if (PyErr_Occurred()) SWIG_fail;
4528 result = (otk::Configuration *)new otk::Configuration(arg1);
4530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Configuration, 1);
4537 static PyObject *_wrap_new_Configuration(PyObject *self, PyObject *args) {
4542 argc = PyObject_Length(args);
4543 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
4544 argv[ii] = PyTuple_GetItem(args,ii);
4546 if ((argc >= 0) && (argc <= 1)) {
4549 return _wrap_new_Configuration__SWIG_1(self,args);
4552 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
4555 return _wrap_new_Configuration__SWIG_1(self,args);
4558 if ((argc >= 1) && (argc <= 2)) {
4561 _v = PyString_Check(argv[0]) ? 1 : 0;
4565 return _wrap_new_Configuration__SWIG_0(self,args);
4568 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
4571 return _wrap_new_Configuration__SWIG_0(self,args);
4576 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Configuration'");
4581 static PyObject *_wrap_delete_Configuration(PyObject *self, PyObject *args) {
4582 PyObject *resultobj;
4583 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4584 PyObject * obj0 = 0 ;
4586 if(!PyArg_ParseTuple(args,(char *)"O:delete_Configuration",&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 Py_INCREF(Py_None); resultobj = Py_None;
4597 static PyObject *_wrap_Configuration_file(PyObject *self, PyObject *args) {
4598 PyObject *resultobj;
4599 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4600 std::string *result;
4601 PyObject * obj0 = 0 ;
4603 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_file",&obj0)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 std::string const &_result_ref = ((otk::Configuration const *)arg1)->file();
4607 result = (std::string *) &_result_ref;
4611 resultobj = PyString_FromString(result->c_str());
4619 static PyObject *_wrap_Configuration_setFile(PyObject *self, PyObject *args) {
4620 PyObject *resultobj;
4621 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4622 std::string *arg2 = 0 ;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4627 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setFile",&obj0,&obj1)) goto fail;
4628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4630 if (PyString_Check(obj1)) {
4631 temp2 = std::string(PyString_AsString(obj1));
4634 SWIG_exception(SWIG_TypeError, "string expected");
4637 (arg1)->setFile((std::string const &)*arg2);
4639 Py_INCREF(Py_None); resultobj = Py_None;
4646 static PyObject *_wrap_Configuration_autoSave(PyObject *self, PyObject *args) {
4647 PyObject *resultobj;
4648 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4650 PyObject * obj0 = 0 ;
4652 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_autoSave",&obj0)) goto fail;
4653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4654 result = (bool)((otk::Configuration const *)arg1)->autoSave();
4656 resultobj = PyInt_FromLong((long)result);
4663 static PyObject *_wrap_Configuration_setAutoSave(PyObject *self, PyObject *args) {
4664 PyObject *resultobj;
4665 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4670 if(!PyArg_ParseTuple(args,(char *)"OO:Configuration_setAutoSave",&obj0,&obj1)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 arg2 = (bool) PyInt_AsLong(obj1);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 (arg1)->setAutoSave(arg2);
4676 Py_INCREF(Py_None); resultobj = Py_None;
4683 static PyObject *_wrap_Configuration_isModified(PyObject *self, PyObject *args) {
4684 PyObject *resultobj;
4685 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4687 PyObject * obj0 = 0 ;
4689 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_isModified",&obj0)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 result = (bool)((otk::Configuration const *)arg1)->isModified();
4693 resultobj = PyInt_FromLong((long)result);
4700 static PyObject *_wrap_Configuration_save(PyObject *self, PyObject *args) {
4701 PyObject *resultobj;
4702 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4703 PyObject * obj0 = 0 ;
4705 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_save",&obj0)) goto fail;
4706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4709 Py_INCREF(Py_None); resultobj = Py_None;
4716 static PyObject *_wrap_Configuration_load(PyObject *self, PyObject *args) {
4717 PyObject *resultobj;
4718 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4720 PyObject * obj0 = 0 ;
4722 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_load",&obj0)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 result = (bool)(arg1)->load();
4726 resultobj = PyInt_FromLong((long)result);
4733 static PyObject *_wrap_Configuration_merge(PyObject *self, PyObject *args) {
4734 PyObject *resultobj;
4735 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4736 std::string *arg2 = 0 ;
4737 bool arg3 = (bool) False ;
4740 PyObject * obj0 = 0 ;
4741 PyObject * obj1 = 0 ;
4742 PyObject * obj2 = 0 ;
4744 if(!PyArg_ParseTuple(args,(char *)"OO|O:Configuration_merge",&obj0,&obj1,&obj2)) goto fail;
4745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4747 if (PyString_Check(obj1)) {
4748 temp2 = std::string(PyString_AsString(obj1));
4751 SWIG_exception(SWIG_TypeError, "string expected");
4755 arg3 = (bool) PyInt_AsLong(obj2);
4756 if (PyErr_Occurred()) SWIG_fail;
4758 result = (bool)(arg1)->merge((std::string const &)*arg2,arg3);
4760 resultobj = PyInt_FromLong((long)result);
4767 static PyObject *_wrap_Configuration_create(PyObject *self, PyObject *args) {
4768 PyObject *resultobj;
4769 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4770 PyObject * obj0 = 0 ;
4772 if(!PyArg_ParseTuple(args,(char *)"O:Configuration_create",&obj0)) goto fail;
4773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4776 Py_INCREF(Py_None); resultobj = Py_None;
4783 static PyObject *_wrap_Configuration_setValue_bool(PyObject *self, PyObject *args) {
4784 PyObject *resultobj;
4785 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4786 std::string *arg2 = 0 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 PyObject * obj2 = 0 ;
4793 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_bool",&obj0,&obj1,&obj2)) goto fail;
4794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4796 if (PyString_Check(obj1)) {
4797 temp2 = std::string(PyString_AsString(obj1));
4800 SWIG_exception(SWIG_TypeError, "string expected");
4803 arg3 = (bool) PyInt_AsLong(obj2);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 (arg1)->setValue((std::string const &)*arg2,arg3);
4807 Py_INCREF(Py_None); resultobj = Py_None;
4814 static PyObject *_wrap_Configuration_setValue(PyObject *self, PyObject *args) {
4815 PyObject *resultobj;
4816 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4817 std::string *arg2 = 0 ;
4820 PyObject * obj0 = 0 ;
4821 PyObject * obj1 = 0 ;
4823 if(!PyArg_ParseTuple(args,(char *)"OOi:Configuration_setValue",&obj0,&obj1,&arg3)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4826 if (PyString_Check(obj1)) {
4827 temp2 = std::string(PyString_AsString(obj1));
4830 SWIG_exception(SWIG_TypeError, "string expected");
4833 (arg1)->setValue((std::string const &)*arg2,arg3);
4835 Py_INCREF(Py_None); resultobj = Py_None;
4842 static PyObject *_wrap_Configuration_setValue_unsigned(PyObject *self, PyObject *args) {
4843 PyObject *resultobj;
4844 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4845 std::string *arg2 = 0 ;
4848 PyObject * obj0 = 0 ;
4849 PyObject * obj1 = 0 ;
4850 PyObject * obj2 = 0 ;
4852 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsigned",&obj0,&obj1,&obj2)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4855 if (PyString_Check(obj1)) {
4856 temp2 = std::string(PyString_AsString(obj1));
4859 SWIG_exception(SWIG_TypeError, "string expected");
4862 arg3 = (unsigned int) PyInt_AsLong(obj2);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 (arg1)->setValue((std::string const &)*arg2,arg3);
4866 Py_INCREF(Py_None); resultobj = Py_None;
4873 static PyObject *_wrap_Configuration_setValue_long(PyObject *self, PyObject *args) {
4874 PyObject *resultobj;
4875 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4876 std::string *arg2 = 0 ;
4879 PyObject * obj0 = 0 ;
4880 PyObject * obj1 = 0 ;
4882 if(!PyArg_ParseTuple(args,(char *)"OOl:Configuration_setValue_long",&obj0,&obj1,&arg3)) goto fail;
4883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4885 if (PyString_Check(obj1)) {
4886 temp2 = std::string(PyString_AsString(obj1));
4889 SWIG_exception(SWIG_TypeError, "string expected");
4892 (arg1)->setValue((std::string const &)*arg2,arg3);
4894 Py_INCREF(Py_None); resultobj = Py_None;
4901 static PyObject *_wrap_Configuration_setValue_unsignedlong(PyObject *self, PyObject *args) {
4902 PyObject *resultobj;
4903 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4904 std::string *arg2 = 0 ;
4905 unsigned long arg3 ;
4907 PyObject * obj0 = 0 ;
4908 PyObject * obj1 = 0 ;
4909 PyObject * obj2 = 0 ;
4911 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_unsignedlong",&obj0,&obj1,&obj2)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4914 if (PyString_Check(obj1)) {
4915 temp2 = std::string(PyString_AsString(obj1));
4918 SWIG_exception(SWIG_TypeError, "string expected");
4921 arg3 = (unsigned long) PyInt_AsLong(obj2);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 (arg1)->setValue((std::string const &)*arg2,arg3);
4925 Py_INCREF(Py_None); resultobj = Py_None;
4932 static PyObject *_wrap_Configuration_setValue_string(PyObject *self, PyObject *args) {
4933 PyObject *resultobj;
4934 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4935 std::string *arg2 = 0 ;
4936 std::string *arg3 = 0 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 PyObject * obj2 = 0 ;
4943 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_setValue_string",&obj0,&obj1,&obj2)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4946 if (PyString_Check(obj1)) {
4947 temp2 = std::string(PyString_AsString(obj1));
4950 SWIG_exception(SWIG_TypeError, "string expected");
4954 if (PyString_Check(obj2)) {
4955 temp3 = std::string(PyString_AsString(obj2));
4958 SWIG_exception(SWIG_TypeError, "string expected");
4961 (arg1)->setValue((std::string const &)*arg2,(std::string const &)*arg3);
4963 Py_INCREF(Py_None); resultobj = Py_None;
4970 static PyObject *_wrap_Configuration_setValue_charptr(PyObject *self, PyObject *args) {
4971 PyObject *resultobj;
4972 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
4973 std::string *arg2 = 0 ;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4979 if(!PyArg_ParseTuple(args,(char *)"OOs:Configuration_setValue_charptr",&obj0,&obj1,&arg3)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4982 if (PyString_Check(obj1)) {
4983 temp2 = std::string(PyString_AsString(obj1));
4986 SWIG_exception(SWIG_TypeError, "string expected");
4989 (arg1)->setValue((std::string const &)*arg2,(char const *)arg3);
4991 Py_INCREF(Py_None); resultobj = Py_None;
4998 static PyObject *_wrap_Configuration_getValue__SWIG_0(PyObject *self, PyObject *args) {
4999 PyObject *resultobj;
5000 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5001 std::string *arg2 = 0 ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 PyObject * obj2 = 0 ;
5009 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 if (PyString_Check(obj1)) {
5013 temp2 = std::string(PyString_AsString(obj1));
5016 SWIG_exception(SWIG_TypeError, "string expected");
5019 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_bool,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5023 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5025 resultobj = PyInt_FromLong((long)result);
5032 static PyObject *_wrap_Configuration_getValue__SWIG_1(PyObject *self, PyObject *args) {
5033 PyObject *resultobj;
5034 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5035 std::string *arg2 = 0 ;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 PyObject * obj2 = 0 ;
5043 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 if (PyString_Check(obj1)) {
5047 temp2 = std::string(PyString_AsString(obj1));
5050 SWIG_exception(SWIG_TypeError, "string expected");
5053 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5055 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5057 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5059 resultobj = PyInt_FromLong((long)result);
5066 static PyObject *_wrap_Configuration_getValue__SWIG_2(PyObject *self, PyObject *args) {
5067 PyObject *resultobj;
5068 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5069 std::string *arg2 = 0 ;
5070 unsigned int *arg3 = 0 ;
5073 PyObject * obj0 = 0 ;
5074 PyObject * obj1 = 0 ;
5075 PyObject * obj2 = 0 ;
5077 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5080 if (PyString_Check(obj1)) {
5081 temp2 = std::string(PyString_AsString(obj1));
5084 SWIG_exception(SWIG_TypeError, "string expected");
5087 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5091 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5093 resultobj = PyInt_FromLong((long)result);
5100 static PyObject *_wrap_Configuration_getValue__SWIG_3(PyObject *self, PyObject *args) {
5101 PyObject *resultobj;
5102 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5103 std::string *arg2 = 0 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 PyObject * obj2 = 0 ;
5111 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5114 if (PyString_Check(obj1)) {
5115 temp2 = std::string(PyString_AsString(obj1));
5118 SWIG_exception(SWIG_TypeError, "string expected");
5121 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5125 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5127 resultobj = PyInt_FromLong((long)result);
5134 static PyObject *_wrap_Configuration_getValue__SWIG_4(PyObject *self, PyObject *args) {
5135 PyObject *resultobj;
5136 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5137 std::string *arg2 = 0 ;
5138 unsigned long *arg3 = 0 ;
5141 PyObject * obj0 = 0 ;
5142 PyObject * obj1 = 0 ;
5143 PyObject * obj2 = 0 ;
5145 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5148 if (PyString_Check(obj1)) {
5149 temp2 = std::string(PyString_AsString(obj1));
5152 SWIG_exception(SWIG_TypeError, "string expected");
5155 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5159 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5161 resultobj = PyInt_FromLong((long)result);
5168 static PyObject *_wrap_Configuration_getValue__SWIG_5(PyObject *self, PyObject *args) {
5169 PyObject *resultobj;
5170 otk::Configuration *arg1 = (otk::Configuration *) 0 ;
5171 std::string *arg2 = 0 ;
5172 std::string *arg3 = 0 ;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177 PyObject * obj2 = 0 ;
5179 if(!PyArg_ParseTuple(args,(char *)"OOO:Configuration_getValue",&obj0,&obj1,&obj2)) goto fail;
5180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5182 if (PyString_Check(obj1)) {
5183 temp2 = std::string(PyString_AsString(obj1));
5186 SWIG_exception(SWIG_TypeError, "string expected");
5189 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5193 result = (bool)((otk::Configuration const *)arg1)->getValue((std::string const &)*arg2,*arg3);
5195 resultobj = PyInt_FromLong((long)result);
5202 static PyObject *_wrap_Configuration_getValue(PyObject *self, PyObject *args) {
5207 argc = PyObject_Length(args);
5208 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
5209 argv[ii] = PyTuple_GetItem(args,ii);
5215 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5224 _v = PyString_Check(argv[1]) ? 1 : 0;
5229 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_bool, 0) == -1) {
5237 return _wrap_Configuration_getValue__SWIG_0(self,args);
5246 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5255 _v = PyString_Check(argv[1]) ? 1 : 0;
5260 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_int, 0) == -1) {
5268 return _wrap_Configuration_getValue__SWIG_1(self,args);
5277 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5286 _v = PyString_Check(argv[1]) ? 1 : 0;
5291 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_int, 0) == -1) {
5299 return _wrap_Configuration_getValue__SWIG_2(self,args);
5308 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5317 _v = PyString_Check(argv[1]) ? 1 : 0;
5322 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_long, 0) == -1) {
5330 return _wrap_Configuration_getValue__SWIG_3(self,args);
5339 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5348 _v = PyString_Check(argv[1]) ? 1 : 0;
5353 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
5361 return _wrap_Configuration_getValue__SWIG_4(self,args);
5370 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Configuration, 0) == -1) {
5379 _v = PyString_Check(argv[1]) ? 1 : 0;
5384 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
5392 return _wrap_Configuration_getValue__SWIG_5(self,args);
5398 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Configuration_getValue'");
5403 static PyObject * Configuration_swigregister(PyObject *self, PyObject *args) {
5405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5406 SWIG_TypeClientData(SWIGTYPE_p_otk__Configuration, obj);
5408 return Py_BuildValue((char *)"");
5410 static PyObject *_wrap_OBDisplay_initialize(PyObject *self, PyObject *args) {
5411 PyObject *resultobj;
5414 if(!PyArg_ParseTuple(args,(char *)"s:OBDisplay_initialize",&arg1)) goto fail;
5415 otk::OBDisplay::initialize(arg1);
5417 Py_INCREF(Py_None); resultobj = Py_None;
5424 static PyObject *_wrap_OBDisplay_destroy(PyObject *self, PyObject *args) {
5425 PyObject *resultobj;
5427 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_destroy")) goto fail;
5428 otk::OBDisplay::destroy();
5430 Py_INCREF(Py_None); resultobj = Py_None;
5437 static PyObject *_wrap_OBDisplay_gcCache(PyObject *self, PyObject *args) {
5438 PyObject *resultobj;
5439 otk::BGCCache *result;
5441 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_gcCache")) goto fail;
5442 result = (otk::BGCCache *)otk::OBDisplay::gcCache();
5444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 0);
5451 static PyObject *_wrap_OBDisplay_screenInfo(PyObject *self, PyObject *args) {
5452 PyObject *resultobj;
5454 otk::ScreenInfo *result;
5456 if(!PyArg_ParseTuple(args,(char *)"i:OBDisplay_screenInfo",&arg1)) goto fail;
5457 result = (otk::ScreenInfo *)otk::OBDisplay::screenInfo(arg1);
5459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5466 static PyObject *_wrap_OBDisplay_findScreen(PyObject *self, PyObject *args) {
5467 PyObject *resultobj;
5469 otk::ScreenInfo *result;
5470 PyObject * obj0 = 0 ;
5472 if(!PyArg_ParseTuple(args,(char *)"O:OBDisplay_findScreen",&obj0)) goto fail;
5473 arg1 = (Window) PyInt_AsLong(obj0);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 result = (otk::ScreenInfo *)otk::OBDisplay::findScreen(arg1);
5477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
5484 static PyObject *_wrap_OBDisplay_shape(PyObject *self, PyObject *args) {
5485 PyObject *resultobj;
5488 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shape")) goto fail;
5489 result = (bool)otk::OBDisplay::shape();
5491 resultobj = PyInt_FromLong((long)result);
5498 static PyObject *_wrap_OBDisplay_shapeEventBase(PyObject *self, PyObject *args) {
5499 PyObject *resultobj;
5502 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_shapeEventBase")) goto fail;
5503 result = (int)otk::OBDisplay::shapeEventBase();
5505 resultobj = PyInt_FromLong((long)result);
5512 static PyObject *_wrap_OBDisplay_xinerama(PyObject *self, PyObject *args) {
5513 PyObject *resultobj;
5516 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_xinerama")) goto fail;
5517 result = (bool)otk::OBDisplay::xinerama();
5519 resultobj = PyInt_FromLong((long)result);
5526 static PyObject *_wrap_OBDisplay_numLockMask(PyObject *self, PyObject *args) {
5527 PyObject *resultobj;
5528 unsigned int result;
5530 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_numLockMask")) goto fail;
5531 result = (unsigned int)otk::OBDisplay::numLockMask();
5533 resultobj = PyInt_FromLong((long)result);
5540 static PyObject *_wrap_OBDisplay_scrollLockMask(PyObject *self, PyObject *args) {
5541 PyObject *resultobj;
5542 unsigned int result;
5544 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_scrollLockMask")) goto fail;
5545 result = (unsigned int)otk::OBDisplay::scrollLockMask();
5547 resultobj = PyInt_FromLong((long)result);
5554 static PyObject *_wrap_OBDisplay_grab(PyObject *self, PyObject *args) {
5555 PyObject *resultobj;
5557 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_grab")) goto fail;
5558 otk::OBDisplay::grab();
5560 Py_INCREF(Py_None); resultobj = Py_None;
5567 static PyObject *_wrap_OBDisplay_ungrab(PyObject *self, PyObject *args) {
5568 PyObject *resultobj;
5570 if(!PyArg_ParseTuple(args,(char *)":OBDisplay_ungrab")) goto fail;
5571 otk::OBDisplay::ungrab();
5573 Py_INCREF(Py_None); resultobj = Py_None;
5580 static PyObject *_wrap_OBDisplay_grabButton(PyObject *self, PyObject *args) {
5581 PyObject *resultobj;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 PyObject * obj2 = 0 ;
5595 PyObject * obj3 = 0 ;
5596 PyObject * obj4 = 0 ;
5597 PyObject * obj7 = 0 ;
5598 PyObject * obj8 = 0 ;
5599 PyObject * obj9 = 0 ;
5601 if(!PyArg_ParseTuple(args,(char *)"OOOOOiiOOO:OBDisplay_grabButton",&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&arg7,&obj7,&obj8,&obj9)) goto fail;
5602 arg1 = (unsigned int) PyInt_AsLong(obj0);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 arg2 = (unsigned int) PyInt_AsLong(obj1);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 arg3 = (Window) PyInt_AsLong(obj2);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 arg4 = (bool) PyInt_AsLong(obj3);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 arg5 = (unsigned int) PyInt_AsLong(obj4);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 arg8 = (Window) PyInt_AsLong(obj7);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 arg9 = (Cursor) PyInt_AsLong(obj8);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 arg10 = (bool) PyInt_AsLong(obj9);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 otk::OBDisplay::grabButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5620 Py_INCREF(Py_None); resultobj = Py_None;
5627 static PyObject *_wrap_OBDisplay_ungrabButton(PyObject *self, PyObject *args) {
5628 PyObject *resultobj;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 PyObject * obj2 = 0 ;
5636 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabButton",&obj0,&obj1,&obj2)) goto fail;
5637 arg1 = (unsigned int) PyInt_AsLong(obj0);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 arg2 = (unsigned int) PyInt_AsLong(obj1);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 arg3 = (Window) PyInt_AsLong(obj2);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 otk::OBDisplay::ungrabButton(arg1,arg2,arg3);
5645 Py_INCREF(Py_None); resultobj = Py_None;
5652 static PyObject *_wrap_OBDisplay_grabKey(PyObject *self, PyObject *args) {
5653 PyObject *resultobj;
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 PyObject * obj2 = 0 ;
5664 PyObject * obj3 = 0 ;
5665 PyObject * obj6 = 0 ;
5667 if(!PyArg_ParseTuple(args,(char *)"OOOOiiO:OBDisplay_grabKey",&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
5668 arg1 = (unsigned int) PyInt_AsLong(obj0);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 arg2 = (unsigned int) PyInt_AsLong(obj1);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 arg3 = (Window) PyInt_AsLong(obj2);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 arg4 = (bool) PyInt_AsLong(obj3);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 arg7 = (bool) PyInt_AsLong(obj6);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 otk::OBDisplay::grabKey(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5680 Py_INCREF(Py_None); resultobj = Py_None;
5687 static PyObject *_wrap_OBDisplay_ungrabKey(PyObject *self, PyObject *args) {
5688 PyObject *resultobj;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 PyObject * obj2 = 0 ;
5696 if(!PyArg_ParseTuple(args,(char *)"OOO:OBDisplay_ungrabKey",&obj0,&obj1,&obj2)) goto fail;
5697 arg1 = (unsigned int) PyInt_AsLong(obj0);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 arg2 = (unsigned int) PyInt_AsLong(obj1);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 arg3 = (Window) PyInt_AsLong(obj2);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 otk::OBDisplay::ungrabKey(arg1,arg2,arg3);
5705 Py_INCREF(Py_None); resultobj = Py_None;
5712 static PyObject *_wrap_delete_OBDisplay(PyObject *self, PyObject *args) {
5713 PyObject *resultobj;
5714 otk::OBDisplay *arg1 = (otk::OBDisplay *) 0 ;
5715 PyObject * obj0 = 0 ;
5717 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBDisplay",&obj0)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBDisplay,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5721 Py_INCREF(Py_None); resultobj = Py_None;
5728 static PyObject * OBDisplay_swigregister(PyObject *self, PyObject *args) {
5730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5731 SWIG_TypeClientData(SWIGTYPE_p_otk__OBDisplay, obj);
5733 return Py_BuildValue((char *)"");
5735 static PyObject *_wrap_BFont_fallbackFont(PyObject *self, PyObject *args) {
5736 PyObject *resultobj;
5739 if(!PyArg_ParseTuple(args,(char *)":BFont_fallbackFont")) goto fail;
5740 result = otk::BFont::fallbackFont();
5743 resultobj = PyString_FromString((&result)->c_str());
5751 static PyObject *_wrap_BFont_setFallbackFont(PyObject *self, PyObject *args) {
5752 PyObject *resultobj;
5753 std::string *arg1 = 0 ;
5755 PyObject * obj0 = 0 ;
5757 if(!PyArg_ParseTuple(args,(char *)"O:BFont_setFallbackFont",&obj0)) goto fail;
5759 if (PyString_Check(obj0)) {
5760 temp1 = std::string(PyString_AsString(obj0));
5763 SWIG_exception(SWIG_TypeError, "string expected");
5766 otk::BFont::setFallbackFont((std::string const &)*arg1);
5768 Py_INCREF(Py_None); resultobj = Py_None;
5775 static PyObject *_wrap_new_BFont(PyObject *self, PyObject *args) {
5776 PyObject *resultobj;
5778 std::string *arg2 = 0 ;
5780 unsigned char arg4 ;
5781 unsigned char arg5 ;
5784 PyObject * obj1 = 0 ;
5785 PyObject * obj2 = 0 ;
5786 PyObject * obj3 = 0 ;
5787 PyObject * obj4 = 0 ;
5789 if(!PyArg_ParseTuple(args,(char *)"iOOOO:new_BFont",&arg1,&obj1,&obj2,&obj3,&obj4)) goto fail;
5791 if (PyString_Check(obj1)) {
5792 temp2 = std::string(PyString_AsString(obj1));
5795 SWIG_exception(SWIG_TypeError, "string expected");
5798 arg3 = (bool) PyInt_AsLong(obj2);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 arg4 = (unsigned char) PyInt_AsLong(obj3);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 arg5 = (unsigned char) PyInt_AsLong(obj4);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 result = (otk::BFont *)new otk::BFont(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
5806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 1);
5813 static PyObject *_wrap_delete_BFont(PyObject *self, PyObject *args) {
5814 PyObject *resultobj;
5815 otk::BFont *arg1 = (otk::BFont *) 0 ;
5816 PyObject * obj0 = 0 ;
5818 if(!PyArg_ParseTuple(args,(char *)"O:delete_BFont",&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 Py_INCREF(Py_None); resultobj = Py_None;
5829 static PyObject *_wrap_BFont_fontstring(PyObject *self, PyObject *args) {
5830 PyObject *resultobj;
5831 otk::BFont *arg1 = (otk::BFont *) 0 ;
5832 std::string *result;
5833 PyObject * obj0 = 0 ;
5835 if(!PyArg_ParseTuple(args,(char *)"O:BFont_fontstring",&obj0)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 std::string const &_result_ref = ((otk::BFont const *)arg1)->fontstring();
5839 result = (std::string *) &_result_ref;
5843 resultobj = PyString_FromString(result->c_str());
5851 static PyObject *_wrap_BFont_height(PyObject *self, PyObject *args) {
5852 PyObject *resultobj;
5853 otk::BFont *arg1 = (otk::BFont *) 0 ;
5854 unsigned int result;
5855 PyObject * obj0 = 0 ;
5857 if(!PyArg_ParseTuple(args,(char *)"O:BFont_height",&obj0)) goto fail;
5858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5859 result = (unsigned int)((otk::BFont const *)arg1)->height();
5861 resultobj = PyInt_FromLong((long)result);
5868 static PyObject *_wrap_BFont_maxCharWidth(PyObject *self, PyObject *args) {
5869 PyObject *resultobj;
5870 otk::BFont *arg1 = (otk::BFont *) 0 ;
5871 unsigned int result;
5872 PyObject * obj0 = 0 ;
5874 if(!PyArg_ParseTuple(args,(char *)"O:BFont_maxCharWidth",&obj0)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5876 result = (unsigned int)((otk::BFont const *)arg1)->maxCharWidth();
5878 resultobj = PyInt_FromLong((long)result);
5885 static PyObject *_wrap_BFont_measureString(PyObject *self, PyObject *args) {
5886 PyObject *resultobj;
5887 otk::BFont *arg1 = (otk::BFont *) 0 ;
5888 std::string *arg2 = 0 ;
5889 bool arg3 = (bool) false ;
5890 unsigned int result;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 PyObject * obj2 = 0 ;
5896 if(!PyArg_ParseTuple(args,(char *)"OO|O:BFont_measureString",&obj0,&obj1,&obj2)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5899 if (PyString_Check(obj1)) {
5900 temp2 = std::string(PyString_AsString(obj1));
5903 SWIG_exception(SWIG_TypeError, "string expected");
5907 arg3 = (bool) PyInt_AsLong(obj2);
5908 if (PyErr_Occurred()) SWIG_fail;
5910 result = (unsigned int)((otk::BFont const *)arg1)->measureString((std::string const &)*arg2,arg3);
5912 resultobj = PyInt_FromLong((long)result);
5919 static PyObject *_wrap_BFont_drawString(PyObject *self, PyObject *args) {
5920 PyObject *resultobj;
5921 otk::BFont *arg1 = (otk::BFont *) 0 ;
5922 XftDraw *arg2 = (XftDraw *) 0 ;
5925 otk::BColor *arg5 = 0 ;
5926 std::string *arg6 = 0 ;
5927 bool arg7 = (bool) false ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 PyObject * obj4 = 0 ;
5932 PyObject * obj5 = 0 ;
5933 PyObject * obj6 = 0 ;
5935 if(!PyArg_ParseTuple(args,(char *)"OOiiOO|O:BFont_drawString",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XftDraw,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5938 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5943 if (PyString_Check(obj5)) {
5944 temp6 = std::string(PyString_AsString(obj5));
5947 SWIG_exception(SWIG_TypeError, "string expected");
5951 arg7 = (bool) PyInt_AsLong(obj6);
5952 if (PyErr_Occurred()) SWIG_fail;
5954 ((otk::BFont const *)arg1)->drawString(arg2,arg3,arg4,(otk::BColor const &)*arg5,(std::string const &)*arg6,arg7);
5956 Py_INCREF(Py_None); resultobj = Py_None;
5963 static PyObject * BFont_swigregister(PyObject *self, PyObject *args) {
5965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5966 SWIG_TypeClientData(SWIGTYPE_p_otk__BFont, obj);
5968 return Py_BuildValue((char *)"");
5970 static PyObject *_wrap_BGCCacheContext_set__SWIG_0(PyObject *self, PyObject *args) {
5971 PyObject *resultobj;
5972 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
5973 otk::BColor *arg2 = 0 ;
5974 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
5978 PyObject * obj0 = 0 ;
5979 PyObject * obj1 = 0 ;
5980 PyObject * obj2 = 0 ;
5982 if(!PyArg_ParseTuple(args,(char *)"OOOiii:BGCCacheContext_set",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
5983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5988 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 (arg1)->set((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
5991 Py_INCREF(Py_None); resultobj = Py_None;
5998 static PyObject *_wrap_BGCCacheContext_set__SWIG_1(PyObject *self, PyObject *args) {
5999 PyObject *resultobj;
6000 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6001 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6002 PyObject * obj0 = 0 ;
6003 PyObject * obj1 = 0 ;
6005 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCacheContext_set",&obj0,&obj1)) goto fail;
6006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6008 (arg1)->set((XFontStruct const *)arg2);
6010 Py_INCREF(Py_None); resultobj = Py_None;
6017 static PyObject *_wrap_BGCCacheContext_set(PyObject *self, PyObject *args) {
6022 argc = PyObject_Length(args);
6023 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
6024 argv[ii] = PyTuple_GetItem(args,ii);
6030 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6040 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6048 return _wrap_BGCCacheContext_set__SWIG_1(self,args);
6056 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BGCCacheContext, 0) == -1) {
6066 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BColor, 0) == -1) {
6076 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_XFontStruct, 0) == -1) {
6085 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
6089 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
6093 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
6096 return _wrap_BGCCacheContext_set__SWIG_0(self,args);
6105 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'BGCCacheContext_set'");
6110 static PyObject *_wrap_delete_BGCCacheContext(PyObject *self, PyObject *args) {
6111 PyObject *resultobj;
6112 otk::BGCCacheContext *arg1 = (otk::BGCCacheContext *) 0 ;
6113 PyObject * obj0 = 0 ;
6115 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheContext",&obj0)) goto fail;
6116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 Py_INCREF(Py_None); resultobj = Py_None;
6126 static PyObject * BGCCacheContext_swigregister(PyObject *self, PyObject *args) {
6128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6129 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheContext, obj);
6131 return Py_BuildValue((char *)"");
6133 static PyObject *_wrap_BGCCacheItem_gc(PyObject *self, PyObject *args) {
6134 PyObject *resultobj;
6135 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6137 PyObject * obj0 = 0 ;
6139 if(!PyArg_ParseTuple(args,(char *)"O:BGCCacheItem_gc",&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 GC const &_result_ref = ((otk::BGCCacheItem const *)arg1)->gc();
6143 result = (GC *) &_result_ref;
6146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6153 static PyObject *_wrap_delete_BGCCacheItem(PyObject *self, PyObject *args) {
6154 PyObject *resultobj;
6155 otk::BGCCacheItem *arg1 = (otk::BGCCacheItem *) 0 ;
6156 PyObject * obj0 = 0 ;
6158 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCacheItem",&obj0)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6162 Py_INCREF(Py_None); resultobj = Py_None;
6169 static PyObject * BGCCacheItem_swigregister(PyObject *self, PyObject *args) {
6171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6172 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCacheItem, obj);
6174 return Py_BuildValue((char *)"");
6176 static PyObject *_wrap_new_BGCCache(PyObject *self, PyObject *args) {
6177 PyObject *resultobj;
6179 otk::BGCCache *result;
6180 PyObject * obj0 = 0 ;
6182 if(!PyArg_ParseTuple(args,(char *)"O:new_BGCCache",&obj0)) goto fail;
6183 arg1 = (unsigned int) PyInt_AsLong(obj0);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 result = (otk::BGCCache *)new otk::BGCCache(arg1);
6187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCache, 1);
6194 static PyObject *_wrap_delete_BGCCache(PyObject *self, PyObject *args) {
6195 PyObject *resultobj;
6196 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6197 PyObject * obj0 = 0 ;
6199 if(!PyArg_ParseTuple(args,(char *)"O:delete_BGCCache",&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6203 Py_INCREF(Py_None); resultobj = Py_None;
6210 static PyObject *_wrap_BGCCache_purge(PyObject *self, PyObject *args) {
6211 PyObject *resultobj;
6212 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6213 PyObject * obj0 = 0 ;
6215 if(!PyArg_ParseTuple(args,(char *)"O:BGCCache_purge",&obj0)) goto fail;
6216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219 Py_INCREF(Py_None); resultobj = Py_None;
6226 static PyObject *_wrap_BGCCache_find(PyObject *self, PyObject *args) {
6227 PyObject *resultobj;
6228 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6229 otk::BColor *arg2 = 0 ;
6230 XFontStruct *arg3 = (XFontStruct *) (XFontStruct *)0 ;
6231 int arg4 = (int) GXcopy ;
6232 int arg5 = (int) ClipByChildren ;
6233 int arg6 = (int) 0 ;
6234 otk::BGCCacheItem *result;
6235 PyObject * obj0 = 0 ;
6236 PyObject * obj1 = 0 ;
6237 PyObject * obj2 = 0 ;
6239 if(!PyArg_ParseTuple(args,(char *)"OO|Oiii:BGCCache_find",&obj0,&obj1,&obj2,&arg4,&arg5,&arg6)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6246 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6248 result = (otk::BGCCacheItem *)(arg1)->find((otk::BColor const &)*arg2,(XFontStruct const *)arg3,arg4,arg5,arg6);
6250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BGCCacheItem, 0);
6257 static PyObject *_wrap_BGCCache_release(PyObject *self, PyObject *args) {
6258 PyObject *resultobj;
6259 otk::BGCCache *arg1 = (otk::BGCCache *) 0 ;
6260 otk::BGCCacheItem *arg2 = (otk::BGCCacheItem *) 0 ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6264 if(!PyArg_ParseTuple(args,(char *)"OO:BGCCache_release",&obj0,&obj1)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BGCCache,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BGCCacheItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6267 (arg1)->release(arg2);
6269 Py_INCREF(Py_None); resultobj = Py_None;
6276 static PyObject * BGCCache_swigregister(PyObject *self, PyObject *args) {
6278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6279 SWIG_TypeClientData(SWIGTYPE_p_otk__BGCCache, obj);
6281 return Py_BuildValue((char *)"");
6283 static PyObject *_wrap_new_BPen(PyObject *self, PyObject *args) {
6284 PyObject *resultobj;
6285 otk::BColor *arg1 = 0 ;
6286 XFontStruct *arg2 = (XFontStruct *) (XFontStruct *)0 ;
6287 int arg3 = (int) 0 ;
6288 int arg4 = (int) GXcopy ;
6289 int arg5 = (int) ClipByChildren ;
6291 PyObject * obj0 = 0 ;
6292 PyObject * obj1 = 0 ;
6294 if(!PyArg_ParseTuple(args,(char *)"O|Oiii:new_BPen",&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XFontStruct,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6302 result = (otk::BPen *)new otk::BPen((otk::BColor const &)*arg1,(XFontStruct const *)arg2,arg3,arg4,arg5);
6304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BPen, 1);
6311 static PyObject *_wrap_delete_BPen(PyObject *self, PyObject *args) {
6312 PyObject *resultobj;
6313 otk::BPen *arg1 = (otk::BPen *) 0 ;
6314 PyObject * obj0 = 0 ;
6316 if(!PyArg_ParseTuple(args,(char *)"O:delete_BPen",&obj0)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6320 Py_INCREF(Py_None); resultobj = Py_None;
6327 static PyObject *_wrap_BPen_gc(PyObject *self, PyObject *args) {
6328 PyObject *resultobj;
6329 otk::BPen *arg1 = (otk::BPen *) 0 ;
6331 PyObject * obj0 = 0 ;
6333 if(!PyArg_ParseTuple(args,(char *)"O:BPen_gc",&obj0)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BPen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6336 GC const &_result_ref = ((otk::BPen const *)arg1)->gc();
6337 result = (GC *) &_result_ref;
6340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_GC, 0);
6347 static PyObject * BPen_swigregister(PyObject *self, PyObject *args) {
6349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6350 SWIG_TypeClientData(SWIGTYPE_p_otk__BPen, obj);
6352 return Py_BuildValue((char *)"");
6354 static PyObject *_wrap_new_BImage(PyObject *self, PyObject *args) {
6355 PyObject *resultobj;
6356 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6359 otk::BImage *result;
6360 PyObject * obj0 = 0 ;
6362 if(!PyArg_ParseTuple(args,(char *)"Oii:new_BImage",&obj0,&arg2,&arg3)) goto fail;
6363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6364 result = (otk::BImage *)new otk::BImage(arg1,arg2,arg3);
6366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImage, 1);
6373 static PyObject *_wrap_delete_BImage(PyObject *self, PyObject *args) {
6374 PyObject *resultobj;
6375 otk::BImage *arg1 = (otk::BImage *) 0 ;
6376 PyObject * obj0 = 0 ;
6378 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImage",&obj0)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6382 Py_INCREF(Py_None); resultobj = Py_None;
6389 static PyObject *_wrap_BImage_render(PyObject *self, PyObject *args) {
6390 PyObject *resultobj;
6391 otk::BImage *arg1 = (otk::BImage *) 0 ;
6392 otk::BTexture *arg2 = 0 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6397 if(!PyArg_ParseTuple(args,(char *)"OO:BImage_render",&obj0,&obj1)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6403 result = (Pixmap)(arg1)->render((otk::BTexture const &)*arg2);
6405 resultobj = PyInt_FromLong((long)result);
6412 static PyObject * BImage_swigregister(PyObject *self, PyObject *args) {
6414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6415 SWIG_TypeClientData(SWIGTYPE_p_otk__BImage, obj);
6417 return Py_BuildValue((char *)"");
6419 static PyObject *_wrap_new_BImageControl(PyObject *self, PyObject *args) {
6420 PyObject *resultobj;
6421 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
6422 otk::ScreenInfo *arg2 = (otk::ScreenInfo *) 0 ;
6423 bool arg3 = (bool) False ;
6424 int arg4 = (int) 4 ;
6425 unsigned long arg5 = (unsigned long) 300000l ;
6426 unsigned long arg6 = (unsigned long) 200l ;
6427 otk::BImageControl *result;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 PyObject * obj2 = 0 ;
6431 PyObject * obj4 = 0 ;
6432 PyObject * obj5 = 0 ;
6434 if(!PyArg_ParseTuple(args,(char *)"OO|OiOO:new_BImageControl",&obj0,&obj1,&obj2,&arg4,&obj4,&obj5)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6438 arg3 = (bool) PyInt_AsLong(obj2);
6439 if (PyErr_Occurred()) SWIG_fail;
6442 arg5 = (unsigned long) PyInt_AsLong(obj4);
6443 if (PyErr_Occurred()) SWIG_fail;
6446 arg6 = (unsigned long) PyInt_AsLong(obj5);
6447 if (PyErr_Occurred()) SWIG_fail;
6449 result = (otk::BImageControl *)new otk::BImageControl(arg1,(otk::ScreenInfo const *)arg2,arg3,arg4,arg5,arg6);
6451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 1);
6458 static PyObject *_wrap_delete_BImageControl(PyObject *self, PyObject *args) {
6459 PyObject *resultobj;
6460 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6461 PyObject * obj0 = 0 ;
6463 if(!PyArg_ParseTuple(args,(char *)"O:delete_BImageControl",&obj0)) goto fail;
6464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6467 Py_INCREF(Py_None); resultobj = Py_None;
6474 static PyObject *_wrap_BImageControl_doDither(PyObject *self, PyObject *args) {
6475 PyObject *resultobj;
6476 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6478 PyObject * obj0 = 0 ;
6480 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_doDither",&obj0)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 result = (bool)(arg1)->doDither();
6484 resultobj = PyInt_FromLong((long)result);
6491 static PyObject *_wrap_BImageControl_getScreenInfo(PyObject *self, PyObject *args) {
6492 PyObject *resultobj;
6493 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6494 otk::ScreenInfo *result;
6495 PyObject * obj0 = 0 ;
6497 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getScreenInfo",&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 result = (otk::ScreenInfo *)((otk::BImageControl const *)arg1)->getScreenInfo();
6501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 0);
6508 static PyObject *_wrap_BImageControl_getDrawable(PyObject *self, PyObject *args) {
6509 PyObject *resultobj;
6510 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6512 PyObject * obj0 = 0 ;
6514 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDrawable",&obj0)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6516 result = (Window)((otk::BImageControl const *)arg1)->getDrawable();
6518 resultobj = PyInt_FromLong((long)result);
6525 static PyObject *_wrap_BImageControl_getVisual(PyObject *self, PyObject *args) {
6526 PyObject *resultobj;
6527 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6529 PyObject * obj0 = 0 ;
6531 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getVisual",&obj0)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6533 result = (Visual *)(arg1)->getVisual();
6535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
6542 static PyObject *_wrap_BImageControl_getBitsPerPixel(PyObject *self, PyObject *args) {
6543 PyObject *resultobj;
6544 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6546 PyObject * obj0 = 0 ;
6548 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getBitsPerPixel",&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 result = (int)((otk::BImageControl const *)arg1)->getBitsPerPixel();
6552 resultobj = PyInt_FromLong((long)result);
6559 static PyObject *_wrap_BImageControl_getDepth(PyObject *self, PyObject *args) {
6560 PyObject *resultobj;
6561 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6563 PyObject * obj0 = 0 ;
6565 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getDepth",&obj0)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 result = (int)((otk::BImageControl const *)arg1)->getDepth();
6569 resultobj = PyInt_FromLong((long)result);
6576 static PyObject *_wrap_BImageControl_getColorsPerChannel(PyObject *self, PyObject *args) {
6577 PyObject *resultobj;
6578 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6580 PyObject * obj0 = 0 ;
6582 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_getColorsPerChannel",&obj0)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 result = (int)((otk::BImageControl const *)arg1)->getColorsPerChannel();
6586 resultobj = PyInt_FromLong((long)result);
6593 static PyObject *_wrap_BImageControl_getSqrt(PyObject *self, PyObject *args) {
6594 PyObject *resultobj;
6595 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6597 unsigned long result;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6601 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_getSqrt",&obj0,&obj1)) goto fail;
6602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6603 arg2 = (unsigned int) PyInt_AsLong(obj1);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 result = (unsigned long)(arg1)->getSqrt(arg2);
6607 resultobj = PyInt_FromLong((long)result);
6614 static PyObject *_wrap_BImageControl_renderImage(PyObject *self, PyObject *args) {
6615 PyObject *resultobj;
6616 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6619 otk::BTexture *arg4 = 0 ;
6621 PyObject * obj0 = 0 ;
6622 PyObject * obj1 = 0 ;
6623 PyObject * obj2 = 0 ;
6624 PyObject * obj3 = 0 ;
6626 if(!PyArg_ParseTuple(args,(char *)"OOOO:BImageControl_renderImage",&obj0,&obj1,&obj2,&obj3)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6628 arg2 = (unsigned int) PyInt_AsLong(obj1);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 arg3 = (unsigned int) PyInt_AsLong(obj2);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6636 result = (Pixmap)(arg1)->renderImage(arg2,arg3,(otk::BTexture const &)*arg4);
6638 resultobj = PyInt_FromLong((long)result);
6645 static PyObject *_wrap_BImageControl_installRootColormap(PyObject *self, PyObject *args) {
6646 PyObject *resultobj;
6647 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6648 PyObject * obj0 = 0 ;
6650 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_installRootColormap",&obj0)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6652 (arg1)->installRootColormap();
6654 Py_INCREF(Py_None); resultobj = Py_None;
6661 static PyObject *_wrap_BImageControl_removeImage(PyObject *self, PyObject *args) {
6662 PyObject *resultobj;
6663 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6665 PyObject * obj0 = 0 ;
6666 PyObject * obj1 = 0 ;
6668 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_removeImage",&obj0,&obj1)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670 arg2 = (Pixmap) PyInt_AsLong(obj1);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 (arg1)->removeImage(arg2);
6674 Py_INCREF(Py_None); resultobj = Py_None;
6681 static PyObject *_wrap_BImageControl_getColorTables(PyObject *self, PyObject *args) {
6682 PyObject *resultobj;
6683 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6684 unsigned char **arg2 = (unsigned char **) 0 ;
6685 unsigned char **arg3 = (unsigned char **) 0 ;
6686 unsigned char **arg4 = (unsigned char **) 0 ;
6687 int *arg5 = (int *) 0 ;
6688 int *arg6 = (int *) 0 ;
6689 int *arg7 = (int *) 0 ;
6690 int *arg8 = (int *) 0 ;
6691 int *arg9 = (int *) 0 ;
6692 int *arg10 = (int *) 0 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 PyObject * obj2 = 0 ;
6696 PyObject * obj3 = 0 ;
6697 PyObject * obj4 = 0 ;
6698 PyObject * obj5 = 0 ;
6699 PyObject * obj6 = 0 ;
6700 PyObject * obj7 = 0 ;
6701 PyObject * obj8 = 0 ;
6702 PyObject * obj9 = 0 ;
6704 if(!PyArg_ParseTuple(args,(char *)"OOOOOOOOOO:BImageControl_getColorTables",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6707 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6709 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6712 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6713 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6715 (arg1)->getColorTables(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6717 Py_INCREF(Py_None); resultobj = Py_None;
6724 static PyObject *_wrap_BImageControl_getXColorTable(PyObject *self, PyObject *args) {
6725 PyObject *resultobj;
6726 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6727 XColor **arg2 = (XColor **) 0 ;
6728 int *arg3 = (int *) 0 ;
6729 PyObject * obj0 = 0 ;
6730 PyObject * obj1 = 0 ;
6731 PyObject * obj2 = 0 ;
6733 if(!PyArg_ParseTuple(args,(char *)"OOO:BImageControl_getXColorTable",&obj0,&obj1,&obj2)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_p_XColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6736 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6737 (arg1)->getXColorTable(arg2,arg3);
6739 Py_INCREF(Py_None); resultobj = Py_None;
6746 static PyObject *_wrap_BImageControl_getGradientBuffers(PyObject *self, PyObject *args) {
6747 PyObject *resultobj;
6748 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6751 unsigned int **arg4 = (unsigned int **) 0 ;
6752 unsigned int **arg5 = (unsigned int **) 0 ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6759 if(!PyArg_ParseTuple(args,(char *)"OOOOO:BImageControl_getGradientBuffers",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 arg2 = (unsigned int) PyInt_AsLong(obj1);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 arg3 = (unsigned int) PyInt_AsLong(obj2);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_p_unsigned_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6767 (arg1)->getGradientBuffers(arg2,arg3,arg4,arg5);
6769 Py_INCREF(Py_None); resultobj = Py_None;
6776 static PyObject *_wrap_BImageControl_setDither(PyObject *self, PyObject *args) {
6777 PyObject *resultobj;
6778 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6783 if(!PyArg_ParseTuple(args,(char *)"OO:BImageControl_setDither",&obj0,&obj1)) goto fail;
6784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6785 arg2 = (bool) PyInt_AsLong(obj1);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 (arg1)->setDither(arg2);
6789 Py_INCREF(Py_None); resultobj = Py_None;
6796 static PyObject *_wrap_BImageControl_setColorsPerChannel(PyObject *self, PyObject *args) {
6797 PyObject *resultobj;
6798 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6800 PyObject * obj0 = 0 ;
6802 if(!PyArg_ParseTuple(args,(char *)"Oi:BImageControl_setColorsPerChannel",&obj0,&arg2)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 (arg1)->setColorsPerChannel(arg2);
6806 Py_INCREF(Py_None); resultobj = Py_None;
6813 static PyObject *_wrap_BImageControl_timeout(PyObject *self, PyObject *args) {
6814 PyObject *resultobj;
6815 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
6816 PyObject * obj0 = 0 ;
6818 if(!PyArg_ParseTuple(args,(char *)"O:BImageControl_timeout",&obj0)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 otk::BImageControl::timeout(arg1);
6822 Py_INCREF(Py_None); resultobj = Py_None;
6829 static PyObject * BImageControl_swigregister(PyObject *self, PyObject *args) {
6831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6832 SWIG_TypeClientData(SWIGTYPE_p_otk__BImageControl, obj);
6834 return Py_BuildValue((char *)"");
6836 static PyObject *_wrap_new_Point__SWIG_0(PyObject *self, PyObject *args) {
6837 PyObject *resultobj;
6840 if(!PyArg_ParseTuple(args,(char *)":new_Point")) goto fail;
6841 result = (otk::Point *)new otk::Point();
6843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6850 static PyObject *_wrap_new_Point__SWIG_1(PyObject *self, PyObject *args) {
6851 PyObject *resultobj;
6856 if(!PyArg_ParseTuple(args,(char *)"ii:new_Point",&arg1,&arg2)) goto fail;
6857 result = (otk::Point *)new otk::Point(arg1,arg2);
6859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Point, 1);
6866 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args) {
6871 argc = PyObject_Length(args);
6872 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
6873 argv[ii] = PyTuple_GetItem(args,ii);
6876 return _wrap_new_Point__SWIG_0(self,args);
6881 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
6885 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
6888 return _wrap_new_Point__SWIG_1(self,args);
6893 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Point'");
6898 static PyObject *_wrap_Point_setX(PyObject *self, PyObject *args) {
6899 PyObject *resultobj;
6900 otk::Point *arg1 = (otk::Point *) 0 ;
6902 PyObject * obj0 = 0 ;
6904 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setX",&obj0,&arg2)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6908 Py_INCREF(Py_None); resultobj = Py_None;
6915 static PyObject *_wrap_Point_x(PyObject *self, PyObject *args) {
6916 PyObject *resultobj;
6917 otk::Point *arg1 = (otk::Point *) 0 ;
6919 PyObject * obj0 = 0 ;
6921 if(!PyArg_ParseTuple(args,(char *)"O:Point_x",&obj0)) goto fail;
6922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6923 result = (int)((otk::Point const *)arg1)->x();
6925 resultobj = PyInt_FromLong((long)result);
6932 static PyObject *_wrap_Point_setY(PyObject *self, PyObject *args) {
6933 PyObject *resultobj;
6934 otk::Point *arg1 = (otk::Point *) 0 ;
6936 PyObject * obj0 = 0 ;
6938 if(!PyArg_ParseTuple(args,(char *)"Oi:Point_setY",&obj0,&arg2)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942 Py_INCREF(Py_None); resultobj = Py_None;
6949 static PyObject *_wrap_Point_y(PyObject *self, PyObject *args) {
6950 PyObject *resultobj;
6951 otk::Point *arg1 = (otk::Point *) 0 ;
6953 PyObject * obj0 = 0 ;
6955 if(!PyArg_ParseTuple(args,(char *)"O:Point_y",&obj0)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6957 result = (int)((otk::Point const *)arg1)->y();
6959 resultobj = PyInt_FromLong((long)result);
6966 static PyObject *_wrap_Point_setPoint(PyObject *self, PyObject *args) {
6967 PyObject *resultobj;
6968 otk::Point *arg1 = (otk::Point *) 0 ;
6971 PyObject * obj0 = 0 ;
6973 if(!PyArg_ParseTuple(args,(char *)"Oii:Point_setPoint",&obj0,&arg2,&arg3)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 (arg1)->setPoint(arg2,arg3);
6977 Py_INCREF(Py_None); resultobj = Py_None;
6984 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args) {
6985 PyObject *resultobj;
6986 otk::Point *arg1 = (otk::Point *) 0 ;
6987 PyObject * obj0 = 0 ;
6989 if(!PyArg_ParseTuple(args,(char *)"O:delete_Point",&obj0)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 Py_INCREF(Py_None); resultobj = Py_None;
7000 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
7002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7003 SWIG_TypeClientData(SWIGTYPE_p_otk__Point, obj);
7005 return Py_BuildValue((char *)"");
7007 static PyObject *_wrap_new_OBProperty(PyObject *self, PyObject *args) {
7008 PyObject *resultobj;
7009 otk::OBProperty *result;
7011 if(!PyArg_ParseTuple(args,(char *)":new_OBProperty")) goto fail;
7012 result = (otk::OBProperty *)new otk::OBProperty();
7014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBProperty, 1);
7021 static PyObject *_wrap_delete_OBProperty(PyObject *self, PyObject *args) {
7022 PyObject *resultobj;
7023 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7024 PyObject * obj0 = 0 ;
7026 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBProperty",&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7030 Py_INCREF(Py_None); resultobj = Py_None;
7037 static PyObject *_wrap_OBProperty_set__SWIG_0(PyObject *self, PyObject *args) {
7038 PyObject *resultobj;
7039 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7043 unsigned long arg5 ;
7044 PyObject * obj0 = 0 ;
7045 PyObject * obj1 = 0 ;
7046 PyObject * obj4 = 0 ;
7048 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7050 arg2 = (Window) PyInt_AsLong(obj1);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 arg5 = (unsigned long) PyInt_AsLong(obj4);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7056 Py_INCREF(Py_None); resultobj = Py_None;
7063 static PyObject *_wrap_OBProperty_set__SWIG_1(PyObject *self, PyObject *args) {
7064 PyObject *resultobj;
7065 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7069 unsigned long *arg5 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj4 = 0 ;
7075 if(!PyArg_ParseTuple(args,(char *)"OOiiOi:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4,&arg6)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 arg2 = (Window) PyInt_AsLong(obj1);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7082 Py_INCREF(Py_None); resultobj = Py_None;
7089 static PyObject *_wrap_OBProperty_set__SWIG_2(PyObject *self, PyObject *args) {
7090 PyObject *resultobj;
7091 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7095 std::string *arg5 = 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 PyObject * obj4 = 0 ;
7101 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7103 arg2 = (Window) PyInt_AsLong(obj1);
7104 if (PyErr_Occurred()) SWIG_fail;
7106 if (PyString_Check(obj4)) {
7107 temp5 = std::string(PyString_AsString(obj4));
7110 SWIG_exception(SWIG_TypeError, "string expected");
7113 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(std::string const &)*arg5);
7115 Py_INCREF(Py_None); resultobj = Py_None;
7122 static PyObject *_wrap_OBProperty_set__SWIG_3(PyObject *self, PyObject *args) {
7123 PyObject *resultobj;
7124 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7128 otk::OBProperty::StringVect *arg5 = 0 ;
7129 PyObject * obj0 = 0 ;
7130 PyObject * obj1 = 0 ;
7131 PyObject * obj4 = 0 ;
7133 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_set",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7135 arg2 = (Window) PyInt_AsLong(obj1);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7141 ((otk::OBProperty const *)arg1)->set(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,(otk::OBProperty::StringVect const &)*arg5);
7143 Py_INCREF(Py_None); resultobj = Py_None;
7150 static PyObject *_wrap_OBProperty_set(PyObject *self, PyObject *args) {
7155 argc = PyObject_Length(args);
7156 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7157 argv[ii] = PyTuple_GetItem(args,ii);
7163 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7172 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7176 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7180 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7185 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7193 return _wrap_OBProperty_set__SWIG_3(self,args);
7204 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7213 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7217 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7221 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7225 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
7228 return _wrap_OBProperty_set__SWIG_0(self,args);
7239 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7248 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7252 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7256 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7260 _v = PyString_Check(argv[4]) ? 1 : 0;
7263 return _wrap_OBProperty_set__SWIG_2(self,args);
7274 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7283 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7287 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7291 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7296 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7305 _v = (PyInt_Check(argv[5]) || PyLong_Check(argv[5])) ? 1 : 0;
7308 return _wrap_OBProperty_set__SWIG_1(self,args);
7317 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_set'");
7322 static PyObject *_wrap_OBProperty_get__SWIG_0(PyObject *self, PyObject *args) {
7323 PyObject *resultobj;
7324 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7328 unsigned long *arg5 = (unsigned long *) 0 ;
7329 unsigned long **arg6 = (unsigned long **) 0 ;
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj1 = 0 ;
7333 PyObject * obj4 = 0 ;
7334 PyObject * obj5 = 0 ;
7336 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7338 arg2 = (Window) PyInt_AsLong(obj1);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7342 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5,arg6);
7344 resultobj = PyInt_FromLong((long)result);
7351 static PyObject *_wrap_OBProperty_get__SWIG_1(PyObject *self, PyObject *args) {
7352 PyObject *resultobj;
7353 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7357 unsigned long *arg5 = (unsigned long *) 0 ;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 PyObject * obj4 = 0 ;
7363 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7365 arg2 = (Window) PyInt_AsLong(obj1);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7368 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::Atoms )arg4,arg5);
7370 resultobj = PyInt_FromLong((long)result);
7377 static PyObject *_wrap_OBProperty_get__SWIG_2(PyObject *self, PyObject *args) {
7378 PyObject *resultobj;
7379 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7383 std::string *arg5 = (std::string *) 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 PyObject * obj4 = 0 ;
7389 if(!PyArg_ParseTuple(args,(char *)"OOiiO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7391 arg2 = (Window) PyInt_AsLong(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_std__string,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7394 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5);
7396 resultobj = PyInt_FromLong((long)result);
7403 static PyObject *_wrap_OBProperty_get__SWIG_3(PyObject *self, PyObject *args) {
7404 PyObject *resultobj;
7405 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7409 unsigned long *arg5 = (unsigned long *) 0 ;
7410 otk::OBProperty::StringVect *arg6 = (otk::OBProperty::StringVect *) 0 ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 PyObject * obj4 = 0 ;
7415 PyObject * obj5 = 0 ;
7417 if(!PyArg_ParseTuple(args,(char *)"OOiiOO:OBProperty_get",&obj0,&obj1,&arg3,&arg4,&obj4,&obj5)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7419 arg2 = (Window) PyInt_AsLong(obj1);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_otk__OBProperty__StringVect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7423 result = (bool)((otk::OBProperty const *)arg1)->get(arg2,(otk::OBProperty::Atoms )arg3,(otk::OBProperty::StringType )arg4,arg5,arg6);
7425 resultobj = PyInt_FromLong((long)result);
7432 static PyObject *_wrap_OBProperty_get(PyObject *self, PyObject *args) {
7437 argc = PyObject_Length(args);
7438 for (ii = 0; (ii < argc) && (ii < 6); ii++) {
7439 argv[ii] = PyTuple_GetItem(args,ii);
7445 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7454 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7458 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7462 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7467 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7475 return _wrap_OBProperty_get__SWIG_1(self,args);
7486 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7495 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7499 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7503 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7508 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_std__string, 0) == -1) {
7516 return _wrap_OBProperty_get__SWIG_2(self,args);
7527 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7536 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7540 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7544 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7549 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7559 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_p_unsigned_long, 0) == -1) {
7567 return _wrap_OBProperty_get__SWIG_0(self,args);
7579 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBProperty, 0) == -1) {
7588 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7592 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7596 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7601 if (SWIG_ConvertPtr(argv[4], (void **) &ptr, SWIGTYPE_p_unsigned_long, 0) == -1) {
7611 if (SWIG_ConvertPtr(argv[5], (void **) &ptr, SWIGTYPE_p_otk__OBProperty__StringVect, 0) == -1) {
7619 return _wrap_OBProperty_get__SWIG_3(self,args);
7628 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBProperty_get'");
7633 static PyObject *_wrap_OBProperty_erase(PyObject *self, PyObject *args) {
7634 PyObject *resultobj;
7635 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7641 if(!PyArg_ParseTuple(args,(char *)"OOi:OBProperty_erase",&obj0,&obj1,&arg3)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7643 arg2 = (Window) PyInt_AsLong(obj1);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 ((otk::OBProperty const *)arg1)->erase(arg2,(otk::OBProperty::Atoms )arg3);
7647 Py_INCREF(Py_None); resultobj = Py_None;
7654 static PyObject *_wrap_OBProperty_atom(PyObject *self, PyObject *args) {
7655 PyObject *resultobj;
7656 otk::OBProperty *arg1 = (otk::OBProperty *) 0 ;
7659 PyObject * obj0 = 0 ;
7661 if(!PyArg_ParseTuple(args,(char *)"Oi:OBProperty_atom",&obj0,&arg2)) goto fail;
7662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7663 result = (Atom)((otk::OBProperty const *)arg1)->atom((otk::OBProperty::Atoms )arg2);
7665 resultobj = PyInt_FromLong((long)result);
7672 static PyObject * OBProperty_swigregister(PyObject *self, PyObject *args) {
7674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7675 SWIG_TypeClientData(SWIGTYPE_p_otk__OBProperty, obj);
7677 return Py_BuildValue((char *)"");
7679 static PyObject *_wrap_new_Rect__SWIG_0(PyObject *self, PyObject *args) {
7680 PyObject *resultobj;
7683 if(!PyArg_ParseTuple(args,(char *)":new_Rect")) goto fail;
7684 result = (otk::Rect *)new otk::Rect();
7686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7693 static PyObject *_wrap_new_Rect__SWIG_1(PyObject *self, PyObject *args) {
7694 PyObject *resultobj;
7701 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Rect",&arg1,&arg2,&arg3,&arg4)) goto fail;
7702 result = (otk::Rect *)new otk::Rect(arg1,arg2,arg3,arg4);
7704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7711 static PyObject *_wrap_new_Rect__SWIG_2(PyObject *self, PyObject *args) {
7712 PyObject *resultobj;
7713 otk::Point *arg1 = 0 ;
7714 otk::Point *arg2 = 0 ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7719 if(!PyArg_ParseTuple(args,(char *)"OO:new_Rect",&obj0,&obj1)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7728 result = (otk::Rect *)new otk::Rect((otk::Point const &)*arg1,(otk::Point const &)*arg2);
7730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7737 static PyObject *_wrap_new_Rect__SWIG_3(PyObject *self, PyObject *args) {
7738 PyObject *resultobj;
7739 otk::Rect *arg1 = 0 ;
7741 PyObject * obj0 = 0 ;
7743 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7748 result = (otk::Rect *)new otk::Rect((otk::Rect const &)*arg1);
7750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7757 static PyObject *_wrap_new_Rect__SWIG_4(PyObject *self, PyObject *args) {
7758 PyObject *resultobj;
7759 XRectangle *arg1 = 0 ;
7761 PyObject * obj0 = 0 ;
7763 if(!PyArg_ParseTuple(args,(char *)"O:new_Rect",&obj0)) goto fail;
7764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_XRectangle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7768 result = (otk::Rect *)new otk::Rect((XRectangle const &)*arg1);
7770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 1);
7777 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args) {
7782 argc = PyObject_Length(args);
7783 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7784 argv[ii] = PyTuple_GetItem(args,ii);
7787 return _wrap_new_Rect__SWIG_0(self,args);
7793 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
7801 return _wrap_new_Rect__SWIG_3(self,args);
7808 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_XRectangle, 0) == -1) {
7816 return _wrap_new_Rect__SWIG_4(self,args);
7823 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7833 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
7841 return _wrap_new_Rect__SWIG_2(self,args);
7848 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
7852 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
7856 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
7860 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
7863 return _wrap_new_Rect__SWIG_1(self,args);
7870 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Rect'");
7875 static PyObject *_wrap_Rect_left(PyObject *self, PyObject *args) {
7876 PyObject *resultobj;
7877 otk::Rect *arg1 = (otk::Rect *) 0 ;
7879 PyObject * obj0 = 0 ;
7881 if(!PyArg_ParseTuple(args,(char *)"O:Rect_left",&obj0)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 result = (int)((otk::Rect const *)arg1)->left();
7885 resultobj = PyInt_FromLong((long)result);
7892 static PyObject *_wrap_Rect_top(PyObject *self, PyObject *args) {
7893 PyObject *resultobj;
7894 otk::Rect *arg1 = (otk::Rect *) 0 ;
7896 PyObject * obj0 = 0 ;
7898 if(!PyArg_ParseTuple(args,(char *)"O:Rect_top",&obj0)) goto fail;
7899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7900 result = (int)((otk::Rect const *)arg1)->top();
7902 resultobj = PyInt_FromLong((long)result);
7909 static PyObject *_wrap_Rect_right(PyObject *self, PyObject *args) {
7910 PyObject *resultobj;
7911 otk::Rect *arg1 = (otk::Rect *) 0 ;
7913 PyObject * obj0 = 0 ;
7915 if(!PyArg_ParseTuple(args,(char *)"O:Rect_right",&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 result = (int)((otk::Rect const *)arg1)->right();
7919 resultobj = PyInt_FromLong((long)result);
7926 static PyObject *_wrap_Rect_bottom(PyObject *self, PyObject *args) {
7927 PyObject *resultobj;
7928 otk::Rect *arg1 = (otk::Rect *) 0 ;
7930 PyObject * obj0 = 0 ;
7932 if(!PyArg_ParseTuple(args,(char *)"O:Rect_bottom",&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7934 result = (int)((otk::Rect const *)arg1)->bottom();
7936 resultobj = PyInt_FromLong((long)result);
7943 static PyObject *_wrap_Rect_x(PyObject *self, PyObject *args) {
7944 PyObject *resultobj;
7945 otk::Rect *arg1 = (otk::Rect *) 0 ;
7947 PyObject * obj0 = 0 ;
7949 if(!PyArg_ParseTuple(args,(char *)"O:Rect_x",&obj0)) goto fail;
7950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7951 result = (int)((otk::Rect const *)arg1)->x();
7953 resultobj = PyInt_FromLong((long)result);
7960 static PyObject *_wrap_Rect_y(PyObject *self, PyObject *args) {
7961 PyObject *resultobj;
7962 otk::Rect *arg1 = (otk::Rect *) 0 ;
7964 PyObject * obj0 = 0 ;
7966 if(!PyArg_ParseTuple(args,(char *)"O:Rect_y",&obj0)) goto fail;
7967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7968 result = (int)((otk::Rect const *)arg1)->y();
7970 resultobj = PyInt_FromLong((long)result);
7977 static PyObject *_wrap_Rect_location(PyObject *self, PyObject *args) {
7978 PyObject *resultobj;
7979 otk::Rect *arg1 = (otk::Rect *) 0 ;
7981 PyObject * obj0 = 0 ;
7983 if(!PyArg_ParseTuple(args,(char *)"O:Rect_location",&obj0)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7985 result = ((otk::Rect const *)arg1)->location();
7988 otk::Point * resultptr;
7989 resultptr = new otk::Point((otk::Point &) result);
7990 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
7998 static PyObject *_wrap_Rect_setX(PyObject *self, PyObject *args) {
7999 PyObject *resultobj;
8000 otk::Rect *arg1 = (otk::Rect *) 0 ;
8002 PyObject * obj0 = 0 ;
8004 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setX",&obj0,&arg2)) goto fail;
8005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008 Py_INCREF(Py_None); resultobj = Py_None;
8015 static PyObject *_wrap_Rect_setY(PyObject *self, PyObject *args) {
8016 PyObject *resultobj;
8017 otk::Rect *arg1 = (otk::Rect *) 0 ;
8019 PyObject * obj0 = 0 ;
8021 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setY",&obj0,&arg2)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8025 Py_INCREF(Py_None); resultobj = Py_None;
8032 static PyObject *_wrap_Rect_setPos__SWIG_0(PyObject *self, PyObject *args) {
8033 PyObject *resultobj;
8034 otk::Rect *arg1 = (otk::Rect *) 0 ;
8037 PyObject * obj0 = 0 ;
8039 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setPos",&obj0,&arg2,&arg3)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 (arg1)->setPos(arg2,arg3);
8043 Py_INCREF(Py_None); resultobj = Py_None;
8050 static PyObject *_wrap_Rect_setPos__SWIG_1(PyObject *self, PyObject *args) {
8051 PyObject *resultobj;
8052 otk::Rect *arg1 = (otk::Rect *) 0 ;
8053 otk::Point *arg2 = 0 ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8057 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setPos",&obj0,&obj1)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8063 (arg1)->setPos((otk::Point const &)*arg2);
8065 Py_INCREF(Py_None); resultobj = Py_None;
8072 static PyObject *_wrap_Rect_setPos(PyObject *self, PyObject *args) {
8077 argc = PyObject_Length(args);
8078 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8079 argv[ii] = PyTuple_GetItem(args,ii);
8085 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8095 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8103 return _wrap_Rect_setPos__SWIG_1(self,args);
8111 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8120 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8124 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8127 return _wrap_Rect_setPos__SWIG_0(self,args);
8133 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setPos'");
8138 static PyObject *_wrap_Rect_width(PyObject *self, PyObject *args) {
8139 PyObject *resultobj;
8140 otk::Rect *arg1 = (otk::Rect *) 0 ;
8142 PyObject * obj0 = 0 ;
8144 if(!PyArg_ParseTuple(args,(char *)"O:Rect_width",&obj0)) goto fail;
8145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8146 result = (int)((otk::Rect const *)arg1)->width();
8148 resultobj = PyInt_FromLong((long)result);
8155 static PyObject *_wrap_Rect_height(PyObject *self, PyObject *args) {
8156 PyObject *resultobj;
8157 otk::Rect *arg1 = (otk::Rect *) 0 ;
8159 PyObject * obj0 = 0 ;
8161 if(!PyArg_ParseTuple(args,(char *)"O:Rect_height",&obj0)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8163 result = (int)((otk::Rect const *)arg1)->height();
8165 resultobj = PyInt_FromLong((long)result);
8172 static PyObject *_wrap_Rect_size(PyObject *self, PyObject *args) {
8173 PyObject *resultobj;
8174 otk::Rect *arg1 = (otk::Rect *) 0 ;
8176 PyObject * obj0 = 0 ;
8178 if(!PyArg_ParseTuple(args,(char *)"O:Rect_size",&obj0)) goto fail;
8179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8180 result = ((otk::Rect const *)arg1)->size();
8183 otk::Point * resultptr;
8184 resultptr = new otk::Point((otk::Point &) result);
8185 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__Point, 1);
8193 static PyObject *_wrap_Rect_setWidth(PyObject *self, PyObject *args) {
8194 PyObject *resultobj;
8195 otk::Rect *arg1 = (otk::Rect *) 0 ;
8197 PyObject * obj0 = 0 ;
8199 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setWidth",&obj0,&arg2)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 (arg1)->setWidth(arg2);
8203 Py_INCREF(Py_None); resultobj = Py_None;
8210 static PyObject *_wrap_Rect_setHeight(PyObject *self, PyObject *args) {
8211 PyObject *resultobj;
8212 otk::Rect *arg1 = (otk::Rect *) 0 ;
8214 PyObject * obj0 = 0 ;
8216 if(!PyArg_ParseTuple(args,(char *)"Oi:Rect_setHeight",&obj0,&arg2)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8218 (arg1)->setHeight(arg2);
8220 Py_INCREF(Py_None); resultobj = Py_None;
8227 static PyObject *_wrap_Rect_setSize__SWIG_0(PyObject *self, PyObject *args) {
8228 PyObject *resultobj;
8229 otk::Rect *arg1 = (otk::Rect *) 0 ;
8232 PyObject * obj0 = 0 ;
8234 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_setSize",&obj0,&arg2,&arg3)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8236 (arg1)->setSize(arg2,arg3);
8238 Py_INCREF(Py_None); resultobj = Py_None;
8245 static PyObject *_wrap_Rect_setSize__SWIG_1(PyObject *self, PyObject *args) {
8246 PyObject *resultobj;
8247 otk::Rect *arg1 = (otk::Rect *) 0 ;
8248 otk::Point *arg2 = 0 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8252 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_setSize",&obj0,&obj1)) goto fail;
8253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8258 (arg1)->setSize((otk::Point const &)*arg2);
8260 Py_INCREF(Py_None); resultobj = Py_None;
8267 static PyObject *_wrap_Rect_setSize(PyObject *self, PyObject *args) {
8272 argc = PyObject_Length(args);
8273 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8274 argv[ii] = PyTuple_GetItem(args,ii);
8280 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8290 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8298 return _wrap_Rect_setSize__SWIG_1(self,args);
8306 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8315 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8319 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8322 return _wrap_Rect_setSize__SWIG_0(self,args);
8328 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setSize'");
8333 static PyObject *_wrap_Rect_setRect__SWIG_0(PyObject *self, PyObject *args) {
8334 PyObject *resultobj;
8335 otk::Rect *arg1 = (otk::Rect *) 0 ;
8340 PyObject * obj0 = 0 ;
8342 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setRect",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8344 (arg1)->setRect(arg2,arg3,arg4,arg5);
8346 Py_INCREF(Py_None); resultobj = Py_None;
8353 static PyObject *_wrap_Rect_setRect__SWIG_1(PyObject *self, PyObject *args) {
8354 PyObject *resultobj;
8355 otk::Rect *arg1 = (otk::Rect *) 0 ;
8356 otk::Point *arg2 = 0 ;
8357 otk::Point *arg3 = 0 ;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 PyObject * obj2 = 0 ;
8362 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setRect",&obj0,&obj1,&obj2)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8368 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8372 (arg1)->setRect((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8374 Py_INCREF(Py_None); resultobj = Py_None;
8381 static PyObject *_wrap_Rect_setRect(PyObject *self, PyObject *args) {
8386 argc = PyObject_Length(args);
8387 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8388 argv[ii] = PyTuple_GetItem(args,ii);
8394 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8404 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8414 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8422 return _wrap_Rect_setRect__SWIG_1(self,args);
8431 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8440 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8444 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8448 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8452 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8455 return _wrap_Rect_setRect__SWIG_0(self,args);
8463 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setRect'");
8468 static PyObject *_wrap_Rect_setCoords__SWIG_0(PyObject *self, PyObject *args) {
8469 PyObject *resultobj;
8470 otk::Rect *arg1 = (otk::Rect *) 0 ;
8475 PyObject * obj0 = 0 ;
8477 if(!PyArg_ParseTuple(args,(char *)"Oiiii:Rect_setCoords",&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
8478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8479 (arg1)->setCoords(arg2,arg3,arg4,arg5);
8481 Py_INCREF(Py_None); resultobj = Py_None;
8488 static PyObject *_wrap_Rect_setCoords__SWIG_1(PyObject *self, PyObject *args) {
8489 PyObject *resultobj;
8490 otk::Rect *arg1 = (otk::Rect *) 0 ;
8491 otk::Point *arg2 = 0 ;
8492 otk::Point *arg3 = 0 ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
8497 if(!PyArg_ParseTuple(args,(char *)"OOO:Rect_setCoords",&obj0,&obj1,&obj2)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8503 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8507 (arg1)->setCoords((otk::Point const &)*arg2,(otk::Point const &)*arg3);
8509 Py_INCREF(Py_None); resultobj = Py_None;
8516 static PyObject *_wrap_Rect_setCoords(PyObject *self, PyObject *args) {
8521 argc = PyObject_Length(args);
8522 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
8523 argv[ii] = PyTuple_GetItem(args,ii);
8529 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8539 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8549 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8557 return _wrap_Rect_setCoords__SWIG_1(self,args);
8566 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8575 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8579 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8583 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
8587 _v = (PyInt_Check(argv[4]) || PyLong_Check(argv[4])) ? 1 : 0;
8590 return _wrap_Rect_setCoords__SWIG_0(self,args);
8598 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_setCoords'");
8603 static PyObject *_wrap_Rect_equals(PyObject *self, PyObject *args) {
8604 PyObject *resultobj;
8605 otk::Rect *arg1 = (otk::Rect *) 0 ;
8606 otk::Rect *arg2 = 0 ;
8608 PyObject * obj0 = 0 ;
8609 PyObject * obj1 = 0 ;
8611 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_equals",&obj0,&obj1)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8617 result = (bool)(arg1)->operator ==((otk::Rect const &)*arg2);
8619 resultobj = PyInt_FromLong((long)result);
8626 static PyObject *_wrap_Rect_valid(PyObject *self, PyObject *args) {
8627 PyObject *resultobj;
8628 otk::Rect *arg1 = (otk::Rect *) 0 ;
8630 PyObject * obj0 = 0 ;
8632 if(!PyArg_ParseTuple(args,(char *)"O:Rect_valid",&obj0)) goto fail;
8633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8634 result = (bool)((otk::Rect const *)arg1)->valid();
8636 resultobj = PyInt_FromLong((long)result);
8643 static PyObject *_wrap_Rect_intersects(PyObject *self, PyObject *args) {
8644 PyObject *resultobj;
8645 otk::Rect *arg1 = (otk::Rect *) 0 ;
8646 otk::Rect *arg2 = 0 ;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8651 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_intersects",&obj0,&obj1)) goto fail;
8652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8657 result = (bool)((otk::Rect const *)arg1)->intersects((otk::Rect const &)*arg2);
8659 resultobj = PyInt_FromLong((long)result);
8666 static PyObject *_wrap_Rect_contains__SWIG_0(PyObject *self, PyObject *args) {
8667 PyObject *resultobj;
8668 otk::Rect *arg1 = (otk::Rect *) 0 ;
8672 PyObject * obj0 = 0 ;
8674 if(!PyArg_ParseTuple(args,(char *)"Oii:Rect_contains",&obj0,&arg2,&arg3)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 result = (bool)((otk::Rect const *)arg1)->contains(arg2,arg3);
8678 resultobj = PyInt_FromLong((long)result);
8685 static PyObject *_wrap_Rect_contains__SWIG_1(PyObject *self, PyObject *args) {
8686 PyObject *resultobj;
8687 otk::Rect *arg1 = (otk::Rect *) 0 ;
8688 otk::Point *arg2 = 0 ;
8690 PyObject * obj0 = 0 ;
8691 PyObject * obj1 = 0 ;
8693 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Point,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8699 result = (bool)((otk::Rect const *)arg1)->contains((otk::Point const &)*arg2);
8701 resultobj = PyInt_FromLong((long)result);
8708 static PyObject *_wrap_Rect_contains__SWIG_2(PyObject *self, PyObject *args) {
8709 PyObject *resultobj;
8710 otk::Rect *arg1 = (otk::Rect *) 0 ;
8711 otk::Rect *arg2 = 0 ;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8716 if(!PyArg_ParseTuple(args,(char *)"OO:Rect_contains",&obj0,&obj1)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8722 result = (bool)((otk::Rect const *)arg1)->contains((otk::Rect const &)*arg2);
8724 resultobj = PyInt_FromLong((long)result);
8731 static PyObject *_wrap_Rect_contains(PyObject *self, PyObject *args) {
8736 argc = PyObject_Length(args);
8737 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8738 argv[ii] = PyTuple_GetItem(args,ii);
8744 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8754 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Point, 0) == -1) {
8762 return _wrap_Rect_contains__SWIG_1(self,args);
8770 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8780 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8788 return _wrap_Rect_contains__SWIG_2(self,args);
8796 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__Rect, 0) == -1) {
8805 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
8809 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
8812 return _wrap_Rect_contains__SWIG_0(self,args);
8818 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Rect_contains'");
8823 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args) {
8824 PyObject *resultobj;
8825 otk::Rect *arg1 = (otk::Rect *) 0 ;
8826 PyObject * obj0 = 0 ;
8828 if(!PyArg_ParseTuple(args,(char *)"O:delete_Rect",&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Rect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8832 Py_INCREF(Py_None); resultobj = Py_None;
8839 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
8841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8842 SWIG_TypeClientData(SWIGTYPE_p_otk__Rect, obj);
8844 return Py_BuildValue((char *)"");
8846 static PyObject *_wrap_new_ScreenInfo(PyObject *self, PyObject *args) {
8847 PyObject *resultobj;
8849 otk::ScreenInfo *result;
8850 PyObject * obj0 = 0 ;
8852 if(!PyArg_ParseTuple(args,(char *)"O:new_ScreenInfo",&obj0)) goto fail;
8853 arg1 = (unsigned int) PyInt_AsLong(obj0);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 result = (otk::ScreenInfo *)new otk::ScreenInfo(arg1);
8857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__ScreenInfo, 1);
8864 static PyObject *_wrap_ScreenInfo_visual(PyObject *self, PyObject *args) {
8865 PyObject *resultobj;
8866 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8868 PyObject * obj0 = 0 ;
8870 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_visual",&obj0)) goto fail;
8871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8872 result = (Visual *)((otk::ScreenInfo const *)arg1)->visual();
8874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_Visual, 0);
8881 static PyObject *_wrap_ScreenInfo_rootWindow(PyObject *self, PyObject *args) {
8882 PyObject *resultobj;
8883 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8885 PyObject * obj0 = 0 ;
8887 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rootWindow",&obj0)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 result = (Window)((otk::ScreenInfo const *)arg1)->rootWindow();
8891 resultobj = PyInt_FromLong((long)result);
8898 static PyObject *_wrap_ScreenInfo_colormap(PyObject *self, PyObject *args) {
8899 PyObject *resultobj;
8900 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8902 PyObject * obj0 = 0 ;
8904 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_colormap",&obj0)) goto fail;
8905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8906 result = (Colormap)((otk::ScreenInfo const *)arg1)->colormap();
8908 resultobj = PyInt_FromLong((long)result);
8915 static PyObject *_wrap_ScreenInfo_depth(PyObject *self, PyObject *args) {
8916 PyObject *resultobj;
8917 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8919 PyObject * obj0 = 0 ;
8921 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_depth",&obj0)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8923 result = (int)((otk::ScreenInfo const *)arg1)->depth();
8925 resultobj = PyInt_FromLong((long)result);
8932 static PyObject *_wrap_ScreenInfo_screen(PyObject *self, PyObject *args) {
8933 PyObject *resultobj;
8934 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8935 unsigned int result;
8936 PyObject * obj0 = 0 ;
8938 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_screen",&obj0)) goto fail;
8939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8940 result = (unsigned int)((otk::ScreenInfo const *)arg1)->screen();
8942 resultobj = PyInt_FromLong((long)result);
8949 static PyObject *_wrap_ScreenInfo_rect(PyObject *self, PyObject *args) {
8950 PyObject *resultobj;
8951 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8953 PyObject * obj0 = 0 ;
8955 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_rect",&obj0)) goto fail;
8956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 otk::Rect const &_result_ref = ((otk::ScreenInfo const *)arg1)->rect();
8959 result = (otk::Rect *) &_result_ref;
8962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Rect, 0);
8969 static PyObject *_wrap_ScreenInfo_width(PyObject *self, PyObject *args) {
8970 PyObject *resultobj;
8971 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8972 unsigned int result;
8973 PyObject * obj0 = 0 ;
8975 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_width",&obj0)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 result = (unsigned int)((otk::ScreenInfo const *)arg1)->width();
8979 resultobj = PyInt_FromLong((long)result);
8986 static PyObject *_wrap_ScreenInfo_height(PyObject *self, PyObject *args) {
8987 PyObject *resultobj;
8988 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
8989 unsigned int result;
8990 PyObject * obj0 = 0 ;
8992 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_height",&obj0)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 result = (unsigned int)((otk::ScreenInfo const *)arg1)->height();
8996 resultobj = PyInt_FromLong((long)result);
9003 static PyObject *_wrap_ScreenInfo_displayString(PyObject *self, PyObject *args) {
9004 PyObject *resultobj;
9005 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9006 std::string *result;
9007 PyObject * obj0 = 0 ;
9009 if(!PyArg_ParseTuple(args,(char *)"O:ScreenInfo_displayString",&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 std::string const &_result_ref = ((otk::ScreenInfo const *)arg1)->displayString();
9013 result = (std::string *) &_result_ref;
9017 resultobj = PyString_FromString(result->c_str());
9025 static PyObject *_wrap_delete_ScreenInfo(PyObject *self, PyObject *args) {
9026 PyObject *resultobj;
9027 otk::ScreenInfo *arg1 = (otk::ScreenInfo *) 0 ;
9028 PyObject * obj0 = 0 ;
9030 if(!PyArg_ParseTuple(args,(char *)"O:delete_ScreenInfo",&obj0)) goto fail;
9031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__ScreenInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 Py_INCREF(Py_None); resultobj = Py_None;
9041 static PyObject * ScreenInfo_swigregister(PyObject *self, PyObject *args) {
9043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9044 SWIG_TypeClientData(SWIGTYPE_p_otk__ScreenInfo, obj);
9046 return Py_BuildValue((char *)"");
9048 static PyObject *_wrap_Strut_top_set(PyObject *self, PyObject *args) {
9049 PyObject *resultobj;
9050 otk::Strut *arg1 = (otk::Strut *) 0 ;
9052 PyObject * obj0 = 0 ;
9053 PyObject * obj1 = 0 ;
9055 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_top_set",&obj0,&obj1)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9057 arg2 = (unsigned int) PyInt_AsLong(obj1);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 if (arg1) (arg1)->top = arg2;
9061 Py_INCREF(Py_None); resultobj = Py_None;
9068 static PyObject *_wrap_Strut_top_get(PyObject *self, PyObject *args) {
9069 PyObject *resultobj;
9070 otk::Strut *arg1 = (otk::Strut *) 0 ;
9071 unsigned int result;
9072 PyObject * obj0 = 0 ;
9074 if(!PyArg_ParseTuple(args,(char *)"O:Strut_top_get",&obj0)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9076 result = (unsigned int) ((arg1)->top);
9078 resultobj = PyInt_FromLong((long)result);
9085 static PyObject *_wrap_Strut_bottom_set(PyObject *self, PyObject *args) {
9086 PyObject *resultobj;
9087 otk::Strut *arg1 = (otk::Strut *) 0 ;
9089 PyObject * obj0 = 0 ;
9090 PyObject * obj1 = 0 ;
9092 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_bottom_set",&obj0,&obj1)) goto fail;
9093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9094 arg2 = (unsigned int) PyInt_AsLong(obj1);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 if (arg1) (arg1)->bottom = arg2;
9098 Py_INCREF(Py_None); resultobj = Py_None;
9105 static PyObject *_wrap_Strut_bottom_get(PyObject *self, PyObject *args) {
9106 PyObject *resultobj;
9107 otk::Strut *arg1 = (otk::Strut *) 0 ;
9108 unsigned int result;
9109 PyObject * obj0 = 0 ;
9111 if(!PyArg_ParseTuple(args,(char *)"O:Strut_bottom_get",&obj0)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9113 result = (unsigned int) ((arg1)->bottom);
9115 resultobj = PyInt_FromLong((long)result);
9122 static PyObject *_wrap_Strut_left_set(PyObject *self, PyObject *args) {
9123 PyObject *resultobj;
9124 otk::Strut *arg1 = (otk::Strut *) 0 ;
9126 PyObject * obj0 = 0 ;
9127 PyObject * obj1 = 0 ;
9129 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_left_set",&obj0,&obj1)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 arg2 = (unsigned int) PyInt_AsLong(obj1);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 if (arg1) (arg1)->left = arg2;
9135 Py_INCREF(Py_None); resultobj = Py_None;
9142 static PyObject *_wrap_Strut_left_get(PyObject *self, PyObject *args) {
9143 PyObject *resultobj;
9144 otk::Strut *arg1 = (otk::Strut *) 0 ;
9145 unsigned int result;
9146 PyObject * obj0 = 0 ;
9148 if(!PyArg_ParseTuple(args,(char *)"O:Strut_left_get",&obj0)) goto fail;
9149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9150 result = (unsigned int) ((arg1)->left);
9152 resultobj = PyInt_FromLong((long)result);
9159 static PyObject *_wrap_Strut_right_set(PyObject *self, PyObject *args) {
9160 PyObject *resultobj;
9161 otk::Strut *arg1 = (otk::Strut *) 0 ;
9163 PyObject * obj0 = 0 ;
9164 PyObject * obj1 = 0 ;
9166 if(!PyArg_ParseTuple(args,(char *)"OO:Strut_right_set",&obj0,&obj1)) goto fail;
9167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9168 arg2 = (unsigned int) PyInt_AsLong(obj1);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 if (arg1) (arg1)->right = arg2;
9172 Py_INCREF(Py_None); resultobj = Py_None;
9179 static PyObject *_wrap_Strut_right_get(PyObject *self, PyObject *args) {
9180 PyObject *resultobj;
9181 otk::Strut *arg1 = (otk::Strut *) 0 ;
9182 unsigned int result;
9183 PyObject * obj0 = 0 ;
9185 if(!PyArg_ParseTuple(args,(char *)"O:Strut_right_get",&obj0)) goto fail;
9186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9187 result = (unsigned int) ((arg1)->right);
9189 resultobj = PyInt_FromLong((long)result);
9196 static PyObject *_wrap_new_Strut__SWIG_0(PyObject *self, PyObject *args) {
9197 PyObject *resultobj;
9200 if(!PyArg_ParseTuple(args,(char *)":new_Strut")) goto fail;
9201 result = (otk::Strut *)new otk::Strut();
9203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9210 static PyObject *_wrap_new_Strut__SWIG_1(PyObject *self, PyObject *args) {
9211 PyObject *resultobj;
9218 if(!PyArg_ParseTuple(args,(char *)"iiii:new_Strut",&arg1,&arg2,&arg3,&arg4)) goto fail;
9219 result = (otk::Strut *)new otk::Strut(arg1,arg2,arg3,arg4);
9221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Strut, 1);
9228 static PyObject *_wrap_new_Strut(PyObject *self, PyObject *args) {
9233 argc = PyObject_Length(args);
9234 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
9235 argv[ii] = PyTuple_GetItem(args,ii);
9238 return _wrap_new_Strut__SWIG_0(self,args);
9243 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
9247 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
9251 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
9255 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
9258 return _wrap_new_Strut__SWIG_1(self,args);
9265 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Strut'");
9270 static PyObject *_wrap_delete_Strut(PyObject *self, PyObject *args) {
9271 PyObject *resultobj;
9272 otk::Strut *arg1 = (otk::Strut *) 0 ;
9273 PyObject * obj0 = 0 ;
9275 if(!PyArg_ParseTuple(args,(char *)"O:delete_Strut",&obj0)) goto fail;
9276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Strut,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9279 Py_INCREF(Py_None); resultobj = Py_None;
9286 static PyObject * Strut_swigregister(PyObject *self, PyObject *args) {
9288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9289 SWIG_TypeClientData(SWIGTYPE_p_otk__Strut, obj);
9291 return Py_BuildValue((char *)"");
9293 static PyObject *_wrap_PixmapMask_mask_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_mask_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 = (Pixmap) PyInt_AsLong(obj1);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 if (arg1) (arg1)->mask = arg2;
9306 Py_INCREF(Py_None); resultobj = Py_None;
9313 static PyObject *_wrap_PixmapMask_mask_get(PyObject *self, PyObject *args) {
9314 PyObject *resultobj;
9315 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9317 PyObject * obj0 = 0 ;
9319 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_mask_get",&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 result = (Pixmap) ((arg1)->mask);
9323 resultobj = PyInt_FromLong((long)result);
9330 static PyObject *_wrap_PixmapMask_w_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_w_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)->w = arg2;
9343 Py_INCREF(Py_None); resultobj = Py_None;
9350 static PyObject *_wrap_PixmapMask_w_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_w_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)->w);
9360 resultobj = PyInt_FromLong((long)result);
9367 static PyObject *_wrap_PixmapMask_h_set(PyObject *self, PyObject *args) {
9368 PyObject *resultobj;
9369 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9371 PyObject * obj0 = 0 ;
9372 PyObject * obj1 = 0 ;
9374 if(!PyArg_ParseTuple(args,(char *)"OO:PixmapMask_h_set",&obj0,&obj1)) goto fail;
9375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9376 arg2 = (unsigned int) PyInt_AsLong(obj1);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 if (arg1) (arg1)->h = arg2;
9380 Py_INCREF(Py_None); resultobj = Py_None;
9387 static PyObject *_wrap_PixmapMask_h_get(PyObject *self, PyObject *args) {
9388 PyObject *resultobj;
9389 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9390 unsigned int result;
9391 PyObject * obj0 = 0 ;
9393 if(!PyArg_ParseTuple(args,(char *)"O:PixmapMask_h_get",&obj0)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9395 result = (unsigned int) ((arg1)->h);
9397 resultobj = PyInt_FromLong((long)result);
9404 static PyObject *_wrap_new_PixmapMask(PyObject *self, PyObject *args) {
9405 PyObject *resultobj;
9406 otk::PixmapMask *result;
9408 if(!PyArg_ParseTuple(args,(char *)":new_PixmapMask")) goto fail;
9409 result = (otk::PixmapMask *)new otk::PixmapMask();
9411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 1);
9418 static PyObject *_wrap_delete_PixmapMask(PyObject *self, PyObject *args) {
9419 PyObject *resultobj;
9420 otk::PixmapMask *arg1 = (otk::PixmapMask *) 0 ;
9421 PyObject * obj0 = 0 ;
9423 if(!PyArg_ParseTuple(args,(char *)"O:delete_PixmapMask",&obj0)) goto fail;
9424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427 Py_INCREF(Py_None); resultobj = Py_None;
9434 static PyObject * PixmapMask_swigregister(PyObject *self, PyObject *args) {
9436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9437 SWIG_TypeClientData(SWIGTYPE_p_otk__PixmapMask, obj);
9439 return Py_BuildValue((char *)"");
9441 static PyObject *_wrap_Style_image_control_set(PyObject *self, PyObject *args) {
9442 PyObject *resultobj;
9443 otk::Style *arg1 = (otk::Style *) 0 ;
9444 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
9445 PyObject * obj0 = 0 ;
9446 PyObject * obj1 = 0 ;
9448 if(!PyArg_ParseTuple(args,(char *)"OO:Style_image_control_set",&obj0,&obj1)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9451 if (arg1) (arg1)->image_control = arg2;
9453 Py_INCREF(Py_None); resultobj = Py_None;
9460 static PyObject *_wrap_Style_image_control_get(PyObject *self, PyObject *args) {
9461 PyObject *resultobj;
9462 otk::Style *arg1 = (otk::Style *) 0 ;
9463 otk::BImageControl *result;
9464 PyObject * obj0 = 0 ;
9466 if(!PyArg_ParseTuple(args,(char *)"O:Style_image_control_get",&obj0)) goto fail;
9467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9468 result = (otk::BImageControl *) ((arg1)->image_control);
9470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BImageControl, 0);
9477 static PyObject *_wrap_Style_l_text_focus_set(PyObject *self, PyObject *args) {
9478 PyObject *resultobj;
9479 otk::Style *arg1 = (otk::Style *) 0 ;
9480 otk::BColor *arg2 = (otk::BColor *) 0 ;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9484 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_focus_set",&obj0,&obj1)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 if (arg1) (arg1)->l_text_focus = *arg2;
9489 Py_INCREF(Py_None); resultobj = Py_None;
9496 static PyObject *_wrap_Style_l_text_focus_get(PyObject *self, PyObject *args) {
9497 PyObject *resultobj;
9498 otk::Style *arg1 = (otk::Style *) 0 ;
9499 otk::BColor *result;
9500 PyObject * obj0 = 0 ;
9502 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_focus_get",&obj0)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 result = (otk::BColor *)& ((arg1)->l_text_focus);
9506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9513 static PyObject *_wrap_Style_l_text_unfocus_set(PyObject *self, PyObject *args) {
9514 PyObject *resultobj;
9515 otk::Style *arg1 = (otk::Style *) 0 ;
9516 otk::BColor *arg2 = (otk::BColor *) 0 ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9520 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_text_unfocus_set",&obj0,&obj1)) goto fail;
9521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9523 if (arg1) (arg1)->l_text_unfocus = *arg2;
9525 Py_INCREF(Py_None); resultobj = Py_None;
9532 static PyObject *_wrap_Style_l_text_unfocus_get(PyObject *self, PyObject *args) {
9533 PyObject *resultobj;
9534 otk::Style *arg1 = (otk::Style *) 0 ;
9535 otk::BColor *result;
9536 PyObject * obj0 = 0 ;
9538 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_text_unfocus_get",&obj0)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9540 result = (otk::BColor *)& ((arg1)->l_text_unfocus);
9542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9549 static PyObject *_wrap_Style_b_pic_focus_set(PyObject *self, PyObject *args) {
9550 PyObject *resultobj;
9551 otk::Style *arg1 = (otk::Style *) 0 ;
9552 otk::BColor *arg2 = (otk::BColor *) 0 ;
9553 PyObject * obj0 = 0 ;
9554 PyObject * obj1 = 0 ;
9556 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_focus_set",&obj0,&obj1)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 if (arg1) (arg1)->b_pic_focus = *arg2;
9561 Py_INCREF(Py_None); resultobj = Py_None;
9568 static PyObject *_wrap_Style_b_pic_focus_get(PyObject *self, PyObject *args) {
9569 PyObject *resultobj;
9570 otk::Style *arg1 = (otk::Style *) 0 ;
9571 otk::BColor *result;
9572 PyObject * obj0 = 0 ;
9574 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_focus_get",&obj0)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9576 result = (otk::BColor *)& ((arg1)->b_pic_focus);
9578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9585 static PyObject *_wrap_Style_b_pic_unfocus_set(PyObject *self, PyObject *args) {
9586 PyObject *resultobj;
9587 otk::Style *arg1 = (otk::Style *) 0 ;
9588 otk::BColor *arg2 = (otk::BColor *) 0 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9592 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pic_unfocus_set",&obj0,&obj1)) goto fail;
9593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9595 if (arg1) (arg1)->b_pic_unfocus = *arg2;
9597 Py_INCREF(Py_None); resultobj = Py_None;
9604 static PyObject *_wrap_Style_b_pic_unfocus_get(PyObject *self, PyObject *args) {
9605 PyObject *resultobj;
9606 otk::Style *arg1 = (otk::Style *) 0 ;
9607 otk::BColor *result;
9608 PyObject * obj0 = 0 ;
9610 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pic_unfocus_get",&obj0)) goto fail;
9611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9612 result = (otk::BColor *)& ((arg1)->b_pic_unfocus);
9614 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9621 static PyObject *_wrap_Style_border_color_set(PyObject *self, PyObject *args) {
9622 PyObject *resultobj;
9623 otk::Style *arg1 = (otk::Style *) 0 ;
9624 otk::BColor *arg2 = (otk::BColor *) 0 ;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9628 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_color_set",&obj0,&obj1)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9631 if (arg1) (arg1)->border_color = *arg2;
9633 Py_INCREF(Py_None); resultobj = Py_None;
9640 static PyObject *_wrap_Style_border_color_get(PyObject *self, PyObject *args) {
9641 PyObject *resultobj;
9642 otk::Style *arg1 = (otk::Style *) 0 ;
9643 otk::BColor *result;
9644 PyObject * obj0 = 0 ;
9646 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_color_get",&obj0)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 result = (otk::BColor *)& ((arg1)->border_color);
9650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
9657 static PyObject *_wrap_Style_font_set(PyObject *self, PyObject *args) {
9658 PyObject *resultobj;
9659 otk::Style *arg1 = (otk::Style *) 0 ;
9660 otk::BFont *arg2 = (otk::BFont *) 0 ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9664 if(!PyArg_ParseTuple(args,(char *)"OO:Style_font_set",&obj0,&obj1)) goto fail;
9665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BFont,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
9667 if (arg1) (arg1)->font = arg2;
9669 Py_INCREF(Py_None); resultobj = Py_None;
9676 static PyObject *_wrap_Style_font_get(PyObject *self, PyObject *args) {
9677 PyObject *resultobj;
9678 otk::Style *arg1 = (otk::Style *) 0 ;
9680 PyObject * obj0 = 0 ;
9682 if(!PyArg_ParseTuple(args,(char *)"O:Style_font_get",&obj0)) goto fail;
9683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9684 result = (otk::BFont *) ((arg1)->font);
9686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
9693 static PyObject *_wrap_Style_f_focus_set(PyObject *self, PyObject *args) {
9694 PyObject *resultobj;
9695 otk::Style *arg1 = (otk::Style *) 0 ;
9696 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9700 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_focus_set",&obj0,&obj1)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 if (arg1) (arg1)->f_focus = *arg2;
9705 Py_INCREF(Py_None); resultobj = Py_None;
9712 static PyObject *_wrap_Style_f_focus_get(PyObject *self, PyObject *args) {
9713 PyObject *resultobj;
9714 otk::Style *arg1 = (otk::Style *) 0 ;
9715 otk::BTexture *result;
9716 PyObject * obj0 = 0 ;
9718 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_focus_get",&obj0)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9720 result = (otk::BTexture *)& ((arg1)->f_focus);
9722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9729 static PyObject *_wrap_Style_f_unfocus_set(PyObject *self, PyObject *args) {
9730 PyObject *resultobj;
9731 otk::Style *arg1 = (otk::Style *) 0 ;
9732 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9733 PyObject * obj0 = 0 ;
9734 PyObject * obj1 = 0 ;
9736 if(!PyArg_ParseTuple(args,(char *)"OO:Style_f_unfocus_set",&obj0,&obj1)) goto fail;
9737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 if (arg1) (arg1)->f_unfocus = *arg2;
9741 Py_INCREF(Py_None); resultobj = Py_None;
9748 static PyObject *_wrap_Style_f_unfocus_get(PyObject *self, PyObject *args) {
9749 PyObject *resultobj;
9750 otk::Style *arg1 = (otk::Style *) 0 ;
9751 otk::BTexture *result;
9752 PyObject * obj0 = 0 ;
9754 if(!PyArg_ParseTuple(args,(char *)"O:Style_f_unfocus_get",&obj0)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9756 result = (otk::BTexture *)& ((arg1)->f_unfocus);
9758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9765 static PyObject *_wrap_Style_t_focus_set(PyObject *self, PyObject *args) {
9766 PyObject *resultobj;
9767 otk::Style *arg1 = (otk::Style *) 0 ;
9768 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9772 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_focus_set",&obj0,&obj1)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9775 if (arg1) (arg1)->t_focus = *arg2;
9777 Py_INCREF(Py_None); resultobj = Py_None;
9784 static PyObject *_wrap_Style_t_focus_get(PyObject *self, PyObject *args) {
9785 PyObject *resultobj;
9786 otk::Style *arg1 = (otk::Style *) 0 ;
9787 otk::BTexture *result;
9788 PyObject * obj0 = 0 ;
9790 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_focus_get",&obj0)) goto fail;
9791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9792 result = (otk::BTexture *)& ((arg1)->t_focus);
9794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9801 static PyObject *_wrap_Style_t_unfocus_set(PyObject *self, PyObject *args) {
9802 PyObject *resultobj;
9803 otk::Style *arg1 = (otk::Style *) 0 ;
9804 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9808 if(!PyArg_ParseTuple(args,(char *)"OO:Style_t_unfocus_set",&obj0,&obj1)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9811 if (arg1) (arg1)->t_unfocus = *arg2;
9813 Py_INCREF(Py_None); resultobj = Py_None;
9820 static PyObject *_wrap_Style_t_unfocus_get(PyObject *self, PyObject *args) {
9821 PyObject *resultobj;
9822 otk::Style *arg1 = (otk::Style *) 0 ;
9823 otk::BTexture *result;
9824 PyObject * obj0 = 0 ;
9826 if(!PyArg_ParseTuple(args,(char *)"O:Style_t_unfocus_get",&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 result = (otk::BTexture *)& ((arg1)->t_unfocus);
9830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9837 static PyObject *_wrap_Style_l_focus_set(PyObject *self, PyObject *args) {
9838 PyObject *resultobj;
9839 otk::Style *arg1 = (otk::Style *) 0 ;
9840 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9844 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_focus_set",&obj0,&obj1)) goto fail;
9845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9847 if (arg1) (arg1)->l_focus = *arg2;
9849 Py_INCREF(Py_None); resultobj = Py_None;
9856 static PyObject *_wrap_Style_l_focus_get(PyObject *self, PyObject *args) {
9857 PyObject *resultobj;
9858 otk::Style *arg1 = (otk::Style *) 0 ;
9859 otk::BTexture *result;
9860 PyObject * obj0 = 0 ;
9862 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_focus_get",&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 result = (otk::BTexture *)& ((arg1)->l_focus);
9866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9873 static PyObject *_wrap_Style_l_unfocus_set(PyObject *self, PyObject *args) {
9874 PyObject *resultobj;
9875 otk::Style *arg1 = (otk::Style *) 0 ;
9876 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9880 if(!PyArg_ParseTuple(args,(char *)"OO:Style_l_unfocus_set",&obj0,&obj1)) goto fail;
9881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9883 if (arg1) (arg1)->l_unfocus = *arg2;
9885 Py_INCREF(Py_None); resultobj = Py_None;
9892 static PyObject *_wrap_Style_l_unfocus_get(PyObject *self, PyObject *args) {
9893 PyObject *resultobj;
9894 otk::Style *arg1 = (otk::Style *) 0 ;
9895 otk::BTexture *result;
9896 PyObject * obj0 = 0 ;
9898 if(!PyArg_ParseTuple(args,(char *)"O:Style_l_unfocus_get",&obj0)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9900 result = (otk::BTexture *)& ((arg1)->l_unfocus);
9902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9909 static PyObject *_wrap_Style_h_focus_set(PyObject *self, PyObject *args) {
9910 PyObject *resultobj;
9911 otk::Style *arg1 = (otk::Style *) 0 ;
9912 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9913 PyObject * obj0 = 0 ;
9914 PyObject * obj1 = 0 ;
9916 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_focus_set",&obj0,&obj1)) goto fail;
9917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9919 if (arg1) (arg1)->h_focus = *arg2;
9921 Py_INCREF(Py_None); resultobj = Py_None;
9928 static PyObject *_wrap_Style_h_focus_get(PyObject *self, PyObject *args) {
9929 PyObject *resultobj;
9930 otk::Style *arg1 = (otk::Style *) 0 ;
9931 otk::BTexture *result;
9932 PyObject * obj0 = 0 ;
9934 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_focus_get",&obj0)) goto fail;
9935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9936 result = (otk::BTexture *)& ((arg1)->h_focus);
9938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9945 static PyObject *_wrap_Style_h_unfocus_set(PyObject *self, PyObject *args) {
9946 PyObject *resultobj;
9947 otk::Style *arg1 = (otk::Style *) 0 ;
9948 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9949 PyObject * obj0 = 0 ;
9950 PyObject * obj1 = 0 ;
9952 if(!PyArg_ParseTuple(args,(char *)"OO:Style_h_unfocus_set",&obj0,&obj1)) goto fail;
9953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9955 if (arg1) (arg1)->h_unfocus = *arg2;
9957 Py_INCREF(Py_None); resultobj = Py_None;
9964 static PyObject *_wrap_Style_h_unfocus_get(PyObject *self, PyObject *args) {
9965 PyObject *resultobj;
9966 otk::Style *arg1 = (otk::Style *) 0 ;
9967 otk::BTexture *result;
9968 PyObject * obj0 = 0 ;
9970 if(!PyArg_ParseTuple(args,(char *)"O:Style_h_unfocus_get",&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9972 result = (otk::BTexture *)& ((arg1)->h_unfocus);
9974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
9981 static PyObject *_wrap_Style_b_focus_set(PyObject *self, PyObject *args) {
9982 PyObject *resultobj;
9983 otk::Style *arg1 = (otk::Style *) 0 ;
9984 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
9985 PyObject * obj0 = 0 ;
9986 PyObject * obj1 = 0 ;
9988 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_focus_set",&obj0,&obj1)) goto fail;
9989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9991 if (arg1) (arg1)->b_focus = *arg2;
9993 Py_INCREF(Py_None); resultobj = Py_None;
10000 static PyObject *_wrap_Style_b_focus_get(PyObject *self, PyObject *args) {
10001 PyObject *resultobj;
10002 otk::Style *arg1 = (otk::Style *) 0 ;
10003 otk::BTexture *result;
10004 PyObject * obj0 = 0 ;
10006 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_focus_get",&obj0)) goto fail;
10007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10008 result = (otk::BTexture *)& ((arg1)->b_focus);
10010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10017 static PyObject *_wrap_Style_b_unfocus_set(PyObject *self, PyObject *args) {
10018 PyObject *resultobj;
10019 otk::Style *arg1 = (otk::Style *) 0 ;
10020 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10024 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_unfocus_set",&obj0,&obj1)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10027 if (arg1) (arg1)->b_unfocus = *arg2;
10029 Py_INCREF(Py_None); resultobj = Py_None;
10036 static PyObject *_wrap_Style_b_unfocus_get(PyObject *self, PyObject *args) {
10037 PyObject *resultobj;
10038 otk::Style *arg1 = (otk::Style *) 0 ;
10039 otk::BTexture *result;
10040 PyObject * obj0 = 0 ;
10042 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_unfocus_get",&obj0)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10044 result = (otk::BTexture *)& ((arg1)->b_unfocus);
10046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10053 static PyObject *_wrap_Style_b_pressed_focus_set(PyObject *self, PyObject *args) {
10054 PyObject *resultobj;
10055 otk::Style *arg1 = (otk::Style *) 0 ;
10056 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10060 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_focus_set",&obj0,&obj1)) goto fail;
10061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10063 if (arg1) (arg1)->b_pressed_focus = *arg2;
10065 Py_INCREF(Py_None); resultobj = Py_None;
10072 static PyObject *_wrap_Style_b_pressed_focus_get(PyObject *self, PyObject *args) {
10073 PyObject *resultobj;
10074 otk::Style *arg1 = (otk::Style *) 0 ;
10075 otk::BTexture *result;
10076 PyObject * obj0 = 0 ;
10078 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_focus_get",&obj0)) goto fail;
10079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10080 result = (otk::BTexture *)& ((arg1)->b_pressed_focus);
10082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10089 static PyObject *_wrap_Style_b_pressed_unfocus_set(PyObject *self, PyObject *args) {
10090 PyObject *resultobj;
10091 otk::Style *arg1 = (otk::Style *) 0 ;
10092 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10093 PyObject * obj0 = 0 ;
10094 PyObject * obj1 = 0 ;
10096 if(!PyArg_ParseTuple(args,(char *)"OO:Style_b_pressed_unfocus_set",&obj0,&obj1)) goto fail;
10097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10099 if (arg1) (arg1)->b_pressed_unfocus = *arg2;
10101 Py_INCREF(Py_None); resultobj = Py_None;
10108 static PyObject *_wrap_Style_b_pressed_unfocus_get(PyObject *self, PyObject *args) {
10109 PyObject *resultobj;
10110 otk::Style *arg1 = (otk::Style *) 0 ;
10111 otk::BTexture *result;
10112 PyObject * obj0 = 0 ;
10114 if(!PyArg_ParseTuple(args,(char *)"O:Style_b_pressed_unfocus_get",&obj0)) goto fail;
10115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10116 result = (otk::BTexture *)& ((arg1)->b_pressed_unfocus);
10118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10125 static PyObject *_wrap_Style_g_focus_set(PyObject *self, PyObject *args) {
10126 PyObject *resultobj;
10127 otk::Style *arg1 = (otk::Style *) 0 ;
10128 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10132 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_focus_set",&obj0,&obj1)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10135 if (arg1) (arg1)->g_focus = *arg2;
10137 Py_INCREF(Py_None); resultobj = Py_None;
10144 static PyObject *_wrap_Style_g_focus_get(PyObject *self, PyObject *args) {
10145 PyObject *resultobj;
10146 otk::Style *arg1 = (otk::Style *) 0 ;
10147 otk::BTexture *result;
10148 PyObject * obj0 = 0 ;
10150 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_focus_get",&obj0)) goto fail;
10151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 result = (otk::BTexture *)& ((arg1)->g_focus);
10154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10161 static PyObject *_wrap_Style_g_unfocus_set(PyObject *self, PyObject *args) {
10162 PyObject *resultobj;
10163 otk::Style *arg1 = (otk::Style *) 0 ;
10164 otk::BTexture *arg2 = (otk::BTexture *) 0 ;
10165 PyObject * obj0 = 0 ;
10166 PyObject * obj1 = 0 ;
10168 if(!PyArg_ParseTuple(args,(char *)"OO:Style_g_unfocus_set",&obj0,&obj1)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 if (arg1) (arg1)->g_unfocus = *arg2;
10173 Py_INCREF(Py_None); resultobj = Py_None;
10180 static PyObject *_wrap_Style_g_unfocus_get(PyObject *self, PyObject *args) {
10181 PyObject *resultobj;
10182 otk::Style *arg1 = (otk::Style *) 0 ;
10183 otk::BTexture *result;
10184 PyObject * obj0 = 0 ;
10186 if(!PyArg_ParseTuple(args,(char *)"O:Style_g_unfocus_get",&obj0)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10188 result = (otk::BTexture *)& ((arg1)->g_unfocus);
10190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
10197 static PyObject *_wrap_Style_close_button_set(PyObject *self, PyObject *args) {
10198 PyObject *resultobj;
10199 otk::Style *arg1 = (otk::Style *) 0 ;
10200 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10204 if(!PyArg_ParseTuple(args,(char *)"OO:Style_close_button_set",&obj0,&obj1)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10207 if (arg1) (arg1)->close_button = *arg2;
10209 Py_INCREF(Py_None); resultobj = Py_None;
10216 static PyObject *_wrap_Style_close_button_get(PyObject *self, PyObject *args) {
10217 PyObject *resultobj;
10218 otk::Style *arg1 = (otk::Style *) 0 ;
10219 otk::PixmapMask *result;
10220 PyObject * obj0 = 0 ;
10222 if(!PyArg_ParseTuple(args,(char *)"O:Style_close_button_get",&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 result = (otk::PixmapMask *)& ((arg1)->close_button);
10226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10233 static PyObject *_wrap_Style_max_button_set(PyObject *self, PyObject *args) {
10234 PyObject *resultobj;
10235 otk::Style *arg1 = (otk::Style *) 0 ;
10236 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10240 if(!PyArg_ParseTuple(args,(char *)"OO:Style_max_button_set",&obj0,&obj1)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10243 if (arg1) (arg1)->max_button = *arg2;
10245 Py_INCREF(Py_None); resultobj = Py_None;
10252 static PyObject *_wrap_Style_max_button_get(PyObject *self, PyObject *args) {
10253 PyObject *resultobj;
10254 otk::Style *arg1 = (otk::Style *) 0 ;
10255 otk::PixmapMask *result;
10256 PyObject * obj0 = 0 ;
10258 if(!PyArg_ParseTuple(args,(char *)"O:Style_max_button_get",&obj0)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10260 result = (otk::PixmapMask *)& ((arg1)->max_button);
10262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10269 static PyObject *_wrap_Style_icon_button_set(PyObject *self, PyObject *args) {
10270 PyObject *resultobj;
10271 otk::Style *arg1 = (otk::Style *) 0 ;
10272 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10276 if(!PyArg_ParseTuple(args,(char *)"OO:Style_icon_button_set",&obj0,&obj1)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10279 if (arg1) (arg1)->icon_button = *arg2;
10281 Py_INCREF(Py_None); resultobj = Py_None;
10288 static PyObject *_wrap_Style_icon_button_get(PyObject *self, PyObject *args) {
10289 PyObject *resultobj;
10290 otk::Style *arg1 = (otk::Style *) 0 ;
10291 otk::PixmapMask *result;
10292 PyObject * obj0 = 0 ;
10294 if(!PyArg_ParseTuple(args,(char *)"O:Style_icon_button_get",&obj0)) goto fail;
10295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10296 result = (otk::PixmapMask *)& ((arg1)->icon_button);
10298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10305 static PyObject *_wrap_Style_stick_button_set(PyObject *self, PyObject *args) {
10306 PyObject *resultobj;
10307 otk::Style *arg1 = (otk::Style *) 0 ;
10308 otk::PixmapMask *arg2 = (otk::PixmapMask *) 0 ;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10312 if(!PyArg_ParseTuple(args,(char *)"OO:Style_stick_button_set",&obj0,&obj1)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10315 if (arg1) (arg1)->stick_button = *arg2;
10317 Py_INCREF(Py_None); resultobj = Py_None;
10324 static PyObject *_wrap_Style_stick_button_get(PyObject *self, PyObject *args) {
10325 PyObject *resultobj;
10326 otk::Style *arg1 = (otk::Style *) 0 ;
10327 otk::PixmapMask *result;
10328 PyObject * obj0 = 0 ;
10330 if(!PyArg_ParseTuple(args,(char *)"O:Style_stick_button_get",&obj0)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 result = (otk::PixmapMask *)& ((arg1)->stick_button);
10334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10341 static PyObject *_wrap_Style_justify_set(PyObject *self, PyObject *args) {
10342 PyObject *resultobj;
10343 otk::Style *arg1 = (otk::Style *) 0 ;
10345 PyObject * obj0 = 0 ;
10347 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_justify_set",&obj0,&arg2)) goto fail;
10348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10349 if (arg1) (arg1)->justify = (otk::Style::TextJustify )arg2;
10351 Py_INCREF(Py_None); resultobj = Py_None;
10358 static PyObject *_wrap_Style_justify_get(PyObject *self, PyObject *args) {
10359 PyObject *resultobj;
10360 otk::Style *arg1 = (otk::Style *) 0 ;
10362 PyObject * obj0 = 0 ;
10364 if(!PyArg_ParseTuple(args,(char *)"O:Style_justify_get",&obj0)) goto fail;
10365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10366 result = (int) ((arg1)->justify);
10368 resultobj = PyInt_FromLong((long)result);
10375 static PyObject *_wrap_Style_bullet_type_set(PyObject *self, PyObject *args) {
10376 PyObject *resultobj;
10377 otk::Style *arg1 = (otk::Style *) 0 ;
10379 PyObject * obj0 = 0 ;
10381 if(!PyArg_ParseTuple(args,(char *)"Oi:Style_bullet_type_set",&obj0,&arg2)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 if (arg1) (arg1)->bullet_type = (otk::Style::BulletType )arg2;
10385 Py_INCREF(Py_None); resultobj = Py_None;
10392 static PyObject *_wrap_Style_bullet_type_get(PyObject *self, PyObject *args) {
10393 PyObject *resultobj;
10394 otk::Style *arg1 = (otk::Style *) 0 ;
10396 PyObject * obj0 = 0 ;
10398 if(!PyArg_ParseTuple(args,(char *)"O:Style_bullet_type_get",&obj0)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10400 result = (int) ((arg1)->bullet_type);
10402 resultobj = PyInt_FromLong((long)result);
10409 static PyObject *_wrap_Style_handle_width_set(PyObject *self, PyObject *args) {
10410 PyObject *resultobj;
10411 otk::Style *arg1 = (otk::Style *) 0 ;
10412 unsigned int arg2 ;
10413 PyObject * obj0 = 0 ;
10414 PyObject * obj1 = 0 ;
10416 if(!PyArg_ParseTuple(args,(char *)"OO:Style_handle_width_set",&obj0,&obj1)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 arg2 = (unsigned int) PyInt_AsLong(obj1);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 if (arg1) (arg1)->handle_width = arg2;
10422 Py_INCREF(Py_None); resultobj = Py_None;
10429 static PyObject *_wrap_Style_handle_width_get(PyObject *self, PyObject *args) {
10430 PyObject *resultobj;
10431 otk::Style *arg1 = (otk::Style *) 0 ;
10432 unsigned int result;
10433 PyObject * obj0 = 0 ;
10435 if(!PyArg_ParseTuple(args,(char *)"O:Style_handle_width_get",&obj0)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10437 result = (unsigned int) ((arg1)->handle_width);
10439 resultobj = PyInt_FromLong((long)result);
10446 static PyObject *_wrap_Style_bevel_width_set(PyObject *self, PyObject *args) {
10447 PyObject *resultobj;
10448 otk::Style *arg1 = (otk::Style *) 0 ;
10449 unsigned int arg2 ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj1 = 0 ;
10453 if(!PyArg_ParseTuple(args,(char *)"OO:Style_bevel_width_set",&obj0,&obj1)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 arg2 = (unsigned int) PyInt_AsLong(obj1);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 if (arg1) (arg1)->bevel_width = arg2;
10459 Py_INCREF(Py_None); resultobj = Py_None;
10466 static PyObject *_wrap_Style_bevel_width_get(PyObject *self, PyObject *args) {
10467 PyObject *resultobj;
10468 otk::Style *arg1 = (otk::Style *) 0 ;
10469 unsigned int result;
10470 PyObject * obj0 = 0 ;
10472 if(!PyArg_ParseTuple(args,(char *)"O:Style_bevel_width_get",&obj0)) goto fail;
10473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10474 result = (unsigned int) ((arg1)->bevel_width);
10476 resultobj = PyInt_FromLong((long)result);
10483 static PyObject *_wrap_Style_frame_width_set(PyObject *self, PyObject *args) {
10484 PyObject *resultobj;
10485 otk::Style *arg1 = (otk::Style *) 0 ;
10486 unsigned int arg2 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10490 if(!PyArg_ParseTuple(args,(char *)"OO:Style_frame_width_set",&obj0,&obj1)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 arg2 = (unsigned int) PyInt_AsLong(obj1);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 if (arg1) (arg1)->frame_width = arg2;
10496 Py_INCREF(Py_None); resultobj = Py_None;
10503 static PyObject *_wrap_Style_frame_width_get(PyObject *self, PyObject *args) {
10504 PyObject *resultobj;
10505 otk::Style *arg1 = (otk::Style *) 0 ;
10506 unsigned int result;
10507 PyObject * obj0 = 0 ;
10509 if(!PyArg_ParseTuple(args,(char *)"O:Style_frame_width_get",&obj0)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 result = (unsigned int) ((arg1)->frame_width);
10513 resultobj = PyInt_FromLong((long)result);
10520 static PyObject *_wrap_Style_border_width_set(PyObject *self, PyObject *args) {
10521 PyObject *resultobj;
10522 otk::Style *arg1 = (otk::Style *) 0 ;
10523 unsigned int arg2 ;
10524 PyObject * obj0 = 0 ;
10525 PyObject * obj1 = 0 ;
10527 if(!PyArg_ParseTuple(args,(char *)"OO:Style_border_width_set",&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 arg2 = (unsigned int) PyInt_AsLong(obj1);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 if (arg1) (arg1)->border_width = arg2;
10533 Py_INCREF(Py_None); resultobj = Py_None;
10540 static PyObject *_wrap_Style_border_width_get(PyObject *self, PyObject *args) {
10541 PyObject *resultobj;
10542 otk::Style *arg1 = (otk::Style *) 0 ;
10543 unsigned int result;
10544 PyObject * obj0 = 0 ;
10546 if(!PyArg_ParseTuple(args,(char *)"O:Style_border_width_get",&obj0)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 result = (unsigned int) ((arg1)->border_width);
10550 resultobj = PyInt_FromLong((long)result);
10557 static PyObject *_wrap_Style_screen_number_set(PyObject *self, PyObject *args) {
10558 PyObject *resultobj;
10559 otk::Style *arg1 = (otk::Style *) 0 ;
10560 unsigned int arg2 ;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
10564 if(!PyArg_ParseTuple(args,(char *)"OO:Style_screen_number_set",&obj0,&obj1)) goto fail;
10565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10566 arg2 = (unsigned int) PyInt_AsLong(obj1);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 if (arg1) (arg1)->screen_number = arg2;
10570 Py_INCREF(Py_None); resultobj = Py_None;
10577 static PyObject *_wrap_Style_screen_number_get(PyObject *self, PyObject *args) {
10578 PyObject *resultobj;
10579 otk::Style *arg1 = (otk::Style *) 0 ;
10580 unsigned int result;
10581 PyObject * obj0 = 0 ;
10583 if(!PyArg_ParseTuple(args,(char *)"O:Style_screen_number_get",&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 result = (unsigned int) ((arg1)->screen_number);
10587 resultobj = PyInt_FromLong((long)result);
10594 static PyObject *_wrap_Style_shadow_fonts_set(PyObject *self, PyObject *args) {
10595 PyObject *resultobj;
10596 otk::Style *arg1 = (otk::Style *) 0 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10601 if(!PyArg_ParseTuple(args,(char *)"OO:Style_shadow_fonts_set",&obj0,&obj1)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10603 arg2 = (bool) PyInt_AsLong(obj1);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 if (arg1) (arg1)->shadow_fonts = arg2;
10607 Py_INCREF(Py_None); resultobj = Py_None;
10614 static PyObject *_wrap_Style_shadow_fonts_get(PyObject *self, PyObject *args) {
10615 PyObject *resultobj;
10616 otk::Style *arg1 = (otk::Style *) 0 ;
10618 PyObject * obj0 = 0 ;
10620 if(!PyArg_ParseTuple(args,(char *)"O:Style_shadow_fonts_get",&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 result = (bool) ((arg1)->shadow_fonts);
10624 resultobj = PyInt_FromLong((long)result);
10631 static PyObject *_wrap_Style_aa_fonts_set(PyObject *self, PyObject *args) {
10632 PyObject *resultobj;
10633 otk::Style *arg1 = (otk::Style *) 0 ;
10635 PyObject * obj0 = 0 ;
10636 PyObject * obj1 = 0 ;
10638 if(!PyArg_ParseTuple(args,(char *)"OO:Style_aa_fonts_set",&obj0,&obj1)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10640 arg2 = (bool) PyInt_AsLong(obj1);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 if (arg1) (arg1)->aa_fonts = arg2;
10644 Py_INCREF(Py_None); resultobj = Py_None;
10651 static PyObject *_wrap_Style_aa_fonts_get(PyObject *self, PyObject *args) {
10652 PyObject *resultobj;
10653 otk::Style *arg1 = (otk::Style *) 0 ;
10655 PyObject * obj0 = 0 ;
10657 if(!PyArg_ParseTuple(args,(char *)"O:Style_aa_fonts_get",&obj0)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10659 result = (bool) ((arg1)->aa_fonts);
10661 resultobj = PyInt_FromLong((long)result);
10668 static PyObject *_wrap_new_Style__SWIG_0(PyObject *self, PyObject *args) {
10669 PyObject *resultobj;
10670 otk::Style *result;
10672 if(!PyArg_ParseTuple(args,(char *)":new_Style")) goto fail;
10673 result = (otk::Style *)new otk::Style();
10675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10682 static PyObject *_wrap_new_Style__SWIG_1(PyObject *self, PyObject *args) {
10683 PyObject *resultobj;
10684 otk::BImageControl *arg1 = (otk::BImageControl *) 0 ;
10685 otk::Style *result;
10686 PyObject * obj0 = 0 ;
10688 if(!PyArg_ParseTuple(args,(char *)"O:new_Style",&obj0)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10690 result = (otk::Style *)new otk::Style(arg1);
10692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__Style, 1);
10699 static PyObject *_wrap_new_Style(PyObject *self, PyObject *args) {
10704 argc = PyObject_Length(args);
10705 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
10706 argv[ii] = PyTuple_GetItem(args,ii);
10709 return _wrap_new_Style__SWIG_0(self,args);
10715 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
10723 return _wrap_new_Style__SWIG_1(self,args);
10727 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Style'");
10732 static PyObject *_wrap_delete_Style(PyObject *self, PyObject *args) {
10733 PyObject *resultobj;
10734 otk::Style *arg1 = (otk::Style *) 0 ;
10735 PyObject * obj0 = 0 ;
10737 if(!PyArg_ParseTuple(args,(char *)"O:delete_Style",&obj0)) goto fail;
10738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 Py_INCREF(Py_None); resultobj = Py_None;
10748 static PyObject *_wrap_Style_readDatabaseMask(PyObject *self, PyObject *args) {
10749 PyObject *resultobj;
10750 otk::Style *arg1 = (otk::Style *) 0 ;
10751 std::string *arg2 = 0 ;
10752 otk::PixmapMask *arg3 = 0 ;
10753 otk::Configuration *arg4 = 0 ;
10754 std::string temp2 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 PyObject * obj2 = 0 ;
10758 PyObject * obj3 = 0 ;
10760 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseMask",&obj0,&obj1,&obj2,&obj3)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 if (PyString_Check(obj1)) {
10764 temp2 = std::string(PyString_AsString(obj1));
10767 SWIG_exception(SWIG_TypeError, "string expected");
10770 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__PixmapMask,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10771 if (arg3 == NULL) {
10772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10774 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10775 if (arg4 == NULL) {
10776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10778 (arg1)->readDatabaseMask((std::string const &)*arg2,*arg3,(otk::Configuration const &)*arg4);
10780 Py_INCREF(Py_None); resultobj = Py_None;
10787 static PyObject *_wrap_Style_readDatabaseTexture(PyObject *self, PyObject *args) {
10788 PyObject *resultobj;
10789 otk::Style *arg1 = (otk::Style *) 0 ;
10790 std::string *arg2 = 0 ;
10791 std::string *arg3 = 0 ;
10792 otk::Configuration *arg4 = 0 ;
10793 bool arg5 = (bool) false ;
10794 otk::BTexture result;
10795 std::string temp2 ;
10796 std::string temp3 ;
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 PyObject * obj2 = 0 ;
10800 PyObject * obj3 = 0 ;
10801 PyObject * obj4 = 0 ;
10803 if(!PyArg_ParseTuple(args,(char *)"OOOO|O:Style_readDatabaseTexture",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 if (PyString_Check(obj1)) {
10807 temp2 = std::string(PyString_AsString(obj1));
10810 SWIG_exception(SWIG_TypeError, "string expected");
10814 if (PyString_Check(obj2)) {
10815 temp3 = std::string(PyString_AsString(obj2));
10818 SWIG_exception(SWIG_TypeError, "string expected");
10821 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10822 if (arg4 == NULL) {
10823 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10826 arg5 = (bool) PyInt_AsLong(obj4);
10827 if (PyErr_Occurred()) SWIG_fail;
10829 result = (arg1)->readDatabaseTexture((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4,arg5);
10832 otk::BTexture * resultptr;
10833 resultptr = new otk::BTexture((otk::BTexture &) result);
10834 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BTexture, 1);
10842 static PyObject *_wrap_Style_readDatabaseColor(PyObject *self, PyObject *args) {
10843 PyObject *resultobj;
10844 otk::Style *arg1 = (otk::Style *) 0 ;
10845 std::string *arg2 = 0 ;
10846 std::string *arg3 = 0 ;
10847 otk::Configuration *arg4 = 0 ;
10848 otk::BColor result;
10849 std::string temp2 ;
10850 std::string temp3 ;
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 PyObject * obj2 = 0 ;
10854 PyObject * obj3 = 0 ;
10856 if(!PyArg_ParseTuple(args,(char *)"OOOO:Style_readDatabaseColor",&obj0,&obj1,&obj2,&obj3)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10859 if (PyString_Check(obj1)) {
10860 temp2 = std::string(PyString_AsString(obj1));
10863 SWIG_exception(SWIG_TypeError, "string expected");
10867 if (PyString_Check(obj2)) {
10868 temp3 = std::string(PyString_AsString(obj2));
10871 SWIG_exception(SWIG_TypeError, "string expected");
10874 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10875 if (arg4 == NULL) {
10876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10878 result = (arg1)->readDatabaseColor((std::string const &)*arg2,(std::string const &)*arg3,(otk::Configuration const &)*arg4);
10881 otk::BColor * resultptr;
10882 resultptr = new otk::BColor((otk::BColor &) result);
10883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_otk__BColor, 1);
10891 static PyObject *_wrap_Style_readDatabaseFont(PyObject *self, PyObject *args) {
10892 PyObject *resultobj;
10893 otk::Style *arg1 = (otk::Style *) 0 ;
10894 std::string *arg2 = 0 ;
10895 otk::Configuration *arg3 = 0 ;
10896 otk::BFont *result;
10897 std::string temp2 ;
10898 PyObject * obj0 = 0 ;
10899 PyObject * obj1 = 0 ;
10900 PyObject * obj2 = 0 ;
10902 if(!PyArg_ParseTuple(args,(char *)"OOO:Style_readDatabaseFont",&obj0,&obj1,&obj2)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10905 if (PyString_Check(obj1)) {
10906 temp2 = std::string(PyString_AsString(obj1));
10909 SWIG_exception(SWIG_TypeError, "string expected");
10912 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10913 if (arg3 == NULL) {
10914 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10916 result = (otk::BFont *)(arg1)->readDatabaseFont((std::string const &)*arg2,(otk::Configuration const &)*arg3);
10918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
10925 static PyObject *_wrap_Style_load(PyObject *self, PyObject *args) {
10926 PyObject *resultobj;
10927 otk::Style *arg1 = (otk::Style *) 0 ;
10928 otk::Configuration *arg2 = 0 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10932 if(!PyArg_ParseTuple(args,(char *)"OO:Style_load",&obj0,&obj1)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__Configuration,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10935 if (arg2 == NULL) {
10936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10938 (arg1)->load((otk::Configuration const &)*arg2);
10940 Py_INCREF(Py_None); resultobj = Py_None;
10947 static PyObject *_wrap_Style_getCloseButtonMask(PyObject *self, PyObject *args) {
10948 PyObject *resultobj;
10949 otk::Style *arg1 = (otk::Style *) 0 ;
10950 otk::PixmapMask *result;
10951 PyObject * obj0 = 0 ;
10953 if(!PyArg_ParseTuple(args,(char *)"O:Style_getCloseButtonMask",&obj0)) goto fail;
10954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10955 result = (otk::PixmapMask *)(arg1)->getCloseButtonMask();
10957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10964 static PyObject *_wrap_Style_getMaximizeButtonMask(PyObject *self, PyObject *args) {
10965 PyObject *resultobj;
10966 otk::Style *arg1 = (otk::Style *) 0 ;
10967 otk::PixmapMask *result;
10968 PyObject * obj0 = 0 ;
10970 if(!PyArg_ParseTuple(args,(char *)"O:Style_getMaximizeButtonMask",&obj0)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10972 result = (otk::PixmapMask *)(arg1)->getMaximizeButtonMask();
10974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10981 static PyObject *_wrap_Style_getIconifyButtonMask(PyObject *self, PyObject *args) {
10982 PyObject *resultobj;
10983 otk::Style *arg1 = (otk::Style *) 0 ;
10984 otk::PixmapMask *result;
10985 PyObject * obj0 = 0 ;
10987 if(!PyArg_ParseTuple(args,(char *)"O:Style_getIconifyButtonMask",&obj0)) goto fail;
10988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10989 result = (otk::PixmapMask *)(arg1)->getIconifyButtonMask();
10991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
10998 static PyObject *_wrap_Style_getStickyButtonMask(PyObject *self, PyObject *args) {
10999 PyObject *resultobj;
11000 otk::Style *arg1 = (otk::Style *) 0 ;
11001 otk::PixmapMask *result;
11002 PyObject * obj0 = 0 ;
11004 if(!PyArg_ParseTuple(args,(char *)"O:Style_getStickyButtonMask",&obj0)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11006 result = (otk::PixmapMask *)(arg1)->getStickyButtonMask();
11008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__PixmapMask, 0);
11015 static PyObject *_wrap_Style_getTextFocus(PyObject *self, PyObject *args) {
11016 PyObject *resultobj;
11017 otk::Style *arg1 = (otk::Style *) 0 ;
11018 otk::BColor *result;
11019 PyObject * obj0 = 0 ;
11021 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextFocus",&obj0)) goto fail;
11022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11023 result = (otk::BColor *)(arg1)->getTextFocus();
11025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11032 static PyObject *_wrap_Style_getTextUnfocus(PyObject *self, PyObject *args) {
11033 PyObject *resultobj;
11034 otk::Style *arg1 = (otk::Style *) 0 ;
11035 otk::BColor *result;
11036 PyObject * obj0 = 0 ;
11038 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTextUnfocus",&obj0)) goto fail;
11039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11040 result = (otk::BColor *)(arg1)->getTextUnfocus();
11042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11049 static PyObject *_wrap_Style_getButtonPicFocus(PyObject *self, PyObject *args) {
11050 PyObject *resultobj;
11051 otk::Style *arg1 = (otk::Style *) 0 ;
11052 otk::BColor *result;
11053 PyObject * obj0 = 0 ;
11055 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicFocus",&obj0)) goto fail;
11056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11057 result = (otk::BColor *)(arg1)->getButtonPicFocus();
11059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11066 static PyObject *_wrap_Style_getButtonPicUnfocus(PyObject *self, PyObject *args) {
11067 PyObject *resultobj;
11068 otk::Style *arg1 = (otk::Style *) 0 ;
11069 otk::BColor *result;
11070 PyObject * obj0 = 0 ;
11072 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPicUnfocus",&obj0)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11074 result = (otk::BColor *)(arg1)->getButtonPicUnfocus();
11076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11083 static PyObject *_wrap_Style_getTitleFocus(PyObject *self, PyObject *args) {
11084 PyObject *resultobj;
11085 otk::Style *arg1 = (otk::Style *) 0 ;
11086 otk::BTexture *result;
11087 PyObject * obj0 = 0 ;
11089 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleFocus",&obj0)) goto fail;
11090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11091 result = (otk::BTexture *)(arg1)->getTitleFocus();
11093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11100 static PyObject *_wrap_Style_getTitleUnfocus(PyObject *self, PyObject *args) {
11101 PyObject *resultobj;
11102 otk::Style *arg1 = (otk::Style *) 0 ;
11103 otk::BTexture *result;
11104 PyObject * obj0 = 0 ;
11106 if(!PyArg_ParseTuple(args,(char *)"O:Style_getTitleUnfocus",&obj0)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 result = (otk::BTexture *)(arg1)->getTitleUnfocus();
11110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11117 static PyObject *_wrap_Style_getLabelFocus(PyObject *self, PyObject *args) {
11118 PyObject *resultobj;
11119 otk::Style *arg1 = (otk::Style *) 0 ;
11120 otk::BTexture *result;
11121 PyObject * obj0 = 0 ;
11123 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelFocus",&obj0)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11125 result = (otk::BTexture *)(arg1)->getLabelFocus();
11127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11134 static PyObject *_wrap_Style_getLabelUnfocus(PyObject *self, PyObject *args) {
11135 PyObject *resultobj;
11136 otk::Style *arg1 = (otk::Style *) 0 ;
11137 otk::BTexture *result;
11138 PyObject * obj0 = 0 ;
11140 if(!PyArg_ParseTuple(args,(char *)"O:Style_getLabelUnfocus",&obj0)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11142 result = (otk::BTexture *)(arg1)->getLabelUnfocus();
11144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11151 static PyObject *_wrap_Style_getHandleFocus(PyObject *self, PyObject *args) {
11152 PyObject *resultobj;
11153 otk::Style *arg1 = (otk::Style *) 0 ;
11154 otk::BTexture *result;
11155 PyObject * obj0 = 0 ;
11157 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleFocus",&obj0)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11159 result = (otk::BTexture *)(arg1)->getHandleFocus();
11161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11168 static PyObject *_wrap_Style_getHandleUnfocus(PyObject *self, PyObject *args) {
11169 PyObject *resultobj;
11170 otk::Style *arg1 = (otk::Style *) 0 ;
11171 otk::BTexture *result;
11172 PyObject * obj0 = 0 ;
11174 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleUnfocus",&obj0)) goto fail;
11175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11176 result = (otk::BTexture *)(arg1)->getHandleUnfocus();
11178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11185 static PyObject *_wrap_Style_getButtonFocus(PyObject *self, PyObject *args) {
11186 PyObject *resultobj;
11187 otk::Style *arg1 = (otk::Style *) 0 ;
11188 otk::BTexture *result;
11189 PyObject * obj0 = 0 ;
11191 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonFocus",&obj0)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11193 result = (otk::BTexture *)(arg1)->getButtonFocus();
11195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11202 static PyObject *_wrap_Style_getButtonUnfocus(PyObject *self, PyObject *args) {
11203 PyObject *resultobj;
11204 otk::Style *arg1 = (otk::Style *) 0 ;
11205 otk::BTexture *result;
11206 PyObject * obj0 = 0 ;
11208 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonUnfocus",&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 result = (otk::BTexture *)(arg1)->getButtonUnfocus();
11212 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11219 static PyObject *_wrap_Style_getButtonPressedFocus(PyObject *self, PyObject *args) {
11220 PyObject *resultobj;
11221 otk::Style *arg1 = (otk::Style *) 0 ;
11222 otk::BTexture *result;
11223 PyObject * obj0 = 0 ;
11225 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedFocus",&obj0)) goto fail;
11226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11227 result = (otk::BTexture *)(arg1)->getButtonPressedFocus();
11229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11236 static PyObject *_wrap_Style_getButtonPressedUnfocus(PyObject *self, PyObject *args) {
11237 PyObject *resultobj;
11238 otk::Style *arg1 = (otk::Style *) 0 ;
11239 otk::BTexture *result;
11240 PyObject * obj0 = 0 ;
11242 if(!PyArg_ParseTuple(args,(char *)"O:Style_getButtonPressedUnfocus",&obj0)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11244 result = (otk::BTexture *)(arg1)->getButtonPressedUnfocus();
11246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11253 static PyObject *_wrap_Style_getGripFocus(PyObject *self, PyObject *args) {
11254 PyObject *resultobj;
11255 otk::Style *arg1 = (otk::Style *) 0 ;
11256 otk::BTexture *result;
11257 PyObject * obj0 = 0 ;
11259 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripFocus",&obj0)) goto fail;
11260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11261 result = (otk::BTexture *)(arg1)->getGripFocus();
11263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11270 static PyObject *_wrap_Style_getGripUnfocus(PyObject *self, PyObject *args) {
11271 PyObject *resultobj;
11272 otk::Style *arg1 = (otk::Style *) 0 ;
11273 otk::BTexture *result;
11274 PyObject * obj0 = 0 ;
11276 if(!PyArg_ParseTuple(args,(char *)"O:Style_getGripUnfocus",&obj0)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11278 result = (otk::BTexture *)(arg1)->getGripUnfocus();
11280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11287 static PyObject *_wrap_Style_getHandleWidth(PyObject *self, PyObject *args) {
11288 PyObject *resultobj;
11289 otk::Style *arg1 = (otk::Style *) 0 ;
11290 unsigned int result;
11291 PyObject * obj0 = 0 ;
11293 if(!PyArg_ParseTuple(args,(char *)"O:Style_getHandleWidth",&obj0)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11295 result = (unsigned int)((otk::Style const *)arg1)->getHandleWidth();
11297 resultobj = PyInt_FromLong((long)result);
11304 static PyObject *_wrap_Style_getBevelWidth(PyObject *self, PyObject *args) {
11305 PyObject *resultobj;
11306 otk::Style *arg1 = (otk::Style *) 0 ;
11307 unsigned int result;
11308 PyObject * obj0 = 0 ;
11310 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBevelWidth",&obj0)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 result = (unsigned int)((otk::Style const *)arg1)->getBevelWidth();
11314 resultobj = PyInt_FromLong((long)result);
11321 static PyObject *_wrap_Style_getFrameWidth(PyObject *self, PyObject *args) {
11322 PyObject *resultobj;
11323 otk::Style *arg1 = (otk::Style *) 0 ;
11324 unsigned int result;
11325 PyObject * obj0 = 0 ;
11327 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameWidth",&obj0)) goto fail;
11328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11329 result = (unsigned int)((otk::Style const *)arg1)->getFrameWidth();
11331 resultobj = PyInt_FromLong((long)result);
11338 static PyObject *_wrap_Style_getBorderWidth(PyObject *self, PyObject *args) {
11339 PyObject *resultobj;
11340 otk::Style *arg1 = (otk::Style *) 0 ;
11341 unsigned int result;
11342 PyObject * obj0 = 0 ;
11344 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderWidth",&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 result = (unsigned int)((otk::Style const *)arg1)->getBorderWidth();
11348 resultobj = PyInt_FromLong((long)result);
11355 static PyObject *_wrap_Style_getFont(PyObject *self, PyObject *args) {
11356 PyObject *resultobj;
11357 otk::Style *arg1 = (otk::Style *) 0 ;
11358 otk::BFont *result;
11359 PyObject * obj0 = 0 ;
11361 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFont",&obj0)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11363 result = (otk::BFont *)((otk::Style const *)arg1)->getFont();
11365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BFont, 0);
11372 static PyObject *_wrap_Style_setShadowFonts(PyObject *self, PyObject *args) {
11373 PyObject *resultobj;
11374 otk::Style *arg1 = (otk::Style *) 0 ;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11379 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setShadowFonts",&obj0,&obj1)) goto fail;
11380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11381 arg2 = (bool) PyInt_AsLong(obj1);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 (arg1)->setShadowFonts(arg2);
11385 Py_INCREF(Py_None); resultobj = Py_None;
11392 static PyObject *_wrap_Style_hasShadowFonts(PyObject *self, PyObject *args) {
11393 PyObject *resultobj;
11394 otk::Style *arg1 = (otk::Style *) 0 ;
11396 PyObject * obj0 = 0 ;
11398 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasShadowFonts",&obj0)) goto fail;
11399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11400 result = (bool)((otk::Style const *)arg1)->hasShadowFonts();
11402 resultobj = PyInt_FromLong((long)result);
11409 static PyObject *_wrap_Style_setAAFonts(PyObject *self, PyObject *args) {
11410 PyObject *resultobj;
11411 otk::Style *arg1 = (otk::Style *) 0 ;
11413 PyObject * obj0 = 0 ;
11414 PyObject * obj1 = 0 ;
11416 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setAAFonts",&obj0,&obj1)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11418 arg2 = (bool) PyInt_AsLong(obj1);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 (arg1)->setAAFonts(arg2);
11422 Py_INCREF(Py_None); resultobj = Py_None;
11429 static PyObject *_wrap_Style_hasAAFonts(PyObject *self, PyObject *args) {
11430 PyObject *resultobj;
11431 otk::Style *arg1 = (otk::Style *) 0 ;
11433 PyObject * obj0 = 0 ;
11435 if(!PyArg_ParseTuple(args,(char *)"O:Style_hasAAFonts",&obj0)) goto fail;
11436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11437 result = (bool)((otk::Style const *)arg1)->hasAAFonts();
11439 resultobj = PyInt_FromLong((long)result);
11446 static PyObject *_wrap_Style_textJustify(PyObject *self, PyObject *args) {
11447 PyObject *resultobj;
11448 otk::Style *arg1 = (otk::Style *) 0 ;
11450 PyObject * obj0 = 0 ;
11452 if(!PyArg_ParseTuple(args,(char *)"O:Style_textJustify",&obj0)) goto fail;
11453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11454 result = (int)(arg1)->textJustify();
11456 resultobj = PyInt_FromLong((long)result);
11463 static PyObject *_wrap_Style_bulletType(PyObject *self, PyObject *args) {
11464 PyObject *resultobj;
11465 otk::Style *arg1 = (otk::Style *) 0 ;
11467 PyObject * obj0 = 0 ;
11469 if(!PyArg_ParseTuple(args,(char *)"O:Style_bulletType",&obj0)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11471 result = (int)(arg1)->bulletType();
11473 resultobj = PyInt_FromLong((long)result);
11480 static PyObject *_wrap_Style_getBorderColor(PyObject *self, PyObject *args) {
11481 PyObject *resultobj;
11482 otk::Style *arg1 = (otk::Style *) 0 ;
11483 otk::BColor *result;
11484 PyObject * obj0 = 0 ;
11486 if(!PyArg_ParseTuple(args,(char *)"O:Style_getBorderColor",&obj0)) goto fail;
11487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11488 result = (otk::BColor *)((otk::Style const *)arg1)->getBorderColor();
11490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11497 static PyObject *_wrap_Style_getFrameFocus(PyObject *self, PyObject *args) {
11498 PyObject *resultobj;
11499 otk::Style *arg1 = (otk::Style *) 0 ;
11500 otk::BTexture *result;
11501 PyObject * obj0 = 0 ;
11503 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameFocus",&obj0)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11505 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameFocus();
11507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11514 static PyObject *_wrap_Style_getFrameUnfocus(PyObject *self, PyObject *args) {
11515 PyObject *resultobj;
11516 otk::Style *arg1 = (otk::Style *) 0 ;
11517 otk::BTexture *result;
11518 PyObject * obj0 = 0 ;
11520 if(!PyArg_ParseTuple(args,(char *)"O:Style_getFrameUnfocus",&obj0)) goto fail;
11521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11522 result = (otk::BTexture *)((otk::Style const *)arg1)->getFrameUnfocus();
11524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 0);
11531 static PyObject *_wrap_Style_setImageControl(PyObject *self, PyObject *args) {
11532 PyObject *resultobj;
11533 otk::Style *arg1 = (otk::Style *) 0 ;
11534 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11538 if(!PyArg_ParseTuple(args,(char *)"OO:Style_setImageControl",&obj0,&obj1)) goto fail;
11539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11541 (arg1)->setImageControl(arg2);
11543 Py_INCREF(Py_None); resultobj = Py_None;
11550 static PyObject *_wrap_Style_getScreen(PyObject *self, PyObject *args) {
11551 PyObject *resultobj;
11552 otk::Style *arg1 = (otk::Style *) 0 ;
11553 unsigned int result;
11554 PyObject * obj0 = 0 ;
11556 if(!PyArg_ParseTuple(args,(char *)"O:Style_getScreen",&obj0)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__Style,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 result = (unsigned int)(arg1)->getScreen();
11560 resultobj = PyInt_FromLong((long)result);
11567 static PyObject * Style_swigregister(PyObject *self, PyObject *args) {
11569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11570 SWIG_TypeClientData(SWIGTYPE_p_otk__Style, obj);
11572 return Py_BuildValue((char *)"");
11574 static PyObject *_wrap_new_BTexture__SWIG_0(PyObject *self, PyObject *args) {
11575 PyObject *resultobj;
11576 unsigned int arg1 = (unsigned int) ~(0u) ;
11577 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11578 otk::BTexture *result;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11582 if(!PyArg_ParseTuple(args,(char *)"|OO:new_BTexture",&obj0,&obj1)) goto fail;
11584 arg1 = (unsigned int) PyInt_AsLong(obj0);
11585 if (PyErr_Occurred()) SWIG_fail;
11588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11590 result = (otk::BTexture *)new otk::BTexture(arg1,arg2);
11592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11599 static PyObject *_wrap_new_BTexture__SWIG_1(PyObject *self, PyObject *args) {
11600 PyObject *resultobj;
11601 std::string *arg1 = 0 ;
11602 unsigned int arg2 = (unsigned int) ~(0u) ;
11603 otk::BImageControl *arg3 = (otk::BImageControl *) 0 ;
11604 otk::BTexture *result;
11605 std::string temp1 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11610 if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BTexture",&obj0,&obj1,&obj2)) goto fail;
11612 if (PyString_Check(obj0)) {
11613 temp1 = std::string(PyString_AsString(obj0));
11616 SWIG_exception(SWIG_TypeError, "string expected");
11620 arg2 = (unsigned int) PyInt_AsLong(obj1);
11621 if (PyErr_Occurred()) SWIG_fail;
11624 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11626 result = (otk::BTexture *)new otk::BTexture((std::string const &)*arg1,arg2,arg3);
11628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BTexture, 1);
11635 static PyObject *_wrap_new_BTexture(PyObject *self, PyObject *args) {
11640 argc = PyObject_Length(args);
11641 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11642 argv[ii] = PyTuple_GetItem(args,ii);
11644 if ((argc >= 0) && (argc <= 2)) {
11647 return _wrap_new_BTexture__SWIG_0(self,args);
11650 _v = (PyInt_Check(argv[0]) || PyLong_Check(argv[0])) ? 1 : 0;
11654 return _wrap_new_BTexture__SWIG_0(self,args);
11658 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11666 return _wrap_new_BTexture__SWIG_0(self,args);
11670 if ((argc >= 1) && (argc <= 3)) {
11673 _v = PyString_Check(argv[0]) ? 1 : 0;
11677 return _wrap_new_BTexture__SWIG_1(self,args);
11680 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
11684 return _wrap_new_BTexture__SWIG_1(self,args);
11688 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_otk__BImageControl, 0) == -1) {
11696 return _wrap_new_BTexture__SWIG_1(self,args);
11702 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_BTexture'");
11707 static PyObject *_wrap_BTexture_setColor(PyObject *self, PyObject *args) {
11708 PyObject *resultobj;
11709 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11710 otk::BColor *arg2 = 0 ;
11711 PyObject * obj0 = 0 ;
11712 PyObject * obj1 = 0 ;
11714 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColor",&obj0,&obj1)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 if (arg2 == NULL) {
11718 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11720 (arg1)->setColor((otk::BColor const &)*arg2);
11722 Py_INCREF(Py_None); resultobj = Py_None;
11729 static PyObject *_wrap_BTexture_setColorTo(PyObject *self, PyObject *args) {
11730 PyObject *resultobj;
11731 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11732 otk::BColor *arg2 = 0 ;
11733 PyObject * obj0 = 0 ;
11734 PyObject * obj1 = 0 ;
11736 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setColorTo",&obj0,&obj1)) goto fail;
11737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11739 if (arg2 == NULL) {
11740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11742 (arg1)->setColorTo((otk::BColor const &)*arg2);
11744 Py_INCREF(Py_None); resultobj = Py_None;
11751 static PyObject *_wrap_BTexture_setBorderColor(PyObject *self, PyObject *args) {
11752 PyObject *resultobj;
11753 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11754 otk::BColor *arg2 = 0 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11758 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setBorderColor",&obj0,&obj1)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BColor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11761 if (arg2 == NULL) {
11762 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11764 (arg1)->setBorderColor((otk::BColor const &)*arg2);
11766 Py_INCREF(Py_None); resultobj = Py_None;
11773 static PyObject *_wrap_BTexture_color(PyObject *self, PyObject *args) {
11774 PyObject *resultobj;
11775 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11776 otk::BColor *result;
11777 PyObject * obj0 = 0 ;
11779 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_color",&obj0)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11782 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->color();
11783 result = (otk::BColor *) &_result_ref;
11786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11793 static PyObject *_wrap_BTexture_colorTo(PyObject *self, PyObject *args) {
11794 PyObject *resultobj;
11795 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11796 otk::BColor *result;
11797 PyObject * obj0 = 0 ;
11799 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_colorTo",&obj0)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11802 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->colorTo();
11803 result = (otk::BColor *) &_result_ref;
11806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11813 static PyObject *_wrap_BTexture_lightColor(PyObject *self, PyObject *args) {
11814 PyObject *resultobj;
11815 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11816 otk::BColor *result;
11817 PyObject * obj0 = 0 ;
11819 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_lightColor",&obj0)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11822 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->lightColor();
11823 result = (otk::BColor *) &_result_ref;
11826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11833 static PyObject *_wrap_BTexture_shadowColor(PyObject *self, PyObject *args) {
11834 PyObject *resultobj;
11835 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11836 otk::BColor *result;
11837 PyObject * obj0 = 0 ;
11839 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_shadowColor",&obj0)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11842 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->shadowColor();
11843 result = (otk::BColor *) &_result_ref;
11846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11853 static PyObject *_wrap_BTexture_borderColor(PyObject *self, PyObject *args) {
11854 PyObject *resultobj;
11855 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11856 otk::BColor *result;
11857 PyObject * obj0 = 0 ;
11859 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_borderColor",&obj0)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 otk::BColor const &_result_ref = ((otk::BTexture const *)arg1)->borderColor();
11863 result = (otk::BColor *) &_result_ref;
11866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__BColor, 0);
11873 static PyObject *_wrap_BTexture_texture(PyObject *self, PyObject *args) {
11874 PyObject *resultobj;
11875 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11876 unsigned long result;
11877 PyObject * obj0 = 0 ;
11879 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_texture",&obj0)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11881 result = (unsigned long)((otk::BTexture const *)arg1)->texture();
11883 resultobj = PyInt_FromLong((long)result);
11890 static PyObject *_wrap_BTexture_setTexture(PyObject *self, PyObject *args) {
11891 PyObject *resultobj;
11892 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11893 unsigned long arg2 ;
11894 PyObject * obj0 = 0 ;
11895 PyObject * obj1 = 0 ;
11897 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setTexture",&obj0,&obj1)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11899 arg2 = (unsigned long) PyInt_AsLong(obj1);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 (arg1)->setTexture(arg2);
11903 Py_INCREF(Py_None); resultobj = Py_None;
11910 static PyObject *_wrap_BTexture_addTexture(PyObject *self, PyObject *args) {
11911 PyObject *resultobj;
11912 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11913 unsigned long arg2 ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11917 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_addTexture",&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 arg2 = (unsigned long) PyInt_AsLong(obj1);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 (arg1)->addTexture(arg2);
11923 Py_INCREF(Py_None); resultobj = Py_None;
11930 static PyObject *_wrap_BTexture_equals(PyObject *self, PyObject *args) {
11931 PyObject *resultobj;
11932 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11933 otk::BTexture *arg2 = 0 ;
11935 PyObject * obj0 = 0 ;
11936 PyObject * obj1 = 0 ;
11938 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_equals",&obj0,&obj1)) goto fail;
11939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11941 if (arg2 == NULL) {
11942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11944 result = (bool)(arg1)->operator ==((otk::BTexture const &)*arg2);
11946 resultobj = PyInt_FromLong((long)result);
11953 static PyObject *_wrap_BTexture_screen(PyObject *self, PyObject *args) {
11954 PyObject *resultobj;
11955 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11956 unsigned int result;
11957 PyObject * obj0 = 0 ;
11959 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_screen",&obj0)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11961 result = (unsigned int)((otk::BTexture const *)arg1)->screen();
11963 resultobj = PyInt_FromLong((long)result);
11970 static PyObject *_wrap_BTexture_setScreen(PyObject *self, PyObject *args) {
11971 PyObject *resultobj;
11972 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11973 unsigned int arg2 ;
11974 PyObject * obj0 = 0 ;
11975 PyObject * obj1 = 0 ;
11977 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setScreen",&obj0,&obj1)) goto fail;
11978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11979 arg2 = (unsigned int) PyInt_AsLong(obj1);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 (arg1)->setScreen(arg2);
11983 Py_INCREF(Py_None); resultobj = Py_None;
11990 static PyObject *_wrap_BTexture_setImageControl(PyObject *self, PyObject *args) {
11991 PyObject *resultobj;
11992 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
11993 otk::BImageControl *arg2 = (otk::BImageControl *) 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11997 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setImageControl",&obj0,&obj1)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__BImageControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12000 (arg1)->setImageControl(arg2);
12002 Py_INCREF(Py_None); resultobj = Py_None;
12009 static PyObject *_wrap_BTexture_description(PyObject *self, PyObject *args) {
12010 PyObject *resultobj;
12011 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12012 std::string *result;
12013 PyObject * obj0 = 0 ;
12015 if(!PyArg_ParseTuple(args,(char *)"O:BTexture_description",&obj0)) goto fail;
12016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12018 std::string const &_result_ref = ((otk::BTexture const *)arg1)->description();
12019 result = (std::string *) &_result_ref;
12023 resultobj = PyString_FromString(result->c_str());
12031 static PyObject *_wrap_BTexture_setDescription(PyObject *self, PyObject *args) {
12032 PyObject *resultobj;
12033 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12034 std::string *arg2 = 0 ;
12035 std::string temp2 ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12039 if(!PyArg_ParseTuple(args,(char *)"OO:BTexture_setDescription",&obj0,&obj1)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 if (PyString_Check(obj1)) {
12043 temp2 = std::string(PyString_AsString(obj1));
12046 SWIG_exception(SWIG_TypeError, "string expected");
12049 (arg1)->setDescription((std::string const &)*arg2);
12051 Py_INCREF(Py_None); resultobj = Py_None;
12058 static PyObject *_wrap_BTexture_render(PyObject *self, PyObject *args) {
12059 PyObject *resultobj;
12060 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12061 unsigned int arg2 ;
12062 unsigned int arg3 ;
12063 Pixmap arg4 = (Pixmap) (Pixmap)0 ;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 PyObject * obj2 = 0 ;
12068 PyObject * obj3 = 0 ;
12070 if(!PyArg_ParseTuple(args,(char *)"OOO|O:BTexture_render",&obj0,&obj1,&obj2,&obj3)) goto fail;
12071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12072 arg2 = (unsigned int) PyInt_AsLong(obj1);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 arg3 = (unsigned int) PyInt_AsLong(obj2);
12075 if (PyErr_Occurred()) SWIG_fail;
12077 arg4 = (Pixmap) PyInt_AsLong(obj3);
12078 if (PyErr_Occurred()) SWIG_fail;
12080 result = (Pixmap)(arg1)->render(arg2,arg3,arg4);
12082 resultobj = PyInt_FromLong((long)result);
12089 static PyObject *_wrap_delete_BTexture(PyObject *self, PyObject *args) {
12090 PyObject *resultobj;
12091 otk::BTexture *arg1 = (otk::BTexture *) 0 ;
12092 PyObject * obj0 = 0 ;
12094 if(!PyArg_ParseTuple(args,(char *)"O:delete_BTexture",&obj0)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__BTexture,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12098 Py_INCREF(Py_None); resultobj = Py_None;
12105 static PyObject * BTexture_swigregister(PyObject *self, PyObject *args) {
12107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12108 SWIG_TypeClientData(SWIGTYPE_p_otk__BTexture, obj);
12110 return Py_BuildValue((char *)"");
12112 static PyObject *_wrap_new_OBTimer(PyObject *self, PyObject *args) {
12113 PyObject *resultobj;
12114 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12115 otk::OBTimeoutHandler arg2 = (otk::OBTimeoutHandler) 0 ;
12116 otk::OBTimeoutData arg3 = (otk::OBTimeoutData) 0 ;
12117 otk::OBTimer *result;
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 PyObject * obj2 = 0 ;
12122 if(!PyArg_ParseTuple(args,(char *)"OOO:new_OBTimer",&obj0,&obj1,&obj2)) goto fail;
12123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_otk__OBTimeoutHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12125 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 result = (otk::OBTimer *)new otk::OBTimer(arg1,arg2,arg3);
12128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimer, 1);
12135 static PyObject *_wrap_delete_OBTimer(PyObject *self, PyObject *args) {
12136 PyObject *resultobj;
12137 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12138 PyObject * obj0 = 0 ;
12140 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimer",&obj0)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12144 Py_INCREF(Py_None); resultobj = Py_None;
12151 static PyObject *_wrap_OBTimer_fire(PyObject *self, PyObject *args) {
12152 PyObject *resultobj;
12153 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12154 PyObject * obj0 = 0 ;
12156 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_fire",&obj0)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12160 Py_INCREF(Py_None); resultobj = Py_None;
12167 static PyObject *_wrap_OBTimer_timing(PyObject *self, PyObject *args) {
12168 PyObject *resultobj;
12169 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12171 PyObject * obj0 = 0 ;
12173 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timing",&obj0)) goto fail;
12174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12175 result = (bool)((otk::OBTimer const *)arg1)->timing();
12177 resultobj = PyInt_FromLong((long)result);
12184 static PyObject *_wrap_OBTimer_recurring(PyObject *self, PyObject *args) {
12185 PyObject *resultobj;
12186 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12188 PyObject * obj0 = 0 ;
12190 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_recurring",&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 result = (bool)((otk::OBTimer const *)arg1)->recurring();
12194 resultobj = PyInt_FromLong((long)result);
12201 static PyObject *_wrap_OBTimer_timeout(PyObject *self, PyObject *args) {
12202 PyObject *resultobj;
12203 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12205 PyObject * obj0 = 0 ;
12207 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_timeout",&obj0)) goto fail;
12208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12210 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->timeout();
12211 result = (timeval *) &_result_ref;
12214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12221 static PyObject *_wrap_OBTimer_startTime(PyObject *self, PyObject *args) {
12222 PyObject *resultobj;
12223 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12225 PyObject * obj0 = 0 ;
12227 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_startTime",&obj0)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12230 timeval const &_result_ref = ((otk::OBTimer const *)arg1)->startTime();
12231 result = (timeval *) &_result_ref;
12234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_timeval, 0);
12241 static PyObject *_wrap_OBTimer_remainingTime(PyObject *self, PyObject *args) {
12242 PyObject *resultobj;
12243 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12244 timeval *arg2 = 0 ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12249 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_remainingTime",&obj0,&obj1)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 if (arg2 == NULL) {
12253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12255 result = ((otk::OBTimer const *)arg1)->remainingTime((timeval const &)*arg2);
12258 timeval * resultptr;
12259 resultptr = new timeval((timeval &) result);
12260 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12268 static PyObject *_wrap_OBTimer_shouldFire(PyObject *self, PyObject *args) {
12269 PyObject *resultobj;
12270 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12271 timeval *arg2 = 0 ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12276 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_shouldFire",&obj0,&obj1)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 if (arg2 == NULL) {
12280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12282 result = (bool)((otk::OBTimer const *)arg1)->shouldFire((timeval const &)*arg2);
12284 resultobj = PyInt_FromLong((long)result);
12291 static PyObject *_wrap_OBTimer_endTime(PyObject *self, PyObject *args) {
12292 PyObject *resultobj;
12293 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12295 PyObject * obj0 = 0 ;
12297 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_endTime",&obj0)) goto fail;
12298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12299 result = ((otk::OBTimer const *)arg1)->endTime();
12302 timeval * resultptr;
12303 resultptr = new timeval((timeval &) result);
12304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_timeval, 1);
12312 static PyObject *_wrap_OBTimer_setRecurring(PyObject *self, PyObject *args) {
12313 PyObject *resultobj;
12314 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12316 PyObject * obj0 = 0 ;
12317 PyObject * obj1 = 0 ;
12319 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setRecurring",&obj0,&obj1)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12321 arg2 = (bool) PyInt_AsLong(obj1);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 (arg1)->setRecurring(arg2);
12325 Py_INCREF(Py_None); resultobj = Py_None;
12332 static PyObject *_wrap_OBTimer_setTimeout__SWIG_0(PyObject *self, PyObject *args) {
12333 PyObject *resultobj;
12334 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12336 PyObject * obj0 = 0 ;
12338 if(!PyArg_ParseTuple(args,(char *)"Ol:OBTimer_setTimeout",&obj0,&arg2)) goto fail;
12339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12340 (arg1)->setTimeout(arg2);
12342 Py_INCREF(Py_None); resultobj = Py_None;
12349 static PyObject *_wrap_OBTimer_setTimeout__SWIG_1(PyObject *self, PyObject *args) {
12350 PyObject *resultobj;
12351 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12352 timeval *arg2 = 0 ;
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12356 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimer_setTimeout",&obj0,&obj1)) goto fail;
12357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_timeval,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12359 if (arg2 == NULL) {
12360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12362 (arg1)->setTimeout((timeval const &)*arg2);
12364 Py_INCREF(Py_None); resultobj = Py_None;
12371 static PyObject *_wrap_OBTimer_setTimeout(PyObject *self, PyObject *args) {
12376 argc = PyObject_Length(args);
12377 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
12378 argv[ii] = PyTuple_GetItem(args,ii);
12384 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12394 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_timeval, 0) == -1) {
12402 return _wrap_OBTimer_setTimeout__SWIG_1(self,args);
12410 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_otk__OBTimer, 0) == -1) {
12419 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
12422 return _wrap_OBTimer_setTimeout__SWIG_0(self,args);
12427 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'OBTimer_setTimeout'");
12432 static PyObject *_wrap_OBTimer_start(PyObject *self, PyObject *args) {
12433 PyObject *resultobj;
12434 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12435 PyObject * obj0 = 0 ;
12437 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_start",&obj0)) goto fail;
12438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441 Py_INCREF(Py_None); resultobj = Py_None;
12448 static PyObject *_wrap_OBTimer_stop(PyObject *self, PyObject *args) {
12449 PyObject *resultobj;
12450 otk::OBTimer *arg1 = (otk::OBTimer *) 0 ;
12451 PyObject * obj0 = 0 ;
12453 if(!PyArg_ParseTuple(args,(char *)"O:OBTimer_stop",&obj0)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457 Py_INCREF(Py_None); resultobj = Py_None;
12464 static PyObject * OBTimer_swigregister(PyObject *self, PyObject *args) {
12466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12467 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimer, obj);
12469 return Py_BuildValue((char *)"");
12471 static PyObject *_wrap_new_OBTimerQueueManager(PyObject *self, PyObject *args) {
12472 PyObject *resultobj;
12473 otk::OBTimerQueueManager *result;
12475 if(!PyArg_ParseTuple(args,(char *)":new_OBTimerQueueManager")) goto fail;
12476 result = (otk::OBTimerQueueManager *)new otk::OBTimerQueueManager();
12478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_otk__OBTimerQueueManager, 1);
12485 static PyObject *_wrap_delete_OBTimerQueueManager(PyObject *self, PyObject *args) {
12486 PyObject *resultobj;
12487 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12488 PyObject * obj0 = 0 ;
12490 if(!PyArg_ParseTuple(args,(char *)"O:delete_OBTimerQueueManager",&obj0)) goto fail;
12491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 Py_INCREF(Py_None); resultobj = Py_None;
12501 static PyObject *_wrap_OBTimerQueueManager_fire(PyObject *self, PyObject *args) {
12502 PyObject *resultobj;
12503 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12504 bool arg2 = (bool) true ;
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
12508 if(!PyArg_ParseTuple(args,(char *)"O|O:OBTimerQueueManager_fire",&obj0,&obj1)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12511 arg2 = (bool) PyInt_AsLong(obj1);
12512 if (PyErr_Occurred()) SWIG_fail;
12514 (arg1)->fire(arg2);
12516 Py_INCREF(Py_None); resultobj = Py_None;
12523 static PyObject *_wrap_OBTimerQueueManager_addTimer(PyObject *self, PyObject *args) {
12524 PyObject *resultobj;
12525 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12526 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12527 PyObject * obj0 = 0 ;
12528 PyObject * obj1 = 0 ;
12530 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_addTimer",&obj0,&obj1)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12533 (arg1)->addTimer(arg2);
12535 Py_INCREF(Py_None); resultobj = Py_None;
12542 static PyObject *_wrap_OBTimerQueueManager_removeTimer(PyObject *self, PyObject *args) {
12543 PyObject *resultobj;
12544 otk::OBTimerQueueManager *arg1 = (otk::OBTimerQueueManager *) 0 ;
12545 otk::OBTimer *arg2 = (otk::OBTimer *) 0 ;
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
12549 if(!PyArg_ParseTuple(args,(char *)"OO:OBTimerQueueManager_removeTimer",&obj0,&obj1)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_otk__OBTimerQueueManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_otk__OBTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12552 (arg1)->removeTimer(arg2);
12554 Py_INCREF(Py_None); resultobj = Py_None;
12561 static PyObject * OBTimerQueueManager_swigregister(PyObject *self, PyObject *args) {
12563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12564 SWIG_TypeClientData(SWIGTYPE_p_otk__OBTimerQueueManager, obj);
12566 return Py_BuildValue((char *)"");
12568 static int _wrap_BSENTINEL_set(PyObject *_val) {
12569 PyErr_SetString(PyExc_TypeError,"Variable BSENTINEL is read-only.");
12574 static PyObject *_wrap_BSENTINEL_get() {
12577 pyobj = PyInt_FromLong((long)otk::BSENTINEL);
12582 static PyObject *_wrap_expandTilde(PyObject *self, PyObject *args) {
12583 PyObject *resultobj;
12584 std::string *arg1 = 0 ;
12585 std::string result;
12586 std::string temp1 ;
12587 PyObject * obj0 = 0 ;
12589 if(!PyArg_ParseTuple(args,(char *)"O:expandTilde",&obj0)) goto fail;
12591 if (PyString_Check(obj0)) {
12592 temp1 = std::string(PyString_AsString(obj0));
12595 SWIG_exception(SWIG_TypeError, "string expected");
12598 result = otk::expandTilde((std::string const &)*arg1);
12601 resultobj = PyString_FromString((&result)->c_str());
12609 static PyObject *_wrap_bexec(PyObject *self, PyObject *args) {
12610 PyObject *resultobj;
12611 std::string *arg1 = 0 ;
12612 std::string *arg2 = 0 ;
12613 std::string temp1 ;
12614 std::string temp2 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12618 if(!PyArg_ParseTuple(args,(char *)"OO:bexec",&obj0,&obj1)) goto fail;
12620 if (PyString_Check(obj0)) {
12621 temp1 = std::string(PyString_AsString(obj0));
12624 SWIG_exception(SWIG_TypeError, "string expected");
12628 if (PyString_Check(obj1)) {
12629 temp2 = std::string(PyString_AsString(obj1));
12632 SWIG_exception(SWIG_TypeError, "string expected");
12635 otk::bexec((std::string const &)*arg1,(std::string const &)*arg2);
12637 Py_INCREF(Py_None); resultobj = Py_None;
12644 static PyObject *_wrap_textPropertyToString(PyObject *self, PyObject *args) {
12645 PyObject *resultobj;
12646 Display *arg1 = (Display *) 0 ;
12647 XTextProperty *arg2 = 0 ;
12648 std::string result;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12652 if(!PyArg_ParseTuple(args,(char *)"OO:textPropertyToString",&obj0,&obj1)) goto fail;
12653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_Display,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_XTextProperty,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12655 if (arg2 == NULL) {
12656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12658 result = otk::textPropertyToString(arg1,*arg2);
12661 resultobj = PyString_FromString((&result)->c_str());
12669 static PyObject *_wrap_itostring_unsigned_long(PyObject *self, PyObject *args) {
12670 PyObject *resultobj;
12671 unsigned long arg1 ;
12672 std::string result;
12673 PyObject * obj0 = 0 ;
12675 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned_long",&obj0)) goto fail;
12676 arg1 = (unsigned long) PyInt_AsLong(obj0);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 result = otk::itostring(arg1);
12681 resultobj = PyString_FromString((&result)->c_str());
12689 static PyObject *_wrap_itostring_long(PyObject *self, PyObject *args) {
12690 PyObject *resultobj;
12692 std::string result;
12694 if(!PyArg_ParseTuple(args,(char *)"l:itostring_long",&arg1)) goto fail;
12695 result = otk::itostring(arg1);
12698 resultobj = PyString_FromString((&result)->c_str());
12706 static PyObject *_wrap_itostring_unsigned(PyObject *self, PyObject *args) {
12707 PyObject *resultobj;
12708 unsigned int arg1 ;
12709 std::string result;
12710 PyObject * obj0 = 0 ;
12712 if(!PyArg_ParseTuple(args,(char *)"O:itostring_unsigned",&obj0)) goto fail;
12713 arg1 = (unsigned int) PyInt_AsLong(obj0);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 result = otk::itostring(arg1);
12718 resultobj = PyString_FromString((&result)->c_str());
12726 static PyObject *_wrap_itostring(PyObject *self, PyObject *args) {
12727 PyObject *resultobj;
12729 std::string result;
12731 if(!PyArg_ParseTuple(args,(char *)"i:itostring",&arg1)) goto fail;
12732 result = otk::itostring(arg1);
12735 resultobj = PyString_FromString((&result)->c_str());
12743 static PyObject *_wrap_basename(PyObject *self, PyObject *args) {
12744 PyObject *resultobj;
12745 std::string *arg1 = 0 ;
12746 std::string result;
12747 std::string temp1 ;
12748 PyObject * obj0 = 0 ;
12750 if(!PyArg_ParseTuple(args,(char *)"O:basename",&obj0)) goto fail;
12752 if (PyString_Check(obj0)) {
12753 temp1 = std::string(PyString_AsString(obj0));
12756 SWIG_exception(SWIG_TypeError, "string expected");
12759 result = otk::basename((std::string const &)*arg1);
12762 resultobj = PyString_FromString((&result)->c_str());
12770 static PyMethodDef SwigMethods[] = {
12771 { (char *)"OBDisplay_display", _wrap_OBDisplay_display, METH_VARARGS },
12772 { (char *)"new_OtkEventDispatcher", _wrap_new_OtkEventDispatcher, METH_VARARGS },
12773 { (char *)"delete_OtkEventDispatcher", _wrap_delete_OtkEventDispatcher, METH_VARARGS },
12774 { (char *)"OtkEventDispatcher_clearAllHandlers", _wrap_OtkEventDispatcher_clearAllHandlers, METH_VARARGS },
12775 { (char *)"OtkEventDispatcher_registerHandler", _wrap_OtkEventDispatcher_registerHandler, METH_VARARGS },
12776 { (char *)"OtkEventDispatcher_clearHandler", _wrap_OtkEventDispatcher_clearHandler, METH_VARARGS },
12777 { (char *)"OtkEventDispatcher_dispatchEvents", _wrap_OtkEventDispatcher_dispatchEvents, METH_VARARGS },
12778 { (char *)"OtkEventDispatcher_setFallbackHandler", _wrap_OtkEventDispatcher_setFallbackHandler, METH_VARARGS },
12779 { (char *)"OtkEventDispatcher_getFallbackHandler", _wrap_OtkEventDispatcher_getFallbackHandler, METH_VARARGS },
12780 { (char *)"OtkEventDispatcher_setMasterHandler", _wrap_OtkEventDispatcher_setMasterHandler, METH_VARARGS },
12781 { (char *)"OtkEventDispatcher_getMasterHandler", _wrap_OtkEventDispatcher_getMasterHandler, METH_VARARGS },
12782 { (char *)"OtkEventDispatcher_findHandler", _wrap_OtkEventDispatcher_findHandler, METH_VARARGS },
12783 { (char *)"OtkEventDispatcher_lastTime", _wrap_OtkEventDispatcher_lastTime, METH_VARARGS },
12784 { (char *)"OtkEventDispatcher_swigregister", OtkEventDispatcher_swigregister, METH_VARARGS },
12785 { (char *)"OtkEventHandler_handle", _wrap_OtkEventHandler_handle, METH_VARARGS },
12786 { (char *)"OtkEventHandler_keyPressHandler", _wrap_OtkEventHandler_keyPressHandler, METH_VARARGS },
12787 { (char *)"OtkEventHandler_keyReleaseHandler", _wrap_OtkEventHandler_keyReleaseHandler, METH_VARARGS },
12788 { (char *)"OtkEventHandler_buttonPressHandler", _wrap_OtkEventHandler_buttonPressHandler, METH_VARARGS },
12789 { (char *)"OtkEventHandler_buttonReleaseHandler", _wrap_OtkEventHandler_buttonReleaseHandler, METH_VARARGS },
12790 { (char *)"OtkEventHandler_motionHandler", _wrap_OtkEventHandler_motionHandler, METH_VARARGS },
12791 { (char *)"OtkEventHandler_enterHandler", _wrap_OtkEventHandler_enterHandler, METH_VARARGS },
12792 { (char *)"OtkEventHandler_leaveHandler", _wrap_OtkEventHandler_leaveHandler, METH_VARARGS },
12793 { (char *)"OtkEventHandler_focusHandler", _wrap_OtkEventHandler_focusHandler, METH_VARARGS },
12794 { (char *)"OtkEventHandler_unfocusHandler", _wrap_OtkEventHandler_unfocusHandler, METH_VARARGS },
12795 { (char *)"OtkEventHandler_exposeHandler", _wrap_OtkEventHandler_exposeHandler, METH_VARARGS },
12796 { (char *)"OtkEventHandler_graphicsExposeHandler", _wrap_OtkEventHandler_graphicsExposeHandler, METH_VARARGS },
12797 { (char *)"OtkEventHandler_noExposeEventHandler", _wrap_OtkEventHandler_noExposeEventHandler, METH_VARARGS },
12798 { (char *)"OtkEventHandler_circulateRequestHandler", _wrap_OtkEventHandler_circulateRequestHandler, METH_VARARGS },
12799 { (char *)"OtkEventHandler_configureRequestHandler", _wrap_OtkEventHandler_configureRequestHandler, METH_VARARGS },
12800 { (char *)"OtkEventHandler_mapRequestHandler", _wrap_OtkEventHandler_mapRequestHandler, METH_VARARGS },
12801 { (char *)"OtkEventHandler_resizeRequestHandler", _wrap_OtkEventHandler_resizeRequestHandler, METH_VARARGS },
12802 { (char *)"OtkEventHandler_circulateHandler", _wrap_OtkEventHandler_circulateHandler, METH_VARARGS },
12803 { (char *)"OtkEventHandler_configureHandler", _wrap_OtkEventHandler_configureHandler, METH_VARARGS },
12804 { (char *)"OtkEventHandler_createHandler", _wrap_OtkEventHandler_createHandler, METH_VARARGS },
12805 { (char *)"OtkEventHandler_destroyHandler", _wrap_OtkEventHandler_destroyHandler, METH_VARARGS },
12806 { (char *)"OtkEventHandler_gravityHandler", _wrap_OtkEventHandler_gravityHandler, METH_VARARGS },
12807 { (char *)"OtkEventHandler_mapHandler", _wrap_OtkEventHandler_mapHandler, METH_VARARGS },
12808 { (char *)"OtkEventHandler_mappingHandler", _wrap_OtkEventHandler_mappingHandler, METH_VARARGS },
12809 { (char *)"OtkEventHandler_reparentHandler", _wrap_OtkEventHandler_reparentHandler, METH_VARARGS },
12810 { (char *)"OtkEventHandler_unmapHandler", _wrap_OtkEventHandler_unmapHandler, METH_VARARGS },
12811 { (char *)"OtkEventHandler_visibilityHandler", _wrap_OtkEventHandler_visibilityHandler, METH_VARARGS },
12812 { (char *)"OtkEventHandler_colorMapHandler", _wrap_OtkEventHandler_colorMapHandler, METH_VARARGS },
12813 { (char *)"OtkEventHandler_propertyHandler", _wrap_OtkEventHandler_propertyHandler, METH_VARARGS },
12814 { (char *)"OtkEventHandler_selectionClearHandler", _wrap_OtkEventHandler_selectionClearHandler, METH_VARARGS },
12815 { (char *)"OtkEventHandler_selectionHandler", _wrap_OtkEventHandler_selectionHandler, METH_VARARGS },
12816 { (char *)"OtkEventHandler_selectionRequestHandler", _wrap_OtkEventHandler_selectionRequestHandler, METH_VARARGS },
12817 { (char *)"OtkEventHandler_clientMessageHandler", _wrap_OtkEventHandler_clientMessageHandler, METH_VARARGS },
12818 { (char *)"delete_OtkEventHandler", _wrap_delete_OtkEventHandler, METH_VARARGS },
12819 { (char *)"OtkEventHandler_swigregister", OtkEventHandler_swigregister, METH_VARARGS },
12820 { (char *)"new_OtkWidget", _wrap_new_OtkWidget, METH_VARARGS },
12821 { (char *)"delete_OtkWidget", _wrap_delete_OtkWidget, METH_VARARGS },
12822 { (char *)"OtkWidget_update", _wrap_OtkWidget_update, METH_VARARGS },
12823 { (char *)"OtkWidget_exposeHandler", _wrap_OtkWidget_exposeHandler, METH_VARARGS },
12824 { (char *)"OtkWidget_configureHandler", _wrap_OtkWidget_configureHandler, METH_VARARGS },
12825 { (char *)"OtkWidget_window", _wrap_OtkWidget_window, METH_VARARGS },
12826 { (char *)"OtkWidget_parent", _wrap_OtkWidget_parent, METH_VARARGS },
12827 { (char *)"OtkWidget_children", _wrap_OtkWidget_children, METH_VARARGS },
12828 { (char *)"OtkWidget_screen", _wrap_OtkWidget_screen, METH_VARARGS },
12829 { (char *)"OtkWidget_rect", _wrap_OtkWidget_rect, METH_VARARGS },
12830 { (char *)"OtkWidget_move", _wrap_OtkWidget_move, METH_VARARGS },
12831 { (char *)"OtkWidget_setWidth", _wrap_OtkWidget_setWidth, METH_VARARGS },
12832 { (char *)"OtkWidget_setHeight", _wrap_OtkWidget_setHeight, METH_VARARGS },
12833 { (char *)"OtkWidget_width", _wrap_OtkWidget_width, METH_VARARGS },
12834 { (char *)"OtkWidget_height", _wrap_OtkWidget_height, METH_VARARGS },
12835 { (char *)"OtkWidget_resize", _wrap_OtkWidget_resize, METH_VARARGS },
12836 { (char *)"OtkWidget_setGeometry", _wrap_OtkWidget_setGeometry, METH_VARARGS },
12837 { (char *)"OtkWidget_isVisible", _wrap_OtkWidget_isVisible, METH_VARARGS },
12838 { (char *)"OtkWidget_show", _wrap_OtkWidget_show, METH_VARARGS },
12839 { (char *)"OtkWidget_hide", _wrap_OtkWidget_hide, METH_VARARGS },
12840 { (char *)"OtkWidget_isFocused", _wrap_OtkWidget_isFocused, METH_VARARGS },
12841 { (char *)"OtkWidget_focus", _wrap_OtkWidget_focus, METH_VARARGS },
12842 { (char *)"OtkWidget_unfocus", _wrap_OtkWidget_unfocus, METH_VARARGS },
12843 { (char *)"OtkWidget_hasGrabbedMouse", _wrap_OtkWidget_hasGrabbedMouse, METH_VARARGS },
12844 { (char *)"OtkWidget_grabMouse", _wrap_OtkWidget_grabMouse, METH_VARARGS },
12845 { (char *)"OtkWidget_ungrabMouse", _wrap_OtkWidget_ungrabMouse, METH_VARARGS },
12846 { (char *)"OtkWidget_hasGrabbedKeyboard", _wrap_OtkWidget_hasGrabbedKeyboard, METH_VARARGS },
12847 { (char *)"OtkWidget_grabKeyboard", _wrap_OtkWidget_grabKeyboard, METH_VARARGS },
12848 { (char *)"OtkWidget_ungrabKeyboard", _wrap_OtkWidget_ungrabKeyboard, METH_VARARGS },
12849 { (char *)"OtkWidget_texture", _wrap_OtkWidget_texture, METH_VARARGS },
12850 { (char *)"OtkWidget_setTexture", _wrap_OtkWidget_setTexture, METH_VARARGS },
12851 { (char *)"OtkWidget_borderColor", _wrap_OtkWidget_borderColor, METH_VARARGS },
12852 { (char *)"OtkWidget_setBorderColor", _wrap_OtkWidget_setBorderColor, METH_VARARGS },
12853 { (char *)"OtkWidget_borderWidth", _wrap_OtkWidget_borderWidth, METH_VARARGS },
12854 { (char *)"OtkWidget_setBorderWidth", _wrap_OtkWidget_setBorderWidth, METH_VARARGS },
12855 { (char *)"OtkWidget_addChild", _wrap_OtkWidget_addChild, METH_VARARGS },
12856 { (char *)"OtkWidget_removeChild", _wrap_OtkWidget_removeChild, METH_VARARGS },
12857 { (char *)"OtkWidget_isStretchableHorz", _wrap_OtkWidget_isStretchableHorz, METH_VARARGS },
12858 { (char *)"OtkWidget_setStretchableHorz", _wrap_OtkWidget_setStretchableHorz, METH_VARARGS },
12859 { (char *)"OtkWidget_isStretchableVert", _wrap_OtkWidget_isStretchableVert, METH_VARARGS },
12860 { (char *)"OtkWidget_setStretchableVert", _wrap_OtkWidget_setStretchableVert, METH_VARARGS },
12861 { (char *)"OtkWidget_cursor", _wrap_OtkWidget_cursor, METH_VARARGS },
12862 { (char *)"OtkWidget_setCursor", _wrap_OtkWidget_setCursor, METH_VARARGS },
12863 { (char *)"OtkWidget_bevelWidth", _wrap_OtkWidget_bevelWidth, METH_VARARGS },
12864 { (char *)"OtkWidget_setBevelWidth", _wrap_OtkWidget_setBevelWidth, METH_VARARGS },
12865 { (char *)"OtkWidget_direction", _wrap_OtkWidget_direction, METH_VARARGS },
12866 { (char *)"OtkWidget_setDirection", _wrap_OtkWidget_setDirection, METH_VARARGS },
12867 { (char *)"OtkWidget_style", _wrap_OtkWidget_style, METH_VARARGS },
12868 { (char *)"OtkWidget_setStyle", _wrap_OtkWidget_setStyle, METH_VARARGS },
12869 { (char *)"OtkWidget_eventDispatcher", _wrap_OtkWidget_eventDispatcher, METH_VARARGS },
12870 { (char *)"OtkWidget_setEventDispatcher", _wrap_OtkWidget_setEventDispatcher, METH_VARARGS },
12871 { (char *)"OtkWidget_swigregister", OtkWidget_swigregister, METH_VARARGS },
12872 { (char *)"new_OtkFocusWidget", _wrap_new_OtkFocusWidget, METH_VARARGS },
12873 { (char *)"delete_OtkFocusWidget", _wrap_delete_OtkFocusWidget, METH_VARARGS },
12874 { (char *)"OtkFocusWidget_focus", _wrap_OtkFocusWidget_focus, METH_VARARGS },
12875 { (char *)"OtkFocusWidget_unfocus", _wrap_OtkFocusWidget_unfocus, METH_VARARGS },
12876 { (char *)"OtkFocusWidget_setTexture", _wrap_OtkFocusWidget_setTexture, METH_VARARGS },
12877 { (char *)"OtkFocusWidget_setBorderColor", _wrap_OtkFocusWidget_setBorderColor, METH_VARARGS },
12878 { (char *)"OtkFocusWidget_setUnfocusTexture", _wrap_OtkFocusWidget_setUnfocusTexture, METH_VARARGS },
12879 { (char *)"OtkFocusWidget_getUnfocusTexture", _wrap_OtkFocusWidget_getUnfocusTexture, METH_VARARGS },
12880 { (char *)"OtkFocusWidget_setUnfocusBorderColor", _wrap_OtkFocusWidget_setUnfocusBorderColor, METH_VARARGS },
12881 { (char *)"OtkFocusWidget_getUnfocusBorderColor", _wrap_OtkFocusWidget_getUnfocusBorderColor, METH_VARARGS },
12882 { (char *)"OtkFocusWidget_isFocused", _wrap_OtkFocusWidget_isFocused, METH_VARARGS },
12883 { (char *)"OtkFocusWidget_isUnfocused", _wrap_OtkFocusWidget_isUnfocused, METH_VARARGS },
12884 { (char *)"OtkFocusWidget_swigregister", OtkFocusWidget_swigregister, METH_VARARGS },
12885 { (char *)"new_OtkFocusLabel", _wrap_new_OtkFocusLabel, METH_VARARGS },
12886 { (char *)"delete_OtkFocusLabel", _wrap_delete_OtkFocusLabel, METH_VARARGS },
12887 { (char *)"OtkFocusLabel_getText", _wrap_OtkFocusLabel_getText, METH_VARARGS },
12888 { (char *)"OtkFocusLabel_setText", _wrap_OtkFocusLabel_setText, METH_VARARGS },
12889 { (char *)"OtkFocusLabel_update", _wrap_OtkFocusLabel_update, METH_VARARGS },
12890 { (char *)"OtkFocusLabel_setStyle", _wrap_OtkFocusLabel_setStyle, METH_VARARGS },
12891 { (char *)"OtkFocusLabel_swigregister", OtkFocusLabel_swigregister, METH_VARARGS },
12892 { (char *)"new_OtkAppWidget", _wrap_new_OtkAppWidget, METH_VARARGS },
12893 { (char *)"delete_OtkAppWidget", _wrap_delete_OtkAppWidget, METH_VARARGS },
12894 { (char *)"OtkAppWidget_show", _wrap_OtkAppWidget_show, METH_VARARGS },
12895 { (char *)"OtkAppWidget_hide", _wrap_OtkAppWidget_hide, METH_VARARGS },
12896 { (char *)"OtkAppWidget_clientMessageHandler", _wrap_OtkAppWidget_clientMessageHandler, METH_VARARGS },
12897 { (char *)"OtkAppWidget_swigregister", OtkAppWidget_swigregister, METH_VARARGS },
12898 { (char *)"new_OtkApplication", _wrap_new_OtkApplication, METH_VARARGS },
12899 { (char *)"delete_OtkApplication", _wrap_delete_OtkApplication, METH_VARARGS },
12900 { (char *)"OtkApplication_run", _wrap_OtkApplication_run, METH_VARARGS },
12901 { (char *)"OtkApplication_setDockable", _wrap_OtkApplication_setDockable, METH_VARARGS },
12902 { (char *)"OtkApplication_isDockable", _wrap_OtkApplication_isDockable, METH_VARARGS },
12903 { (char *)"OtkApplication_getStyle", _wrap_OtkApplication_getStyle, METH_VARARGS },
12904 { (char *)"OtkApplication_swigregister", OtkApplication_swigregister, METH_VARARGS },
12905 { (char *)"new_PointerAssassin", _wrap_new_PointerAssassin, METH_VARARGS },
12906 { (char *)"delete_PointerAssassin", _wrap_delete_PointerAssassin, METH_VARARGS },
12907 { (char *)"PointerAssassin_swigregister", PointerAssassin_swigregister, METH_VARARGS },
12908 { (char *)"new_OtkButton", _wrap_new_OtkButton, METH_VARARGS },
12909 { (char *)"delete_OtkButton", _wrap_delete_OtkButton, METH_VARARGS },
12910 { (char *)"OtkButton_getPressedFocusTexture", _wrap_OtkButton_getPressedFocusTexture, METH_VARARGS },
12911 { (char *)"OtkButton_setPressedFocusTexture", _wrap_OtkButton_setPressedFocusTexture, METH_VARARGS },
12912 { (char *)"OtkButton_getPressedUnfocusTexture", _wrap_OtkButton_getPressedUnfocusTexture, METH_VARARGS },
12913 { (char *)"OtkButton_setPressedUnfocusTexture", _wrap_OtkButton_setPressedUnfocusTexture, METH_VARARGS },
12914 { (char *)"OtkButton_setTexture", _wrap_OtkButton_setTexture, METH_VARARGS },
12915 { (char *)"OtkButton_setUnfocusTexture", _wrap_OtkButton_setUnfocusTexture, METH_VARARGS },
12916 { (char *)"OtkButton_isPressed", _wrap_OtkButton_isPressed, METH_VARARGS },
12917 { (char *)"OtkButton_press", _wrap_OtkButton_press, METH_VARARGS },
12918 { (char *)"OtkButton_release", _wrap_OtkButton_release, METH_VARARGS },
12919 { (char *)"OtkButton_buttonPressHandler", _wrap_OtkButton_buttonPressHandler, METH_VARARGS },
12920 { (char *)"OtkButton_buttonReleaseHandler", _wrap_OtkButton_buttonReleaseHandler, METH_VARARGS },
12921 { (char *)"OtkButton_setStyle", _wrap_OtkButton_setStyle, METH_VARARGS },
12922 { (char *)"OtkButton_swigregister", OtkButton_swigregister, METH_VARARGS },
12923 { (char *)"new_BColor", _wrap_new_BColor, METH_VARARGS },
12924 { (char *)"delete_BColor", _wrap_delete_BColor, METH_VARARGS },
12925 { (char *)"BColor_name", _wrap_BColor_name, METH_VARARGS },
12926 { (char *)"BColor_red", _wrap_BColor_red, METH_VARARGS },
12927 { (char *)"BColor_green", _wrap_BColor_green, METH_VARARGS },
12928 { (char *)"BColor_blue", _wrap_BColor_blue, METH_VARARGS },
12929 { (char *)"BColor_setRGB", _wrap_BColor_setRGB, METH_VARARGS },
12930 { (char *)"BColor_screen", _wrap_BColor_screen, METH_VARARGS },
12931 { (char *)"BColor_setScreen", _wrap_BColor_setScreen, METH_VARARGS },
12932 { (char *)"BColor_isAllocated", _wrap_BColor_isAllocated, METH_VARARGS },
12933 { (char *)"BColor_isValid", _wrap_BColor_isValid, METH_VARARGS },
12934 { (char *)"BColor_pixel", _wrap_BColor_pixel, METH_VARARGS },
12935 { (char *)"BColor_equals", _wrap_BColor_equals, METH_VARARGS },
12936 { (char *)"BColor_cleanupColorCache", _wrap_BColor_cleanupColorCache, METH_VARARGS },
12937 { (char *)"BColor_swigregister", BColor_swigregister, METH_VARARGS },
12938 { (char *)"new_Configuration", _wrap_new_Configuration, METH_VARARGS },
12939 { (char *)"delete_Configuration", _wrap_delete_Configuration, METH_VARARGS },
12940 { (char *)"Configuration_file", _wrap_Configuration_file, METH_VARARGS },
12941 { (char *)"Configuration_setFile", _wrap_Configuration_setFile, METH_VARARGS },
12942 { (char *)"Configuration_autoSave", _wrap_Configuration_autoSave, METH_VARARGS },
12943 { (char *)"Configuration_setAutoSave", _wrap_Configuration_setAutoSave, METH_VARARGS },
12944 { (char *)"Configuration_isModified", _wrap_Configuration_isModified, METH_VARARGS },
12945 { (char *)"Configuration_save", _wrap_Configuration_save, METH_VARARGS },
12946 { (char *)"Configuration_load", _wrap_Configuration_load, METH_VARARGS },
12947 { (char *)"Configuration_merge", _wrap_Configuration_merge, METH_VARARGS },
12948 { (char *)"Configuration_create", _wrap_Configuration_create, METH_VARARGS },
12949 { (char *)"Configuration_setValue_bool", _wrap_Configuration_setValue_bool, METH_VARARGS },
12950 { (char *)"Configuration_setValue", _wrap_Configuration_setValue, METH_VARARGS },
12951 { (char *)"Configuration_setValue_unsigned", _wrap_Configuration_setValue_unsigned, METH_VARARGS },
12952 { (char *)"Configuration_setValue_long", _wrap_Configuration_setValue_long, METH_VARARGS },
12953 { (char *)"Configuration_setValue_unsignedlong", _wrap_Configuration_setValue_unsignedlong, METH_VARARGS },
12954 { (char *)"Configuration_setValue_string", _wrap_Configuration_setValue_string, METH_VARARGS },
12955 { (char *)"Configuration_setValue_charptr", _wrap_Configuration_setValue_charptr, METH_VARARGS },
12956 { (char *)"Configuration_getValue", _wrap_Configuration_getValue, METH_VARARGS },
12957 { (char *)"Configuration_swigregister", Configuration_swigregister, METH_VARARGS },
12958 { (char *)"OBDisplay_initialize", _wrap_OBDisplay_initialize, METH_VARARGS },
12959 { (char *)"OBDisplay_destroy", _wrap_OBDisplay_destroy, METH_VARARGS },
12960 { (char *)"OBDisplay_gcCache", _wrap_OBDisplay_gcCache, METH_VARARGS },
12961 { (char *)"OBDisplay_screenInfo", _wrap_OBDisplay_screenInfo, METH_VARARGS },
12962 { (char *)"OBDisplay_findScreen", _wrap_OBDisplay_findScreen, METH_VARARGS },
12963 { (char *)"OBDisplay_shape", _wrap_OBDisplay_shape, METH_VARARGS },
12964 { (char *)"OBDisplay_shapeEventBase", _wrap_OBDisplay_shapeEventBase, METH_VARARGS },
12965 { (char *)"OBDisplay_xinerama", _wrap_OBDisplay_xinerama, METH_VARARGS },
12966 { (char *)"OBDisplay_numLockMask", _wrap_OBDisplay_numLockMask, METH_VARARGS },
12967 { (char *)"OBDisplay_scrollLockMask", _wrap_OBDisplay_scrollLockMask, METH_VARARGS },
12968 { (char *)"OBDisplay_grab", _wrap_OBDisplay_grab, METH_VARARGS },
12969 { (char *)"OBDisplay_ungrab", _wrap_OBDisplay_ungrab, METH_VARARGS },
12970 { (char *)"OBDisplay_grabButton", _wrap_OBDisplay_grabButton, METH_VARARGS },
12971 { (char *)"OBDisplay_ungrabButton", _wrap_OBDisplay_ungrabButton, METH_VARARGS },
12972 { (char *)"OBDisplay_grabKey", _wrap_OBDisplay_grabKey, METH_VARARGS },
12973 { (char *)"OBDisplay_ungrabKey", _wrap_OBDisplay_ungrabKey, METH_VARARGS },
12974 { (char *)"delete_OBDisplay", _wrap_delete_OBDisplay, METH_VARARGS },
12975 { (char *)"OBDisplay_swigregister", OBDisplay_swigregister, METH_VARARGS },
12976 { (char *)"BFont_fallbackFont", _wrap_BFont_fallbackFont, METH_VARARGS },
12977 { (char *)"BFont_setFallbackFont", _wrap_BFont_setFallbackFont, METH_VARARGS },
12978 { (char *)"new_BFont", _wrap_new_BFont, METH_VARARGS },
12979 { (char *)"delete_BFont", _wrap_delete_BFont, METH_VARARGS },
12980 { (char *)"BFont_fontstring", _wrap_BFont_fontstring, METH_VARARGS },
12981 { (char *)"BFont_height", _wrap_BFont_height, METH_VARARGS },
12982 { (char *)"BFont_maxCharWidth", _wrap_BFont_maxCharWidth, METH_VARARGS },
12983 { (char *)"BFont_measureString", _wrap_BFont_measureString, METH_VARARGS },
12984 { (char *)"BFont_drawString", _wrap_BFont_drawString, METH_VARARGS },
12985 { (char *)"BFont_swigregister", BFont_swigregister, METH_VARARGS },
12986 { (char *)"BGCCacheContext_set", _wrap_BGCCacheContext_set, METH_VARARGS },
12987 { (char *)"delete_BGCCacheContext", _wrap_delete_BGCCacheContext, METH_VARARGS },
12988 { (char *)"BGCCacheContext_swigregister", BGCCacheContext_swigregister, METH_VARARGS },
12989 { (char *)"BGCCacheItem_gc", _wrap_BGCCacheItem_gc, METH_VARARGS },
12990 { (char *)"delete_BGCCacheItem", _wrap_delete_BGCCacheItem, METH_VARARGS },
12991 { (char *)"BGCCacheItem_swigregister", BGCCacheItem_swigregister, METH_VARARGS },
12992 { (char *)"new_BGCCache", _wrap_new_BGCCache, METH_VARARGS },
12993 { (char *)"delete_BGCCache", _wrap_delete_BGCCache, METH_VARARGS },
12994 { (char *)"BGCCache_purge", _wrap_BGCCache_purge, METH_VARARGS },
12995 { (char *)"BGCCache_find", _wrap_BGCCache_find, METH_VARARGS },
12996 { (char *)"BGCCache_release", _wrap_BGCCache_release, METH_VARARGS },
12997 { (char *)"BGCCache_swigregister", BGCCache_swigregister, METH_VARARGS },
12998 { (char *)"new_BPen", _wrap_new_BPen, METH_VARARGS },
12999 { (char *)"delete_BPen", _wrap_delete_BPen, METH_VARARGS },
13000 { (char *)"BPen_gc", _wrap_BPen_gc, METH_VARARGS },
13001 { (char *)"BPen_swigregister", BPen_swigregister, METH_VARARGS },
13002 { (char *)"new_BImage", _wrap_new_BImage, METH_VARARGS },
13003 { (char *)"delete_BImage", _wrap_delete_BImage, METH_VARARGS },
13004 { (char *)"BImage_render", _wrap_BImage_render, METH_VARARGS },
13005 { (char *)"BImage_swigregister", BImage_swigregister, METH_VARARGS },
13006 { (char *)"new_BImageControl", _wrap_new_BImageControl, METH_VARARGS },
13007 { (char *)"delete_BImageControl", _wrap_delete_BImageControl, METH_VARARGS },
13008 { (char *)"BImageControl_doDither", _wrap_BImageControl_doDither, METH_VARARGS },
13009 { (char *)"BImageControl_getScreenInfo", _wrap_BImageControl_getScreenInfo, METH_VARARGS },
13010 { (char *)"BImageControl_getDrawable", _wrap_BImageControl_getDrawable, METH_VARARGS },
13011 { (char *)"BImageControl_getVisual", _wrap_BImageControl_getVisual, METH_VARARGS },
13012 { (char *)"BImageControl_getBitsPerPixel", _wrap_BImageControl_getBitsPerPixel, METH_VARARGS },
13013 { (char *)"BImageControl_getDepth", _wrap_BImageControl_getDepth, METH_VARARGS },
13014 { (char *)"BImageControl_getColorsPerChannel", _wrap_BImageControl_getColorsPerChannel, METH_VARARGS },
13015 { (char *)"BImageControl_getSqrt", _wrap_BImageControl_getSqrt, METH_VARARGS },
13016 { (char *)"BImageControl_renderImage", _wrap_BImageControl_renderImage, METH_VARARGS },
13017 { (char *)"BImageControl_installRootColormap", _wrap_BImageControl_installRootColormap, METH_VARARGS },
13018 { (char *)"BImageControl_removeImage", _wrap_BImageControl_removeImage, METH_VARARGS },
13019 { (char *)"BImageControl_getColorTables", _wrap_BImageControl_getColorTables, METH_VARARGS },
13020 { (char *)"BImageControl_getXColorTable", _wrap_BImageControl_getXColorTable, METH_VARARGS },
13021 { (char *)"BImageControl_getGradientBuffers", _wrap_BImageControl_getGradientBuffers, METH_VARARGS },
13022 { (char *)"BImageControl_setDither", _wrap_BImageControl_setDither, METH_VARARGS },
13023 { (char *)"BImageControl_setColorsPerChannel", _wrap_BImageControl_setColorsPerChannel, METH_VARARGS },
13024 { (char *)"BImageControl_timeout", _wrap_BImageControl_timeout, METH_VARARGS },
13025 { (char *)"BImageControl_swigregister", BImageControl_swigregister, METH_VARARGS },
13026 { (char *)"new_Point", _wrap_new_Point, METH_VARARGS },
13027 { (char *)"Point_setX", _wrap_Point_setX, METH_VARARGS },
13028 { (char *)"Point_x", _wrap_Point_x, METH_VARARGS },
13029 { (char *)"Point_setY", _wrap_Point_setY, METH_VARARGS },
13030 { (char *)"Point_y", _wrap_Point_y, METH_VARARGS },
13031 { (char *)"Point_setPoint", _wrap_Point_setPoint, METH_VARARGS },
13032 { (char *)"delete_Point", _wrap_delete_Point, METH_VARARGS },
13033 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
13034 { (char *)"new_OBProperty", _wrap_new_OBProperty, METH_VARARGS },
13035 { (char *)"delete_OBProperty", _wrap_delete_OBProperty, METH_VARARGS },
13036 { (char *)"OBProperty_set", _wrap_OBProperty_set, METH_VARARGS },
13037 { (char *)"OBProperty_get", _wrap_OBProperty_get, METH_VARARGS },
13038 { (char *)"OBProperty_erase", _wrap_OBProperty_erase, METH_VARARGS },
13039 { (char *)"OBProperty_atom", _wrap_OBProperty_atom, METH_VARARGS },
13040 { (char *)"OBProperty_swigregister", OBProperty_swigregister, METH_VARARGS },
13041 { (char *)"new_Rect", _wrap_new_Rect, METH_VARARGS },
13042 { (char *)"Rect_left", _wrap_Rect_left, METH_VARARGS },
13043 { (char *)"Rect_top", _wrap_Rect_top, METH_VARARGS },
13044 { (char *)"Rect_right", _wrap_Rect_right, METH_VARARGS },
13045 { (char *)"Rect_bottom", _wrap_Rect_bottom, METH_VARARGS },
13046 { (char *)"Rect_x", _wrap_Rect_x, METH_VARARGS },
13047 { (char *)"Rect_y", _wrap_Rect_y, METH_VARARGS },
13048 { (char *)"Rect_location", _wrap_Rect_location, METH_VARARGS },
13049 { (char *)"Rect_setX", _wrap_Rect_setX, METH_VARARGS },
13050 { (char *)"Rect_setY", _wrap_Rect_setY, METH_VARARGS },
13051 { (char *)"Rect_setPos", _wrap_Rect_setPos, METH_VARARGS },
13052 { (char *)"Rect_width", _wrap_Rect_width, METH_VARARGS },
13053 { (char *)"Rect_height", _wrap_Rect_height, METH_VARARGS },
13054 { (char *)"Rect_size", _wrap_Rect_size, METH_VARARGS },
13055 { (char *)"Rect_setWidth", _wrap_Rect_setWidth, METH_VARARGS },
13056 { (char *)"Rect_setHeight", _wrap_Rect_setHeight, METH_VARARGS },
13057 { (char *)"Rect_setSize", _wrap_Rect_setSize, METH_VARARGS },
13058 { (char *)"Rect_setRect", _wrap_Rect_setRect, METH_VARARGS },
13059 { (char *)"Rect_setCoords", _wrap_Rect_setCoords, METH_VARARGS },
13060 { (char *)"Rect_equals", _wrap_Rect_equals, METH_VARARGS },
13061 { (char *)"Rect_valid", _wrap_Rect_valid, METH_VARARGS },
13062 { (char *)"Rect_intersects", _wrap_Rect_intersects, METH_VARARGS },
13063 { (char *)"Rect_contains", _wrap_Rect_contains, METH_VARARGS },
13064 { (char *)"delete_Rect", _wrap_delete_Rect, METH_VARARGS },
13065 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
13066 { (char *)"new_ScreenInfo", _wrap_new_ScreenInfo, METH_VARARGS },
13067 { (char *)"ScreenInfo_visual", _wrap_ScreenInfo_visual, METH_VARARGS },
13068 { (char *)"ScreenInfo_rootWindow", _wrap_ScreenInfo_rootWindow, METH_VARARGS },
13069 { (char *)"ScreenInfo_colormap", _wrap_ScreenInfo_colormap, METH_VARARGS },
13070 { (char *)"ScreenInfo_depth", _wrap_ScreenInfo_depth, METH_VARARGS },
13071 { (char *)"ScreenInfo_screen", _wrap_ScreenInfo_screen, METH_VARARGS },
13072 { (char *)"ScreenInfo_rect", _wrap_ScreenInfo_rect, METH_VARARGS },
13073 { (char *)"ScreenInfo_width", _wrap_ScreenInfo_width, METH_VARARGS },
13074 { (char *)"ScreenInfo_height", _wrap_ScreenInfo_height, METH_VARARGS },
13075 { (char *)"ScreenInfo_displayString", _wrap_ScreenInfo_displayString, METH_VARARGS },
13076 { (char *)"delete_ScreenInfo", _wrap_delete_ScreenInfo, METH_VARARGS },
13077 { (char *)"ScreenInfo_swigregister", ScreenInfo_swigregister, METH_VARARGS },
13078 { (char *)"Strut_top_set", _wrap_Strut_top_set, METH_VARARGS },
13079 { (char *)"Strut_top_get", _wrap_Strut_top_get, METH_VARARGS },
13080 { (char *)"Strut_bottom_set", _wrap_Strut_bottom_set, METH_VARARGS },
13081 { (char *)"Strut_bottom_get", _wrap_Strut_bottom_get, METH_VARARGS },
13082 { (char *)"Strut_left_set", _wrap_Strut_left_set, METH_VARARGS },
13083 { (char *)"Strut_left_get", _wrap_Strut_left_get, METH_VARARGS },
13084 { (char *)"Strut_right_set", _wrap_Strut_right_set, METH_VARARGS },
13085 { (char *)"Strut_right_get", _wrap_Strut_right_get, METH_VARARGS },
13086 { (char *)"new_Strut", _wrap_new_Strut, METH_VARARGS },
13087 { (char *)"delete_Strut", _wrap_delete_Strut, METH_VARARGS },
13088 { (char *)"Strut_swigregister", Strut_swigregister, METH_VARARGS },
13089 { (char *)"PixmapMask_mask_set", _wrap_PixmapMask_mask_set, METH_VARARGS },
13090 { (char *)"PixmapMask_mask_get", _wrap_PixmapMask_mask_get, METH_VARARGS },
13091 { (char *)"PixmapMask_w_set", _wrap_PixmapMask_w_set, METH_VARARGS },
13092 { (char *)"PixmapMask_w_get", _wrap_PixmapMask_w_get, METH_VARARGS },
13093 { (char *)"PixmapMask_h_set", _wrap_PixmapMask_h_set, METH_VARARGS },
13094 { (char *)"PixmapMask_h_get", _wrap_PixmapMask_h_get, METH_VARARGS },
13095 { (char *)"new_PixmapMask", _wrap_new_PixmapMask, METH_VARARGS },
13096 { (char *)"delete_PixmapMask", _wrap_delete_PixmapMask, METH_VARARGS },
13097 { (char *)"PixmapMask_swigregister", PixmapMask_swigregister, METH_VARARGS },
13098 { (char *)"Style_image_control_set", _wrap_Style_image_control_set, METH_VARARGS },
13099 { (char *)"Style_image_control_get", _wrap_Style_image_control_get, METH_VARARGS },
13100 { (char *)"Style_l_text_focus_set", _wrap_Style_l_text_focus_set, METH_VARARGS },
13101 { (char *)"Style_l_text_focus_get", _wrap_Style_l_text_focus_get, METH_VARARGS },
13102 { (char *)"Style_l_text_unfocus_set", _wrap_Style_l_text_unfocus_set, METH_VARARGS },
13103 { (char *)"Style_l_text_unfocus_get", _wrap_Style_l_text_unfocus_get, METH_VARARGS },
13104 { (char *)"Style_b_pic_focus_set", _wrap_Style_b_pic_focus_set, METH_VARARGS },
13105 { (char *)"Style_b_pic_focus_get", _wrap_Style_b_pic_focus_get, METH_VARARGS },
13106 { (char *)"Style_b_pic_unfocus_set", _wrap_Style_b_pic_unfocus_set, METH_VARARGS },
13107 { (char *)"Style_b_pic_unfocus_get", _wrap_Style_b_pic_unfocus_get, METH_VARARGS },
13108 { (char *)"Style_border_color_set", _wrap_Style_border_color_set, METH_VARARGS },
13109 { (char *)"Style_border_color_get", _wrap_Style_border_color_get, METH_VARARGS },
13110 { (char *)"Style_font_set", _wrap_Style_font_set, METH_VARARGS },
13111 { (char *)"Style_font_get", _wrap_Style_font_get, METH_VARARGS },
13112 { (char *)"Style_f_focus_set", _wrap_Style_f_focus_set, METH_VARARGS },
13113 { (char *)"Style_f_focus_get", _wrap_Style_f_focus_get, METH_VARARGS },
13114 { (char *)"Style_f_unfocus_set", _wrap_Style_f_unfocus_set, METH_VARARGS },
13115 { (char *)"Style_f_unfocus_get", _wrap_Style_f_unfocus_get, METH_VARARGS },
13116 { (char *)"Style_t_focus_set", _wrap_Style_t_focus_set, METH_VARARGS },
13117 { (char *)"Style_t_focus_get", _wrap_Style_t_focus_get, METH_VARARGS },
13118 { (char *)"Style_t_unfocus_set", _wrap_Style_t_unfocus_set, METH_VARARGS },
13119 { (char *)"Style_t_unfocus_get", _wrap_Style_t_unfocus_get, METH_VARARGS },
13120 { (char *)"Style_l_focus_set", _wrap_Style_l_focus_set, METH_VARARGS },
13121 { (char *)"Style_l_focus_get", _wrap_Style_l_focus_get, METH_VARARGS },
13122 { (char *)"Style_l_unfocus_set", _wrap_Style_l_unfocus_set, METH_VARARGS },
13123 { (char *)"Style_l_unfocus_get", _wrap_Style_l_unfocus_get, METH_VARARGS },
13124 { (char *)"Style_h_focus_set", _wrap_Style_h_focus_set, METH_VARARGS },
13125 { (char *)"Style_h_focus_get", _wrap_Style_h_focus_get, METH_VARARGS },
13126 { (char *)"Style_h_unfocus_set", _wrap_Style_h_unfocus_set, METH_VARARGS },
13127 { (char *)"Style_h_unfocus_get", _wrap_Style_h_unfocus_get, METH_VARARGS },
13128 { (char *)"Style_b_focus_set", _wrap_Style_b_focus_set, METH_VARARGS },
13129 { (char *)"Style_b_focus_get", _wrap_Style_b_focus_get, METH_VARARGS },
13130 { (char *)"Style_b_unfocus_set", _wrap_Style_b_unfocus_set, METH_VARARGS },
13131 { (char *)"Style_b_unfocus_get", _wrap_Style_b_unfocus_get, METH_VARARGS },
13132 { (char *)"Style_b_pressed_focus_set", _wrap_Style_b_pressed_focus_set, METH_VARARGS },
13133 { (char *)"Style_b_pressed_focus_get", _wrap_Style_b_pressed_focus_get, METH_VARARGS },
13134 { (char *)"Style_b_pressed_unfocus_set", _wrap_Style_b_pressed_unfocus_set, METH_VARARGS },
13135 { (char *)"Style_b_pressed_unfocus_get", _wrap_Style_b_pressed_unfocus_get, METH_VARARGS },
13136 { (char *)"Style_g_focus_set", _wrap_Style_g_focus_set, METH_VARARGS },
13137 { (char *)"Style_g_focus_get", _wrap_Style_g_focus_get, METH_VARARGS },
13138 { (char *)"Style_g_unfocus_set", _wrap_Style_g_unfocus_set, METH_VARARGS },
13139 { (char *)"Style_g_unfocus_get", _wrap_Style_g_unfocus_get, METH_VARARGS },
13140 { (char *)"Style_close_button_set", _wrap_Style_close_button_set, METH_VARARGS },
13141 { (char *)"Style_close_button_get", _wrap_Style_close_button_get, METH_VARARGS },
13142 { (char *)"Style_max_button_set", _wrap_Style_max_button_set, METH_VARARGS },
13143 { (char *)"Style_max_button_get", _wrap_Style_max_button_get, METH_VARARGS },
13144 { (char *)"Style_icon_button_set", _wrap_Style_icon_button_set, METH_VARARGS },
13145 { (char *)"Style_icon_button_get", _wrap_Style_icon_button_get, METH_VARARGS },
13146 { (char *)"Style_stick_button_set", _wrap_Style_stick_button_set, METH_VARARGS },
13147 { (char *)"Style_stick_button_get", _wrap_Style_stick_button_get, METH_VARARGS },
13148 { (char *)"Style_justify_set", _wrap_Style_justify_set, METH_VARARGS },
13149 { (char *)"Style_justify_get", _wrap_Style_justify_get, METH_VARARGS },
13150 { (char *)"Style_bullet_type_set", _wrap_Style_bullet_type_set, METH_VARARGS },
13151 { (char *)"Style_bullet_type_get", _wrap_Style_bullet_type_get, METH_VARARGS },
13152 { (char *)"Style_handle_width_set", _wrap_Style_handle_width_set, METH_VARARGS },
13153 { (char *)"Style_handle_width_get", _wrap_Style_handle_width_get, METH_VARARGS },
13154 { (char *)"Style_bevel_width_set", _wrap_Style_bevel_width_set, METH_VARARGS },
13155 { (char *)"Style_bevel_width_get", _wrap_Style_bevel_width_get, METH_VARARGS },
13156 { (char *)"Style_frame_width_set", _wrap_Style_frame_width_set, METH_VARARGS },
13157 { (char *)"Style_frame_width_get", _wrap_Style_frame_width_get, METH_VARARGS },
13158 { (char *)"Style_border_width_set", _wrap_Style_border_width_set, METH_VARARGS },
13159 { (char *)"Style_border_width_get", _wrap_Style_border_width_get, METH_VARARGS },
13160 { (char *)"Style_screen_number_set", _wrap_Style_screen_number_set, METH_VARARGS },
13161 { (char *)"Style_screen_number_get", _wrap_Style_screen_number_get, METH_VARARGS },
13162 { (char *)"Style_shadow_fonts_set", _wrap_Style_shadow_fonts_set, METH_VARARGS },
13163 { (char *)"Style_shadow_fonts_get", _wrap_Style_shadow_fonts_get, METH_VARARGS },
13164 { (char *)"Style_aa_fonts_set", _wrap_Style_aa_fonts_set, METH_VARARGS },
13165 { (char *)"Style_aa_fonts_get", _wrap_Style_aa_fonts_get, METH_VARARGS },
13166 { (char *)"new_Style", _wrap_new_Style, METH_VARARGS },
13167 { (char *)"delete_Style", _wrap_delete_Style, METH_VARARGS },
13168 { (char *)"Style_readDatabaseMask", _wrap_Style_readDatabaseMask, METH_VARARGS },
13169 { (char *)"Style_readDatabaseTexture", _wrap_Style_readDatabaseTexture, METH_VARARGS },
13170 { (char *)"Style_readDatabaseColor", _wrap_Style_readDatabaseColor, METH_VARARGS },
13171 { (char *)"Style_readDatabaseFont", _wrap_Style_readDatabaseFont, METH_VARARGS },
13172 { (char *)"Style_load", _wrap_Style_load, METH_VARARGS },
13173 { (char *)"Style_getCloseButtonMask", _wrap_Style_getCloseButtonMask, METH_VARARGS },
13174 { (char *)"Style_getMaximizeButtonMask", _wrap_Style_getMaximizeButtonMask, METH_VARARGS },
13175 { (char *)"Style_getIconifyButtonMask", _wrap_Style_getIconifyButtonMask, METH_VARARGS },
13176 { (char *)"Style_getStickyButtonMask", _wrap_Style_getStickyButtonMask, METH_VARARGS },
13177 { (char *)"Style_getTextFocus", _wrap_Style_getTextFocus, METH_VARARGS },
13178 { (char *)"Style_getTextUnfocus", _wrap_Style_getTextUnfocus, METH_VARARGS },
13179 { (char *)"Style_getButtonPicFocus", _wrap_Style_getButtonPicFocus, METH_VARARGS },
13180 { (char *)"Style_getButtonPicUnfocus", _wrap_Style_getButtonPicUnfocus, METH_VARARGS },
13181 { (char *)"Style_getTitleFocus", _wrap_Style_getTitleFocus, METH_VARARGS },
13182 { (char *)"Style_getTitleUnfocus", _wrap_Style_getTitleUnfocus, METH_VARARGS },
13183 { (char *)"Style_getLabelFocus", _wrap_Style_getLabelFocus, METH_VARARGS },
13184 { (char *)"Style_getLabelUnfocus", _wrap_Style_getLabelUnfocus, METH_VARARGS },
13185 { (char *)"Style_getHandleFocus", _wrap_Style_getHandleFocus, METH_VARARGS },
13186 { (char *)"Style_getHandleUnfocus", _wrap_Style_getHandleUnfocus, METH_VARARGS },
13187 { (char *)"Style_getButtonFocus", _wrap_Style_getButtonFocus, METH_VARARGS },
13188 { (char *)"Style_getButtonUnfocus", _wrap_Style_getButtonUnfocus, METH_VARARGS },
13189 { (char *)"Style_getButtonPressedFocus", _wrap_Style_getButtonPressedFocus, METH_VARARGS },
13190 { (char *)"Style_getButtonPressedUnfocus", _wrap_Style_getButtonPressedUnfocus, METH_VARARGS },
13191 { (char *)"Style_getGripFocus", _wrap_Style_getGripFocus, METH_VARARGS },
13192 { (char *)"Style_getGripUnfocus", _wrap_Style_getGripUnfocus, METH_VARARGS },
13193 { (char *)"Style_getHandleWidth", _wrap_Style_getHandleWidth, METH_VARARGS },
13194 { (char *)"Style_getBevelWidth", _wrap_Style_getBevelWidth, METH_VARARGS },
13195 { (char *)"Style_getFrameWidth", _wrap_Style_getFrameWidth, METH_VARARGS },
13196 { (char *)"Style_getBorderWidth", _wrap_Style_getBorderWidth, METH_VARARGS },
13197 { (char *)"Style_getFont", _wrap_Style_getFont, METH_VARARGS },
13198 { (char *)"Style_setShadowFonts", _wrap_Style_setShadowFonts, METH_VARARGS },
13199 { (char *)"Style_hasShadowFonts", _wrap_Style_hasShadowFonts, METH_VARARGS },
13200 { (char *)"Style_setAAFonts", _wrap_Style_setAAFonts, METH_VARARGS },
13201 { (char *)"Style_hasAAFonts", _wrap_Style_hasAAFonts, METH_VARARGS },
13202 { (char *)"Style_textJustify", _wrap_Style_textJustify, METH_VARARGS },
13203 { (char *)"Style_bulletType", _wrap_Style_bulletType, METH_VARARGS },
13204 { (char *)"Style_getBorderColor", _wrap_Style_getBorderColor, METH_VARARGS },
13205 { (char *)"Style_getFrameFocus", _wrap_Style_getFrameFocus, METH_VARARGS },
13206 { (char *)"Style_getFrameUnfocus", _wrap_Style_getFrameUnfocus, METH_VARARGS },
13207 { (char *)"Style_setImageControl", _wrap_Style_setImageControl, METH_VARARGS },
13208 { (char *)"Style_getScreen", _wrap_Style_getScreen, METH_VARARGS },
13209 { (char *)"Style_swigregister", Style_swigregister, METH_VARARGS },
13210 { (char *)"new_BTexture", _wrap_new_BTexture, METH_VARARGS },
13211 { (char *)"BTexture_setColor", _wrap_BTexture_setColor, METH_VARARGS },
13212 { (char *)"BTexture_setColorTo", _wrap_BTexture_setColorTo, METH_VARARGS },
13213 { (char *)"BTexture_setBorderColor", _wrap_BTexture_setBorderColor, METH_VARARGS },
13214 { (char *)"BTexture_color", _wrap_BTexture_color, METH_VARARGS },
13215 { (char *)"BTexture_colorTo", _wrap_BTexture_colorTo, METH_VARARGS },
13216 { (char *)"BTexture_lightColor", _wrap_BTexture_lightColor, METH_VARARGS },
13217 { (char *)"BTexture_shadowColor", _wrap_BTexture_shadowColor, METH_VARARGS },
13218 { (char *)"BTexture_borderColor", _wrap_BTexture_borderColor, METH_VARARGS },
13219 { (char *)"BTexture_texture", _wrap_BTexture_texture, METH_VARARGS },
13220 { (char *)"BTexture_setTexture", _wrap_BTexture_setTexture, METH_VARARGS },
13221 { (char *)"BTexture_addTexture", _wrap_BTexture_addTexture, METH_VARARGS },
13222 { (char *)"BTexture_equals", _wrap_BTexture_equals, METH_VARARGS },
13223 { (char *)"BTexture_screen", _wrap_BTexture_screen, METH_VARARGS },
13224 { (char *)"BTexture_setScreen", _wrap_BTexture_setScreen, METH_VARARGS },
13225 { (char *)"BTexture_setImageControl", _wrap_BTexture_setImageControl, METH_VARARGS },
13226 { (char *)"BTexture_description", _wrap_BTexture_description, METH_VARARGS },
13227 { (char *)"BTexture_setDescription", _wrap_BTexture_setDescription, METH_VARARGS },
13228 { (char *)"BTexture_render", _wrap_BTexture_render, METH_VARARGS },
13229 { (char *)"delete_BTexture", _wrap_delete_BTexture, METH_VARARGS },
13230 { (char *)"BTexture_swigregister", BTexture_swigregister, METH_VARARGS },
13231 { (char *)"new_OBTimer", _wrap_new_OBTimer, METH_VARARGS },
13232 { (char *)"delete_OBTimer", _wrap_delete_OBTimer, METH_VARARGS },
13233 { (char *)"OBTimer_fire", _wrap_OBTimer_fire, METH_VARARGS },
13234 { (char *)"OBTimer_timing", _wrap_OBTimer_timing, METH_VARARGS },
13235 { (char *)"OBTimer_recurring", _wrap_OBTimer_recurring, METH_VARARGS },
13236 { (char *)"OBTimer_timeout", _wrap_OBTimer_timeout, METH_VARARGS },
13237 { (char *)"OBTimer_startTime", _wrap_OBTimer_startTime, METH_VARARGS },
13238 { (char *)"OBTimer_remainingTime", _wrap_OBTimer_remainingTime, METH_VARARGS },
13239 { (char *)"OBTimer_shouldFire", _wrap_OBTimer_shouldFire, METH_VARARGS },
13240 { (char *)"OBTimer_endTime", _wrap_OBTimer_endTime, METH_VARARGS },
13241 { (char *)"OBTimer_setRecurring", _wrap_OBTimer_setRecurring, METH_VARARGS },
13242 { (char *)"OBTimer_setTimeout", _wrap_OBTimer_setTimeout, METH_VARARGS },
13243 { (char *)"OBTimer_start", _wrap_OBTimer_start, METH_VARARGS },
13244 { (char *)"OBTimer_stop", _wrap_OBTimer_stop, METH_VARARGS },
13245 { (char *)"OBTimer_swigregister", OBTimer_swigregister, METH_VARARGS },
13246 { (char *)"new_OBTimerQueueManager", _wrap_new_OBTimerQueueManager, METH_VARARGS },
13247 { (char *)"delete_OBTimerQueueManager", _wrap_delete_OBTimerQueueManager, METH_VARARGS },
13248 { (char *)"OBTimerQueueManager_fire", _wrap_OBTimerQueueManager_fire, METH_VARARGS },
13249 { (char *)"OBTimerQueueManager_addTimer", _wrap_OBTimerQueueManager_addTimer, METH_VARARGS },
13250 { (char *)"OBTimerQueueManager_removeTimer", _wrap_OBTimerQueueManager_removeTimer, METH_VARARGS },
13251 { (char *)"OBTimerQueueManager_swigregister", OBTimerQueueManager_swigregister, METH_VARARGS },
13252 { (char *)"expandTilde", _wrap_expandTilde, METH_VARARGS },
13253 { (char *)"bexec", _wrap_bexec, METH_VARARGS },
13254 { (char *)"textPropertyToString", _wrap_textPropertyToString, METH_VARARGS },
13255 { (char *)"itostring_unsigned_long", _wrap_itostring_unsigned_long, METH_VARARGS },
13256 { (char *)"itostring_long", _wrap_itostring_long, METH_VARARGS },
13257 { (char *)"itostring_unsigned", _wrap_itostring_unsigned, METH_VARARGS },
13258 { (char *)"itostring", _wrap_itostring, METH_VARARGS },
13259 { (char *)"basename", _wrap_basename, METH_VARARGS },
13264 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13266 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusWidget(void *x) {
13267 return (void *)((otk::OtkFocusWidget *) (otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13269 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkFocusWidget(void *x) {
13270 return (void *)((otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13272 static void *_p_otk__OtkButtonTo_p_otk__OtkWidget(void *x) {
13273 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13275 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkWidget(void *x) {
13276 return (void *)((otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13278 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkWidget(void *x) {
13279 return (void *)((otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13281 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkWidget(void *x) {
13282 return (void *)((otk::OtkWidget *) (otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13284 static void *_p_otk__OtkButtonTo_p_otk__OtkEventHandler(void *x) {
13285 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *)(otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13287 static void *_p_otk__OtkAppWidgetTo_p_otk__OtkEventHandler(void *x) {
13288 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkAppWidget *) x));
13290 static void *_p_otk__OtkWidgetTo_p_otk__OtkEventHandler(void *x) {
13291 return (void *)((otk::OtkEventHandler *) ((otk::OtkWidget *) x));
13293 static void *_p_otk__OtkFocusWidgetTo_p_otk__OtkEventHandler(void *x) {
13294 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *) ((otk::OtkFocusWidget *) x));
13296 static void *_p_otk__OtkFocusLabelTo_p_otk__OtkEventHandler(void *x) {
13297 return (void *)((otk::OtkEventHandler *) (otk::OtkWidget *)(otk::OtkFocusWidget *) ((otk::OtkFocusLabel *) x));
13299 static void *_p_otk__OtkButtonTo_p_otk__OtkFocusLabel(void *x) {
13300 return (void *)((otk::OtkFocusLabel *) ((otk::OtkButton *) x));
13302 static void *_p_otk__OtkApplicationTo_p_otk__OtkEventDispatcher(void *x) {
13303 return (void *)((otk::OtkEventDispatcher *) ((otk::OtkApplication *) x));
13305 static swig_type_info _swigt__p_otk__OBProperty__StringVect[] = {{"_p_otk__OBProperty__StringVect", 0, "otk::OBProperty::StringVect *", 0},{"_p_otk__OBProperty__StringVect"},{0}};
13306 static swig_type_info _swigt__p_otk__BGCCache[] = {{"_p_otk__BGCCache", 0, "otk::BGCCache *", 0},{"_p_otk__BGCCache"},{0}};
13307 static swig_type_info _swigt__p_otk__BColor[] = {{"_p_otk__BColor", 0, "otk::BColor *", 0},{"_p_otk__BColor"},{0}};
13308 static swig_type_info _swigt__p_XFontStruct[] = {{"_p_XFontStruct", 0, "XFontStruct *", 0},{"_p_XFontStruct"},{0}};
13309 static swig_type_info _swigt__p_otk__Configuration[] = {{"_p_otk__Configuration", 0, "otk::Configuration *", 0},{"_p_otk__Configuration"},{0}};
13310 static swig_type_info _swigt__p_otk__PixmapMask[] = {{"_p_otk__PixmapMask", 0, "otk::PixmapMask *", 0},{"_p_otk__PixmapMask"},{0}};
13311 static swig_type_info _swigt__p_otk__PointerAssassin[] = {{"_p_otk__PointerAssassin", 0, "otk::PointerAssassin *", 0},{"_p_otk__PointerAssassin"},{0}};
13312 static swig_type_info _swigt__p_otk__BImage[] = {{"_p_otk__BImage", 0, "otk::BImage *", 0},{"_p_otk__BImage"},{0}};
13313 static swig_type_info _swigt__p_otk__OBTimer[] = {{"_p_otk__OBTimer", 0, "otk::OBTimer *", 0},{"_p_otk__OBTimer"},{0}};
13314 static swig_type_info _swigt__p_otk__OtkWidget__OtkWidgetList[] = {{"_p_otk__OtkWidget__OtkWidgetList", 0, "otk::OtkWidget::OtkWidgetList const &", 0},{"_p_otk__OtkWidget__OtkWidgetList"},{0}};
13315 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
13316 static swig_type_info _swigt__p_otk__OBDisplay[] = {{"_p_otk__OBDisplay", 0, "otk::OBDisplay *", 0},{"_p_otk__OBDisplay"},{0}};
13317 static swig_type_info _swigt__p_Display[] = {{"_p_Display", 0, "Display *", 0},{"_p_Display"},{0}};
13318 static swig_type_info _swigt__p_p_XColor[] = {{"_p_p_XColor", 0, "XColor **", 0},{"_p_p_XColor"},{0}};
13319 static swig_type_info _swigt__p_XReparentEvent[] = {{"_p_XReparentEvent", 0, "XReparentEvent *", 0},{"_p_XReparentEvent"},{0}};
13320 static swig_type_info _swigt__p_otk__BPen[] = {{"_p_otk__BPen", 0, "otk::BPen *", 0},{"_p_otk__BPen"},{0}};
13321 static swig_type_info _swigt__p_otk__BImageControl[] = {{"_p_otk__BImageControl", 0, "otk::BImageControl *", 0},{"_p_otk__BImageControl"},{0}};
13322 static swig_type_info _swigt__p_otk__OtkButton[] = {{"_p_otk__OtkButton", 0, "otk::OtkButton *", 0},{"_p_otk__OtkButton"},{0}};
13323 static swig_type_info _swigt__p_otk__Rect[] = {{"_p_otk__Rect", 0, "otk::Rect *", 0},{"_p_otk__Rect"},{0}};
13324 static swig_type_info _swigt__p_otk__Style[] = {{"_p_otk__Style", 0, "otk::Style *", 0},{"_p_otk__Style"},{0}};
13325 static swig_type_info _swigt__p_XSelectionClearEvent[] = {{"_p_XSelectionClearEvent", 0, "XSelectionClearEvent *", 0},{"_p_XSelectionClearEvent"},{0}};
13326 static swig_type_info _swigt__p_Visual[] = {{"_p_Visual", 0, "Visual *", 0},{"_p_Visual"},{0}};
13327 static swig_type_info _swigt__p_timeval[] = {{"_p_timeval", 0, "timeval *", 0},{"_p_timeval"},{0}};
13328 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13329 static swig_type_info _swigt__p_otk__Strut[] = {{"_p_otk__Strut", 0, "otk::Strut *", 0},{"_p_otk__Strut"},{0}};
13330 static swig_type_info _swigt__p_otk__OtkApplication[] = {{"_p_otk__OtkApplication", 0, "otk::OtkApplication *", 0},{"_p_otk__OtkApplication"},{0}};
13331 static swig_type_info _swigt__p_XRectangle[] = {{"_p_XRectangle", 0, "XRectangle *", 0},{"_p_XRectangle"},{0}};
13332 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}};
13333 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}};
13334 static swig_type_info _swigt__p_XGravityEvent[] = {{"_p_XGravityEvent", 0, "XGravityEvent *", 0},{"_p_XGravityEvent"},{0}};
13335 static swig_type_info _swigt__p_XVisibilityEvent[] = {{"_p_XVisibilityEvent", 0, "XVisibilityEvent *", 0},{"_p_XVisibilityEvent"},{0}};
13336 static swig_type_info _swigt__p_XPropertyEvent[] = {{"_p_XPropertyEvent", 0, "XPropertyEvent *", 0},{"_p_XPropertyEvent"},{0}};
13337 static swig_type_info _swigt__p_otk__BGCCacheContext[] = {{"_p_otk__BGCCacheContext", 0, "otk::BGCCacheContext *", 0},{"_p_otk__BGCCacheContext"},{0}};
13338 static swig_type_info _swigt__p_XCreateWindowEvent[] = {{"_p_XCreateWindowEvent", 0, "XCreateWindowEvent *", 0},{"_p_XCreateWindowEvent"},{0}};
13339 static swig_type_info _swigt__p_XDestroyWindowEvent[] = {{"_p_XDestroyWindowEvent", 0, "XDestroyWindowEvent *", 0},{"_p_XDestroyWindowEvent"},{0}};
13340 static swig_type_info _swigt__p_XCirculateEvent[] = {{"_p_XCirculateEvent", 0, "XCirculateEvent *", 0},{"_p_XCirculateEvent"},{0}};
13341 static swig_type_info _swigt__p_XConfigureEvent[] = {{"_p_XConfigureEvent", 0, "XConfigureEvent *", 0},{"_p_XConfigureEvent"},{0}};
13342 static swig_type_info _swigt__p_otk__OBProperty[] = {{"_p_otk__OBProperty", 0, "otk::OBProperty *", 0},{"_p_otk__OBProperty"},{0}};
13343 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
13344 static swig_type_info _swigt__p_XTextProperty[] = {{"_p_XTextProperty", 0, "XTextProperty *", 0},{"_p_XTextProperty"},{0}};
13345 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}};
13346 static swig_type_info _swigt__p_XCirculateRequestEvent[] = {{"_p_XCirculateRequestEvent", 0, "XCirculateRequestEvent *", 0},{"_p_XCirculateRequestEvent"},{0}};
13347 static swig_type_info _swigt__p_XConfigureRequestEvent[] = {{"_p_XConfigureRequestEvent", 0, "XConfigureRequestEvent *", 0},{"_p_XConfigureRequestEvent"},{0}};
13348 static swig_type_info _swigt__p_XMapRequestEvent[] = {{"_p_XMapRequestEvent", 0, "XMapRequestEvent *", 0},{"_p_XMapRequestEvent"},{0}};
13349 static swig_type_info _swigt__p_XResizeRequestEvent[] = {{"_p_XResizeRequestEvent", 0, "XResizeRequestEvent *", 0},{"_p_XResizeRequestEvent"},{0}};
13350 static swig_type_info _swigt__p_XSelectionRequestEvent[] = {{"_p_XSelectionRequestEvent", 0, "XSelectionRequestEvent *", 0},{"_p_XSelectionRequestEvent"},{0}};
13351 static swig_type_info _swigt__otk__OBTimeoutHandler[] = {{"_otk__OBTimeoutHandler", 0, "otk::OBTimeoutHandler", 0},{"_otk__OBTimeoutHandler"},{0}};
13352 static swig_type_info _swigt__p_XftDraw[] = {{"_p_XftDraw", 0, "XftDraw *", 0},{"_p_XftDraw"},{0}};
13353 static swig_type_info _swigt__p_otk__ScreenInfo[] = {{"_p_otk__ScreenInfo", 0, "otk::ScreenInfo *", 0},{"_p_otk__ScreenInfo"},{0}};
13354 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}};
13355 static swig_type_info _swigt__p_otk__BTexture[] = {{"_p_otk__BTexture", 0, "otk::BTexture *", 0},{"_p_otk__BTexture"},{0}};
13356 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}};
13357 static swig_type_info _swigt__p_otk__BFont[] = {{"_p_otk__BFont", 0, "otk::BFont *", 0},{"_p_otk__BFont"},{0}};
13358 static swig_type_info _swigt__p_otk__Point[] = {{"_p_otk__Point", 0, "otk::Point *", 0},{"_p_otk__Point"},{0}};
13359 static swig_type_info _swigt__p_p_char[] = {{"_p_p_char", 0, "char **", 0},{"_p_p_char"},{0}};
13360 static swig_type_info _swigt__p_XMotionEvent[] = {{"_p_XMotionEvent", 0, "XMotionEvent *", 0},{"_p_XMotionEvent"},{0}};
13361 static swig_type_info _swigt__p_XButtonEvent[] = {{"_p_XButtonEvent", 0, "XButtonEvent *", 0},{"_p_XButtonEvent"},{0}};
13362 static swig_type_info _swigt__p_XSelectionEvent[] = {{"_p_XSelectionEvent", 0, "XSelectionEvent *", 0},{"_p_XSelectionEvent"},{0}};
13363 static swig_type_info _swigt__p_GC[] = {{"_p_GC", 0, "GC *", 0},{"_p_GC"},{0}};
13364 static swig_type_info _swigt__p_otk__OBTimerQueueManager[] = {{"_p_otk__OBTimerQueueManager", 0, "otk::OBTimerQueueManager *", 0},{"_p_otk__OBTimerQueueManager"},{0}};
13365 static swig_type_info _swigt__p_otk__OtkAppWidget[] = {{"_p_otk__OtkAppWidget", 0, "otk::OtkAppWidget *", 0},{"_p_otk__OtkAppWidget"},{0}};
13366 static swig_type_info _swigt__p_XKeyEvent[] = {{"_p_XKeyEvent", 0, "XKeyEvent *", 0},{"_p_XKeyEvent"},{0}};
13367 static swig_type_info _swigt__p_p_unsigned_long[] = {{"_p_p_unsigned_long", 0, "unsigned long **", 0},{"_p_p_unsigned_long"},{0}};
13368 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
13369 static swig_type_info _swigt__p_XEvent[] = {{"_p_XEvent", 0, "XEvent *", 0},{"_p_XEvent"},{0}};
13370 static swig_type_info _swigt__p_std__string[] = {{"_p_std__string", 0, "std::string *", 0},{"_p_std__string"},{0}};
13371 static swig_type_info _swigt__p_XCrossingEvent[] = {{"_p_XCrossingEvent", 0, "XCrossingEvent *", 0},{"_p_XCrossingEvent"},{0}};
13372 static swig_type_info _swigt__p_XMappingEvent[] = {{"_p_XMappingEvent", 0, "XMappingEvent *", 0},{"_p_XMappingEvent"},{0}};
13373 static swig_type_info _swigt__p_otk__BGCCacheItem[] = {{"_p_otk__BGCCacheItem", 0, "otk::BGCCacheItem *", 0},{"_p_otk__BGCCacheItem"},{0}};
13374 static swig_type_info _swigt__p_p_unsigned_int[] = {{"_p_p_unsigned_int", 0, "unsigned int **", 0},{"_p_p_unsigned_int"},{0}};
13375 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *", 0},{"_p_unsigned_int"},{0}};
13376 static swig_type_info _swigt__p_p_unsigned_char[] = {{"_p_p_unsigned_char", 0, "unsigned char **", 0},{"_p_p_unsigned_char"},{0}};
13377 static swig_type_info _swigt__p_XClientMessageEvent[] = {{"_p_XClientMessageEvent", 0, "XClientMessageEvent *", 0},{"_p_XClientMessageEvent"},{0}};
13378 static swig_type_info _swigt__p_XGraphicsExposeEvent[] = {{"_p_XGraphicsExposeEvent", 0, "XGraphicsExposeEvent *", 0},{"_p_XGraphicsExposeEvent"},{0}};
13379 static swig_type_info _swigt__p_XExposeEvent[] = {{"_p_XExposeEvent", 0, "XExposeEvent *", 0},{"_p_XExposeEvent"},{0}};
13380 static swig_type_info _swigt__p_XFocusChangeEvent[] = {{"_p_XFocusChangeEvent", 0, "XFocusChangeEvent *", 0},{"_p_XFocusChangeEvent"},{0}};
13381 static swig_type_info _swigt__p_XNoExposeEvent[] = {{"_p_XNoExposeEvent", 0, "XNoExposeEvent *", 0},{"_p_XNoExposeEvent"},{0}};
13382 static swig_type_info _swigt__p_XMapEvent[] = {{"_p_XMapEvent", 0, "XMapEvent *", 0},{"_p_XMapEvent"},{0}};
13383 static swig_type_info _swigt__p_XUnmapEvent[] = {{"_p_XUnmapEvent", 0, "XUnmapEvent *", 0},{"_p_XUnmapEvent"},{0}};
13384 static swig_type_info _swigt__p_XColormapEvent[] = {{"_p_XColormapEvent", 0, "XColormapEvent *", 0},{"_p_XColormapEvent"},{0}};
13386 static swig_type_info *swig_types_initial[] = {
13387 _swigt__p_otk__OBProperty__StringVect,
13388 _swigt__p_otk__BGCCache,
13389 _swigt__p_otk__BColor,
13390 _swigt__p_XFontStruct,
13391 _swigt__p_otk__Configuration,
13392 _swigt__p_otk__PixmapMask,
13393 _swigt__p_otk__PointerAssassin,
13394 _swigt__p_otk__BImage,
13395 _swigt__p_otk__OBTimer,
13396 _swigt__p_otk__OtkWidget__OtkWidgetList,
13398 _swigt__p_otk__OBDisplay,
13400 _swigt__p_p_XColor,
13401 _swigt__p_XReparentEvent,
13402 _swigt__p_otk__BPen,
13403 _swigt__p_otk__BImageControl,
13404 _swigt__p_otk__OtkButton,
13405 _swigt__p_otk__Rect,
13406 _swigt__p_otk__Style,
13407 _swigt__p_XSelectionClearEvent,
13411 _swigt__p_otk__Strut,
13412 _swigt__p_otk__OtkApplication,
13413 _swigt__p_XRectangle,
13414 _swigt__p_otk__OtkFocusWidget,
13415 _swigt__p_otk__OtkWidget,
13416 _swigt__p_XGravityEvent,
13417 _swigt__p_XVisibilityEvent,
13418 _swigt__p_XPropertyEvent,
13419 _swigt__p_otk__BGCCacheContext,
13420 _swigt__p_XCreateWindowEvent,
13421 _swigt__p_XDestroyWindowEvent,
13422 _swigt__p_XCirculateEvent,
13423 _swigt__p_XConfigureEvent,
13424 _swigt__p_otk__OBProperty,
13426 _swigt__p_XTextProperty,
13427 _swigt__p_otk__OtkEventHandler,
13428 _swigt__p_XCirculateRequestEvent,
13429 _swigt__p_XConfigureRequestEvent,
13430 _swigt__p_XMapRequestEvent,
13431 _swigt__p_XResizeRequestEvent,
13432 _swigt__p_XSelectionRequestEvent,
13433 _swigt__otk__OBTimeoutHandler,
13435 _swigt__p_otk__ScreenInfo,
13436 _swigt__p_otk__OtkFocusLabel,
13437 _swigt__p_otk__BTexture,
13438 _swigt__p_otk__OtkEventDispatcher,
13439 _swigt__p_otk__BFont,
13440 _swigt__p_otk__Point,
13442 _swigt__p_XMotionEvent,
13443 _swigt__p_XButtonEvent,
13444 _swigt__p_XSelectionEvent,
13446 _swigt__p_otk__OBTimerQueueManager,
13447 _swigt__p_otk__OtkAppWidget,
13448 _swigt__p_XKeyEvent,
13449 _swigt__p_p_unsigned_long,
13450 _swigt__p_unsigned_long,
13452 _swigt__p_std__string,
13453 _swigt__p_XCrossingEvent,
13454 _swigt__p_XMappingEvent,
13455 _swigt__p_otk__BGCCacheItem,
13456 _swigt__p_p_unsigned_int,
13457 _swigt__p_unsigned_int,
13458 _swigt__p_p_unsigned_char,
13459 _swigt__p_XClientMessageEvent,
13460 _swigt__p_XGraphicsExposeEvent,
13461 _swigt__p_XExposeEvent,
13462 _swigt__p_XFocusChangeEvent,
13463 _swigt__p_XNoExposeEvent,
13464 _swigt__p_XMapEvent,
13465 _swigt__p_XUnmapEvent,
13466 _swigt__p_XColormapEvent,
13471 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13473 static swig_const_info swig_const_table[] = {
13474 { SWIG_PY_INT, (char *)"OtkWidget_Horizontal", (long) otk::OtkWidget::Horizontal, 0, 0, 0},
13475 { SWIG_PY_INT, (char *)"OtkWidget_Vertical", (long) otk::OtkWidget::Vertical, 0, 0, 0},
13476 { SWIG_PY_INT, (char *)"OBProperty_Atom_Cardinal", (long) otk::OBProperty::Atom_Cardinal, 0, 0, 0},
13477 { SWIG_PY_INT, (char *)"OBProperty_Atom_Window", (long) otk::OBProperty::Atom_Window, 0, 0, 0},
13478 { SWIG_PY_INT, (char *)"OBProperty_Atom_Pixmap", (long) otk::OBProperty::Atom_Pixmap, 0, 0, 0},
13479 { SWIG_PY_INT, (char *)"OBProperty_Atom_Atom", (long) otk::OBProperty::Atom_Atom, 0, 0, 0},
13480 { SWIG_PY_INT, (char *)"OBProperty_Atom_String", (long) otk::OBProperty::Atom_String, 0, 0, 0},
13481 { SWIG_PY_INT, (char *)"OBProperty_Atom_Utf8", (long) otk::OBProperty::Atom_Utf8, 0, 0, 0},
13482 { SWIG_PY_INT, (char *)"OBProperty_openbox_pid", (long) otk::OBProperty::openbox_pid, 0, 0, 0},
13483 { SWIG_PY_INT, (char *)"OBProperty_wm_colormap_windows", (long) otk::OBProperty::wm_colormap_windows, 0, 0, 0},
13484 { SWIG_PY_INT, (char *)"OBProperty_wm_protocols", (long) otk::OBProperty::wm_protocols, 0, 0, 0},
13485 { SWIG_PY_INT, (char *)"OBProperty_wm_state", (long) otk::OBProperty::wm_state, 0, 0, 0},
13486 { SWIG_PY_INT, (char *)"OBProperty_wm_delete_window", (long) otk::OBProperty::wm_delete_window, 0, 0, 0},
13487 { SWIG_PY_INT, (char *)"OBProperty_wm_take_focus", (long) otk::OBProperty::wm_take_focus, 0, 0, 0},
13488 { SWIG_PY_INT, (char *)"OBProperty_wm_change_state", (long) otk::OBProperty::wm_change_state, 0, 0, 0},
13489 { SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
13490 { SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
13491 { SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
13492 { SWIG_PY_INT, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
13493 { SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
13494 { SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
13495 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
13496 { SWIG_PY_INT, (char *)"OBProperty_blackbox_hints", (long) otk::OBProperty::blackbox_hints, 0, 0, 0},
13497 { SWIG_PY_INT, (char *)"OBProperty_blackbox_structure_messages", (long) otk::OBProperty::blackbox_structure_messages, 0, 0, 0},
13498 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_startup", (long) otk::OBProperty::blackbox_notify_startup, 0, 0, 0},
13499 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_add", (long) otk::OBProperty::blackbox_notify_window_add, 0, 0, 0},
13500 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_del", (long) otk::OBProperty::blackbox_notify_window_del, 0, 0, 0},
13501 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_focus", (long) otk::OBProperty::blackbox_notify_window_focus, 0, 0, 0},
13502 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_current_workspace", (long) otk::OBProperty::blackbox_notify_current_workspace, 0, 0, 0},
13503 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_workspace_count", (long) otk::OBProperty::blackbox_notify_workspace_count, 0, 0, 0},
13504 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_raise", (long) otk::OBProperty::blackbox_notify_window_raise, 0, 0, 0},
13505 { SWIG_PY_INT, (char *)"OBProperty_blackbox_notify_window_lower", (long) otk::OBProperty::blackbox_notify_window_lower, 0, 0, 0},
13506 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_workspace", (long) otk::OBProperty::blackbox_change_workspace, 0, 0, 0},
13507 { SWIG_PY_INT, (char *)"OBProperty_blackbox_change_window_focus", (long) otk::OBProperty::blackbox_change_window_focus, 0, 0, 0},
13508 { SWIG_PY_INT, (char *)"OBProperty_blackbox_cycle_window_focus", (long) otk::OBProperty::blackbox_cycle_window_focus, 0, 0, 0},
13509 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_root_menu", (long) otk::OBProperty::openbox_show_root_menu, 0, 0, 0},
13510 { SWIG_PY_INT, (char *)"OBProperty_openbox_show_workspace_menu", (long) otk::OBProperty::openbox_show_workspace_menu, 0, 0, 0},
13511 { SWIG_PY_INT, (char *)"OBProperty_net_supported", (long) otk::OBProperty::net_supported, 0, 0, 0},
13512 { SWIG_PY_INT, (char *)"OBProperty_net_client_list", (long) otk::OBProperty::net_client_list, 0, 0, 0},
13513 { SWIG_PY_INT, (char *)"OBProperty_net_client_list_stacking", (long) otk::OBProperty::net_client_list_stacking, 0, 0, 0},
13514 { SWIG_PY_INT, (char *)"OBProperty_net_number_of_desktops", (long) otk::OBProperty::net_number_of_desktops, 0, 0, 0},
13515 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_geometry", (long) otk::OBProperty::net_desktop_geometry, 0, 0, 0},
13516 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_viewport", (long) otk::OBProperty::net_desktop_viewport, 0, 0, 0},
13517 { SWIG_PY_INT, (char *)"OBProperty_net_current_desktop", (long) otk::OBProperty::net_current_desktop, 0, 0, 0},
13518 { SWIG_PY_INT, (char *)"OBProperty_net_desktop_names", (long) otk::OBProperty::net_desktop_names, 0, 0, 0},
13519 { SWIG_PY_INT, (char *)"OBProperty_net_active_window", (long) otk::OBProperty::net_active_window, 0, 0, 0},
13520 { SWIG_PY_INT, (char *)"OBProperty_net_workarea", (long) otk::OBProperty::net_workarea, 0, 0, 0},
13521 { SWIG_PY_INT, (char *)"OBProperty_net_supporting_wm_check", (long) otk::OBProperty::net_supporting_wm_check, 0, 0, 0},
13522 { SWIG_PY_INT, (char *)"OBProperty_net_close_window", (long) otk::OBProperty::net_close_window, 0, 0, 0},
13523 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize", (long) otk::OBProperty::net_wm_moveresize, 0, 0, 0},
13524 { SWIG_PY_INT, (char *)"OBProperty_net_wm_name", (long) otk::OBProperty::net_wm_name, 0, 0, 0},
13525 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_name", (long) otk::OBProperty::net_wm_visible_name, 0, 0, 0},
13526 { SWIG_PY_INT, (char *)"OBProperty_net_wm_icon_name", (long) otk::OBProperty::net_wm_icon_name, 0, 0, 0},
13527 { SWIG_PY_INT, (char *)"OBProperty_net_wm_visible_icon_name", (long) otk::OBProperty::net_wm_visible_icon_name, 0, 0, 0},
13528 { SWIG_PY_INT, (char *)"OBProperty_net_wm_desktop", (long) otk::OBProperty::net_wm_desktop, 0, 0, 0},
13529 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type", (long) otk::OBProperty::net_wm_window_type, 0, 0, 0},
13530 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state", (long) otk::OBProperty::net_wm_state, 0, 0, 0},
13531 { SWIG_PY_INT, (char *)"OBProperty_net_wm_strut", (long) otk::OBProperty::net_wm_strut, 0, 0, 0},
13532 { SWIG_PY_INT, (char *)"OBProperty_net_wm_allowed_actions", (long) otk::OBProperty::net_wm_allowed_actions, 0, 0, 0},
13533 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_desktop", (long) otk::OBProperty::net_wm_window_type_desktop, 0, 0, 0},
13534 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dock", (long) otk::OBProperty::net_wm_window_type_dock, 0, 0, 0},
13535 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_toolbar", (long) otk::OBProperty::net_wm_window_type_toolbar, 0, 0, 0},
13536 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_menu", (long) otk::OBProperty::net_wm_window_type_menu, 0, 0, 0},
13537 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_utility", (long) otk::OBProperty::net_wm_window_type_utility, 0, 0, 0},
13538 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_splash", (long) otk::OBProperty::net_wm_window_type_splash, 0, 0, 0},
13539 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_dialog", (long) otk::OBProperty::net_wm_window_type_dialog, 0, 0, 0},
13540 { SWIG_PY_INT, (char *)"OBProperty_net_wm_window_type_normal", (long) otk::OBProperty::net_wm_window_type_normal, 0, 0, 0},
13541 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topleft", (long) otk::OBProperty::net_wm_moveresize_size_topleft, 0, 0, 0},
13542 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_topright", (long) otk::OBProperty::net_wm_moveresize_size_topright, 0, 0, 0},
13543 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomleft", (long) otk::OBProperty::net_wm_moveresize_size_bottomleft, 0, 0, 0},
13544 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_size_bottomright", (long) otk::OBProperty::net_wm_moveresize_size_bottomright, 0, 0, 0},
13545 { SWIG_PY_INT, (char *)"OBProperty_net_wm_moveresize_move", (long) otk::OBProperty::net_wm_moveresize_move, 0, 0, 0},
13546 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_move", (long) otk::OBProperty::net_wm_action_move, 0, 0, 0},
13547 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_resize", (long) otk::OBProperty::net_wm_action_resize, 0, 0, 0},
13548 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_shade", (long) otk::OBProperty::net_wm_action_shade, 0, 0, 0},
13549 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_horz", (long) otk::OBProperty::net_wm_action_maximize_horz, 0, 0, 0},
13550 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_maximize_vert", (long) otk::OBProperty::net_wm_action_maximize_vert, 0, 0, 0},
13551 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_change_desktop", (long) otk::OBProperty::net_wm_action_change_desktop, 0, 0, 0},
13552 { SWIG_PY_INT, (char *)"OBProperty_net_wm_action_close", (long) otk::OBProperty::net_wm_action_close, 0, 0, 0},
13553 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_modal", (long) otk::OBProperty::net_wm_state_modal, 0, 0, 0},
13554 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_sticky", (long) otk::OBProperty::net_wm_state_sticky, 0, 0, 0},
13555 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_vert", (long) otk::OBProperty::net_wm_state_maximized_vert, 0, 0, 0},
13556 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_maximized_horz", (long) otk::OBProperty::net_wm_state_maximized_horz, 0, 0, 0},
13557 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_shaded", (long) otk::OBProperty::net_wm_state_shaded, 0, 0, 0},
13558 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_taskbar", (long) otk::OBProperty::net_wm_state_skip_taskbar, 0, 0, 0},
13559 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_skip_pager", (long) otk::OBProperty::net_wm_state_skip_pager, 0, 0, 0},
13560 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_hidden", (long) otk::OBProperty::net_wm_state_hidden, 0, 0, 0},
13561 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_fullscreen", (long) otk::OBProperty::net_wm_state_fullscreen, 0, 0, 0},
13562 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_above", (long) otk::OBProperty::net_wm_state_above, 0, 0, 0},
13563 { SWIG_PY_INT, (char *)"OBProperty_net_wm_state_below", (long) otk::OBProperty::net_wm_state_below, 0, 0, 0},
13564 { SWIG_PY_INT, (char *)"OBProperty_kde_net_system_tray_windows", (long) otk::OBProperty::kde_net_system_tray_windows, 0, 0, 0},
13565 { 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},
13566 { SWIG_PY_INT, (char *)"OBProperty_kde_net_wm_window_type_override", (long) otk::OBProperty::kde_net_wm_window_type_override, 0, 0, 0},
13567 { SWIG_PY_INT, (char *)"OBProperty_NUM_ATOMS", (long) otk::OBProperty::NUM_ATOMS, 0, 0, 0},
13568 { SWIG_PY_INT, (char *)"OBProperty_ascii", (long) otk::OBProperty::ascii, 0, 0, 0},
13569 { SWIG_PY_INT, (char *)"OBProperty_utf8", (long) otk::OBProperty::utf8, 0, 0, 0},
13570 { SWIG_PY_INT, (char *)"OBProperty_NUM_STRING_TYPE", (long) otk::OBProperty::NUM_STRING_TYPE, 0, 0, 0},
13571 { SWIG_PY_INT, (char *)"Style_ButtonFocus", (long) otk::Style::ButtonFocus, 0, 0, 0},
13572 { SWIG_PY_INT, (char *)"Style_ButtonUnfocus", (long) otk::Style::ButtonUnfocus, 0, 0, 0},
13573 { SWIG_PY_INT, (char *)"Style_TitleFocus", (long) otk::Style::TitleFocus, 0, 0, 0},
13574 { SWIG_PY_INT, (char *)"Style_TitleUnfocus", (long) otk::Style::TitleUnfocus, 0, 0, 0},
13575 { SWIG_PY_INT, (char *)"Style_LabelFocus", (long) otk::Style::LabelFocus, 0, 0, 0},
13576 { SWIG_PY_INT, (char *)"Style_LabelUnfocus", (long) otk::Style::LabelUnfocus, 0, 0, 0},
13577 { SWIG_PY_INT, (char *)"Style_HandleFocus", (long) otk::Style::HandleFocus, 0, 0, 0},
13578 { SWIG_PY_INT, (char *)"Style_HandleUnfocus", (long) otk::Style::HandleUnfocus, 0, 0, 0},
13579 { SWIG_PY_INT, (char *)"Style_GripFocus", (long) otk::Style::GripFocus, 0, 0, 0},
13580 { SWIG_PY_INT, (char *)"Style_GripUnfocus", (long) otk::Style::GripUnfocus, 0, 0, 0},
13581 { SWIG_PY_INT, (char *)"Style_LeftJustify", (long) otk::Style::LeftJustify, 0, 0, 0},
13582 { SWIG_PY_INT, (char *)"Style_RightJustify", (long) otk::Style::RightJustify, 0, 0, 0},
13583 { SWIG_PY_INT, (char *)"Style_CenterJustify", (long) otk::Style::CenterJustify, 0, 0, 0},
13584 { SWIG_PY_INT, (char *)"Style_RoundBullet", (long) otk::Style::RoundBullet, 0, 0, 0},
13585 { SWIG_PY_INT, (char *)"Style_TriangleBullet", (long) otk::Style::TriangleBullet, 0, 0, 0},
13586 { SWIG_PY_INT, (char *)"Style_SquareBullet", (long) otk::Style::SquareBullet, 0, 0, 0},
13587 { SWIG_PY_INT, (char *)"Style_NoBullet", (long) otk::Style::NoBullet, 0, 0, 0},
13588 { SWIG_PY_INT, (char *)"BTexture_NoTexture", (long) otk::BTexture::NoTexture, 0, 0, 0},
13589 { SWIG_PY_INT, (char *)"BTexture_Flat", (long) otk::BTexture::Flat, 0, 0, 0},
13590 { SWIG_PY_INT, (char *)"BTexture_Sunken", (long) otk::BTexture::Sunken, 0, 0, 0},
13591 { SWIG_PY_INT, (char *)"BTexture_Raised", (long) otk::BTexture::Raised, 0, 0, 0},
13592 { SWIG_PY_INT, (char *)"BTexture_Solid", (long) otk::BTexture::Solid, 0, 0, 0},
13593 { SWIG_PY_INT, (char *)"BTexture_Gradient", (long) otk::BTexture::Gradient, 0, 0, 0},
13594 { SWIG_PY_INT, (char *)"BTexture_Horizontal", (long) otk::BTexture::Horizontal, 0, 0, 0},
13595 { SWIG_PY_INT, (char *)"BTexture_Vertical", (long) otk::BTexture::Vertical, 0, 0, 0},
13596 { SWIG_PY_INT, (char *)"BTexture_Diagonal", (long) otk::BTexture::Diagonal, 0, 0, 0},
13597 { SWIG_PY_INT, (char *)"BTexture_CrossDiagonal", (long) otk::BTexture::CrossDiagonal, 0, 0, 0},
13598 { SWIG_PY_INT, (char *)"BTexture_Rectangle", (long) otk::BTexture::Rectangle, 0, 0, 0},
13599 { SWIG_PY_INT, (char *)"BTexture_Pyramid", (long) otk::BTexture::Pyramid, 0, 0, 0},
13600 { SWIG_PY_INT, (char *)"BTexture_PipeCross", (long) otk::BTexture::PipeCross, 0, 0, 0},
13601 { SWIG_PY_INT, (char *)"BTexture_Elliptic", (long) otk::BTexture::Elliptic, 0, 0, 0},
13602 { SWIG_PY_INT, (char *)"BTexture_Bevel1", (long) otk::BTexture::Bevel1, 0, 0, 0},
13603 { SWIG_PY_INT, (char *)"BTexture_Bevel2", (long) otk::BTexture::Bevel2, 0, 0, 0},
13604 { SWIG_PY_INT, (char *)"BTexture_Border", (long) otk::BTexture::Border, 0, 0, 0},
13605 { SWIG_PY_INT, (char *)"BTexture_Invert", (long) otk::BTexture::Invert, 0, 0, 0},
13606 { SWIG_PY_INT, (char *)"BTexture_Parent_Relative", (long) otk::BTexture::Parent_Relative, 0, 0, 0},
13607 { SWIG_PY_INT, (char *)"BTexture_Interlaced", (long) otk::BTexture::Interlaced, 0, 0, 0},
13608 { SWIG_PY_INT, (char *)"X_PROTOCOL", (long) 11, 0, 0, 0},
13609 { SWIG_PY_INT, (char *)"X_PROTOCOL_REVISION", (long) 0, 0, 0, 0},
13610 { SWIG_PY_INT, (char *)"None", (long) 0L, 0, 0, 0},
13611 { SWIG_PY_INT, (char *)"ParentRelative", (long) 1L, 0, 0, 0},
13612 { SWIG_PY_INT, (char *)"CopyFromParent", (long) 0L, 0, 0, 0},
13613 { SWIG_PY_INT, (char *)"PointerWindow", (long) 0L, 0, 0, 0},
13614 { SWIG_PY_INT, (char *)"InputFocus", (long) 1L, 0, 0, 0},
13615 { SWIG_PY_INT, (char *)"PointerRoot", (long) 1L, 0, 0, 0},
13616 { SWIG_PY_INT, (char *)"AnyPropertyType", (long) 0L, 0, 0, 0},
13617 { SWIG_PY_INT, (char *)"AnyKey", (long) 0L, 0, 0, 0},
13618 { SWIG_PY_INT, (char *)"AnyButton", (long) 0L, 0, 0, 0},
13619 { SWIG_PY_INT, (char *)"AllTemporary", (long) 0L, 0, 0, 0},
13620 { SWIG_PY_INT, (char *)"CurrentTime", (long) 0L, 0, 0, 0},
13621 { SWIG_PY_INT, (char *)"NoSymbol", (long) 0L, 0, 0, 0},
13622 { SWIG_PY_INT, (char *)"NoEventMask", (long) 0L, 0, 0, 0},
13623 { SWIG_PY_INT, (char *)"KeyPressMask", (long) (1L<<0), 0, 0, 0},
13624 { SWIG_PY_INT, (char *)"KeyReleaseMask", (long) (1L<<1), 0, 0, 0},
13625 { SWIG_PY_INT, (char *)"ButtonPressMask", (long) (1L<<2), 0, 0, 0},
13626 { SWIG_PY_INT, (char *)"ButtonReleaseMask", (long) (1L<<3), 0, 0, 0},
13627 { SWIG_PY_INT, (char *)"EnterWindowMask", (long) (1L<<4), 0, 0, 0},
13628 { SWIG_PY_INT, (char *)"LeaveWindowMask", (long) (1L<<5), 0, 0, 0},
13629 { SWIG_PY_INT, (char *)"PointerMotionMask", (long) (1L<<6), 0, 0, 0},
13630 { SWIG_PY_INT, (char *)"PointerMotionHintMask", (long) (1L<<7), 0, 0, 0},
13631 { SWIG_PY_INT, (char *)"Button1MotionMask", (long) (1L<<8), 0, 0, 0},
13632 { SWIG_PY_INT, (char *)"Button2MotionMask", (long) (1L<<9), 0, 0, 0},
13633 { SWIG_PY_INT, (char *)"Button3MotionMask", (long) (1L<<10), 0, 0, 0},
13634 { SWIG_PY_INT, (char *)"Button4MotionMask", (long) (1L<<11), 0, 0, 0},
13635 { SWIG_PY_INT, (char *)"Button5MotionMask", (long) (1L<<12), 0, 0, 0},
13636 { SWIG_PY_INT, (char *)"ButtonMotionMask", (long) (1L<<13), 0, 0, 0},
13637 { SWIG_PY_INT, (char *)"KeymapStateMask", (long) (1L<<14), 0, 0, 0},
13638 { SWIG_PY_INT, (char *)"ExposureMask", (long) (1L<<15), 0, 0, 0},
13639 { SWIG_PY_INT, (char *)"VisibilityChangeMask", (long) (1L<<16), 0, 0, 0},
13640 { SWIG_PY_INT, (char *)"StructureNotifyMask", (long) (1L<<17), 0, 0, 0},
13641 { SWIG_PY_INT, (char *)"ResizeRedirectMask", (long) (1L<<18), 0, 0, 0},
13642 { SWIG_PY_INT, (char *)"SubstructureNotifyMask", (long) (1L<<19), 0, 0, 0},
13643 { SWIG_PY_INT, (char *)"SubstructureRedirectMask", (long) (1L<<20), 0, 0, 0},
13644 { SWIG_PY_INT, (char *)"FocusChangeMask", (long) (1L<<21), 0, 0, 0},
13645 { SWIG_PY_INT, (char *)"PropertyChangeMask", (long) (1L<<22), 0, 0, 0},
13646 { SWIG_PY_INT, (char *)"ColormapChangeMask", (long) (1L<<23), 0, 0, 0},
13647 { SWIG_PY_INT, (char *)"OwnerGrabButtonMask", (long) (1L<<24), 0, 0, 0},
13648 { SWIG_PY_INT, (char *)"KeyPress", (long) 2, 0, 0, 0},
13649 { SWIG_PY_INT, (char *)"KeyRelease", (long) 3, 0, 0, 0},
13650 { SWIG_PY_INT, (char *)"ButtonPress", (long) 4, 0, 0, 0},
13651 { SWIG_PY_INT, (char *)"ButtonRelease", (long) 5, 0, 0, 0},
13652 { SWIG_PY_INT, (char *)"MotionNotify", (long) 6, 0, 0, 0},
13653 { SWIG_PY_INT, (char *)"EnterNotify", (long) 7, 0, 0, 0},
13654 { SWIG_PY_INT, (char *)"LeaveNotify", (long) 8, 0, 0, 0},
13655 { SWIG_PY_INT, (char *)"FocusIn", (long) 9, 0, 0, 0},
13656 { SWIG_PY_INT, (char *)"FocusOut", (long) 10, 0, 0, 0},
13657 { SWIG_PY_INT, (char *)"KeymapNotify", (long) 11, 0, 0, 0},
13658 { SWIG_PY_INT, (char *)"Expose", (long) 12, 0, 0, 0},
13659 { SWIG_PY_INT, (char *)"GraphicsExpose", (long) 13, 0, 0, 0},
13660 { SWIG_PY_INT, (char *)"NoExpose", (long) 14, 0, 0, 0},
13661 { SWIG_PY_INT, (char *)"VisibilityNotify", (long) 15, 0, 0, 0},
13662 { SWIG_PY_INT, (char *)"CreateNotify", (long) 16, 0, 0, 0},
13663 { SWIG_PY_INT, (char *)"DestroyNotify", (long) 17, 0, 0, 0},
13664 { SWIG_PY_INT, (char *)"UnmapNotify", (long) 18, 0, 0, 0},
13665 { SWIG_PY_INT, (char *)"MapNotify", (long) 19, 0, 0, 0},
13666 { SWIG_PY_INT, (char *)"MapRequest", (long) 20, 0, 0, 0},
13667 { SWIG_PY_INT, (char *)"ReparentNotify", (long) 21, 0, 0, 0},
13668 { SWIG_PY_INT, (char *)"ConfigureNotify", (long) 22, 0, 0, 0},
13669 { SWIG_PY_INT, (char *)"ConfigureRequest", (long) 23, 0, 0, 0},
13670 { SWIG_PY_INT, (char *)"GravityNotify", (long) 24, 0, 0, 0},
13671 { SWIG_PY_INT, (char *)"ResizeRequest", (long) 25, 0, 0, 0},
13672 { SWIG_PY_INT, (char *)"CirculateNotify", (long) 26, 0, 0, 0},
13673 { SWIG_PY_INT, (char *)"CirculateRequest", (long) 27, 0, 0, 0},
13674 { SWIG_PY_INT, (char *)"PropertyNotify", (long) 28, 0, 0, 0},
13675 { SWIG_PY_INT, (char *)"SelectionClear", (long) 29, 0, 0, 0},
13676 { SWIG_PY_INT, (char *)"SelectionRequest", (long) 30, 0, 0, 0},
13677 { SWIG_PY_INT, (char *)"SelectionNotify", (long) 31, 0, 0, 0},
13678 { SWIG_PY_INT, (char *)"ColormapNotify", (long) 32, 0, 0, 0},
13679 { SWIG_PY_INT, (char *)"ClientMessage", (long) 33, 0, 0, 0},
13680 { SWIG_PY_INT, (char *)"MappingNotify", (long) 34, 0, 0, 0},
13681 { SWIG_PY_INT, (char *)"LASTEvent", (long) 35, 0, 0, 0},
13682 { SWIG_PY_INT, (char *)"ShiftMask", (long) (1<<0), 0, 0, 0},
13683 { SWIG_PY_INT, (char *)"LockMask", (long) (1<<1), 0, 0, 0},
13684 { SWIG_PY_INT, (char *)"ControlMask", (long) (1<<2), 0, 0, 0},
13685 { SWIG_PY_INT, (char *)"Mod1Mask", (long) (1<<3), 0, 0, 0},
13686 { SWIG_PY_INT, (char *)"Mod2Mask", (long) (1<<4), 0, 0, 0},
13687 { SWIG_PY_INT, (char *)"Mod3Mask", (long) (1<<5), 0, 0, 0},
13688 { SWIG_PY_INT, (char *)"Mod4Mask", (long) (1<<6), 0, 0, 0},
13689 { SWIG_PY_INT, (char *)"Mod5Mask", (long) (1<<7), 0, 0, 0},
13690 { SWIG_PY_INT, (char *)"ShiftMapIndex", (long) 0, 0, 0, 0},
13691 { SWIG_PY_INT, (char *)"LockMapIndex", (long) 1, 0, 0, 0},
13692 { SWIG_PY_INT, (char *)"ControlMapIndex", (long) 2, 0, 0, 0},
13693 { SWIG_PY_INT, (char *)"Mod1MapIndex", (long) 3, 0, 0, 0},
13694 { SWIG_PY_INT, (char *)"Mod2MapIndex", (long) 4, 0, 0, 0},
13695 { SWIG_PY_INT, (char *)"Mod3MapIndex", (long) 5, 0, 0, 0},
13696 { SWIG_PY_INT, (char *)"Mod4MapIndex", (long) 6, 0, 0, 0},
13697 { SWIG_PY_INT, (char *)"Mod5MapIndex", (long) 7, 0, 0, 0},
13698 { SWIG_PY_INT, (char *)"Button1Mask", (long) (1<<8), 0, 0, 0},
13699 { SWIG_PY_INT, (char *)"Button2Mask", (long) (1<<9), 0, 0, 0},
13700 { SWIG_PY_INT, (char *)"Button3Mask", (long) (1<<10), 0, 0, 0},
13701 { SWIG_PY_INT, (char *)"Button4Mask", (long) (1<<11), 0, 0, 0},
13702 { SWIG_PY_INT, (char *)"Button5Mask", (long) (1<<12), 0, 0, 0},
13703 { SWIG_PY_INT, (char *)"AnyModifier", (long) (1<<15), 0, 0, 0},
13704 { SWIG_PY_INT, (char *)"Button1", (long) 1, 0, 0, 0},
13705 { SWIG_PY_INT, (char *)"Button2", (long) 2, 0, 0, 0},
13706 { SWIG_PY_INT, (char *)"Button3", (long) 3, 0, 0, 0},
13707 { SWIG_PY_INT, (char *)"Button4", (long) 4, 0, 0, 0},
13708 { SWIG_PY_INT, (char *)"Button5", (long) 5, 0, 0, 0},
13709 { SWIG_PY_INT, (char *)"NotifyNormal", (long) 0, 0, 0, 0},
13710 { SWIG_PY_INT, (char *)"NotifyGrab", (long) 1, 0, 0, 0},
13711 { SWIG_PY_INT, (char *)"NotifyUngrab", (long) 2, 0, 0, 0},
13712 { SWIG_PY_INT, (char *)"NotifyWhileGrabbed", (long) 3, 0, 0, 0},
13713 { SWIG_PY_INT, (char *)"NotifyHint", (long) 1, 0, 0, 0},
13714 { SWIG_PY_INT, (char *)"NotifyAncestor", (long) 0, 0, 0, 0},
13715 { SWIG_PY_INT, (char *)"NotifyVirtual", (long) 1, 0, 0, 0},
13716 { SWIG_PY_INT, (char *)"NotifyInferior", (long) 2, 0, 0, 0},
13717 { SWIG_PY_INT, (char *)"NotifyNonlinear", (long) 3, 0, 0, 0},
13718 { SWIG_PY_INT, (char *)"NotifyNonlinearVirtual", (long) 4, 0, 0, 0},
13719 { SWIG_PY_INT, (char *)"NotifyPointer", (long) 5, 0, 0, 0},
13720 { SWIG_PY_INT, (char *)"NotifyPointerRoot", (long) 6, 0, 0, 0},
13721 { SWIG_PY_INT, (char *)"NotifyDetailNone", (long) 7, 0, 0, 0},
13722 { SWIG_PY_INT, (char *)"VisibilityUnobscured", (long) 0, 0, 0, 0},
13723 { SWIG_PY_INT, (char *)"VisibilityPartiallyObscured", (long) 1, 0, 0, 0},
13724 { SWIG_PY_INT, (char *)"VisibilityFullyObscured", (long) 2, 0, 0, 0},
13725 { SWIG_PY_INT, (char *)"PlaceOnTop", (long) 0, 0, 0, 0},
13726 { SWIG_PY_INT, (char *)"PlaceOnBottom", (long) 1, 0, 0, 0},
13727 { SWIG_PY_INT, (char *)"FamilyInternet", (long) 0, 0, 0, 0},
13728 { SWIG_PY_INT, (char *)"FamilyDECnet", (long) 1, 0, 0, 0},
13729 { SWIG_PY_INT, (char *)"FamilyChaos", (long) 2, 0, 0, 0},
13730 { SWIG_PY_INT, (char *)"PropertyNewValue", (long) 0, 0, 0, 0},
13731 { SWIG_PY_INT, (char *)"PropertyDelete", (long) 1, 0, 0, 0},
13732 { SWIG_PY_INT, (char *)"ColormapUninstalled", (long) 0, 0, 0, 0},
13733 { SWIG_PY_INT, (char *)"ColormapInstalled", (long) 1, 0, 0, 0},
13734 { SWIG_PY_INT, (char *)"GrabModeSync", (long) 0, 0, 0, 0},
13735 { SWIG_PY_INT, (char *)"GrabModeAsync", (long) 1, 0, 0, 0},
13736 { SWIG_PY_INT, (char *)"GrabSuccess", (long) 0, 0, 0, 0},
13737 { SWIG_PY_INT, (char *)"AlreadyGrabbed", (long) 1, 0, 0, 0},
13738 { SWIG_PY_INT, (char *)"GrabInvalidTime", (long) 2, 0, 0, 0},
13739 { SWIG_PY_INT, (char *)"GrabNotViewable", (long) 3, 0, 0, 0},
13740 { SWIG_PY_INT, (char *)"GrabFrozen", (long) 4, 0, 0, 0},
13741 { SWIG_PY_INT, (char *)"AsyncPointer", (long) 0, 0, 0, 0},
13742 { SWIG_PY_INT, (char *)"SyncPointer", (long) 1, 0, 0, 0},
13743 { SWIG_PY_INT, (char *)"ReplayPointer", (long) 2, 0, 0, 0},
13744 { SWIG_PY_INT, (char *)"AsyncKeyboard", (long) 3, 0, 0, 0},
13745 { SWIG_PY_INT, (char *)"SyncKeyboard", (long) 4, 0, 0, 0},
13746 { SWIG_PY_INT, (char *)"ReplayKeyboard", (long) 5, 0, 0, 0},
13747 { SWIG_PY_INT, (char *)"AsyncBoth", (long) 6, 0, 0, 0},
13748 { SWIG_PY_INT, (char *)"SyncBoth", (long) 7, 0, 0, 0},
13749 { SWIG_PY_INT, (char *)"RevertToParent", (long) 2, 0, 0, 0},
13750 { SWIG_PY_INT, (char *)"Success", (long) 0, 0, 0, 0},
13751 { SWIG_PY_INT, (char *)"BadRequest", (long) 1, 0, 0, 0},
13752 { SWIG_PY_INT, (char *)"BadValue", (long) 2, 0, 0, 0},
13753 { SWIG_PY_INT, (char *)"BadWindow", (long) 3, 0, 0, 0},
13754 { SWIG_PY_INT, (char *)"BadPixmap", (long) 4, 0, 0, 0},
13755 { SWIG_PY_INT, (char *)"BadAtom", (long) 5, 0, 0, 0},
13756 { SWIG_PY_INT, (char *)"BadCursor", (long) 6, 0, 0, 0},
13757 { SWIG_PY_INT, (char *)"BadFont", (long) 7, 0, 0, 0},
13758 { SWIG_PY_INT, (char *)"BadMatch", (long) 8, 0, 0, 0},
13759 { SWIG_PY_INT, (char *)"BadDrawable", (long) 9, 0, 0, 0},
13760 { SWIG_PY_INT, (char *)"BadAccess", (long) 10, 0, 0, 0},
13761 { SWIG_PY_INT, (char *)"BadAlloc", (long) 11, 0, 0, 0},
13762 { SWIG_PY_INT, (char *)"BadColor", (long) 12, 0, 0, 0},
13763 { SWIG_PY_INT, (char *)"BadGC", (long) 13, 0, 0, 0},
13764 { SWIG_PY_INT, (char *)"BadIDChoice", (long) 14, 0, 0, 0},
13765 { SWIG_PY_INT, (char *)"BadName", (long) 15, 0, 0, 0},
13766 { SWIG_PY_INT, (char *)"BadLength", (long) 16, 0, 0, 0},
13767 { SWIG_PY_INT, (char *)"BadImplementation", (long) 17, 0, 0, 0},
13768 { SWIG_PY_INT, (char *)"FirstExtensionError", (long) 128, 0, 0, 0},
13769 { SWIG_PY_INT, (char *)"LastExtensionError", (long) 255, 0, 0, 0},
13770 { SWIG_PY_INT, (char *)"InputOutput", (long) 1, 0, 0, 0},
13771 { SWIG_PY_INT, (char *)"InputOnly", (long) 2, 0, 0, 0},
13772 { SWIG_PY_INT, (char *)"CWBackPixmap", (long) (1L<<0), 0, 0, 0},
13773 { SWIG_PY_INT, (char *)"CWBackPixel", (long) (1L<<1), 0, 0, 0},
13774 { SWIG_PY_INT, (char *)"CWBorderPixmap", (long) (1L<<2), 0, 0, 0},
13775 { SWIG_PY_INT, (char *)"CWBorderPixel", (long) (1L<<3), 0, 0, 0},
13776 { SWIG_PY_INT, (char *)"CWBitGravity", (long) (1L<<4), 0, 0, 0},
13777 { SWIG_PY_INT, (char *)"CWWinGravity", (long) (1L<<5), 0, 0, 0},
13778 { SWIG_PY_INT, (char *)"CWBackingStore", (long) (1L<<6), 0, 0, 0},
13779 { SWIG_PY_INT, (char *)"CWBackingPlanes", (long) (1L<<7), 0, 0, 0},
13780 { SWIG_PY_INT, (char *)"CWBackingPixel", (long) (1L<<8), 0, 0, 0},
13781 { SWIG_PY_INT, (char *)"CWOverrideRedirect", (long) (1L<<9), 0, 0, 0},
13782 { SWIG_PY_INT, (char *)"CWSaveUnder", (long) (1L<<10), 0, 0, 0},
13783 { SWIG_PY_INT, (char *)"CWEventMask", (long) (1L<<11), 0, 0, 0},
13784 { SWIG_PY_INT, (char *)"CWDontPropagate", (long) (1L<<12), 0, 0, 0},
13785 { SWIG_PY_INT, (char *)"CWColormap", (long) (1L<<13), 0, 0, 0},
13786 { SWIG_PY_INT, (char *)"CWCursor", (long) (1L<<14), 0, 0, 0},
13787 { SWIG_PY_INT, (char *)"CWX", (long) (1<<0), 0, 0, 0},
13788 { SWIG_PY_INT, (char *)"CWY", (long) (1<<1), 0, 0, 0},
13789 { SWIG_PY_INT, (char *)"CWWidth", (long) (1<<2), 0, 0, 0},
13790 { SWIG_PY_INT, (char *)"CWHeight", (long) (1<<3), 0, 0, 0},
13791 { SWIG_PY_INT, (char *)"CWBorderWidth", (long) (1<<4), 0, 0, 0},
13792 { SWIG_PY_INT, (char *)"CWSibling", (long) (1<<5), 0, 0, 0},
13793 { SWIG_PY_INT, (char *)"CWStackMode", (long) (1<<6), 0, 0, 0},
13794 { SWIG_PY_INT, (char *)"ForgetGravity", (long) 0, 0, 0, 0},
13795 { SWIG_PY_INT, (char *)"NorthWestGravity", (long) 1, 0, 0, 0},
13796 { SWIG_PY_INT, (char *)"NorthGravity", (long) 2, 0, 0, 0},
13797 { SWIG_PY_INT, (char *)"NorthEastGravity", (long) 3, 0, 0, 0},
13798 { SWIG_PY_INT, (char *)"WestGravity", (long) 4, 0, 0, 0},
13799 { SWIG_PY_INT, (char *)"CenterGravity", (long) 5, 0, 0, 0},
13800 { SWIG_PY_INT, (char *)"EastGravity", (long) 6, 0, 0, 0},
13801 { SWIG_PY_INT, (char *)"SouthWestGravity", (long) 7, 0, 0, 0},
13802 { SWIG_PY_INT, (char *)"SouthGravity", (long) 8, 0, 0, 0},
13803 { SWIG_PY_INT, (char *)"SouthEastGravity", (long) 9, 0, 0, 0},
13804 { SWIG_PY_INT, (char *)"StaticGravity", (long) 10, 0, 0, 0},
13805 { SWIG_PY_INT, (char *)"UnmapGravity", (long) 0, 0, 0, 0},
13806 { SWIG_PY_INT, (char *)"NotUseful", (long) 0, 0, 0, 0},
13807 { SWIG_PY_INT, (char *)"WhenMapped", (long) 1, 0, 0, 0},
13808 { SWIG_PY_INT, (char *)"Always", (long) 2, 0, 0, 0},
13809 { SWIG_PY_INT, (char *)"IsUnmapped", (long) 0, 0, 0, 0},
13810 { SWIG_PY_INT, (char *)"IsUnviewable", (long) 1, 0, 0, 0},
13811 { SWIG_PY_INT, (char *)"IsViewable", (long) 2, 0, 0, 0},
13812 { SWIG_PY_INT, (char *)"SetModeInsert", (long) 0, 0, 0, 0},
13813 { SWIG_PY_INT, (char *)"SetModeDelete", (long) 1, 0, 0, 0},
13814 { SWIG_PY_INT, (char *)"DestroyAll", (long) 0, 0, 0, 0},
13815 { SWIG_PY_INT, (char *)"RetainPermanent", (long) 1, 0, 0, 0},
13816 { SWIG_PY_INT, (char *)"RetainTemporary", (long) 2, 0, 0, 0},
13817 { SWIG_PY_INT, (char *)"Above", (long) 0, 0, 0, 0},
13818 { SWIG_PY_INT, (char *)"Below", (long) 1, 0, 0, 0},
13819 { SWIG_PY_INT, (char *)"TopIf", (long) 2, 0, 0, 0},
13820 { SWIG_PY_INT, (char *)"BottomIf", (long) 3, 0, 0, 0},
13821 { SWIG_PY_INT, (char *)"Opposite", (long) 4, 0, 0, 0},
13822 { SWIG_PY_INT, (char *)"RaiseLowest", (long) 0, 0, 0, 0},
13823 { SWIG_PY_INT, (char *)"LowerHighest", (long) 1, 0, 0, 0},
13824 { SWIG_PY_INT, (char *)"PropModeReplace", (long) 0, 0, 0, 0},
13825 { SWIG_PY_INT, (char *)"PropModePrepend", (long) 1, 0, 0, 0},
13826 { SWIG_PY_INT, (char *)"PropModeAppend", (long) 2, 0, 0, 0},
13827 { SWIG_PY_INT, (char *)"GXclear", (long) 0x0, 0, 0, 0},
13828 { SWIG_PY_INT, (char *)"GXand", (long) 0x1, 0, 0, 0},
13829 { SWIG_PY_INT, (char *)"GXandReverse", (long) 0x2, 0, 0, 0},
13830 { SWIG_PY_INT, (char *)"GXcopy", (long) 0x3, 0, 0, 0},
13831 { SWIG_PY_INT, (char *)"GXandInverted", (long) 0x4, 0, 0, 0},
13832 { SWIG_PY_INT, (char *)"GXnoop", (long) 0x5, 0, 0, 0},
13833 { SWIG_PY_INT, (char *)"GXxor", (long) 0x6, 0, 0, 0},
13834 { SWIG_PY_INT, (char *)"GXor", (long) 0x7, 0, 0, 0},
13835 { SWIG_PY_INT, (char *)"GXnor", (long) 0x8, 0, 0, 0},
13836 { SWIG_PY_INT, (char *)"GXequiv", (long) 0x9, 0, 0, 0},
13837 { SWIG_PY_INT, (char *)"GXinvert", (long) 0xa, 0, 0, 0},
13838 { SWIG_PY_INT, (char *)"GXorReverse", (long) 0xb, 0, 0, 0},
13839 { SWIG_PY_INT, (char *)"GXcopyInverted", (long) 0xc, 0, 0, 0},
13840 { SWIG_PY_INT, (char *)"GXorInverted", (long) 0xd, 0, 0, 0},
13841 { SWIG_PY_INT, (char *)"GXnand", (long) 0xe, 0, 0, 0},
13842 { SWIG_PY_INT, (char *)"GXset", (long) 0xf, 0, 0, 0},
13843 { SWIG_PY_INT, (char *)"LineSolid", (long) 0, 0, 0, 0},
13844 { SWIG_PY_INT, (char *)"LineOnOffDash", (long) 1, 0, 0, 0},
13845 { SWIG_PY_INT, (char *)"LineDoubleDash", (long) 2, 0, 0, 0},
13846 { SWIG_PY_INT, (char *)"CapNotLast", (long) 0, 0, 0, 0},
13847 { SWIG_PY_INT, (char *)"CapButt", (long) 1, 0, 0, 0},
13848 { SWIG_PY_INT, (char *)"CapRound", (long) 2, 0, 0, 0},
13849 { SWIG_PY_INT, (char *)"CapProjecting", (long) 3, 0, 0, 0},
13850 { SWIG_PY_INT, (char *)"JoinMiter", (long) 0, 0, 0, 0},
13851 { SWIG_PY_INT, (char *)"JoinRound", (long) 1, 0, 0, 0},
13852 { SWIG_PY_INT, (char *)"JoinBevel", (long) 2, 0, 0, 0},
13853 { SWIG_PY_INT, (char *)"FillSolid", (long) 0, 0, 0, 0},
13854 { SWIG_PY_INT, (char *)"FillTiled", (long) 1, 0, 0, 0},
13855 { SWIG_PY_INT, (char *)"FillStippled", (long) 2, 0, 0, 0},
13856 { SWIG_PY_INT, (char *)"FillOpaqueStippled", (long) 3, 0, 0, 0},
13857 { SWIG_PY_INT, (char *)"EvenOddRule", (long) 0, 0, 0, 0},
13858 { SWIG_PY_INT, (char *)"WindingRule", (long) 1, 0, 0, 0},
13859 { SWIG_PY_INT, (char *)"ClipByChildren", (long) 0, 0, 0, 0},
13860 { SWIG_PY_INT, (char *)"IncludeInferiors", (long) 1, 0, 0, 0},
13861 { SWIG_PY_INT, (char *)"Unsorted", (long) 0, 0, 0, 0},
13862 { SWIG_PY_INT, (char *)"YSorted", (long) 1, 0, 0, 0},
13863 { SWIG_PY_INT, (char *)"YXSorted", (long) 2, 0, 0, 0},
13864 { SWIG_PY_INT, (char *)"YXBanded", (long) 3, 0, 0, 0},
13865 { SWIG_PY_INT, (char *)"CoordModeOrigin", (long) 0, 0, 0, 0},
13866 { SWIG_PY_INT, (char *)"CoordModePrevious", (long) 1, 0, 0, 0},
13867 { SWIG_PY_INT, (char *)"Complex", (long) 0, 0, 0, 0},
13868 { SWIG_PY_INT, (char *)"Nonconvex", (long) 1, 0, 0, 0},
13869 { SWIG_PY_INT, (char *)"Convex", (long) 2, 0, 0, 0},
13870 { SWIG_PY_INT, (char *)"ArcChord", (long) 0, 0, 0, 0},
13871 { SWIG_PY_INT, (char *)"ArcPieSlice", (long) 1, 0, 0, 0},
13872 { SWIG_PY_INT, (char *)"GCFunction", (long) (1L<<0), 0, 0, 0},
13873 { SWIG_PY_INT, (char *)"GCPlaneMask", (long) (1L<<1), 0, 0, 0},
13874 { SWIG_PY_INT, (char *)"GCForeground", (long) (1L<<2), 0, 0, 0},
13875 { SWIG_PY_INT, (char *)"GCBackground", (long) (1L<<3), 0, 0, 0},
13876 { SWIG_PY_INT, (char *)"GCLineWidth", (long) (1L<<4), 0, 0, 0},
13877 { SWIG_PY_INT, (char *)"GCLineStyle", (long) (1L<<5), 0, 0, 0},
13878 { SWIG_PY_INT, (char *)"GCCapStyle", (long) (1L<<6), 0, 0, 0},
13879 { SWIG_PY_INT, (char *)"GCJoinStyle", (long) (1L<<7), 0, 0, 0},
13880 { SWIG_PY_INT, (char *)"GCFillStyle", (long) (1L<<8), 0, 0, 0},
13881 { SWIG_PY_INT, (char *)"GCFillRule", (long) (1L<<9), 0, 0, 0},
13882 { SWIG_PY_INT, (char *)"GCTile", (long) (1L<<10), 0, 0, 0},
13883 { SWIG_PY_INT, (char *)"GCStipple", (long) (1L<<11), 0, 0, 0},
13884 { SWIG_PY_INT, (char *)"GCTileStipXOrigin", (long) (1L<<12), 0, 0, 0},
13885 { SWIG_PY_INT, (char *)"GCTileStipYOrigin", (long) (1L<<13), 0, 0, 0},
13886 { SWIG_PY_INT, (char *)"GCFont", (long) (1L<<14), 0, 0, 0},
13887 { SWIG_PY_INT, (char *)"GCSubwindowMode", (long) (1L<<15), 0, 0, 0},
13888 { SWIG_PY_INT, (char *)"GCGraphicsExposures", (long) (1L<<16), 0, 0, 0},
13889 { SWIG_PY_INT, (char *)"GCClipXOrigin", (long) (1L<<17), 0, 0, 0},
13890 { SWIG_PY_INT, (char *)"GCClipYOrigin", (long) (1L<<18), 0, 0, 0},
13891 { SWIG_PY_INT, (char *)"GCClipMask", (long) (1L<<19), 0, 0, 0},
13892 { SWIG_PY_INT, (char *)"GCDashOffset", (long) (1L<<20), 0, 0, 0},
13893 { SWIG_PY_INT, (char *)"GCDashList", (long) (1L<<21), 0, 0, 0},
13894 { SWIG_PY_INT, (char *)"GCArcMode", (long) (1L<<22), 0, 0, 0},
13895 { SWIG_PY_INT, (char *)"GCLastBit", (long) 22, 0, 0, 0},
13896 { SWIG_PY_INT, (char *)"FontLeftToRight", (long) 0, 0, 0, 0},
13897 { SWIG_PY_INT, (char *)"FontRightToLeft", (long) 1, 0, 0, 0},
13898 { SWIG_PY_INT, (char *)"FontChange", (long) 255, 0, 0, 0},
13899 { SWIG_PY_INT, (char *)"XYBitmap", (long) 0, 0, 0, 0},
13900 { SWIG_PY_INT, (char *)"XYPixmap", (long) 1, 0, 0, 0},
13901 { SWIG_PY_INT, (char *)"ZPixmap", (long) 2, 0, 0, 0},
13902 { SWIG_PY_INT, (char *)"AllocNone", (long) 0, 0, 0, 0},
13903 { SWIG_PY_INT, (char *)"AllocAll", (long) 1, 0, 0, 0},
13904 { SWIG_PY_INT, (char *)"DoRed", (long) (1<<0), 0, 0, 0},
13905 { SWIG_PY_INT, (char *)"DoGreen", (long) (1<<1), 0, 0, 0},
13906 { SWIG_PY_INT, (char *)"DoBlue", (long) (1<<2), 0, 0, 0},
13907 { SWIG_PY_INT, (char *)"CursorShape", (long) 0, 0, 0, 0},
13908 { SWIG_PY_INT, (char *)"TileShape", (long) 1, 0, 0, 0},
13909 { SWIG_PY_INT, (char *)"StippleShape", (long) 2, 0, 0, 0},
13910 { SWIG_PY_INT, (char *)"AutoRepeatModeOff", (long) 0, 0, 0, 0},
13911 { SWIG_PY_INT, (char *)"AutoRepeatModeOn", (long) 1, 0, 0, 0},
13912 { SWIG_PY_INT, (char *)"AutoRepeatModeDefault", (long) 2, 0, 0, 0},
13913 { SWIG_PY_INT, (char *)"LedModeOff", (long) 0, 0, 0, 0},
13914 { SWIG_PY_INT, (char *)"LedModeOn", (long) 1, 0, 0, 0},
13915 { SWIG_PY_INT, (char *)"KBKeyClickPercent", (long) (1L<<0), 0, 0, 0},
13916 { SWIG_PY_INT, (char *)"KBBellPercent", (long) (1L<<1), 0, 0, 0},
13917 { SWIG_PY_INT, (char *)"KBBellPitch", (long) (1L<<2), 0, 0, 0},
13918 { SWIG_PY_INT, (char *)"KBBellDuration", (long) (1L<<3), 0, 0, 0},
13919 { SWIG_PY_INT, (char *)"KBLed", (long) (1L<<4), 0, 0, 0},
13920 { SWIG_PY_INT, (char *)"KBLedMode", (long) (1L<<5), 0, 0, 0},
13921 { SWIG_PY_INT, (char *)"KBKey", (long) (1L<<6), 0, 0, 0},
13922 { SWIG_PY_INT, (char *)"KBAutoRepeatMode", (long) (1L<<7), 0, 0, 0},
13923 { SWIG_PY_INT, (char *)"MappingSuccess", (long) 0, 0, 0, 0},
13924 { SWIG_PY_INT, (char *)"MappingBusy", (long) 1, 0, 0, 0},
13925 { SWIG_PY_INT, (char *)"MappingFailed", (long) 2, 0, 0, 0},
13926 { SWIG_PY_INT, (char *)"MappingModifier", (long) 0, 0, 0, 0},
13927 { SWIG_PY_INT, (char *)"MappingKeyboard", (long) 1, 0, 0, 0},
13928 { SWIG_PY_INT, (char *)"MappingPointer", (long) 2, 0, 0, 0},
13929 { SWIG_PY_INT, (char *)"DontPreferBlanking", (long) 0, 0, 0, 0},
13930 { SWIG_PY_INT, (char *)"PreferBlanking", (long) 1, 0, 0, 0},
13931 { SWIG_PY_INT, (char *)"DefaultBlanking", (long) 2, 0, 0, 0},
13932 { SWIG_PY_INT, (char *)"DisableScreenSaver", (long) 0, 0, 0, 0},
13933 { SWIG_PY_INT, (char *)"DisableScreenInterval", (long) 0, 0, 0, 0},
13934 { SWIG_PY_INT, (char *)"DontAllowExposures", (long) 0, 0, 0, 0},
13935 { SWIG_PY_INT, (char *)"AllowExposures", (long) 1, 0, 0, 0},
13936 { SWIG_PY_INT, (char *)"DefaultExposures", (long) 2, 0, 0, 0},
13937 { SWIG_PY_INT, (char *)"ScreenSaverReset", (long) 0, 0, 0, 0},
13938 { SWIG_PY_INT, (char *)"ScreenSaverActive", (long) 1, 0, 0, 0},
13939 { SWIG_PY_INT, (char *)"HostInsert", (long) 0, 0, 0, 0},
13940 { SWIG_PY_INT, (char *)"HostDelete", (long) 1, 0, 0, 0},
13941 { SWIG_PY_INT, (char *)"EnableAccess", (long) 1, 0, 0, 0},
13942 { SWIG_PY_INT, (char *)"DisableAccess", (long) 0, 0, 0, 0},
13943 { SWIG_PY_INT, (char *)"StaticGray", (long) 0, 0, 0, 0},
13944 { SWIG_PY_INT, (char *)"GrayScale", (long) 1, 0, 0, 0},
13945 { SWIG_PY_INT, (char *)"StaticColor", (long) 2, 0, 0, 0},
13946 { SWIG_PY_INT, (char *)"PseudoColor", (long) 3, 0, 0, 0},
13947 { SWIG_PY_INT, (char *)"TrueColor", (long) 4, 0, 0, 0},
13948 { SWIG_PY_INT, (char *)"DirectColor", (long) 5, 0, 0, 0},
13949 { SWIG_PY_INT, (char *)"LSBFirst", (long) 0, 0, 0, 0},
13950 { SWIG_PY_INT, (char *)"MSBFirst", (long) 1, 0, 0, 0},
13960 SWIGEXPORT(void) SWIG_init(void) {
13961 static PyObject *SWIG_globals = 0;
13962 static int typeinit = 0;
13965 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13966 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13967 d = PyModule_GetDict(m);
13970 for (i = 0; swig_types_initial[i]; i++) {
13971 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13975 SWIG_InstallConstants(d,swig_const_table);
13977 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13978 SWIG_addvarlink(SWIG_globals,(char*)"BSENTINEL",_wrap_BSENTINEL_get, _wrap_BSENTINEL_set);